* [PATCH 1/2] dt-bindings: display: simple: Add Jiangsu Smartwin SMMT043480272A-A19
@ 2024-06-26 16:17 Marco Felsch
2024-06-26 16:17 ` [PATCH 2/2] drm/panel: simple: Add Jiangsu Smartwin SMMT043480272A-A19 panel Marco Felsch
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Marco Felsch @ 2024-06-26 16:17 UTC (permalink / raw)
To: neil.armstrong, quic_jesszhan, sam, maarten.lankhorst, mripard,
tzimmermann, airlied, daniel, robh, krzk+dt, conor+dt,
thierry.reding
Cc: kernel, dri-devel, devicetree, linux-kernel
Add compatible to panel-simple for Jiangsu Smartwin Electronics
SMMT043480272A-A19 4.3" 480x272 LCD-TFT panel.
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
.../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..6fcb1ebb86f9 100644
--- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
+++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
@@ -206,6 +206,8 @@ properties:
- innolux,p120zdg-bf1
# Innolux Corporation 7.0" WSVGA (1024x600) TFT LCD panel
- innolux,zj070na-01p
+ # Jiangsu Smartwin Electronics 4.3" (480x272) TFT LCD panel
+ - jianda,smmt043480272a-a19
# King & Display KD116N21-30NV-A010 eDP TFT LCD panel
- kingdisplay,kd116n21-30nv-a010
# Kaohsiung Opto-Electronics Inc. 5.7" QVGA (320 x 240) TFT LCD panel
--
2.39.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] drm/panel: simple: Add Jiangsu Smartwin SMMT043480272A-A19 panel
2024-06-26 16:17 [PATCH 1/2] dt-bindings: display: simple: Add Jiangsu Smartwin SMMT043480272A-A19 Marco Felsch
@ 2024-06-26 16:17 ` Marco Felsch
2024-06-26 16:46 ` neil.armstrong
2024-06-27 16:18 ` [PATCH 1/2] dt-bindings: display: simple: Add Jiangsu Smartwin SMMT043480272A-A19 Conor Dooley
2024-06-28 8:36 ` neil.armstrong
2 siblings, 1 reply; 5+ messages in thread
From: Marco Felsch @ 2024-06-26 16:17 UTC (permalink / raw)
To: neil.armstrong, quic_jesszhan, sam, maarten.lankhorst, mripard,
tzimmermann, airlied, daniel
Cc: kernel, Rouven Czerwinski, dri-devel, linux-kernel
From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Add support for the Jiangsu Smartwin SMMT043480272A-A19 4.3" 480x272
TFT-LCD panel. The timings are based on the ILI6485 controller IC
datasheet.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
index dcb6d0b6ced0..a06ad2cd76f0 100644
--- a/drivers/gpu/drm/panel/panel-simple.c
+++ b/drivers/gpu/drm/panel/panel-simple.c
@@ -2719,6 +2719,35 @@ static const struct panel_desc innolux_zj070na_01p = {
},
};
+static const struct display_timing jiangsu_smartwin_smmt043480272a_a19_timing = {
+ .pixelclock = { 8000000, 9000000, 12000000 },
+ .hactive = { 480, 480, 480 },
+ .hback_porch = { 1, 43, 43 },
+ .hfront_porch = { 4, 8, 75 },
+ .hsync_len = { 2, 4, 75 },
+ .vactive = { 272, 272, 272 },
+ .vback_porch = { 2, 12, 12 },
+ .vfront_porch = { 2, 8, 37 },
+ .vsync_len = { 2, 4, 37 },
+ .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
+ DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
+ DISPLAY_FLAGS_SYNC_POSEDGE,
+};
+
+static const struct panel_desc jiangsu_smartwin_smmt043480272a_a19 = {
+ .timings = &jiangsu_smartwin_smmt043480272a_a19_timing,
+ .num_timings = 1,
+ .bpc = 8,
+ .size = {
+ .width = 95,
+ .height = 54,
+ },
+ .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
+ .bus_flags = DRM_BUS_FLAG_DE_HIGH |
+ DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
+ DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
+};
+
static const struct display_timing koe_tx14d24vm1bpa_timing = {
.pixelclock = { 5580000, 5850000, 6200000 },
.hactive = { 320, 320, 320 },
@@ -4626,6 +4655,9 @@ static const struct of_device_id platform_of_match[] = {
}, {
.compatible = "innolux,zj070na-01p",
.data = &innolux_zj070na_01p,
+ }, {
+ .compatible = "jianda,smmt043480272a-a19",
+ .data = &jiangsu_smartwin_smmt043480272a_a19,
}, {
.compatible = "koe,tx14d24vm1bpa",
.data = &koe_tx14d24vm1bpa,
--
2.39.2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] drm/panel: simple: Add Jiangsu Smartwin SMMT043480272A-A19 panel
2024-06-26 16:17 ` [PATCH 2/2] drm/panel: simple: Add Jiangsu Smartwin SMMT043480272A-A19 panel Marco Felsch
@ 2024-06-26 16:46 ` neil.armstrong
0 siblings, 0 replies; 5+ messages in thread
From: neil.armstrong @ 2024-06-26 16:46 UTC (permalink / raw)
To: Marco Felsch, quic_jesszhan, sam, maarten.lankhorst, mripard,
tzimmermann, airlied, daniel
Cc: kernel, Rouven Czerwinski, dri-devel, linux-kernel
On 26/06/2024 18:17, Marco Felsch wrote:
> From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
>
> Add support for the Jiangsu Smartwin SMMT043480272A-A19 4.3" 480x272
> TFT-LCD panel. The timings are based on the ILI6485 controller IC
> datasheet.
>
> Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> drivers/gpu/drm/panel/panel-simple.c | 32 ++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
>
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index dcb6d0b6ced0..a06ad2cd76f0 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -2719,6 +2719,35 @@ static const struct panel_desc innolux_zj070na_01p = {
> },
> };
>
> +static const struct display_timing jiangsu_smartwin_smmt043480272a_a19_timing = {
> + .pixelclock = { 8000000, 9000000, 12000000 },
> + .hactive = { 480, 480, 480 },
> + .hback_porch = { 1, 43, 43 },
> + .hfront_porch = { 4, 8, 75 },
> + .hsync_len = { 2, 4, 75 },
> + .vactive = { 272, 272, 272 },
> + .vback_porch = { 2, 12, 12 },
> + .vfront_porch = { 2, 8, 37 },
> + .vsync_len = { 2, 4, 37 },
> + .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW |
> + DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE |
> + DISPLAY_FLAGS_SYNC_POSEDGE,
> +};
> +
> +static const struct panel_desc jiangsu_smartwin_smmt043480272a_a19 = {
> + .timings = &jiangsu_smartwin_smmt043480272a_a19_timing,
> + .num_timings = 1,
> + .bpc = 8,
> + .size = {
> + .width = 95,
> + .height = 54,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X24,
> + .bus_flags = DRM_BUS_FLAG_DE_HIGH |
> + DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE |
> + DRM_BUS_FLAG_SYNC_SAMPLE_NEGEDGE,
> +};
> +
> static const struct display_timing koe_tx14d24vm1bpa_timing = {
> .pixelclock = { 5580000, 5850000, 6200000 },
> .hactive = { 320, 320, 320 },
> @@ -4626,6 +4655,9 @@ static const struct of_device_id platform_of_match[] = {
> }, {
> .compatible = "innolux,zj070na-01p",
> .data = &innolux_zj070na_01p,
> + }, {
> + .compatible = "jianda,smmt043480272a-a19",
> + .data = &jiangsu_smartwin_smmt043480272a_a19,
> }, {
> .compatible = "koe,tx14d24vm1bpa",
> .data = &koe_tx14d24vm1bpa,
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display: simple: Add Jiangsu Smartwin SMMT043480272A-A19
2024-06-26 16:17 [PATCH 1/2] dt-bindings: display: simple: Add Jiangsu Smartwin SMMT043480272A-A19 Marco Felsch
2024-06-26 16:17 ` [PATCH 2/2] drm/panel: simple: Add Jiangsu Smartwin SMMT043480272A-A19 panel Marco Felsch
@ 2024-06-27 16:18 ` Conor Dooley
2024-06-28 8:36 ` neil.armstrong
2 siblings, 0 replies; 5+ messages in thread
From: Conor Dooley @ 2024-06-27 16:18 UTC (permalink / raw)
To: Marco Felsch
Cc: neil.armstrong, quic_jesszhan, sam, maarten.lankhorst, mripard,
tzimmermann, airlied, daniel, robh, krzk+dt, conor+dt,
thierry.reding, kernel, dri-devel, devicetree, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 296 bytes --]
On Wed, Jun 26, 2024 at 06:17:12PM +0200, Marco Felsch wrote:
> Add compatible to panel-simple for Jiangsu Smartwin Electronics
> SMMT043480272A-A19 4.3" 480x272 LCD-TFT panel.
>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display: simple: Add Jiangsu Smartwin SMMT043480272A-A19
2024-06-26 16:17 [PATCH 1/2] dt-bindings: display: simple: Add Jiangsu Smartwin SMMT043480272A-A19 Marco Felsch
2024-06-26 16:17 ` [PATCH 2/2] drm/panel: simple: Add Jiangsu Smartwin SMMT043480272A-A19 panel Marco Felsch
2024-06-27 16:18 ` [PATCH 1/2] dt-bindings: display: simple: Add Jiangsu Smartwin SMMT043480272A-A19 Conor Dooley
@ 2024-06-28 8:36 ` neil.armstrong
2 siblings, 0 replies; 5+ messages in thread
From: neil.armstrong @ 2024-06-28 8:36 UTC (permalink / raw)
To: Marco Felsch, quic_jesszhan, sam, maarten.lankhorst, mripard,
tzimmermann, airlied, daniel, robh, krzk+dt, conor+dt,
thierry.reding
Cc: kernel, dri-devel, devicetree, linux-kernel
Hi Marco,
On 26/06/2024 18:17, Marco Felsch wrote:
> Add compatible to panel-simple for Jiangsu Smartwin Electronics
> SMMT043480272A-A19 4.3" 480x272 LCD-TFT panel.
>
> Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
> ---
> .../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..6fcb1ebb86f9 100644
> --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
> +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml
> @@ -206,6 +206,8 @@ properties:
> - innolux,p120zdg-bf1
> # Innolux Corporation 7.0" WSVGA (1024x600) TFT LCD panel
> - innolux,zj070na-01p
> + # Jiangsu Smartwin Electronics 4.3" (480x272) TFT LCD panel
> + - jianda,smmt043480272a-a19
> # King & Display KD116N21-30NV-A010 eDP TFT LCD panel
> - kingdisplay,kd116n21-30nv-a010
> # Kaohsiung Opto-Electronics Inc. 5.7" QVGA (320 x 240) TFT LCD panel
This doesn't apply anymore, Could you rebased on drm-misc-next ?
Thanks,
Neil
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-06-28 8:36 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-26 16:17 [PATCH 1/2] dt-bindings: display: simple: Add Jiangsu Smartwin SMMT043480272A-A19 Marco Felsch
2024-06-26 16:17 ` [PATCH 2/2] drm/panel: simple: Add Jiangsu Smartwin SMMT043480272A-A19 panel Marco Felsch
2024-06-26 16:46 ` neil.armstrong
2024-06-27 16:18 ` [PATCH 1/2] dt-bindings: display: simple: Add Jiangsu Smartwin SMMT043480272A-A19 Conor Dooley
2024-06-28 8:36 ` neil.armstrong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®