dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: Quchaosheng <quchaosheng000406@163.com>
Cc: dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org,
	conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: display: ti,tpd12s015: Convert to DT schema
Date: Wed, 16 Sep 2026 02:07:40 +0000	[thread overview]
Message-ID: <20260916020740.EDA991F00893@smtp.kernel.org> (raw)
In-Reply-To: <20260916015833.112753-1-quchaosheng000406@163.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: validation regression for tpd12s015 gpios maxItems constraint
--

commit cd852360cf92f4482c02f981e6fec97ded13c090
Author: Quchaosheng <quchaosheng000406@163.com>

dt-bindings: display: ti,tpd12s015: Convert to DT schema

Converts the TPD12S015 HDMI level shifter binding to DT schema and restricts
the gpios property to three entries based on the assumption that no in-tree
board uses more than three.

> diff --git a/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml
> new file mode 100644
> index 0000000000000..96b44bd665f1f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/display/ti/ti,tpd12s015.yaml

[ ... ]

> +  gpios:
> +    description:
> +      The CT CP HPD, LS OE and HPD GPIOs, in that order. The first controls
> +      the level shifter, the second enables the level shifter outputs and
> +      the third reads the hot-plug detect line.
> +    minItems: 3
> +    maxItems: 3

[Severity: Medium]
The commit message claims that no in-tree board passes more than three GPIOs,
but does this maxItems limit cause a dtbs_check validation regression for
existing boards?

Looking at arch/arm/boot/dts/ti/omap/omap5-igep0050.dts, it appears to define
5 items for its tpd12s015 node:

&tpd12s015 {
	gpios = <&tca6416 11 0>,	/* TCA6416 P01, CT_CP_HDP */
		<&tca6416 12 0>,	/* TCA6416 P00, LS_OE*/
		<&gpio7 1 0>,		/* 193, HPD */
		<&gpio7 2 0>,		/* 194, SCL */
		<&gpio7 3 0>;		/* 195, SDA */
};

Should the schema accommodate all 5 pins, or does the omap5-igep0050.dts board
file need to be updated first before enforcing this constraint?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260915120327.47114-1-quchaosheng000406@163.com?part=1

  parent reply	other threads:[~2026-09-16  2:07 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15 12:03 [PATCH 1/2] dt-bindings: display: ti,tpd12s015: Convert to DT schema Quchaosheng
2026-09-16  1:58 ` [PATCH v2 1/2] dt-bindings: display: ti, tpd12s015: " Quchaosheng
2026-09-16  1:58   ` [PATCH v2 2/2] ARM: dts: ti/omap: drop unit-address from tpd12s015 endpoints Quchaosheng
2026-09-16  2:07   ` sashiko-bot [this message]
2026-09-16 12:32   ` [PATCH v3 1/2] dt-bindings: display: ti, tpd12s015: Convert to DT schema Quchaosheng
2026-09-16 12:32     ` [PATCH v3 2/2] ARM: dts: ti/omap: drop unit-address from tpd12s015 endpoints Quchaosheng
2026-09-28  9:46       ` Quchaosheng
2026-09-23  2:30     ` [PATCH v3 1/2] dt-bindings: display: ti, tpd12s015: Convert to DT schema Quchaosheng
2026-09-24 21:53     ` Rob Herring (Arm)
2026-09-30  5:29       ` Laurent Pinchart
2026-09-30  7:40         ` Chaosheng Qu
2026-09-29 12:12 ` [PATCH 1/2] dt-bindings: display: ti,tpd12s015: " Laurent Pinchart
2026-09-30  2:24   ` [PATCH 1/2] dt-bindings: display: ti, tpd12s015: " Chaosheng Qu

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=20260916020740.EDA991F00893@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=quchaosheng000406@163.com \
    --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