Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b3bfcdf

Browse files
merchelmtqsravnborg
authored andcommitted
drm/panel: simple: add Tianma TM070JVHG33
Add support for the Tianma Micro-electronics TM070JVHG33 7.0" WXGA display to panel-simple. Signed-off-by: Max Merchel <[email protected]> Signed-off-by: Matthias Schiffer <[email protected]> Signed-off-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 0e3b67f commit b3bfcdf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3387,6 +3387,18 @@ static const struct panel_desc tianma_tm070jdhg30 = {
33873387
.connector_type = DRM_MODE_CONNECTOR_LVDS,
33883388
};
33893389

3390+
static const struct panel_desc tianma_tm070jvhg33 = {
3391+
.timings = &tianma_tm070jdhg30_timing,
3392+
.num_timings = 1,
3393+
.bpc = 8,
3394+
.size = {
3395+
.width = 150,
3396+
.height = 94,
3397+
},
3398+
.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
3399+
.connector_type = DRM_MODE_CONNECTOR_LVDS,
3400+
};
3401+
33903402
static const struct display_timing tianma_tm070rvhg71_timing = {
33913403
.pixelclock = { 27700000, 29200000, 39600000 },
33923404
.hactive = { 800, 800, 800 },
@@ -3990,6 +4002,9 @@ static const struct of_device_id platform_of_match[] = {
39904002
}, {
39914003
.compatible = "tianma,tm070jdhg30",
39924004
.data = &tianma_tm070jdhg30,
4005+
}, {
4006+
.compatible = "tianma,tm070jvhg33",
4007+
.data = &tianma_tm070jvhg33,
39934008
}, {
39944009
.compatible = "tianma,tm070rvhg71",
39954010
.data = &tianma_tm070rvhg71,

0 commit comments

Comments
 (0)