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 Techshine TS-P0700031A panel
Date: Wed, 25 Nov 2026 10:28:10 +0000 [thread overview]
Message-ID: <sashiko-outbox-233121@kernel.org> (raw)
In-Reply-To: <20261125101936.103094-4-alessandro.zini@siemens.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] drm/panel: simple: missing DRM_BUS_FLAG_DE_HIGH in
techshine_ts_p0700031a
- [Medium] drm/panel: simple: outline dimensions used for
techshine_ts_p0700031a.size
--
commit 09cc823426aa17952fdeb447b0b574537835dc2b
Author: Andrej Valek <andrej.v@skyrain.eu>
drm/panel: simple: Add support for Techshine TS-P0700031A panel
This commit adds a display timing descriptor, a panel descriptor, and an OF
match table entry for the Techshine TS-P0700031A LVDS panel.
> diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c
> index 33d954f3ee289..8eda4f74bc44f 100644
> --- a/drivers/gpu/drm/panel/panel-simple.c
> +++ b/drivers/gpu/drm/panel/panel-simple.c
> @@ -4827,6 +4827,35 @@ static const struct panel_desc tsd_tst043015cmhx = {
> .bus_flags = DRM_BUS_FLAG_DE_HIGH | DRM_BUS_FLAG_PIXDATA_SAMPLE_NEGEDGE,
> };
>
> +static const struct display_timing techshine_ts_p0700031a_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, 1, 128 },
> + .flags = DISPLAY_FLAGS_DE_HIGH,
> +};
> +
> +static const struct panel_desc techshine_ts_p0700031a = {
> + .timings = &techshine_ts_p0700031a_timing,
> + .num_timings = 1,
> + .bpc = 8,
> + .size = {
> + .width = 165,
> + .height = 105,
> + },
[Severity: Medium]
Are 165 mm and 105 mm in techshine_ts_p0700031a.size the mechanical module
outline dimensions rather than the active display area?
struct panel_desc.size specifies the active display area in millimeters and
populates connector->display_info.width_mm and height_mm. For a 7.0-inch
1024x600 panel, 165x105 mm yields a 7.7-inch diagonal and non-square pixel
aspect ratio instead of the ~154x86 mm active area.
> + .delay = {
> + .enable = 25,
> + .disable = 25,
> + },
> + .bus_format = MEDIA_BUS_FMT_RGB888_1X7X4_SPWG,
> + .connector_type = DRM_MODE_CONNECTOR_LVDS,
> +};
[Severity: Medium]
Should techshine_ts_p0700031a also set .bus_flags = DRM_BUS_FLAG_DE_HIGH to
match DISPLAY_FLAGS_DE_HIGH in techshine_ts_p0700031a_timing?
panel_simple_get_timings_modes() does not translate DISPLAY_FLAGS_DE_HIGH
into connector->display_info.bus_flags, which panel_simple_get_non_edid_modes()
copies directly from panel->desc->bus_flags. Leaving .bus_flags unset leaves
display_info.bus_flags as 0 for display controllers and LVDS bridges that
configure Data Enable polarity from it.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261125101936.103094-1-alessandro.zini@siemens.com?part=3
prev parent reply other threads:[~2026-11-25 10:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 10:19 [PATCH 0/3] drm/panel: simple: Add Techshine TS-P0700031A panel Alessandro Zini
2026-11-25 10:19 ` [PATCH 1/3] dt-bindings: vendor-prefixes: Add Techshine Alessandro Zini
2026-11-25 10:19 ` [PATCH 2/3] dt-bindings: display: simple: Add Techshine TS-P0700031A panel Alessandro Zini
2026-11-25 10:19 ` [PATCH 3/3] drm/panel: simple: Add support for " Alessandro Zini
2026-11-25 10:28 ` 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-233121@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 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.