mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
gpu/drm: panel: simple-panel: add Samsung LTL106AL01 LVDS panel support
Samsung LTL106AL01 is a 10.6" FWXGA (1366x768) simple LVDS panel found in Microsoft Surface RT tablet. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20251110091440.5251-6-clamor95@gmail.com
This commit is contained in:
parent
1acffba4ec
commit
d082a3ebb3
|
|
@ -4223,6 +4223,37 @@ static const struct panel_desc samsung_ltl101al01 = {
|
|||
.connector_type = DRM_MODE_CONNECTOR_LVDS,
|
||||
};
|
||||
|
||||
static const struct display_timing samsung_ltl106al01_timing = {
|
||||
.pixelclock = { 71980000, 71980000, 71980000 },
|
||||
.hactive = { 1366, 1366, 1366 },
|
||||
.hfront_porch = { 56, 56, 56 },
|
||||
.hback_porch = { 106, 106, 106 },
|
||||
.hsync_len = { 14, 14, 14 },
|
||||
.vactive = { 768, 768, 768 },
|
||||
.vfront_porch = { 3, 3, 3 },
|
||||
.vback_porch = { 6, 6, 6 },
|
||||
.vsync_len = { 1, 1, 1 },
|
||||
.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW,
|
||||
};
|
||||
|
||||
static const struct panel_desc samsung_ltl106al01 = {
|
||||
.timings = &samsung_ltl106al01_timing,
|
||||
.num_timings = 1,
|
||||
.bpc = 8,
|
||||
.size = {
|
||||
.width = 235,
|
||||
.height = 132,
|
||||
},
|
||||
.delay = {
|
||||
.prepare = 5,
|
||||
.enable = 10,
|
||||
.disable = 10,
|
||||
.unprepare = 5,
|
||||
},
|
||||
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
|
||||
.connector_type = DRM_MODE_CONNECTOR_LVDS,
|
||||
};
|
||||
|
||||
static const struct drm_display_mode samsung_ltn101nt05_mode = {
|
||||
.clock = 54030,
|
||||
.hdisplay = 1024,
|
||||
|
|
@ -5390,6 +5421,9 @@ static const struct of_device_id platform_of_match[] = {
|
|||
}, {
|
||||
.compatible = "samsung,ltl101al01",
|
||||
.data = &samsung_ltl101al01,
|
||||
}, {
|
||||
.compatible = "samsung,ltl106al01",
|
||||
.data = &samsung_ltl106al01,
|
||||
}, {
|
||||
.compatible = "samsung,ltn101nt05",
|
||||
.data = &samsung_ltn101nt05,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user