From: sashiko-bot@kernel.org
To: "Vincent Jardin" <vjardin@free.fr>
Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org,
imx@lists.linux.dev, robh@kernel.org, conor+dt@kernel.org,
Frank.Li@kernel.org
Subject: Re: [PATCH v2 1/5] dt-bindings: pinctrl: add the NXP LX2160A RCW pad mux
Date: Tue, 03 Nov 2026 18:23:09 +0000 [thread overview]
Message-ID: <sashiko-outbox-195824@kernel.org> (raw)
In-Reply-To: <20261103-for-upstream-lx2160a-rcw-pinmux-v1-v2-1-3aad0860b984@free.fr>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] dt-bindings: pinctrl: lx2160a: missing clk-out function for clk-out group
--
commit 099426f7b054b7c6ba8ac26438539221c6367516
Author: Vincent Jardin <vjardin@free.fr>
dt-bindings: pinctrl: add the NXP LX2160A RCW pad mux
This commit adds the Device Tree binding schema for the NXP LX2160A RCW
pad muxes, defining the valid pin groups and functions mapped to the
RCWSR12..14 registers of DCFG.
> diff --git a/Documentation/devicetree/bindings/pinctrl/fsl,lx2160a-rcw-pinmux.yaml b/Documentation/devicetree/bindings/pinctrl/fsl,lx2160a-rcw-pinmux.yaml
> new file mode 100644
> index 0000000000000..b1ccd153a43bb
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/pinctrl/fsl,lx2160a-rcw-pinmux.yaml
> @@ -0,0 +1,262 @@
[ ... ]
> +patternProperties:
> + '-pins$':
> + type: object
> + $ref: pinmux-node.yaml#
> + additionalProperties: false
> +
> + properties:
> + function:
> + enum: [ asleep, can, evt, flexspi, flextimer, gpio, i2c, irq,
> + reset-req, sdhc, sdhc-clk, sdhc-data, sdhc-data4, sdhc-spi,
> + spi, uart, uart3, uart4 ]
> +
> + groups:
> + items:
> + enum: [ iic1, iic2, iic3, iic4, iic5, iic6, xspi1-data74,
> + xspi1-data30, xspi1-base, sdhc1-base, sdhc1-dir,
> + sdhc2-data74, sdhc2-base, uart1-soutsin, uart1-rtscts,
> + uart2-soutsin, uart2-rtscts, irq11-8, irq7-4, irq3-0,
> + evt4-3, evt2-0, clk-out, asleep, reset-req ]
[Severity: Medium]
Should clk-out also be listed in the function enum (with a corresponding
if/then rule in allOf allowing the clk-out group)?
The other single-pad groups in RCWSR14 (asleep for ASLEEP_PMUX and
reset-req for RESET_REQ_PMUX) expose their encoding 0 primary functions
(asleep and reset-req) alongside their alternate functions.
For the clk-out group (CLK_OUT_PMUX in RCWSR14[5:3]), the schema permits
the gpio (0b001) and flextimer (0b010) functions in allOf, but omits the
primary clk-out (0b000) function, which prevents a board from selecting or
restoring the CLK_OUT function via pinctrl states without failing schema
validation.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261103-for-upstream-lx2160a-rcw-pinmux-v1-v2-0-3aad0860b984@free.fr?part=1
next prev parent reply other threads:[~2026-11-03 18:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-03 18:12 [PATCH v2 0/5] lx2160a: change the pad muxes through the RCW override Vincent Jardin via B4 Relay
2026-11-03 18:12 ` [PATCH v2 1/5] dt-bindings: pinctrl: add the NXP LX2160A RCW pad mux Vincent Jardin via B4 Relay
2026-11-03 18:23 ` sashiko-bot [this message]
2026-11-03 20:20 ` Vincent Jardin
2026-11-03 18:12 ` [PATCH v2 2/5] dt-bindings: soc: fsl: layerscape-dcfg: add the LX2160A pad-mux child Vincent Jardin via B4 Relay
2026-11-03 18:12 ` [PATCH v2 3/5] soc: fsl: guts: add the RCW override of any RCWSR Vincent Jardin via B4 Relay
2026-11-03 18:12 ` [PATCH v2 4/5] pinctrl: freescale: add the LX2160A RCW pad-mux driver Vincent Jardin via B4 Relay
2026-11-03 18:12 ` [PATCH v2 5/5] arm64: dts: lx2160a: describe the pad muxes as the DCFG RCW override Vincent Jardin via B4 Relay
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=sashiko-outbox-195824@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=Frank.Li@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=linux-gpio@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=vjardin@free.fr \
/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