From: sashiko-bot@kernel.org
To: "Loic Poulain" <loic.poulain@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, linux-leds@vger.kernel.org,
lee@kernel.org, conor+dt@kernel.org, robh@kernel.org
Subject: Re: [PATCH v8 1/4] dt-bindings: leds: nxp,pca963x: fix reg maximum for pca9635
Date: Mon, 27 Jul 2026 15:01:06 +0000 [thread overview]
Message-ID: <20260727150106.809B61F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260727-monza-leds-v8-1-6e7e93d44dba@oss.qualcomm.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] The `patternProperties` regex key in `allOf` conditionals does not match the top-level schema, causing a meta-schema validation (`dt_binding_check`) error.
- [Low] The commit message description is not capitalized, violating the LED subsystem guidelines.
--
--- Patch [1]: [PATCH v8 1/4] dt-bindings: leds: nxp,pca963x: fix reg maximum for pca9635 ---
commit febe95d1e68d24e8ea2c7f7724fbc41453e15f8d
Author: Loic Poulain <loic.poulain@oss.qualcomm.com>
dt-bindings: leds: nxp,pca963x: fix reg maximum for pca9635
This commit updates the PCA963x LED bindings to support the PCA9635, which
has 16 channels. It modifies the top-level node regex and adjusts the
conditional blocks to set the appropriate reg maximum for the PCA9634.
> dt-bindings: leds: nxp,pca963x: fix reg maximum for pca9635
[Severity: Low]
This isn't a bug, but the LED subsystem guidelines require capitalizing the
description after the subsystem prefix. Should this be "Fix reg maximum..."?
> diff --git a/Documentation/devicetree/bindings/leds/nxp,pca963x.yaml b/Documentation/devicetree/bindings/leds/nxp,pca963x.yaml
> index 938d0e48fe51b..4fda602912f7a 100644
> --- a/Documentation/devicetree/bindings/leds/nxp,pca963x.yaml
> +++ b/Documentation/devicetree/bindings/leds/nxp,pca963x.yaml
[ ... ]
> @@ -62,14 +62,14 @@ properties:
> open-drain, newer chips to totem pole).
>
> patternProperties:
> - "^led@[0-9a-f]+$":
> + "^led@[0-9a-f]$":
> type: object
[ ... ]
> @@ -88,7 +88,13 @@ allOf:
> properties:
> reg:
> maximum: 3
> - else:
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - nxp,pca9634
> + then:
> patternProperties:
> "^led@[0-9a-f]+$":
[Severity: Low]
Does this regex in the conditional block need to be updated to match the new
top-level regex "^led@[0-9a-f]$"?
In dt-schema, pattern keys inside conditional blocks must exactly match a key
defined at the top-level patternProperties, or dt_binding_check will fail.
There is also an earlier conditional block for pca9632/pca9633 that appears to
retain the old "^led@[0-9a-f]+$" regex. Should both of these conditionals be
updated to prevent meta-schema validation errors?
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260727-monza-leds-v8-0-6e7e93d44dba@oss.qualcomm.com?part=1
next prev parent reply other threads:[~2026-07-27 15:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-27 14:54 [PATCH v8 0/4] leds: pca963x: Add multicolor support and enable Monza RGB LEDs Loic Poulain
2026-07-27 14:54 ` [PATCH v8 1/4] dt-bindings: leds: nxp,pca963x: fix reg maximum for pca9635 Loic Poulain
2026-07-27 15:01 ` sashiko-bot [this message]
2026-07-27 14:54 ` [PATCH v8 2/4] dt-bindings: leds: nxp,pca963x: add multicolor LED support Loic Poulain
2026-07-27 15:01 ` sashiko-bot
2026-07-27 14:54 ` [PATCH v8 3/4] leds: pca963x: add multicolor LED class support Loic Poulain
2026-07-27 15:11 ` sashiko-bot
2026-07-27 14:54 ` [PATCH v8 4/4] arm64: dts: monaco-arduino-monza: microcontroller LEDs Loic Poulain
2026-07-27 14:58 ` sashiko-bot
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=20260727150106.809B61F000E9@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