Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Alessandro Zini" <alessandro.zini@siemens.com>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 3/3] drm/panel: simple: Add support for Goworld ILI6150H6 panel
Date: Wed, 25 Nov 2026 10:35:13 +0000	[thread overview]
Message-ID: <sashiko-outbox-233133@kernel.org> (raw)
In-Reply-To: <20261125102700.126248-4-alessandro.zini@siemens.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] drm/panel: simple: missing DRM_BUS_FLAG_DE_HIGH in
  goworld_ili6150h6
--

commit 7f53184ccc00be47fc506de056145e3aebeaf6e0
Author: Wang Yang <yang.wang-wy@siemens.com>

drm/panel: simple: Add support for Goworld ILI6150H6 panel

This commit adds display timing, panel descriptor, and the
"goworld,ili6150h6" device-tree compatible entry for the Goworld ILI6150H6
LVDS panel.

> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 33d954f3ee289..9beba399119cc 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -2543,6 +2543,35 @@ static const struct panel_desc giantplus_gpm940b0 = {
>  	.bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_POSEDGE,
>  };
>  
> +static const struct display_timing goworld_ili6150h6_timing = {
> +	.pixelclock = { 44900000, 51200000, 63000000 },
> +	.hactive = { 1024, 1024, 1024 },
> +	.hfront_porch = { 16, 160, 216 },
> +	.hback_porch = { 160, 160, 160 },
> +	.hsync_len = { 1, 1, 256 },
> +	.vactive = { 600, 600, 600 },
> +	.vfront_porch = { 1, 12, 127 },
> +	.vback_porch = { 23, 23, 23 },
> +	.vsync_len = { 1, 3, 20 },
> +	.flags = DISPLAY_FLAGS_DE_HIGH,
> +};
> +
> +static const struct panel_desc goworld_ili6150h6 = {
> +	.timings = &goworld_ili6150h6_timing,
> +	.num_timings = 1,
> +	.bpc = 8,
> +	.size = {
> +		.width = 154,
> +		.height = 85,
> +	},
> +	.delay = {
> +		.enable = 25,
> +		.disable = 25,
> +	},
> +	.bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
> +	.connector_type = DRM_MODE_CONNECTOR_LVDS,
> +};

[Severity: Medium]
Should goworld_ili6150h6 set .bus_flags = DRM_BUS_FLAG_DE_HIGH to match
DISPLAY_FLAGS_DE_HIGH in goworld_ili6150h6_timing?

panel_simple_get_timings_modes() converts display_timing entries through
drm_display_mode_from_videomode(), which ignores DISPLAY_FLAGS_DE_HIGH,
and panel_simple_get_non_edid_modes() sets
connector->display_info.bus_flags from panel->desc->bus_flags.  Without
.bus_flags in goworld_ili6150h6, connector->display_info.bus_flags remains
0, so LVDS bridges and display controllers checking DRM_BUS_FLAG_DE_HIGH
will not configure active-high DE polarity.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261125102700.126248-1-alessandro.zini@siemens.com?part=3

      reply	other threads:[~2026-11-25 10:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 10:26 [PATCH 0/3] drm/panel: simple: Add Goworld ILI6150H6 panel Alessandro Zini
2026-11-25 10:26 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Goworld Alessandro Zini
2026-11-25 10:26 ` [PATCH 2/3] dt-bindings: display: simple: Add Goworld ILI6150H6 panel Alessandro Zini
2026-11-25 10:27 ` [PATCH 3/3] drm/panel: simple: Add support for " Alessandro Zini
2026-11-25 10:35   ` sashiko-bot [this message]

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=sashiko-outbox-233133@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=alessandro.zini@siemens.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=robh@kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox