* [PATCH 1/2] dt-bindings: display: simple: Add AUO G104STN01 panel
@ 2024-06-26 4:36 Paul Gerber
2024-06-26 4:36 ` [PATCH 2/2] drm/panel: simple: Add AUO G104STN01 panel entry Paul Gerber
2024-06-26 7:36 ` [PATCH 1/2] dt-bindings: display: simple: Add AUO G104STN01 panel Krzysztof Kozlowski
0 siblings, 2 replies; 4+ messages in thread
From: Paul Gerber @ 2024-06-26 4:36 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding
Cc: Paul Gerber, dri-devel, devicetree, linux-kernel
Add AUO G104STN01 10.4" LCD-TFT LVDS panel compatible string.
Signed-off-by: Paul Gerber <paul.gerber@ew.tq-group.com>
---
Tested on TQ MBa8MPxL with TQMa8MPxL.
.../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 5067f5c0a272..8d75284845db 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -64,6 +64,8 @@ properties:
# AU Optronics Corporation 10.4" (800x600) color TFT LCD panel
- auo,g104sn02
# AU Optronics Corporation 12.1" (1280x800) TFT LCD panel
+ - auo,g104stn01
+ # AU Optronics Corporation 10.4" (800x600) color TFT LCD panel
- auo,g121ean01
# AU Optronics Corporation 15.6" (1366x768) TFT LCD panel
- auo,g156xtn01
--
2.44.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] drm/panel: simple: Add AUO G104STN01 panel entry
2024-06-26 4:36 [PATCH 1/2] dt-bindings: display: simple: Add AUO G104STN01 panel Paul Gerber
@ 2024-06-26 4:36 ` Paul Gerber
2024-06-26 16:47 ` Neil Armstrong
2024-06-26 7:36 ` [PATCH 1/2] dt-bindings: display: simple: Add AUO G104STN01 panel Krzysztof Kozlowski
1 sibling, 1 reply; 4+ messages in thread
From: Paul Gerber @ 2024-06-26 4:36 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding
Cc: Paul Gerber, dri-devel, devicetree, linux-kernel
Add support for the AUO G104STN01 10.4" (800x600) LCD-TFT panel.
Signed-off-by: Paul Gerber <paul.gerber@ew.tq-group.com>
---
Tested on TQ MBa8MPxL with TQMa8MPxL.
drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index dcb6d0b6ced0..5eacd2085a53 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -1081,6 +1081,30 @@ static const struct panel_desc auo_g104sn02 = {
.connector_type = DRM_MODE_CONNECTOR_LVDS,
};
+static const struct drm_display_mode auo_g104stn01_mode = {
+ .clock = 40000,
+ .hdisplay = 800,
+ .hsync_start = 800 + 40,
+ .hsync_end = 800 + 40 + 88,
+ .htotal = 800 + 40 + 88 + 128,
+ .vdisplay = 600,
+ .vsync_start = 600 + 1,
+ .vsync_end = 600 + 1 + 23,
+ .vtotal = 600 + 1 + 23 + 4,
+};
+
+static const struct panel_desc auo_g104stn01 = {
+ .modes = &auo_g104stn01_mode,
+ .num_modes = 1,
+ .bpc = 8,
+ .size = {
+ .width = 211,
+ .height = 158,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
+ .connector_type = DRM_MODE_CONNECTOR_LVDS,
+};
+
static const struct display_timing auo_g121ean01_timing = {
.pixelclock = { 60000000, 74400000, 90000000 },
.hactive = { 1280, 1280, 1280 },
@@ -4434,6 +4458,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "auo,g104sn02",
.data = &auo_g104sn02,
+ }, {
+ .compatible = "auo,g104stn01",
+ .data = &auo_g104stn01,
}, {
.compatible = "auo,g121ean01",
.data = &auo_g121ean01,
--
2.44.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display: simple: Add AUO G104STN01 panel
2024-06-26 4:36 [PATCH 1/2] dt-bindings: display: simple: Add AUO G104STN01 panel Paul Gerber
2024-06-26 4:36 ` [PATCH 2/2] drm/panel: simple: Add AUO G104STN01 panel entry Paul Gerber
@ 2024-06-26 7:36 ` Krzysztof Kozlowski
1 sibling, 0 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-06-26 7:36 UTC (permalink / raw)
To: Paul Gerber, Neil Armstrong, Jessica Zhang, Sam Ravnborg,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, David Airlie,
Daniel Vetter, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Thierry Reding
Cc: dri-devel, devicetree, linux-kernel
On 26/06/2024 06:36, Paul Gerber wrote:
> Add AUO G104STN01 10.4" LCD-TFT LVDS panel compatible string.
>
> Signed-off-by: Paul Gerber <paul.gerber@ew.tq-group.com>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
<form letter>
This is an automated instruction, just in case, because many review tags
are being ignored. If you know the process, you can skip it (please do
not feel offended by me posting it here - no bad intentions intended).
If you do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new
versions, under or above your Signed-off-by tag. Tag is "received", when
provided in a message replied to you on the mailing list. Tools like b4
can help here. However, there's no need to repost patches *only* to add
the tags. The upstream maintainer will do that for tags received on the
version they apply.
https://elixir.bootlin.com/linux/v6.5-rc3/source/Documentation/process/submitting-patches.rst#L577
</form letter>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 2/2] drm/panel: simple: Add AUO G104STN01 panel entry
2024-06-26 4:36 ` [PATCH 2/2] drm/panel: simple: Add AUO G104STN01 panel entry Paul Gerber
@ 2024-06-26 16:47 ` Neil Armstrong
0 siblings, 0 replies; 4+ messages in thread
From: Neil Armstrong @ 2024-06-26 16:47 UTC (permalink / raw)
To: Paul Gerber, Jessica Zhang, Sam Ravnborg, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, David Airlie, Daniel Vetter,
Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding
Cc: dri-devel, devicetree, linux-kernel
On 26/06/2024 06:36, Paul Gerber wrote:
> Add support for the AUO G104STN01 10.4" (800x600) LCD-TFT panel.
>
> Signed-off-by: Paul Gerber <paul.gerber@ew.tq-group.com>
> ---
> Tested on TQ MBa8MPxL with TQMa8MPxL.
>
> drivers/gpu/drm/panel/panel-simple.c | 27 +++++++++++++++++++++++++++
> 1 file changed, 27 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index dcb6d0b6ced0..5eacd2085a53 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -1081,6 +1081,30 @@ static const struct panel_desc auo_g104sn02 = {
> .connector_type = DRM_MODE_CONNECTOR_LVDS,
> };
>
> +static const struct drm_display_mode auo_g104stn01_mode = {
> + .clock = 40000,
> + .hdisplay = 800,
> + .hsync_start = 800 + 40,
> + .hsync_end = 800 + 40 + 88,
> + .htotal = 800 + 40 + 88 + 128,
> + .vdisplay = 600,
> + .vsync_start = 600 + 1,
> + .vsync_end = 600 + 1 + 23,
> + .vtotal = 600 + 1 + 23 + 4,
> +};
> +
> +static const struct panel_desc auo_g104stn01 = {
> + .modes = &auo_g104stn01_mode,
> + .num_modes = 1,
> + .bpc = 8,
> + .size = {
> + .width = 211,
> + .height = 158,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
> + .connector_type = DRM_MODE_CONNECTOR_LVDS,
> +};
> +
> static const struct display_timing auo_g121ean01_timing = {
> .pixelclock = { 60000000, 74400000, 90000000 },
> .hactive = { 1280, 1280, 1280 },
> @@ -4434,6 +4458,9 @@ static const struct of_device_id platform_of_match[] = {
> }, {
> .compatible = "auo,g104sn02",
> .data = &auo_g104sn02,
> + }, {
> + .compatible = "auo,g104stn01",
> + .data = &auo_g104stn01,
> }, {
> .compatible = "auo,g121ean01",
> .data = &auo_g121ean01,
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-06-26 16:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26 4:36 [PATCH 1/2] dt-bindings: display: simple: Add AUO G104STN01 panel Paul Gerber
2024-06-26 4:36 ` [PATCH 2/2] drm/panel: simple: Add AUO G104STN01 panel entry Paul Gerber
2024-06-26 16:47 ` Neil Armstrong
2024-06-26 7:36 ` [PATCH 1/2] dt-bindings: display: simple: Add AUO G104STN01 panel 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).