Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/panel: simple: Add HannStar HSD156JUW2

Add Hannstar HSD156JUW2 15.6" FHD (1920x1080) TFT LCD panel support.

Signed-off-by: Renjun Wang <renjunw0@foxmail.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/tencent_FE5819B397B5ECC989623C67A7D68D246907@qq.com

authored by

Renjun Wang and committed by
Neil Armstrong
af586cc6 b23cd64b

+28
+28
drivers/gpu/drm/panel/panel-simple.c
··· 2509 2509 .connector_type = DRM_MODE_CONNECTOR_LVDS, 2510 2510 }; 2511 2511 2512 + static const struct display_timing hannstar_hsd156juw2_timing = { 2513 + .pixelclock = { 66000000, 72800000, 80500000 }, 2514 + .hactive = { 1920, 1920, 1920 }, 2515 + .hfront_porch = { 20, 30, 30 }, 2516 + .hback_porch = { 20, 30, 30 }, 2517 + .hsync_len = { 50, 60, 90 }, 2518 + .vactive = { 1080, 1080, 1080 }, 2519 + .vfront_porch = { 1, 2, 4 }, 2520 + .vback_porch = { 1, 2, 4 }, 2521 + .vsync_len = { 3, 40, 80 }, 2522 + .flags = DISPLAY_FLAGS_DE_HIGH, 2523 + }; 2524 + 2525 + static const struct panel_desc hannstar_hsd156juw2 = { 2526 + .timings = &hannstar_hsd156juw2_timing, 2527 + .num_timings = 1, 2528 + .bpc = 8, 2529 + .size = { 2530 + .width = 344, 2531 + .height = 194, 2532 + }, 2533 + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, 2534 + .connector_type = DRM_MODE_CONNECTOR_LVDS, 2535 + }; 2536 + 2512 2537 static const struct drm_display_mode hitachi_tx23d38vm0caa_mode = { 2513 2538 .clock = 33333, 2514 2539 .hdisplay = 800, ··· 5278 5253 }, { 5279 5254 .compatible = "hannstar,hsd101pww2", 5280 5255 .data = &hannstar_hsd101pww2, 5256 + }, { 5257 + .compatible = "hannstar,hsd156juw2", 5258 + .data = &hannstar_hsd156juw2, 5281 5259 }, { 5282 5260 .compatible = "hit,tx23d38vm0caa", 5283 5261 .data = &hitachi_tx23d38vm0caa