* [PATCH 0/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel
@ 2024-08-16 8:50 Liu Ying
2024-08-16 8:50 ` [PATCH 1/2] dt-bindings: display: panel-simple: Add On Tat Industrial Company KD50G21-40NT-A1 Liu Ying
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Liu Ying @ 2024-08-16 8:50 UTC (permalink / raw)
To: dri-devel, devicetree, linux-kernel
Cc: neil.armstrong, quic_jesszhan, maarten.lankhorst, mripard,
tzimmermann, airlied, daniel, robh, krzk+dt, conor+dt,
thierry.reding, sam
Hi,
This patch series aims at adding ON Tat Industrial Company KD50G21-40NT-A1
5" WVGA LCD panel support. The panel has a DPI interface.
The LCD module specification can be found at:
https://cdn-shop.adafruit.com/datasheets/KD50G21-40NT-A1.pdf
Liu Ying (2):
dt-bindings: display: panel-simple: Add On Tat Industrial Company
KD50G21-40NT-A1
drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel
.../bindings/display/panel/panel-simple.yaml | 2 ++
drivers/gpu/drm/panel/panel-simple.c | 36 +++++++++++++++++++
2 files changed, 38 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread* [PATCH 1/2] dt-bindings: display: panel-simple: Add On Tat Industrial Company KD50G21-40NT-A1 2024-08-16 8:50 [PATCH 0/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel Liu Ying @ 2024-08-16 8:50 ` Liu Ying 2024-08-16 9:28 ` Krzysztof Kozlowski 2024-08-16 8:50 ` [PATCH 2/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel Liu Ying 2024-08-19 16:03 ` [PATCH 0/2] " Neil Armstrong 2 siblings, 1 reply; 6+ messages in thread From: Liu Ying @ 2024-08-16 8:50 UTC (permalink / raw) To: dri-devel, devicetree, linux-kernel Cc: neil.armstrong, quic_jesszhan, maarten.lankhorst, mripard, tzimmermann, airlied, daniel, robh, krzk+dt, conor+dt, thierry.reding, sam Document On Tat Industrial Company KD50G21-40NT-A1 5" WVGA TFT LCD panel. The LCD module specification can be found at: https://cdn-shop.adafruit.com/datasheets/KD50G21-40NT-A1.pdf Signed-off-by: Liu Ying <victor.liu@nxp.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 8a87e0100dcb..c72a13b70efa 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -222,6 +222,8 @@ properties: - okaya,rs800480t-7x0gp # Olimex 4.3" TFT LCD panel - olimex,lcd-olinuxino-43-ts + # On Tat Industrial Company 5" DPI TFT panel. + - ontat,kd50g21-40nt-a1 # On Tat Industrial Company 7" DPI TFT panel. - ontat,yx700wv03 # OrtusTech COM37H3M05DTC Blanview 3.7" VGA portrait TFT-LCD panel -- 2.34.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] dt-bindings: display: panel-simple: Add On Tat Industrial Company KD50G21-40NT-A1 2024-08-16 8:50 ` [PATCH 1/2] dt-bindings: display: panel-simple: Add On Tat Industrial Company KD50G21-40NT-A1 Liu Ying @ 2024-08-16 9:28 ` Krzysztof Kozlowski 0 siblings, 0 replies; 6+ messages in thread From: Krzysztof Kozlowski @ 2024-08-16 9:28 UTC (permalink / raw) To: Liu Ying, dri-devel, devicetree, linux-kernel Cc: neil.armstrong, quic_jesszhan, maarten.lankhorst, mripard, tzimmermann, airlied, daniel, robh, krzk+dt, conor+dt, thierry.reding, sam On 16/08/2024 10:50, Liu Ying wrote: > Document On Tat Industrial Company KD50G21-40NT-A1 5" WVGA TFT LCD panel. > > The LCD module specification can be found at: > https://cdn-shop.adafruit.com/datasheets/KD50G21-40NT-A1.pdf > > Signed-off-by: Liu Ying <victor.liu@nxp.com> > --- > .../devicetree/bindings/display/panel/panel-simple.yaml | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Best regards, Krzysztof ^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 2/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel 2024-08-16 8:50 [PATCH 0/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel Liu Ying 2024-08-16 8:50 ` [PATCH 1/2] dt-bindings: display: panel-simple: Add On Tat Industrial Company KD50G21-40NT-A1 Liu Ying @ 2024-08-16 8:50 ` Liu Ying 2024-08-19 15:37 ` neil.armstrong 2024-08-19 16:03 ` [PATCH 0/2] " Neil Armstrong 2 siblings, 1 reply; 6+ messages in thread From: Liu Ying @ 2024-08-16 8:50 UTC (permalink / raw) To: dri-devel, devicetree, linux-kernel Cc: neil.armstrong, quic_jesszhan, maarten.lankhorst, mripard, tzimmermann, airlied, daniel, robh, krzk+dt, conor+dt, thierry.reding, sam ON Tat Industrial Company KD50G21-40NT-A1 is a 5" WVGA LCD panel with DPI interface. The LCD module specification can be found at: https://cdn-shop.adafruit.com/datasheets/KD50G21-40NT-A1.pdf Signed-off-by: Liu Ying <victor.liu@nxp.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 bf40057c5cf3..89963df80917 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3478,6 +3478,39 @@ static const struct panel_desc olimex_lcd_olinuxino_43ts = { .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 }, + .hfront_porch = { 1, 40, 255 }, + .hback_porch = { 1, 40, 87 }, + .hsync_len = { 1, 48, 87 }, + .vactive = { 480, 480, 480 }, + .vfront_porch = { 1, 13, 255 }, + .vback_porch = { 1, 29, 29 }, + .vsync_len = { 3, 3, 31 }, + .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | + DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE, +}; + +static const struct panel_desc ontat_kd50g21_40nt_a1 = { + .timings = &ontat_kd50g21_40nt_a1_timing, + .num_timings = 1, + .bpc = 8, + .size = { + .width = 108, + .height = 65, + }, + .delay = { + .prepare = 147, /* 5 VSDs */ + .enable = 147, /* 5 VSDs */ + .disable = 88, /* 3 VSDs */ + .unprepare = 117, /* 4 VSDs */ + }, + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE, + .connector_type = DRM_MODE_CONNECTOR_DPI, +}; + /* * 800x480 CVT. The panel appears to be quite accepting, at least as far as * pixel clocks, but this is the timing that was being used in the Adafruit @@ -4837,6 +4870,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "olimex,lcd-olinuxino-43-ts", .data = &olimex_lcd_olinuxino_43ts, + }, { + .compatible = "ontat,kd50g21-40nt-a1", + .data = &ontat_kd50g21_40nt_a1, }, { .compatible = "ontat,yx700wv03", .data = &ontat_yx700wv03, -- 2.34.1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 2/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel 2024-08-16 8:50 ` [PATCH 2/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel Liu Ying @ 2024-08-19 15:37 ` neil.armstrong 0 siblings, 0 replies; 6+ messages in thread From: neil.armstrong @ 2024-08-19 15:37 UTC (permalink / raw) To: Liu Ying, dri-devel, devicetree, linux-kernel Cc: quic_jesszhan, maarten.lankhorst, mripard, tzimmermann, airlied, daniel, robh, krzk+dt, conor+dt, thierry.reding, sam On 16/08/2024 10:50, Liu Ying wrote: > ON Tat Industrial Company KD50G21-40NT-A1 is a 5" WVGA LCD panel with DPI > interface. > > The LCD module specification can be found at: > https://cdn-shop.adafruit.com/datasheets/KD50G21-40NT-A1.pdf > > Signed-off-by: Liu Ying <victor.liu@nxp.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 bf40057c5cf3..89963df80917 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c > @@ -3478,6 +3478,39 @@ static const struct panel_desc olimex_lcd_olinuxino_43ts = { > .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 }, > + .hfront_porch = { 1, 40, 255 }, > + .hback_porch = { 1, 40, 87 }, > + .hsync_len = { 1, 48, 87 }, > + .vactive = { 480, 480, 480 }, > + .vfront_porch = { 1, 13, 255 }, > + .vback_porch = { 1, 29, 29 }, > + .vsync_len = { 3, 3, 31 }, > + .flags = DISPLAY_FLAGS_HSYNC_LOW | DISPLAY_FLAGS_VSYNC_LOW | > + DISPLAY_FLAGS_DE_HIGH | DISPLAY_FLAGS_PIXDATA_POSEDGE, > +}; > + > +static const struct panel_desc ontat_kd50g21_40nt_a1 = { > + .timings = &ontat_kd50g21_40nt_a1_timing, > + .num_timings = 1, > + .bpc = 8, > + .size = { > + .width = 108, > + .height = 65, > + }, > + .delay = { > + .prepare = 147, /* 5 VSDs */ > + .enable = 147, /* 5 VSDs */ > + .disable = 88, /* 3 VSDs */ > + .unprepare = 117, /* 4 VSDs */ > + }, > + .bus_format = MEDIA_BUS_FMT_RGB888_1X24, > + .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE, > + .connector_type = DRM_MODE_CONNECTOR_DPI, > +}; > + > /* > * 800x480 CVT. The panel appears to be quite accepting, at least as far as > * pixel clocks, but this is the timing that was being used in the Adafruit > @@ -4837,6 +4870,9 @@ static const struct of_device_id platform_of_match[] = { > }, { > .compatible = "olimex,lcd-olinuxino-43-ts", > .data = &olimex_lcd_olinuxino_43ts, > + }, { > + .compatible = "ontat,kd50g21-40nt-a1", > + .data = &ontat_kd50g21_40nt_a1, > }, { > .compatible = "ontat,yx700wv03", > .data = &ontat_yx700wv03, Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel 2024-08-16 8:50 [PATCH 0/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel Liu Ying 2024-08-16 8:50 ` [PATCH 1/2] dt-bindings: display: panel-simple: Add On Tat Industrial Company KD50G21-40NT-A1 Liu Ying 2024-08-16 8:50 ` [PATCH 2/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel Liu Ying @ 2024-08-19 16:03 ` Neil Armstrong 2 siblings, 0 replies; 6+ messages in thread From: Neil Armstrong @ 2024-08-19 16:03 UTC (permalink / raw) To: dri-devel, devicetree, linux-kernel, Liu Ying Cc: quic_jesszhan, maarten.lankhorst, mripard, tzimmermann, airlied, daniel, robh, krzk+dt, conor+dt, thierry.reding, sam Hi, On Fri, 16 Aug 2024 16:50:02 +0800, Liu Ying wrote: > This patch series aims at adding ON Tat Industrial Company KD50G21-40NT-A1 > 5" WVGA LCD panel support. The panel has a DPI interface. > > The LCD module specification can be found at: > https://cdn-shop.adafruit.com/datasheets/KD50G21-40NT-A1.pdf > > Liu Ying (2): > dt-bindings: display: panel-simple: Add On Tat Industrial Company > KD50G21-40NT-A1 > drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel > > [...] Thanks, Applied to https://gitlab.freedesktop.org/drm/misc/kernel.git (drm-misc-next) [1/2] dt-bindings: display: panel-simple: Add On Tat Industrial Company KD50G21-40NT-A1 https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/773a0e3e89b354f14ec9ea8bddf3e86a602d162d [2/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel https://gitlab.freedesktop.org/drm/misc/kernel/-/commit/91a759d402b5c17263f82097c647e784f217e2d4 -- Neil ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-08-19 16:03 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2024-08-16 8:50 [PATCH 0/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel Liu Ying 2024-08-16 8:50 ` [PATCH 1/2] dt-bindings: display: panel-simple: Add On Tat Industrial Company KD50G21-40NT-A1 Liu Ying 2024-08-16 9:28 ` Krzysztof Kozlowski 2024-08-16 8:50 ` [PATCH 2/2] drm/panel: simple: Add ON Tat Industrial Company KD50G21-40NT-A1 panel Liu Ying 2024-08-19 15:37 ` neil.armstrong 2024-08-19 16:03 ` [PATCH 0/2] " 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®