From: sashiko-bot@kernel.org
To: "Loic Poulain" <loic.poulain@oss.qualcomm.com>
Cc: lee@kernel.org, robh@kernel.org, conor+dt@kernel.org,
linux-leds@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: leds: nxp,pca963x: add multicolor LED support
Date: Mon, 29 Jun 2026 19:58:01 +0000 [thread overview]
Message-ID: <20260629195802.543081F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260629-monza-leds-v1-1-0cf7c0a7dc14@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Schema validation bypass for nested physical LED channels inside multi-led nodes.
--
commit c073ead1ec3207da7ebd98641e041ef2bd14a16a
Author: Loic Poulain <loic.poulain@oss.qualcomm.com>
dt-bindings: leds: nxp,pca963x: add multicolor LED support
This commit adds support for grouping individual PCA963x channels into a
multicolor LED by introducing a multi-led@N node pattern. It follows the
convention established by other multicolor LED drivers.
> diff --git a/Documentation/devicetree/bindings/leds/nxp,pca963x.yaml b/Documentation/devicetree/bindings/leds/nxp,pca963x.yaml
> index 938d0e48fe51b..09ec140c50929 100644
> --- a/Documentation/devicetree/bindings/leds/nxp,pca963x.yaml
> +++ b/Documentation/devicetree/bindings/leds/nxp,pca963x.yaml
[ ... ]
> @@ -84,13 +117,13 @@ allOf:
> - nxp,pca9633
> then:
> patternProperties:
> - "^led@[0-9a-f]+$":
> + "^.*led@[0-9a-f]+$":
[Severity: Low]
Does this pattern property correctly enforce the maximum limit on nested LED
channels?
Since JSON schema patternProperties evaluate at the current object level and
do not recurse, wouldn't changing this regex only apply the maximum reg
constraint to the multi-led node itself, completely bypassing the limit
for the nested physical hardware channels?
> properties:
> reg:
> maximum: 3
> else:
> patternProperties:
> - "^led@[0-9a-f]+$":
> + "^.*led@[0-9a-f]+$":
> properties:
> reg:
> maximum: 7
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260629-monza-leds-v1-0-0cf7c0a7dc14@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-06-29 19:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-29 19:52 [PATCH 0/3] leds: pca963x: Add multicolor support and enable Monza RGB LEDs Loic Poulain
2026-06-29 19:52 ` [PATCH 1/3] dt-bindings: leds: nxp,pca963x: add multicolor LED support Loic Poulain
2026-06-29 19:58 ` sashiko-bot [this message]
2026-06-30 7:24 ` Krzysztof Kozlowski
2026-06-29 19:52 ` [PATCH 2/3] leds: pca963x: add multicolor LED class support Loic Poulain
2026-06-29 19:59 ` sashiko-bot
2026-06-29 19:52 ` [PATCH 3/3] arm64: dts: monaco-arduino-monza: microcontroller LEDs Loic Poulain
2026-06-29 19:58 ` sashiko-bot
2026-06-30 9:09 ` Konrad Dybcio
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=20260629195802.543081F000E9@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee@kernel.org \
--cc=linux-leds@vger.kernel.org \
--cc=loic.poulain@oss.qualcomm.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