dt-bindings: display: simple: Add AUO G156HAN04.0 LVDS display
Subsystems (4)
PATCH v2 1/2 dt-bindings: display: simple: Add AUO G156HAN04.0 LVDS display
From: Elmar Albert <[email protected]>
Document support for the AUO G156HAN04.0 LVDS display.
G156HAN04.0 is a Color Active Matrix Liquid Crystal Display composed of a TFT LCD panel, a driver circuit, and LED backlight system. The screen format is intended to support the 16:9 FHD, 1920(H) x 1080(V) screen and 16.7M colors (RGB 8-bits) with LED backlight driving circuit. All input signals are LVDS interface compatible.
G156HAN04.0 is designed for a display unit of notebook style personal computer and industrial machine.
---
Cc: Conor Dooley <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jessica Zhang <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Liu Ying <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
V2: - Collect AB from Krzysztof
- Update to new panel-simple-lvds-dual-ports.yaml
- Update commit subject prefix
- Add own SoB line
--- .../bindings/display/panel/panel-simple-lvds-dual-ports.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml +2 -0
@@ -33,6 +33,8 @@ properties: # AU Optronics Corporation 13.3" FHD (1920x1080) TFT LCD panel - auo,g133han01 + # AU Optronics Corporation 15.6" FHD (1920x1080) TFT LCD panel + - auo,g156han04 # AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel - auo,g185han01 # AU Optronics Corporation 19.0" (1280x1024) TFT LCD panel
Signature · 1 line
2.42.0
PATCH v2 2/2 drm/panel: simple: Add AUO G156HAN04.0 LVDS display support
From: Elmar Albert <[email protected]>
G156HAN04.0 is a Color Active Matrix Liquid Crystal Display composed of a TFT LCD panel, a driver circuit, and LED backlight system. The screen format is intended to support the 16:9 FHD, 1920(H) x 1080(V) screen and 16.7M colors (RGB 8-bits) with LED backlight driving circuit. All input signals are LVDS interface compatible.
G156HAN04.0 is designed for a display unit of notebook style personal computer and industrial machine.
---
Cc: Conor Dooley <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Jessica Zhang <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Liu Ying <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
V2: - Rebase the patch
- Fix up commit message
- Tx parameter comments are retained, they refer to datasheet timings and are generally useful when checking if the timing requirements are properly fulfilled
--- drivers/gpu/drm/panel/panel-simple.c | 34 ++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+)
drivers/gpu/drm/panel/panel-simple.c +34 -0
@@ -1135,6 +1135,37 @@ static const struct panel_desc auo_g133han01 = { .connector_type = DRM_MODE_CONNECTOR_LVDS, }; +static const struct display_timing auo_g156han04_timings = { + .pixelclock = {137000000 ,141000000 ,146000000 }, + .hactive = {1920 ,1920 ,1920 }, + .hfront_porch = {60 ,60 ,60 }, + .hback_porch = {90 ,92 ,111 }, + .hsync_len = {32 ,32 ,32 }, + .vactive = {1080 ,1080 ,1080 }, + .vfront_porch = {12 ,12 ,12 }, + .vback_porch = {24 ,36 ,56 }, + .vsync_len = {8 ,8 ,8 }, +}; + +static const struct panel_desc auo_g156han04 = { + .timings = &auo_g156han04_timings, + .num_timings =1 , + .bpc =8 , + .size = { + .width =344 , + .height =194 , + }, + .delay = { + .prepare =50 ,/* T2 */ + .enable =200 ,/* T3 */ + .disable =110 ,/* T10 */ + .unprepare =1000 ,/* T13 */ + }, + .bus_format =MEDIA_BUS_FMT_RGB888_1X7X4_SPWG , + .bus_flags =DRM_BUS_FLAG_DE_HIGH , + .connector_type =DRM_MODE_CONNECTOR_LVDS , +}; +static const struct drm_display_mode auo_g156xtn01_mode = { .clock =76000 , .hdisplay =1366 ,
@@ -4289,6 +4320,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "auo,g133han01", .data = &auo_g133han01, + }, { + .compatible = "auo,g156han04", + .data = &auo_g156han04, }, { .compatible = "auo,g156xtn01", .data = &auo_g156xtn01,
Signature · 1 line
2.42.0
Re: [PATCH v2 2/2] drm/panel: simple: Add AUO G156HAN04.0 LVDS display support
Quoted 7 lines · Marek Vasut
From: Elmar Albert <[email protected]>
G156HAN04.0 is a Color Active Matrix Liquid Crystal Display composed of a TFT LCD panel, a driver circuit, and LED backlight system. The screen format is intended to support the 16:9 FHD, 1920(H) x 1080(V) screen
[ ... ]
Thanks!
Maxime
Quoted 7 lines · Marek Vasut
From: Elmar Albert <[email protected]>
Document support for the AUO G156HAN04.0 LVDS display.
G156HAN04.0 is a Color Active Matrix Liquid Crystal Display composed of
[ ... ]
Thanks!
Maxime
Hi,
Quoted 9 lines · Marek Vasut
Document support for the AUO G156HAN04.0 LVDS display.
G156HAN04.0 is a Color Active Matrix Liquid Crystal Display composed of a TFT LCD panel, a driver circuit, and LED backlight system. The screen format is intended to support the 16:9 FHD, 1920(H) x 1080(V) screen and 16.7M colors (RGB 8-bits) with LED backlight driving circuit. All input signals are LVDS interface compatible.
[...]
Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next)
[1/2] dt-bindings: display: simple: Add AUO G156HAN04.0 LVDS display
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=bf7f730dea3125b2272ad7268f59e8992c5b7822 [2/2] drm/panel: simple: Add AUO G156HAN04.0 LVDS display support https://cgit.freedesktop.org/drm/drm-misc/commit/?id=9e52d5c808215b0033cdbeca72700b1e401ea987
Signature · 1 line
Neil