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 support for HannStar HSD101PWW2 panel

Add definition of the HannStar HSD101PWW2 Rev0-A00/A01 LCD
SuperIPS+ HD panel.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220529180548.9942-4-clamor95@gmail.com

authored by

Svyatoslav Ryhel and committed by
Sam Ravnborg
170a41e9 0a9f6ffd

+28
+28
drivers/gpu/drm/panel/panel-simple.c
··· 2021 2021 .connector_type = DRM_MODE_CONNECTOR_LVDS, 2022 2022 }; 2023 2023 2024 + static const struct display_timing hannstar_hsd101pww2_timing = { 2025 + .pixelclock = { 64300000, 71100000, 82000000 }, 2026 + .hactive = { 1280, 1280, 1280 }, 2027 + .hfront_porch = { 1, 1, 10 }, 2028 + .hback_porch = { 1, 1, 10 }, 2029 + .hsync_len = { 58, 158, 661 }, 2030 + .vactive = { 800, 800, 800 }, 2031 + .vfront_porch = { 1, 1, 10 }, 2032 + .vback_porch = { 1, 1, 10 }, 2033 + .vsync_len = { 1, 21, 203 }, 2034 + .flags = DISPLAY_FLAGS_DE_HIGH, 2035 + }; 2036 + 2037 + static const struct panel_desc hannstar_hsd101pww2 = { 2038 + .timings = &hannstar_hsd101pww2_timing, 2039 + .num_timings = 1, 2040 + .bpc = 8, 2041 + .size = { 2042 + .width = 217, 2043 + .height = 136, 2044 + }, 2045 + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG, 2046 + .connector_type = DRM_MODE_CONNECTOR_LVDS, 2047 + }; 2048 + 2024 2049 static const struct drm_display_mode hitachi_tx23d38vm0caa_mode = { 2025 2050 .clock = 33333, 2026 2051 .hdisplay = 800, ··· 3997 3972 }, { 3998 3973 .compatible = "hannstar,hsd100pxn1", 3999 3974 .data = &hannstar_hsd100pxn1, 3975 + }, { 3976 + .compatible = "hannstar,hsd101pww2", 3977 + .data = &hannstar_hsd101pww2, 4000 3978 }, { 4001 3979 .compatible = "hit,tx23d38vm0caa", 4002 3980 .data = &hitachi_tx23d38vm0caa