From: sashiko-bot@kernel.org
To: Quchaosheng <quchaosheng000406@163.com>
Cc: robh@kernel.org, mfd@lists.linux.dev, conor+dt@kernel.org,
lee@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v3] dt-bindings: mfd: Convert rk805 pinctrl to DT schema
Date: Wed, 23 Sep 2026 06:39:27 +0000 [thread overview]
Message-ID: <20260923063928.2142E1F000FF@smtp.kernel.org> (raw)
In-Reply-To: <20260923062746.516666-1-quchaosheng000406@163.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] dt-bindings: mfd: DT ABI breakage for rk805 pinctrl container node
- [Low] dt-bindings: mfd: missing driver prefix in commit message
--
commit fb35b4123e96d1c068df56e50d1eaaf6204d1a23
Author: Quchaosheng <quchaosheng000406@163.com>
dt-bindings: mfd: Convert rk805 pinctrl to DT schema
This commit converts the pinctrl binding for the Rockchip RK805 PMIC from a
standalone text file to a YAML schema integrated into rockchip,rk805.yaml. It
drops the standalone text binding and adds a child node schema for pin
configuration nodes.
Link: https://sashiko.dev/#/patchset/20260923034245.396417-1-quchaosheng000406@163.com?part=1
> dt-bindings: mfd: Convert rk805 pinctrl to DT schema
[Severity: Low]
Does this commit message subject violate the MFD subsystem naming conventions?
The guidelines strictly require the prefix format:
mfd: <Driver>: <Capitalized description>
The driver or binding name component (e.g., rk805: or rockchip,rk805:)
appears to be completely missing before the capitalized description.
> diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml
> index da2391530c16c..681a90a265c06 100644
> --- a/Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml
> +++ b/Documentation/devicetree/bindings/mfd/rockchip,rk805.yaml
> @@ -86,6 +86,34 @@ properties:
> unevaluatedProperties: false
> unevaluatedProperties: false
>
> +patternProperties:
> + '-pins$':
> + type: object
[Severity: High]
Does this pattern restrict child nodes to only those ending in -pins,
incorrectly rejecting the legacy pinmux container node?
Device tree bindings are considered kernel ABI, and schemas must validate
existing correct device trees. The original pinctrl-rk805.txt explicitly
documented a nested structure where a container node (named pinmux) held
sub-nodes (e.g., gpio01) containing the actual pin configuration.
With the new YAML schema setting additionalProperties: false at the top level
and restricting child nodes via patternProperties to only match the -pins$
regex, existing device trees using the valid legacy pinmux container node
will be actively rejected by dtbs_check because pinmux does not match
-pins$ and is not explicitly defined in the schema.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260923062746.516666-1-quchaosheng000406@163.com?part=1
prev parent reply other threads:[~2026-09-23 6:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-23 6:27 [PATCH v3] dt-bindings: mfd: Convert rk805 pinctrl to DT schema Quchaosheng
2026-09-23 6:27 ` Quchaosheng
2026-09-23 6:39 ` sashiko-bot [this message]
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=20260923063928.2142E1F000FF@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=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 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.