From: sashiko-bot@kernel.org
To: "Steffen Trumtrar" <s.trumtrar@pengutronix.de>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3 2/2] drm/panel: simple: add NEC NL6448BC33-70C
Date: Mon, 18 May 2026 08:03:56 +0000 [thread overview]
Message-ID: <20260518080357.6562AC2BCC6@smtp.kernel.org> (raw)
In-Reply-To: <20260518-v7-1-topic-panel-simple-nl6448bc33-v3-2-21ea14a6e835@pengutronix.de>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The horizontal and vertical display timings incorrectly map front porch, back porch, and sync pulse length values, swapping them in the additive configuration.
--
commit 7c39ee64a0bc09df1a4fc9c15180db0749bff494
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.
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 236bd56208ccf..0bf50b1ed69e6 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 = {
[ ... ]
> +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,
Are the sync pulse length and back porch values transposed here?
The additive timing formula is hsync_end = hsync_start + hsync_len and
htotal = hsync_end + hback_porch. This configuration results in an hsync_len
of 48 and an hback_porch of 96. Standard 640x480 timing with a 25.175 MHz
clock typically uses an hsync_len of 96 and an hback_porch of 48.
> + .vdisplay = 480,
> + .vsync_start = 480 + 2,
> + .vsync_end = 480 + 2 + 31,
> + .vtotal = 480 + 2 + 31 + 31,
Does this code similarly transpose the vertical timings?
This setup yields a vsync_len of 31 lines, which seems abnormally large
for an LCD panel. Could this cause the panel to fail to sync or incorrectly
shift the displayed image?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260518-v7-1-topic-panel-simple-nl6448bc33-v3-0-21ea14a6e835@pengutronix.de?part=2
next prev parent reply other threads:[~2026-05-18 8:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-18 7:47 [PATCH v3 0/2] Add NEC LCD Technologies NL6448BC33-70C Panel Support Steffen Trumtrar
2026-05-18 7:47 ` [PATCH v3 1/2] dt-bindings: display: simple: Add NEC NL6448BC33-70C panel Steffen Trumtrar
2026-05-18 7:47 ` [PATCH v3 2/2] drm/panel: simple: add NEC NL6448BC33-70C Steffen Trumtrar
2026-05-18 8:03 ` sashiko-bot [this message]
2026-05-18 13:59 ` Neil Armstrong
2026-05-26 14:53 ` [PATCH v3 0/2] Add NEC LCD Technologies NL6448BC33-70C Panel Support Neil Armstrong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260518080357.6562AC2BCC6@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=s.trumtrar@pengutronix.de \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.