Skip to content

Commit 938db27

Browse files
Marek VasutThomas Zimmermann
authored andcommitted
drm/panel: simple: Add Team Source Display TST043015CMHX panel
Add Team Source Display TST043015CMHX 4.3" 480x272 DPI panel support. Signed-off-by: Marek Vasut <[email protected]> Cc: Sam Ravnborg <[email protected]> To: [email protected] Signed-off-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 5e52485 commit 938db27

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

drivers/gpu/drm/panel/panel-simple.c

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3252,6 +3252,33 @@ static const struct panel_desc starry_kr070pe2t = {
32523252
.connector_type = DRM_MODE_CONNECTOR_DPI,
32533253
};
32543254

3255+
static const struct display_timing tsd_tst043015cmhx_timing = {
3256+
.pixelclock = { 5000000, 9000000, 12000000 },
3257+
.hactive = { 480, 480, 480 },
3258+
.hfront_porch = { 4, 5, 65 },
3259+
.hback_porch = { 36, 40, 255 },
3260+
.hsync_len = { 1, 1, 1 },
3261+
.vactive = { 272, 272, 272 },
3262+
.vfront_porch = { 2, 8, 97 },
3263+
.vback_porch = { 3, 8, 31 },
3264+
.vsync_len = { 1, 1, 1 },
3265+
3266+
.flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
3267+
DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE,
3268+
};
3269+
3270+
static const struct panel_desc tsd_tst043015cmhx = {
3271+
.timings = &tsd_tst043015cmhx_timing,
3272+
.num_timings = 1,
3273+
.bpc = 8,
3274+
.size = {
3275+
.width = 105,
3276+
.height = 67,
3277+
},
3278+
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
3279+
.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE,
3280+
};
3281+
32553282
static const struct drm_display_mode tfc_s9700rtwv43tr_01b_mode = {
32563283
.clock = 30000,
32573284
.hdisplay = 800,
@@ -3928,6 +3955,9 @@ static const struct of_device_id platform_of_match[] = {
39283955
}, {
39293956
.compatible = "starry,kr070pe2t",
39303957
.data = &starry_kr070pe2t,
3958+
}, {
3959+
.compatible = "team-source-display,tst043015cmhx",
3960+
.data = &tsd_tst043015cmhx,
39313961
}, {
39323962
.compatible = "tfc,s9700rtwv43tr-01b",
39333963
.data = &tfc_s9700rtwv43tr_01b,

0 commit comments

Comments
 (0)