From: sashiko-bot@kernel.org
To: "Thierry Reding" <thierry.reding@kernel.org>
Cc: lee@kernel.org, robh@kernel.org, devicetree@vger.kernel.org,
conor+dt@kernel.org, mfd@lists.linux.dev
Subject: Re: [PATCH v2 1/3] dt-bindings: mfd: as3722: Convert to json-schema
Date: Wed, 30 Sep 2026 14:12:00 +0000 [thread overview]
Message-ID: <20260930141200.E3EF51F00898@smtp.kernel.org> (raw)
In-Reply-To: <20260930-as3722-bindings-v2-1-a3bba649ebf9@nvidia.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] dt-bindings: mfd: as3722 strict 'pinmux' property name prevents multiple pinctrl states
- [Medium] dt-bindings: mfd: as3722 pinmux child node regex incorrectly rejects hyphens
--
commit b7aefbb600a8c4a41917fc0749a39bff2e1a88d7
Author: Thierry Reding <treding@nvidia.com>
dt-bindings: mfd: as3722: Convert to json-schema
This commit converts the AMS AS3722 PMIC bindings from the free-form text
format to json-schema.
> diff --git a/Documentation/devicetree/bindings/mfd/ams,as3722.yaml b/Documentation/devicetree/bindings/mfd/ams,as3722.yaml
> new file mode 100644
> index 0000000000000..51910042c6216
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/ams,as3722.yaml
[ ... ]
> + pinmux:
> + description:
> + Device has 8 GPIO pins which can be configured as GPIO as well as the
> + special IO functions.
> +
> + type: object
> + additionalProperties: false
[Severity: Medium]
Does strictly naming this property "pinmux" prevent device trees from
declaring multiple unique pinctrl child nodes?
The original text binding supported pinctrl[0...n], but this strict naming and
additionalProperties: false will reject secondary pinctrl states like
pinmux-sleep since sibling nodes must have unique names. Should this be a
pattern property like "^(pinmux|pinctrl)(-[0-9a-z]+)?$" instead?
> +
> + patternProperties:
> + "^gpio[0-7_]+$":
[Severity: Medium]
Does this regex incorrectly reject hyphens in node names?
Existing device tree configurations such as gpio0-1-3-4-5-6 in
arch/arm/boot/dts/nvidia/tegra124-apalis.dtsi use hyphens to group pins. Since
additionalProperties is set to false for the pinmux object, this regex will
cause valid existing nodes to fail schema validation.
> + description:
> + Child nodes of the pinmux node represent some desired configuration
> + for a list of pins. This configuration can include the mux function
> + to select on those pin(s), and various pin configuration parameters,
> + such as pull-up, open drain.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260930-as3722-bindings-v2-0-a3bba649ebf9@nvidia.com?part=1
next prev parent reply other threads:[~2026-09-30 14:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-30 14:01 [PATCH v2 0/3] arm64: tegra: Fix DT validation issues for Tegra132 Thierry Reding
2026-09-30 14:01 ` [PATCH v2 1/3] dt-bindings: mfd: as3722: Convert to json-schema Thierry Reding
2026-09-30 14:12 ` sashiko-bot [this message]
2026-10-01 19:55 ` Rob Herring (Arm)
2026-09-30 14:01 ` [PATCH v2 2/3] dt-bindings: sound: tegra-ahub: " Thierry Reding
2026-09-30 14:17 ` sashiko-bot
2026-10-01 18:19 ` Mark Brown
2026-10-01 19:56 ` Rob Herring (Arm)
2026-09-30 14:01 ` [PATCH v2 3/3] arm64: tegra: Add Tegra132 specific compatible for AHUB Thierry Reding
2026-09-30 14:17 ` 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=20260930141200.E3EF51F00898@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lee@kernel.org \
--cc=mfd@lists.linux.dev \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=thierry.reding@kernel.org \
/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.