diff options
Diffstat (limited to 'drivers/gpu/drm/panel')
-rw-r--r-- | drivers/gpu/drm/panel/panel-simple.c | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 5b2a9f97ff04..3dd664d13bff 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1001,6 +1001,42 @@ static const struct panel_desc innolux_zj070na_01p = { }, }; +static const struct display_timing jdi_tx26d202vm0bwa_timing = { + .pixelclock = { 151820000, 156720000, 159780000 }, + .hactive = { 1920, 1920, 1920 }, + .hfront_porch = { 76, 100, 112 }, + .hback_porch = { 74, 100, 112 }, + .hsync_len = { 30, 30, 30 }, + .vactive = { 1200, 1200, 1200}, + .vfront_porch = { 3, 5, 10 }, + .vback_porch = { 2, 5, 10 }, + .vsync_len = { 5, 5, 5 }, + .flags = DISPLAY_FLAGS_DE_LOW, +}; + +static const struct panel_desc jdi_tx26d202vm0bwa = { + .timings = &jdi_tx26d202vm0bwa_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 217, + .height = 136, + }, + .delay = { + /* + * The panel spec recommends one second delay + * to the below items. However, it's a bit too + * long in pratical. Based on tests, it turns + * out 100 milliseconds is fine. + */ + .prepare = 100, + .enable = 100, + .unprepare = 100, + .disable = 100, + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, +}; + static const struct display_timing kyo_tcg121xglp_timing = { .pixelclock = { 52000000, 65000000, 71000000 }, .hactive = { 1024, 1024, 1024 }, @@ -1634,6 +1670,9 @@ static const struct of_device_id platform_of_match[] = { .compatible = "innolux,zj070na-01p", .data = &innolux_zj070na_01p, }, { + .compatible = "jdi,tx26d202vm0bwa", + .data = &jdi_tx26d202vm0bwa, + }, { .compatible = "kyo,tcg121xglp", .data = &kyo_tcg121xglp, }, { |