* [PATCH 1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional
@ 2026-01-06 14:36 Frank Li
2026-01-06 15:02 ` Marco Felsch
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Frank Li @ 2026-01-06 14:36 UTC (permalink / raw)
To: Woojung Huh,
maintainer:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER,
Andrew Lunn, Vladimir Oltean, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Marek Vasut,
open list:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
open list
Cc: m.felsch, imx, shawnguo
Commit e469b87e0fb0d ("dt-bindings: net: dsa: microchip: Add strap
description to set SPI mode") required both 'default' and 'reset' pinctrl
states for all compatible devices. However, this requirement should be only
applicable to KSZ8463.
Make the 'reset' pinctrl state optional for all other Microchip DSA
devices while keeping it mandatory for KSZ8463.
Fix below CHECK_DTBS warnings:
arch/arm64/boot/dts/freescale/imx8mp-skov-basic.dtb: switch@5f (microchip,ksz9893): pinctrl-names: ['default'] is too short
from schema $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml#
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
index a8c8009414ae0..8d4a3a9a33fcc 100644
--- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml
@@ -40,6 +40,7 @@ properties:
- const: reset
description:
Used during reset for strap configuration.
+ minItems: 1
reset-gpios:
description:
@@ -153,6 +154,8 @@ allOf:
const: microchip,ksz8463
then:
properties:
+ pinctrl-names:
+ minItems: 2
straps-rxd-gpios:
description:
RXD0 and RXD1 pins, used to select SPI as bus interface.
--
2.34.1
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: [PATCH 1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional 2026-01-06 14:36 [PATCH 1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional Frank Li @ 2026-01-06 15:02 ` Marco Felsch 2026-01-06 15:15 ` Frank Li 2026-01-06 21:44 ` Rob Herring 2026-01-09 2:10 ` patchwork-bot+netdevbpf 2 siblings, 1 reply; 6+ messages in thread From: Marco Felsch @ 2026-01-06 15:02 UTC (permalink / raw) To: Frank Li Cc: Woojung Huh, maintainer:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER, Andrew Lunn, Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Marek Vasut, open list:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, open list, imx, shawnguo Hi Frank, thanks for fixing this. On 26-01-06, Frank Li wrote: > Commit e469b87e0fb0d ("dt-bindings: net: dsa: microchip: Add strap > description to set SPI mode") required both 'default' and 'reset' pinctrl > states for all compatible devices. However, this requirement should be only > applicable to KSZ8463. > > Make the 'reset' pinctrl state optional for all other Microchip DSA > devices while keeping it mandatory for KSZ8463. > > Fix below CHECK_DTBS warnings: > arch/arm64/boot/dts/freescale/imx8mp-skov-basic.dtb: switch@5f (microchip,ksz9893): pinctrl-names: ['default'] is too short > from schema $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml# > Fixes tag? > Signed-off-by: Frank Li <Frank.Li@nxp.com> > --- > Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > index a8c8009414ae0..8d4a3a9a33fcc 100644 > --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > @@ -40,6 +40,7 @@ properties: > - const: reset > description: > Used during reset for strap configuration. > + minItems: 1 Does this mean that all others can now either specify 'reset' or 'default'? If yes, this seems wrong. Regards, Marco > > reset-gpios: > description: > @@ -153,6 +154,8 @@ allOf: > const: microchip,ksz8463 > then: > properties: > + pinctrl-names: > + minItems: 2 > straps-rxd-gpios: > description: > RXD0 and RXD1 pins, used to select SPI as bus interface. > -- > 2.34.1 > > -- #gernperDu #CallMeByMyFirstName Pengutronix e.K. | | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional 2026-01-06 15:02 ` Marco Felsch @ 2026-01-06 15:15 ` Frank Li 2026-01-06 15:22 ` Marco Felsch 0 siblings, 1 reply; 6+ messages in thread From: Frank Li @ 2026-01-06 15:15 UTC (permalink / raw) To: Marco Felsch Cc: Woojung Huh, maintainer:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER, Andrew Lunn, Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Marek Vasut, open list:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, open list, imx, shawnguo On Tue, Jan 06, 2026 at 04:02:45PM +0100, Marco Felsch wrote: > Hi Frank, > > thanks for fixing this. > > On 26-01-06, Frank Li wrote: > > Commit e469b87e0fb0d ("dt-bindings: net: dsa: microchip: Add strap > > description to set SPI mode") required both 'default' and 'reset' pinctrl > > states for all compatible devices. However, this requirement should be only > > applicable to KSZ8463. > > > > Make the 'reset' pinctrl state optional for all other Microchip DSA > > devices while keeping it mandatory for KSZ8463. > > > > Fix below CHECK_DTBS warnings: > > arch/arm64/boot/dts/freescale/imx8mp-skov-basic.dtb: switch@5f (microchip,ksz9893): pinctrl-names: ['default'] is too short > > from schema $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml# > > > > Fixes tag? This one is only fix warning, some maintainer wants add fixes tags only for user visualable issue. If maintainer want, it can be added when apply, commit hash already in commit message. > > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > > --- > > Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > > index a8c8009414ae0..8d4a3a9a33fcc 100644 > > --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > > +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > > @@ -40,6 +40,7 @@ properties: > > - const: reset > > description: > > Used during reset for strap configuration. > > + minItems: 1 > > Does this mean that all others can now either specify 'reset' or > 'default'? If yes, this seems wrong. No, It allow that case 1: "default" case 2: "default", "reset". Don't allow 'reset' only. Frank > > Regards, > Marco > > > > > reset-gpios: > > description: > > @@ -153,6 +154,8 @@ allOf: > > const: microchip,ksz8463 > > then: > > properties: > > + pinctrl-names: > > + minItems: 2 > > straps-rxd-gpios: > > description: > > RXD0 and RXD1 pins, used to select SPI as bus interface. > > -- > > 2.34.1 > > > > > > -- > #gernperDu > #CallMeByMyFirstName > > Pengutronix e.K. | | > Steuerwalder Str. 21 | https://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional 2026-01-06 15:15 ` Frank Li @ 2026-01-06 15:22 ` Marco Felsch 0 siblings, 0 replies; 6+ messages in thread From: Marco Felsch @ 2026-01-06 15:22 UTC (permalink / raw) To: Frank Li Cc: Woojung Huh, maintainer:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER, Andrew Lunn, Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Marek Vasut, open list:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, open list, imx, shawnguo On 26-01-06, Frank Li wrote: > On Tue, Jan 06, 2026 at 04:02:45PM +0100, Marco Felsch wrote: > > Hi Frank, > > > > thanks for fixing this. > > > > On 26-01-06, Frank Li wrote: > > > Commit e469b87e0fb0d ("dt-bindings: net: dsa: microchip: Add strap > > > description to set SPI mode") required both 'default' and 'reset' pinctrl > > > states for all compatible devices. However, this requirement should be only > > > applicable to KSZ8463. > > > > > > Make the 'reset' pinctrl state optional for all other Microchip DSA > > > devices while keeping it mandatory for KSZ8463. > > > > > > Fix below CHECK_DTBS warnings: > > > arch/arm64/boot/dts/freescale/imx8mp-skov-basic.dtb: switch@5f (microchip,ksz9893): pinctrl-names: ['default'] is too short > > > from schema $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml# > > > > > > > Fixes tag? > > This one is only fix warning, some maintainer wants add fixes tags only for > user visualable issue. > > If maintainer want, it can be added when apply, commit hash already in > commit message. > > > > > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > > > --- > > > Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++ > > > 1 file changed, 3 insertions(+) > > > > > > diff --git a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > > > index a8c8009414ae0..8d4a3a9a33fcc 100644 > > > --- a/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > > > +++ b/Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml > > > @@ -40,6 +40,7 @@ properties: > > > - const: reset > > > description: > > > Used during reset for strap configuration. > > > + minItems: 1 > > > > Does this mean that all others can now either specify 'reset' or > > 'default'? If yes, this seems wrong. > > No, It allow that > case 1: "default" > case 2: "default", "reset". > > Don't allow 'reset' only. Ah okay, so it takes the list element-pos. into account, fingers crossed, that no one is going to change the order :-) Thanks for the info, with that: Reviewed-by: Marco Felsch <m.felsch@pengutronix.de> > > Frank > > > > > Regards, > > Marco > > > > > > > > reset-gpios: > > > description: > > > @@ -153,6 +154,8 @@ allOf: > > > const: microchip,ksz8463 > > > then: > > > properties: > > > + pinctrl-names: > > > + minItems: 2 > > > straps-rxd-gpios: > > > description: > > > RXD0 and RXD1 pins, used to select SPI as bus interface. > > > -- > > > 2.34.1 > > > > > > > > > > -- > > #gernperDu > > #CallMeByMyFirstName > > > > Pengutronix e.K. | | > > Steuerwalder Str. 21 | https://www.pengutronix.de/ | > > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | > -- #gernperDu #CallMeByMyFirstName Pengutronix e.K. | | Steuerwalder Str. 21 | https://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 | ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional 2026-01-06 14:36 [PATCH 1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional Frank Li 2026-01-06 15:02 ` Marco Felsch @ 2026-01-06 21:44 ` Rob Herring 2026-01-09 2:10 ` patchwork-bot+netdevbpf 2 siblings, 0 replies; 6+ messages in thread From: Rob Herring @ 2026-01-06 21:44 UTC (permalink / raw) To: Frank Li Cc: Woojung Huh, maintainer:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER, Andrew Lunn, Vladimir Oltean, David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Krzysztof Kozlowski, Conor Dooley, Marek Vasut, open list:MICROCHIP KSZ SERIES ETHERNET SWITCH DRIVER, open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, open list, m.felsch, imx, shawnguo On Tue, Jan 6, 2026 at 8:36 AM Frank Li <Frank.Li@nxp.com> wrote: > > Commit e469b87e0fb0d ("dt-bindings: net: dsa: microchip: Add strap > description to set SPI mode") required both 'default' and 'reset' pinctrl > states for all compatible devices. However, this requirement should be only > applicable to KSZ8463. > > Make the 'reset' pinctrl state optional for all other Microchip DSA > devices while keeping it mandatory for KSZ8463. > > Fix below CHECK_DTBS warnings: > arch/arm64/boot/dts/freescale/imx8mp-skov-basic.dtb: switch@5f (microchip,ksz9893): pinctrl-names: ['default'] is too short > from schema $id: http://devicetree.org/schemas/net/dsa/microchip,ksz.yaml# > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > --- > Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Rob Herring (Arm) <robh@kernel.org> ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional 2026-01-06 14:36 [PATCH 1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional Frank Li 2026-01-06 15:02 ` Marco Felsch 2026-01-06 21:44 ` Rob Herring @ 2026-01-09 2:10 ` patchwork-bot+netdevbpf 2 siblings, 0 replies; 6+ messages in thread From: patchwork-bot+netdevbpf @ 2026-01-09 2:10 UTC (permalink / raw) To: Frank Li Cc: woojung.huh, UNGLinuxDriver, andrew, olteanv, davem, edumazet, kuba, pabeni, robh, krzk+dt, conor+dt, marex, netdev, devicetree, linux-kernel, m.felsch, imx, shawnguo Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Tue, 6 Jan 2026 09:36:19 -0500 you wrote: > Commit e469b87e0fb0d ("dt-bindings: net: dsa: microchip: Add strap > description to set SPI mode") required both 'default' and 'reset' pinctrl > states for all compatible devices. However, this requirement should be only > applicable to KSZ8463. > > Make the 'reset' pinctrl state optional for all other Microchip DSA > devices while keeping it mandatory for KSZ8463. > > [...] Here is the summary with links: - [1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional https://git.kernel.org/netdev/net-next/c/f56bcc0425cb You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-01-09 2:13 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-01-06 14:36 [PATCH 1/1] dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional Frank Li 2026-01-06 15:02 ` Marco Felsch 2026-01-06 15:15 ` Frank Li 2026-01-06 15:22 ` Marco Felsch 2026-01-06 21:44 ` Rob Herring 2026-01-09 2:10 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox