From: sashiko-bot@kernel.org
To: "Francesco Dolcini" <francesco@dolcini.it>
Cc: robh@kernel.org, dri-devel@lists.freedesktop.org,
devicetree@vger.kernel.org, conor+dt@kernel.org,
imx@lists.linux.dev, Frank.Li@kernel.org
Subject: Re: [PATCH v2 1/4] dt-bindings: lcdif: Add endpoint bus-width property
Date: Thu, 23 Jul 2026 09:52:03 +0000 [thread overview]
Message-ID: <20260723095203.953501F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260723093813.180089-2-francesco@dolcini.it>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Schema validation bypass for numbered endpoint nodes.
--
--- Patch [1]: [PATCH v2 1/4] dt-bindings: lcdif: Add endpoint bus-width property ---
commit 73f976bb84f0f0a26cb8385791e8483235c1fe74
Author: Francesco Dolcini <francesco.dolcini@toradex.com>
dt-bindings: lcdif: Add endpoint bus-width property
The DPI output of the LCD interface can be configured with a bus width
of 16, 18, or 24 bits. Introduce a bus-width property to the output
endpoint, specifying the number of parallel RGB bits connected.
> diff --git a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
> index 2dd0411ec6516..6931f0ae38297 100644
> --- a/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
> +++ b/Documentation/devicetree/bindings/display/fsl,lcdif.yaml
> @@ -71,6 +71,15 @@ properties:
> $ref: /schemas/graph.yaml#/properties/port
> description: The LCDIF output port
>
> + properties:
> + endpoint:
[Severity: Low]
Will this schema validate device trees with multiple endpoints correctly?
Defining `endpoint:` under `properties` will only match nodes exactly named
"endpoint". Any numbered endpoints like "endpoint@1" or "endpoint@2" will
silently bypass these constraints and the `unevaluatedProperties: false`
check.
Should this be defined using `patternProperties: "^endpoint(@[0-9a-f]+)?$":`
instead to ensure the rules apply to all endpoint nodes?
> + $ref: /schemas/graph.yaml#/$defs/endpoint-base
> + unevaluatedProperties: false
> +
> + properties:
> + bus-width:
> + enum: [ 16, 18, 24 ]
> +
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260723093813.180089-1-francesco@dolcini.it?part=1
next prev parent reply other threads:[~2026-07-23 9:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 9:38 [PATCH v2 0/4] drm: mxsfb: Support LCDIF interface bus width Francesco Dolcini
2026-07-23 9:38 ` [PATCH v2 1/4] dt-bindings: lcdif: Add endpoint bus-width property Francesco Dolcini
2026-07-23 9:52 ` sashiko-bot [this message]
2026-07-23 15:45 ` Frank Li
2026-07-23 9:38 ` [PATCH v2 2/4] drm: mxsfb: Add optional DPI output bus-width configuration Francesco Dolcini
2026-07-23 9:48 ` Marco Felsch
2026-07-23 9:55 ` Francesco Dolcini
2026-07-23 15:47 ` Frank Li
2026-07-23 15:53 ` Francesco Dolcini
2026-07-23 9:38 ` [PATCH v2 3/4] ARM: dts: imx6ull-colibri: Set LCDIF bus-width Francesco Dolcini
2026-07-23 9:38 ` [PATCH v2 4/4] ARM: dts: imx7-colibri: " Francesco Dolcini
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=20260723095203.953501F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=francesco@dolcini.it \
--cc=imx@lists.linux.dev \
--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