* [PATCH] dt-bindings: pinctrl: marvell,armada3710-xb-pinctrl: add missing items keyword
@ 2026-02-27 14:15 Gabor Juhos
2026-02-27 15:44 ` Miquel Raynal
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Gabor Juhos @ 2026-02-27 14:15 UTC (permalink / raw)
To: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Richard Cochran, Gregory CLEMENT, Marek Behún, Miquel Raynal
Cc: linux-gpio, devicetree, linux-kernel, netdev, Gabor Juhos
Even though the type of the 'groups' property of a pinmux node is
specified as string-array in pinmux-node.yaml, but trying to use
multiple strings causes dtbs_check warnings.
For example, checking the following dts ...
$ cat arch/arm64/boot/dts/marvell/armada-3720-test.dts
/dts-v1/;
#include "armada-372x.dtsi"
&pinctrl_nb {
pwm-gpio-pins {
groups = "pwm0", "pwm1", "pwm2", "pwm3";
function = "gpio";
};
};
... results in this warning:
arch/arm64/boot/dts/marvell/armada-3720-test.dtb: pinctrl@13800 (marvell,armada3710-nb-pinctrl): pwm-gpio-pins:groups: ['pwm0', 'pwm1', 'pwm2', 'pwm3'] is too long
from schema $id: http://devicetree.org/schemas/pinctrl/marvell,armada3710-xb-pinctrl.yaml
Add the missing 'items' keyword to the schema to allow using multiple
strings without such warnings. Also adjust the indentation of the next
statements accordingly.
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
---
.../bindings/pinctrl/marvell,armada3710-xb-pinctrl.yaml | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/marvell,armada3710-xb-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/marvell,armada3710-xb-pinctrl.yaml
index 4f9013d36874997d208e1d07e35ab4e1e4bdef91..727da7fb490cef44959ccf5da9d42c4b2577e391 100644
--- a/Documentation/devicetree/bindings/pinctrl/marvell,armada3710-xb-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/marvell,armada3710-xb-pinctrl.yaml
@@ -84,11 +84,12 @@ patternProperties:
properties:
groups:
- enum: [ emmc_nb, i2c1, i2c2, jtag, mii_col, onewire, pcie1,
- pcie1_clkreq, pcie1_wakeup, pmic0, pmic1, ptp, ptp_clk,
- ptp_trig, pwm0, pwm1, pwm2, pwm3, rgmii, sdio0, sdio_sb, smi,
- spi_cs1, spi_cs2, spi_cs3, spi_quad, uart1, uart2,
- usb2_drvvbus1, usb32_drvvbus0 ]
+ items:
+ enum: [ emmc_nb, i2c1, i2c2, jtag, mii_col, onewire, pcie1,
+ pcie1_clkreq, pcie1_wakeup, pmic0, pmic1, ptp, ptp_clk,
+ ptp_trig, pwm0, pwm1, pwm2, pwm3, rgmii, sdio0, sdio_sb,
+ smi, spi_cs1, spi_cs2, spi_cs3, spi_quad, uart1, uart2,
+ usb2_drvvbus1, usb32_drvvbus0 ]
function:
enum: [ drvbus, emmc, gpio, i2c, jtag, led, mii, mii_err, onewire,
---
base-commit: a901e8705f89f3616fad3bb6aeddba33be86b08a
change-id: 20260227-a3720-pinctlr-missing-items-5056238c7af7
Best regards,
--
Gabor Juhos <j4g8y7@gmail.com>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: pinctrl: marvell,armada3710-xb-pinctrl: add missing items keyword
2026-02-27 14:15 [PATCH] dt-bindings: pinctrl: marvell,armada3710-xb-pinctrl: add missing items keyword Gabor Juhos
@ 2026-02-27 15:44 ` Miquel Raynal
2026-02-27 17:43 ` Conor Dooley
2026-03-02 10:14 ` Linus Walleij
2 siblings, 0 replies; 4+ messages in thread
From: Miquel Raynal @ 2026-02-27 15:44 UTC (permalink / raw)
To: Gabor Juhos
Cc: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Richard Cochran, Gregory CLEMENT, Marek Behún, linux-gpio,
devicetree, linux-kernel, netdev
On 27/02/2026 at 15:15:54 +01, Gabor Juhos <j4g8y7@gmail.com> wrote:
> Even though the type of the 'groups' property of a pinmux node is
> specified as string-array in pinmux-node.yaml, but trying to use
> multiple strings causes dtbs_check warnings.
>
> For example, checking the following dts ...
>
> $ cat arch/arm64/boot/dts/marvell/armada-3720-test.dts
> /dts-v1/;
>
> #include "armada-372x.dtsi"
>
> &pinctrl_nb {
> pwm-gpio-pins {
> groups = "pwm0", "pwm1", "pwm2", "pwm3";
> function = "gpio";
> };
> };
>
> ... results in this warning:
>
> arch/arm64/boot/dts/marvell/armada-3720-test.dtb: pinctrl@13800 (marvell,armada3710-nb-pinctrl): pwm-gpio-pins:groups: ['pwm0', 'pwm1', 'pwm2', 'pwm3'] is too long
> from schema $id: http://devicetree.org/schemas/pinctrl/marvell,armada3710-xb-pinctrl.yaml
>
> Add the missing 'items' keyword to the schema to allow using multiple
> strings without such warnings. Also adjust the indentation of the next
> statements accordingly.
>
> Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Thanks!
Miquèl
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: pinctrl: marvell,armada3710-xb-pinctrl: add missing items keyword
2026-02-27 14:15 [PATCH] dt-bindings: pinctrl: marvell,armada3710-xb-pinctrl: add missing items keyword Gabor Juhos
2026-02-27 15:44 ` Miquel Raynal
@ 2026-02-27 17:43 ` Conor Dooley
2026-03-02 10:14 ` Linus Walleij
2 siblings, 0 replies; 4+ messages in thread
From: Conor Dooley @ 2026-02-27 17:43 UTC (permalink / raw)
To: Gabor Juhos
Cc: Linus Walleij, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Richard Cochran, Gregory CLEMENT, Marek Behún, Miquel Raynal,
linux-gpio, devicetree, linux-kernel, netdev
[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]
On Fri, Feb 27, 2026 at 03:15:54PM +0100, Gabor Juhos wrote:
> Even though the type of the 'groups' property of a pinmux node is
> specified as string-array in pinmux-node.yaml, but trying to use
> multiple strings causes dtbs_check warnings.
>
> For example, checking the following dts ...
>
> $ cat arch/arm64/boot/dts/marvell/armada-3720-test.dts
> /dts-v1/;
>
> #include "armada-372x.dtsi"
>
> &pinctrl_nb {
> pwm-gpio-pins {
> groups = "pwm0", "pwm1", "pwm2", "pwm3";
> function = "gpio";
> };
> };
>
> ... results in this warning:
>
> arch/arm64/boot/dts/marvell/armada-3720-test.dtb: pinctrl@13800 (marvell,armada3710-nb-pinctrl): pwm-gpio-pins:groups: ['pwm0', 'pwm1', 'pwm2', 'pwm3'] is too long
> from schema $id: http://devicetree.org/schemas/pinctrl/marvell,armada3710-xb-pinctrl.yaml
>
> Add the missing 'items' keyword to the schema to allow using multiple
> strings without such warnings. Also adjust the indentation of the next
> statements accordingly.
>
> Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Fixes: c1c9641a04e83 ("dt-bindings: pinctrl: Convert marvell,armada-3710-(sb|nb)-pinctrl to DT schema")
pw-bot: not-applicable
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] dt-bindings: pinctrl: marvell,armada3710-xb-pinctrl: add missing items keyword
2026-02-27 14:15 [PATCH] dt-bindings: pinctrl: marvell,armada3710-xb-pinctrl: add missing items keyword Gabor Juhos
2026-02-27 15:44 ` Miquel Raynal
2026-02-27 17:43 ` Conor Dooley
@ 2026-03-02 10:14 ` Linus Walleij
2 siblings, 0 replies; 4+ messages in thread
From: Linus Walleij @ 2026-03-02 10:14 UTC (permalink / raw)
To: Gabor Juhos
Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Richard Cochran,
Gregory CLEMENT, Marek Behún, Miquel Raynal, linux-gpio,
devicetree, linux-kernel, netdev
On Fri, Feb 27, 2026 at 3:16 PM Gabor Juhos <j4g8y7@gmail.com> wrote:
> Even though the type of the 'groups' property of a pinmux node is
> specified as string-array in pinmux-node.yaml, but trying to use
> multiple strings causes dtbs_check warnings.
>
> For example, checking the following dts ...
>
> $ cat arch/arm64/boot/dts/marvell/armada-3720-test.dts
> /dts-v1/;
>
> #include "armada-372x.dtsi"
>
> &pinctrl_nb {
> pwm-gpio-pins {
> groups = "pwm0", "pwm1", "pwm2", "pwm3";
> function = "gpio";
> };
> };
>
> ... results in this warning:
>
> arch/arm64/boot/dts/marvell/armada-3720-test.dtb: pinctrl@13800 (marvell,armada3710-nb-pinctrl): pwm-gpio-pins:groups: ['pwm0', 'pwm1', 'pwm2', 'pwm3'] is too long
> from schema $id: http://devicetree.org/schemas/pinctrl/marvell,armada3710-xb-pinctrl.yaml
>
> Add the missing 'items' keyword to the schema to allow using multiple
> strings without such warnings. Also adjust the indentation of the next
> statements accordingly.
>
> Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Patch applied!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-03-02 10:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-27 14:15 [PATCH] dt-bindings: pinctrl: marvell,armada3710-xb-pinctrl: add missing items keyword Gabor Juhos
2026-02-27 15:44 ` Miquel Raynal
2026-02-27 17:43 ` Conor Dooley
2026-03-02 10:14 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox