diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index b7c4709f7..20b583e76 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -1579,7 +1579,7 @@ static const struct drm_display_mode ortustech_com43h4m85ulc_mode = { .vsync_end = 800 + 3 + 3, .vtotal = 800 + 3 + 3 + 3, .vrefresh = 60, -}; +}; static const struct panel_desc ortustech_com43h4m85ulc = { .modes = &ortustech_com43h4m85ulc_mode, @@ -1931,6 +1931,30 @@ static const struct panel_desc urt_umsh_8596md_lvds = { .bus_format = MEDIA_BUS_FMT_RGB666_1X7X3_SPWG, }; +static const struct display_timing d500n9325v1_timing = { + .pixelclock = { 16600000, 27000000, 30000000 }, // ?? + .hactive = { 480, 480, 480 }, + .hfront_porch = { 2, 8, 8 }, + .hback_porch = { 2, 43, 126 }, + .hsync_len = { 1, 2, 2 }, // horizontal low pulse width ? + .vactive = { 854, 854, 854 }, + .vfront_porch = { 1, 4, 255 }, + .vback_porch = { 1, 42, 126 }, + .vsync_len = { 1, 10, 126 },// vertical low pulse width ? + .flags = DISPLAY_FLAGS_DE_HIGH, +}; + +static const struct panel_desc d500n9325v1 = { + .timings = &d500n9325v1_timing, + .num_timings = 1, + .bpc = 6, + .size = { + .width = 61, + .height = 109, + }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, // ?? +}; + static const struct panel_desc urt_umsh_8596md_parallel = { .timings = &urt_umsh_8596md_timing, .num_timings = 1, @@ -2172,6 +2196,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "winstar,wf35ltiacd", .data = &winstar_wf35ltiacd, + }, { + .compatible = "dxwy,d500n9325v1", + .data = &d500n9325v1, }, { /* sentinel */ }