* [PATCH 1/2] dt-bindings: display/panel: Add AUO G156HAN04.0 LVDS display
@ 2023-08-28 9:49 Elmar Albert
2023-08-28 9:49 ` [PATCH 2/2] drm/panel: Add AUO G156HAN04.0 LVDS display support Elmar Albert
2023-08-28 11:13 ` [PATCH 1/2] dt-bindings: display/panel: Add AUO G156HAN04.0 LVDS display Krzysztof Kozlowski
0 siblings, 2 replies; 4+ messages in thread
From: Elmar Albert @ 2023-08-28 9:49 UTC (permalink / raw)
To: dri-devel
Cc: Elmar Albert, Conor Dooley, Daniel Vetter, David Airlie,
devicetree, Krzysztof Kozlowski, Neil Armstrong, Rob Herring,
Sam Ravnborg, Thierry Reding
From: Elmar Albert <ealbert@data-modul.com>
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 supportthe 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.
Signed-off-by: Elmar Albert <ealbert@data-modul.com>
---
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@gmail.com>
Cc: devicetree@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
---
.../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
index 25b4589d4a58..cea702de664b 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -67,6 +67,8 @@ properties:
- auo,g121ean01
# 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 15.6" (1366x768) TFT LCD panel
- auo,g156xtn01
# AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] drm/panel: Add AUO G156HAN04.0 LVDS display support
2023-08-28 9:49 [PATCH 1/2] dt-bindings: display/panel: Add AUO G156HAN04.0 LVDS display Elmar Albert
@ 2023-08-28 9:49 ` Elmar Albert
2023-09-05 20:50 ` Jessica Zhang
2023-08-28 11:13 ` [PATCH 1/2] dt-bindings: display/panel: Add AUO G156HAN04.0 LVDS display Krzysztof Kozlowski
1 sibling, 1 reply; 4+ messages in thread
From: Elmar Albert @ 2023-08-28 9:49 UTC (permalink / raw)
To: dri-devel
Cc: Elmar Albert, Conor Dooley, Daniel Vetter, David Airlie,
devicetree, Krzysztof Kozlowski, Neil Armstrong, Rob Herring,
Sam Ravnborg, Thierry Reding
From: Elmar Albert <ealbert@data-modul.com>
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 supportthe 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.
Signed-off-by: Elmar Albert <ealbert@data-modul.com>
---
Cc: Conor Dooley <conor+dt@kernel.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@gmail.com>
Cc: devicetree@vger.kernel.org
Cc: dri-devel@lists.freedesktop.org
Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: Neil Armstrong <neil.armstrong@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
---
drivers/gpu/drm/panel/panel-simple.c | 36 ++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 52572fde9705..4fe6dafcabf6 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1050,6 +1050,39 @@ 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,
@@ -4118,6 +4151,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,
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display/panel: Add AUO G156HAN04.0 LVDS display
2023-08-28 9:49 [PATCH 1/2] dt-bindings: display/panel: Add AUO G156HAN04.0 LVDS display Elmar Albert
2023-08-28 9:49 ` [PATCH 2/2] drm/panel: Add AUO G156HAN04.0 LVDS display support Elmar Albert
@ 2023-08-28 11:13 ` Krzysztof Kozlowski
1 sibling, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-28 11:13 UTC (permalink / raw)
To: Elmar Albert, dri-devel
Cc: Elmar Albert, Conor Dooley, Daniel Vetter, David Airlie,
devicetree, Krzysztof Kozlowski, Neil Armstrong, Rob Herring,
Sam Ravnborg, Thierry Reding
On 28/08/2023 11:49, Elmar Albert wrote:
> From: Elmar Albert <ealbert@data-modul.com>
>
> 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 supportthe 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.
>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] drm/panel: Add AUO G156HAN04.0 LVDS display support
2023-08-28 9:49 ` [PATCH 2/2] drm/panel: Add AUO G156HAN04.0 LVDS display support Elmar Albert
@ 2023-09-05 20:50 ` Jessica Zhang
0 siblings, 0 replies; 4+ messages in thread
From: Jessica Zhang @ 2023-09-05 20:50 UTC (permalink / raw)
To: Elmar Albert
Cc: devicetree, Conor Dooley, Neil Armstrong, Sam Ravnborg,
Rob Herring, Thierry Reding, Krzysztof Kozlowski, Elmar Albert,
dri-devel
Hi Elmar,
Just had a few minor comments:
Looking at past panel-simple changes, I think the prefix here should be
"drm/panel: simple:"
On 8/28/2023 2:49 AM, Elmar Albert wrote:
> From: Elmar Albert <ealbert@data-modul.com>
>
> 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 supportthe 16:9 FHD, 1920(H) x 1080(V) screen
nit: "support the"
> 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.
>
> Signed-off-by: Elmar Albert <ealbert@data-modul.com>
> ---
> Cc: Conor Dooley <conor+dt@kernel.org>
> Cc: Daniel Vetter <daniel@ffwll.ch>
> Cc: David Airlie <airlied@gmail.com>
> Cc: devicetree@vger.kernel.org
> Cc: dri-devel@lists.freedesktop.org
> Cc: Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
> Cc: Neil Armstrong <neil.armstrong@linaro.org>
> Cc: Rob Herring <robh+dt@kernel.org>
> Cc: Sam Ravnborg <sam@ravnborg.org>
> Cc: Thierry Reding <thierry.reding@gmail.com>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 36 ++++++++++++++++++++++++++++
> 1 file changed, 36 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 52572fde9705..4fe6dafcabf6 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1050,6 +1050,39 @@ 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 */
The inclusion of the comments seems unnecessary.
Thanks,
Jessica Zhang
> + },
> + .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,
> @@ -4118,6 +4151,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,
> --
> 2.34.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-09-05 20:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-28 9:49 [PATCH 1/2] dt-bindings: display/panel: Add AUO G156HAN04.0 LVDS display Elmar Albert
2023-08-28 9:49 ` [PATCH 2/2] drm/panel: Add AUO G156HAN04.0 LVDS display support Elmar Albert
2023-09-05 20:50 ` Jessica Zhang
2023-08-28 11:13 ` [PATCH 1/2] dt-bindings: display/panel: Add AUO G156HAN04.0 LVDS display Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).