* [PATCH v2 0/2] Add NEC LCD Technologies NL6448BC33-70C Panel Support
@ 2026-05-15 11:46 Steffen Trumtrar
2026-05-15 11:46 ` [PATCH v2 1/2] dt-bindings: display: simple: Add NEC NL6448BC33-70C panel Steffen Trumtrar
2026-05-15 11:46 ` [PATCH v2 2/2] drm/panel: simple: add NEC NL6448BC33-70C Steffen Trumtrar
0 siblings, 2 replies; 5+ messages in thread
From: Steffen Trumtrar @ 2026-05-15 11:46 UTC (permalink / raw)
To: Neil Armstrong, Jessica Zhang, David Airlie, Simona Vetter,
Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg
Cc: dri-devel, devicetree, linux-kernel, Steffen Trumtrar
Add support for the above mentioned LCD panel from NEC.
---
Changes in v2:
- fix .size settings
- set connector_type
- Include feedback from Sashiko AI review: https://sashiko.dev/#/patchset/20260513-v7-1-topic-panel-simple-nl6448bc33-v1-0-9bd4b7d0eac0@pengutronix.de?part=2
- Link to v1: https://patch.msgid.link/20260513-v7-1-topic-panel-simple-nl6448bc33-v1-0-9bd4b7d0eac0@pengutronix.de
To: Neil Armstrong <neil.armstrong@linaro.org>
To: Jessica Zhang <jesszhan0024@gmail.com>
To: David Airlie <airlied@gmail.com>
To: Simona Vetter <simona@ffwll.ch>
To: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
To: Maxime Ripard <mripard@kernel.org>
To: Thomas Zimmermann <tzimmermann@suse.de>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
To: Thierry Reding <thierry.reding@gmail.com>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: dri-devel@lists.freedesktop.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
---
Steffen Trumtrar (2):
dt-bindings: display: simple: Add NEC NL6448BC33-70C panel
drm/panel: simple: add NEC NL6448BC33-70C
.../bindings/display/panel/panel-simple.yaml | 2 ++
drivers/gpu/drm/panel/panel-simple.c | 29 ++++++++++++++++++++++
2 files changed, 31 insertions(+)
---
base-commit: 254f49634ee16a731174d2ae34bc50bd5f45e731
change-id: 20260513-v7-1-topic-panel-simple-nl6448bc33-c36e33b18ab1
Best regards,
--
Steffen Trumtrar <s.trumtrar@pengutronix.de>
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v2 1/2] dt-bindings: display: simple: Add NEC NL6448BC33-70C panel 2026-05-15 11:46 [PATCH v2 0/2] Add NEC LCD Technologies NL6448BC33-70C Panel Support Steffen Trumtrar @ 2026-05-15 11:46 ` Steffen Trumtrar 2026-05-15 17:09 ` Conor Dooley 2026-05-15 11:46 ` [PATCH v2 2/2] drm/panel: simple: add NEC NL6448BC33-70C Steffen Trumtrar 1 sibling, 1 reply; 5+ messages in thread From: Steffen Trumtrar @ 2026-05-15 11:46 UTC (permalink / raw) To: Neil Armstrong, Jessica Zhang, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg Cc: dri-devel, devicetree, linux-kernel, Steffen Trumtrar Add the NEC LCD Technologies,Ltd. NL6448BC33-70C 10.4" 640x480 LCD panel. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> --- Documentation/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 3e41ed0ef5d51..96d218f78b0be 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple.yaml @@ -232,6 +232,8 @@ properties: - nec,nl12880bc20-05 # NEC LCD Technologies,Ltd. WQVGA TFT LCD panel - nec,nl4827hc19-05b + # NEC LCD Technologies,Ltd. VGA TFT LCD panel + - nec,nl6448bc33-70c # Netron-DY E231732 7.0" WSVGA TFT LCD panel - netron-dy,e231732 # Newhaven Display International 480 x 272 TFT LCD panel -- 2.53.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 1/2] dt-bindings: display: simple: Add NEC NL6448BC33-70C panel 2026-05-15 11:46 ` [PATCH v2 1/2] dt-bindings: display: simple: Add NEC NL6448BC33-70C panel Steffen Trumtrar @ 2026-05-15 17:09 ` Conor Dooley 0 siblings, 0 replies; 5+ messages in thread From: Conor Dooley @ 2026-05-15 17:09 UTC (permalink / raw) To: Steffen Trumtrar 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, dri-devel, devicetree, linux-kernel [-- Attachment #1: Type: text/plain, Size: 75 bytes --] Acked-by: Conor Dooley <conor.dooley@microchip.com> pw-bot: not-applicable [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v2 2/2] drm/panel: simple: add NEC NL6448BC33-70C 2026-05-15 11:46 [PATCH v2 0/2] Add NEC LCD Technologies NL6448BC33-70C Panel Support Steffen Trumtrar 2026-05-15 11:46 ` [PATCH v2 1/2] dt-bindings: display: simple: Add NEC NL6448BC33-70C panel Steffen Trumtrar @ 2026-05-15 11:46 ` Steffen Trumtrar 2026-05-15 12:09 ` sashiko-bot 1 sibling, 1 reply; 5+ messages in thread From: Steffen Trumtrar @ 2026-05-15 11:46 UTC (permalink / raw) To: Neil Armstrong, Jessica Zhang, David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard, Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Thierry Reding, Sam Ravnborg Cc: dri-devel, devicetree, linux-kernel, Steffen Trumtrar Add NEC NL6448BC33-70C 10.4" 640x480 LCD module support. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> --- drivers/gpu/drm/panel/panel-simple.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c index 236bd56208ccf..dca6cbc41bd9f 100644 --- a/drivers/gpu/drm/panel/panel-simple.c +++ b/drivers/gpu/drm/panel/panel-simple.c @@ -3659,6 +3659,32 @@ static const struct panel_desc nec_nl4827hc19_05b = { .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, }; +static const struct drm_display_mode nec_nl6448bc33_70c_mode = { + .clock = 25175, + .hdisplay = 640, + .hsync_start = 640 + 16, + .hsync_end = 640 + 16 + 48, + .htotal = 640 + 16 + 48 + 96, + .vdisplay = 480, + .vsync_start = 480 + 2, + .vsync_end = 480 + 2 + 31, + .vtotal = 480 + 2 + 31 + 31, + .flags = DRM_MODE_FLAG_PVSYNC | DRM_MODE_FLAG_PHSYNC, +}; + +static const struct panel_desc nec_nl6448bc33_70c = { + .modes = &nec_nl6448bc33_70c_mode, + .num_modes = 1, + .bpc = 6, + .size = { + .width = 211, + .height = 158, + }, + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, + .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, + .connector_type = DRM_MODE_CONNECTOR_LVDS, +}; + static const struct drm_display_mode netron_dy_e231732_mode = { .clock = 66000, .hdisplay = 1024, @@ -5520,6 +5546,9 @@ static const struct of_device_id platform_of_match[] = { }, { .compatible = "nec,nl4827hc19-05b", .data = &nec_nl4827hc19_05b, + }, { + .compatible = "nec,nl6448bc33-70c", + .data = &nec_nl6448bc33_70c, }, { .compatible = "netron-dy,e231732", .data = &netron_dy_e231732, -- 2.53.0 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v2 2/2] drm/panel: simple: add NEC NL6448BC33-70C 2026-05-15 11:46 ` [PATCH v2 2/2] drm/panel: simple: add NEC NL6448BC33-70C Steffen Trumtrar @ 2026-05-15 12:09 ` sashiko-bot 0 siblings, 0 replies; 5+ messages in thread From: sashiko-bot @ 2026-05-15 12:09 UTC (permalink / raw) To: Steffen Trumtrar; +Cc: conor+dt, krzk+dt, devicetree, robh Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [High] Hardware configuration mismatch causing WARN_ON stack traces and display failure. -- commit ed55c8f29ffdce716c41311e39a5db4fabaf9549 Author: Steffen Trumtrar <s.trumtrar@pengutronix.de> drm/panel: simple: add NEC NL6448BC33-70C This commit adds support for the NEC NL6448BC33-70C 10.4" 640x480 LCD module to the simple panel driver. > diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c > index 236bd56208ccf..dca6cbc41bd9f 100644 > --- a/drivers/gpu/drm/panel/panel-simple.c > +++ b/drivers/gpu/drm/panel/panel-simple.c [ ... ] > +static const struct panel_desc nec_nl6448bc33_70c = { > + .modes = &nec_nl6448bc33_70c_mode, > + .num_modes = 1, > + .bpc = 6, > + .size = { > + .width = 211, > + .height = 158, > + }, > + .bus_format = MEDIA_BUS_FMT_RGB666_1X18, > + .bus_flags = DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE, > + .connector_type = DRM_MODE_CONNECTOR_LVDS, Are this bus_format and bus_flags compatible with an LVDS connector type? In panel_simple_probe(), there are WARN_ON() checks that enforce strict configuration rules for LVDS panels. MEDIA_BUS_FMT_RGB666_1X18 is a parallel RGB (DPI) format, not an LVDS format (like MEDIA_BUS_FMT_RGB666_1X7X3_SPWG). Because it is missing from the LVDS format whitelist, it looks like this will trigger a warning during probe. Similarly, DRM_BUS_FLAG_PIXDATA_DRIVE_POSEDGE is not in the whitelist of allowed LVDS flags, which guarantees the bus flag WARN_ON() will also trigger. Could this mix of parallel RGB format settings with an LVDS connector type cause hardware configuration issues or a corrupted display? > +}; -- Sashiko AI review · https://sashiko.dev/#/patchset/20260515-v7-1-topic-panel-simple-nl6448bc33-v2-0-74ab0baa1817@pengutronix.de?part=2 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-05-15 17:09 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-05-15 11:46 [PATCH v2 0/2] Add NEC LCD Technologies NL6448BC33-70C Panel Support Steffen Trumtrar 2026-05-15 11:46 ` [PATCH v2 1/2] dt-bindings: display: simple: Add NEC NL6448BC33-70C panel Steffen Trumtrar 2026-05-15 17:09 ` Conor Dooley 2026-05-15 11:46 ` [PATCH v2 2/2] drm/panel: simple: add NEC NL6448BC33-70C Steffen Trumtrar 2026-05-15 12:09 ` sashiko-bot
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox