Commit a6aa679a authored by Martin Jücker's avatar Martin Jücker Committed by Sam Ravnborg

drm/panel: simple: add support for the Samsung LTL101AL01 panel

Add timings and panel description for the Samsung LTL101AL01 panel.
Signed-off-by: default avatarMartin Jücker <martin.juecker@gmail.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220516193709.10037-2-martin.juecker@gmail.com
parent 2b50aae6
...@@ -3218,6 +3218,37 @@ static const struct panel_desc rocktech_rk101ii01d_ct = { ...@@ -3218,6 +3218,37 @@ static const struct panel_desc rocktech_rk101ii01d_ct = {
.connector_type = DRM_MODE_CONNECTOR_LVDS, .connector_type = DRM_MODE_CONNECTOR_LVDS,
}; };
static const struct display_timing samsung_ltl101al01_timing = {
.pixelclock = { 66663000, 66663000, 66663000 },
.hactive = { 1280, 1280, 1280 },
.hfront_porch = { 18, 18, 18 },
.hback_porch = { 36, 36, 36 },
.hsync_len = { 16, 16, 16 },
.vactive = { 800, 800, 800 },
.vfront_porch = { 4, 4, 4 },
.vback_porch = { 16, 16, 16 },
.vsync_len = { 3, 3, 3 },
.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW,
};
static const struct panel_desc samsung_ltl101al01 = {
.timings = &samsung_ltl101al01_timing,
.num_timings = 1,
.bpc = 8,
.size = {
.width = 217,
.height = 135,
},
.delay = {
.prepare = 40,
.enable = 300,
.disable = 200,
.unprepare = 600,
},
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
.connector_type = DRM_MODE_CONNECTOR_LVDS,
};
static const struct drm_display_mode samsung_ltn101nt05_mode = { static const struct drm_display_mode samsung_ltn101nt05_mode = {
.clock = 54030, .clock = 54030,
.hdisplay = 1024, .hdisplay = 1024,
...@@ -4161,6 +4192,9 @@ static const struct of_device_id platform_of_match[] = { ...@@ -4161,6 +4192,9 @@ static const struct of_device_id platform_of_match[] = {
}, { }, {
.compatible = "rocktech,rk101ii01d-ct", .compatible = "rocktech,rk101ii01d-ct",
.data = &rocktech_rk101ii01d_ct, .data = &rocktech_rk101ii01d_ct,
}, {
.compatible = "samsung,ltl101al01",
.data = &samsung_ltl101al01,
}, { }, {
.compatible = "samsung,ltn101nt05", .compatible = "samsung,ltn101nt05",
.data = &samsung_ltn101nt05, .data = &samsung_ltn101nt05,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment