dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional
Subsystems (6)
Frank Li
maintainerPATCH 1/1 dt-bindings: net: dsa: microchip: Make pinctrl 'reset' optional
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#
--- Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++ 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +3 -0
@@ -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.
Signature · 1 line
2.34.1
Hi Frank,
thanks for fixing this.
Quoted 5 lines · Frank Li
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.
Quoted 7 lines
Make the 'reset' pinctrl state optional for all other Microchip DSA devices while keeping it mandatory for KSZ8463.
Fix below
CHECK_DTBSwarnings:
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?
Quoted 10 lines
Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++ 1 file changed, 3 insertions(+)Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +0
-0
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml properties: · line 43
Quoted 4 lines
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +1
-0@@ -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
Quoted 16 lines
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +2
-0reset-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.Signature · 1 line
2.34.1
Signature · 7 lines
#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 |
Frank Li
maintainerQuoted 13 lines · Marco Felsch
Hi Frank,
thanks for fixing this.
Quoted 8 lines · Frank Li
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.
Quoted 6 lines
Quoted 4 lines
Fix below
CHECK_DTBSwarnings:
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.
Quoted 6 lines
Quoted 6 lines
Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++ 1 file changed, 3 insertions(+)
Quoted 12 lines
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml properties: · line 43
Quoted 9 lines
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +1
-0@@ -40,6 +40,7 @@ properties: - const: reset description: Used during reset for strap configuration. + minItems: 1Does 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
Quoted 29 lines
Regards,
MarcoQuoted 13 lines
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +2
-1reset-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. --Quoted 3 lines
2.34.1
--
#gernperDu
#CallMeByMyFirstNamePengutronix 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 |
Marco Felsch
Reviewed-byQuoted 46 lines · Frank Li
Quoted 13 lines · Marco Felsch
Hi Frank,
thanks for fixing this.
Quoted 8 lines · Frank Li
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.
Quoted 6 lines
Quoted 4 lines
Fix below
CHECK_DTBSwarnings:
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.
Quoted 6 lines
Quoted 6 lines
Signed-off-by Frank Li <[email protected]>--- Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++ 1 file changed, 3 insertions(+)Quoted 12 lines
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml properties: · line 43
Quoted 9 lines
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +1
-0@@ -40,6 +40,7 @@ properties: - const: reset description: Used during reset for strap configuration. + minItems: 1Does this mean that all others can now either specify 'reset' or 'default'? If yes, this seems wrong.
Quoted 5 lines
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:
Quoted 33 lines
Frank
Quoted 29 lines
Regards,
MarcoQuoted 13 lines
Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml +2
-1reset-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. --Quoted 3 lines
2.34.1
--
#gernperDu
#CallMeByMyFirstNamePengutronix 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 |
Signature · 7 lines
#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 |
Quoted 9 lines · Frank Li
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.
Quoted 8 lines
Fix below
CHECK_DTBSwarnings:
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 <[email protected]>--- Documentation/devicetree/bindings/net/dsa/microchip,ksz.yaml | 3 +++ 1 file changed, 3 insertions(+)
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 9 lines · 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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html