* [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS
@ 2025-07-02 8:22 Paul Kocialkowski
2025-07-02 8:22 ` [PATCH v2 2/2] drm/panel: simple: Add Olimex LCD-OLinuXino-5CTS support Paul Kocialkowski
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Paul Kocialkowski @ 2025-07-02 8:22 UTC (permalink / raw)
To: dri-devel, devicetree, linux-kernel
Cc: Neil Armstrong, Jessica Zhang, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg,
Paul Kocialkowski
Add the Olimex LCD-OLinuXino-5CTS, a 5-inch TFT LCD panel.
Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
---
Changes since v1:
- Fixed yaml indentation.
---
.../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 5542c9229d54..f0f7ed4f9d36 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -234,6 +234,8 @@ properties:
- okaya,rs800480t-7x0gp
# Olimex 4.3" TFT LCD panel
- olimex,lcd-olinuxino-43-ts
+ # Olimex 5.0" TFT LCD panel
+ - olimex,lcd-olinuxino-5-cts
# On Tat Industrial Company 5" DPI TFT panel.
- ontat,kd50g21-40nt-a1
# On Tat Industrial Company 7" DPI TFT panel.
--
2.49.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH v2 2/2] drm/panel: simple: Add Olimex LCD-OLinuXino-5CTS support
2025-07-02 8:22 [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS Paul Kocialkowski
@ 2025-07-02 8:22 ` Paul Kocialkowski
2025-07-02 8:26 ` Neil Armstrong
2025-07-02 8:31 ` [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS Krzysztof Kozlowski
2025-08-04 15:32 ` Neil Armstrong
2 siblings, 1 reply; 6+ messages in thread
From: Paul Kocialkowski @ 2025-07-02 8:22 UTC (permalink / raw)
To: dri-devel, devicetree, linux-kernel
Cc: Neil Armstrong, Jessica Zhang, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg,
Paul Kocialkowski
Add support for the Olimex LCD-OLinuXino-5CTS, a 5-inch TFT LCD panel
with a mode operating at 33.3 MHz.
Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
---
drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index 0a3b26bb4d73..b3d7a0eeabd5 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -3655,6 +3655,29 @@ static const struct panel_desc olimex_lcd_olinuxino_43ts = {
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
};
+static const struct drm_display_mode olimex_lcd_olinuxino_5cts_mode = {
+ .clock = 33300,
+ .hdisplay = 800,
+ .hsync_start = 800 + 210,
+ .hsync_end = 800 + 210 + 20,
+ .htotal = 800 + 210 + 20 + 26,
+ .vdisplay = 480,
+ .vsync_start = 480 + 22,
+ .vsync_end = 480 + 22 + 10,
+ .vtotal = 480 + 22 + 10 + 13,
+};
+
+static const struct panel_desc olimex_lcd_olinuxino_5cts = {
+ .modes = &olimex_lcd_olinuxino_5cts_mode,
+ .num_modes = 1,
+ .size = {
+ .width = 154,
+ .height = 86,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+};
+
+
static const struct display_timing ontat_kd50g21_40nt_a1_timing = {
.pixelclock = { 30000000, 30000000, 50000000 },
.hactive = { 800, 800, 800 },
@@ -5214,6 +5237,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "olimex,lcd-olinuxino-43-ts",
.data = &olimex_lcd_olinuxino_43ts,
+ }, {
+ .compatible = "olimex,lcd-olinuxino-5-cts",
+ .data = &olimex_lcd_olinuxino_5cts,
}, {
.compatible = "ontat,kd50g21-40nt-a1",
.data = &ontat_kd50g21_40nt_a1,
--
2.49.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2 2/2] drm/panel: simple: Add Olimex LCD-OLinuXino-5CTS support
2025-07-02 8:22 ` [PATCH v2 2/2] drm/panel: simple: Add Olimex LCD-OLinuXino-5CTS support Paul Kocialkowski
@ 2025-07-02 8:26 ` Neil Armstrong
0 siblings, 0 replies; 6+ messages in thread
From: Neil Armstrong @ 2025-07-02 8:26 UTC (permalink / raw)
To: Paul Kocialkowski, dri-devel, devicetree, linux-kernel
Cc: Jessica Zhang, David Airlie, Simona Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg
On 02/07/2025 10:22, Paul Kocialkowski wrote:
> Add support for the Olimex LCD-OLinuXino-5CTS, a 5-inch TFT LCD panel
> with a mode operating at 33.3 MHz.
>
> Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 0a3b26bb4d73..b3d7a0eeabd5 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -3655,6 +3655,29 @@ static const struct panel_desc olimex_lcd_olinuxino_43ts = {
> .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> };
>
> +static const struct drm_display_mode olimex_lcd_olinuxino_5cts_mode = {
> + .clock = 33300,
> + .hdisplay = 800,
> + .hsync_start = 800 + 210,
> + .hsync_end = 800 + 210 + 20,
> + .htotal = 800 + 210 + 20 + 26,
> + .vdisplay = 480,
> + .vsync_start = 480 + 22,
> + .vsync_end = 480 + 22 + 10,
> + .vtotal = 480 + 22 + 10 + 13,
> +};
> +
> +static const struct panel_desc olimex_lcd_olinuxino_5cts = {
> + .modes = &olimex_lcd_olinuxino_5cts_mode,
> + .num_modes = 1,
> + .size = {
> + .width = 154,
> + .height = 86,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> +};
> +
> +
> static const struct display_timing ontat_kd50g21_40nt_a1_timing = {
> .pixelclock = { 30000000, 30000000, 50000000 },
> .hactive = { 800, 800, 800 },
> @@ -5214,6 +5237,9 @@ static const struct of_device_id platform_of_match[] = {
> }, {
> .compatible = "olimex,lcd-olinuxino-43-ts",
> .data = &olimex_lcd_olinuxino_43ts,
> + }, {
> + .compatible = "olimex,lcd-olinuxino-5-cts",
> + .data = &olimex_lcd_olinuxino_5cts,
> }, {
> .compatible = "ontat,kd50g21-40nt-a1",
> .data = &ontat_kd50g21_40nt_a1,
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS
2025-07-02 8:22 [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS Paul Kocialkowski
2025-07-02 8:22 ` [PATCH v2 2/2] drm/panel: simple: Add Olimex LCD-OLinuXino-5CTS support Paul Kocialkowski
@ 2025-07-02 8:31 ` Krzysztof Kozlowski
2025-08-04 15:32 ` Neil Armstrong
2 siblings, 0 replies; 6+ messages in thread
From: Krzysztof Kozlowski @ 2025-07-02 8:31 UTC (permalink / raw)
To: Paul Kocialkowski, dri-devel, devicetree, linux-kernel
Cc: Neil Armstrong, Jessica Zhang, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg
On 02/07/2025 10:22, Paul Kocialkowski wrote:
> Add the Olimex LCD-OLinuXino-5CTS, a 5-inch TFT LCD panel.
>
> Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
> ---
>
> Changes since v1:
> - Fixed yaml indentation.
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS
2025-07-02 8:22 [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS Paul Kocialkowski
2025-07-02 8:22 ` [PATCH v2 2/2] drm/panel: simple: Add Olimex LCD-OLinuXino-5CTS support Paul Kocialkowski
2025-07-02 8:31 ` [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS Krzysztof Kozlowski
@ 2025-08-04 15:32 ` Neil Armstrong
2025-08-05 18:01 ` Paul Kocialkowski
2 siblings, 1 reply; 6+ messages in thread
From: Neil Armstrong @ 2025-08-04 15:32 UTC (permalink / raw)
To: dri-devel, devicetree, linux-kernel, Paul Kocialkowski
Cc: Jessica Zhang, David Airlie, Simona Vetter, Maarten Lankhorst,
Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg
Hi,
On Wed, 02 Jul 2025 10:22:29 +0200, Paul Kocialkowski wrote:
> Add the Olimex LCD-OLinuXino-5CTS, a 5-inch TFT LCD panel.
>
>
Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)
[1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS
https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/1da71a08080bb5cf5601f237e94c3dd5cede446b
[2/2] drm/panel: simple: Add Olimex LCD-OLinuXino-5CTS support
https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/26232780077b3e6147fabb6111afd0bd9a60f973
--
Neil
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS
2025-08-04 15:32 ` Neil Armstrong
@ 2025-08-05 18:01 ` Paul Kocialkowski
0 siblings, 0 replies; 6+ messages in thread
From: Paul Kocialkowski @ 2025-08-05 18:01 UTC (permalink / raw)
To: Neil Armstrong
Cc: dri-devel, devicetree, linux-kernel, Jessica Zhang, David Airlie,
Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Thierry Reding, Sam Ravnborg
[-- Attachment #1: Type: text/plain, Size: 933 bytes --]
Hi,
Le Mon 04 Aug 25, 17:32, Neil Armstrong a écrit :
> On Wed, 02 Jul 2025 10:22:29 +0200, Paul Kocialkowski wrote:
> > Add the Olimex LCD-OLinuXino-5CTS, a 5-inch TFT LCD panel.
>
> Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next)
Thanks for the review and merge!
All the best,
Paul
>
> [1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS
> https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/1da71a08080bb5cf5601f237e94c3dd5cede446b
> [2/2] drm/panel: simple: Add Olimex LCD-OLinuXino-5CTS support
> https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/26232780077b3e6147fabb6111afd0bd9a60f973
>
> --
> Neil
>
--
Paul Kocialkowski,
Independent contractor - sys-base - https://www.sys-base.io/
Free software developer - https://www.paulk.fr/
Expert in multimedia, graphics and embedded hardware support with Linux.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2025-08-05 18:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-02 8:22 [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS Paul Kocialkowski
2025-07-02 8:22 ` [PATCH v2 2/2] drm/panel: simple: Add Olimex LCD-OLinuXino-5CTS support Paul Kocialkowski
2025-07-02 8:26 ` Neil Armstrong
2025-07-02 8:31 ` [PATCH v2 1/2] dt-bindings: display: simple: Add Olimex LCD-OLinuXino-5CTS Krzysztof Kozlowski
2025-08-04 15:32 ` Neil Armstrong
2025-08-05 18:01 ` Paul Kocialkowski
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).