dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings
Subsystems (3)
v2 cover dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings
Hi all,
"make dtbs_check" reports several warnings due to some KSZ8041RNLI PHY nodes having the "micrel,led-mode" property, while the DT bindings prohibit this.
Apparently the DT bindings are incorrect, so this patch series fixes that, after a customary cleanup.
Changes compared to v1[1]:
- Add Reviewed-by, Acked-by,
- Fix KSZ8041RLNI typo.
Thanks for your comments!
[1] "PATCH 0/2] dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings"
https://lore.kernel.org/[email protected]
Geert Uytterhoeven (2):
dt-bindings: net: micrel: Sort lists
dt-bindings: net: micrel: KSZ8041RNLI supports LED mode
Documentation/devicetree/bindings/net/micrel.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Signature · 12 lines
2.43.0
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsPATCH v2 1/2 dt-bindings: net: micrel: Sort lists
Sort lists of PHY models and compatible values alphabetically.
---
v2:
- Add Reviewed-by, Acked-by.
--- Documentation/devicetree/bindings/net/micrel.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/net/micrel.yaml +2 -2
@@ -51,9 +51,9 @@ properties: bits that are currently supported: KSZ8001: register 0x1e, bits 15..14 - KSZ8041: register 0x1e, bits 15..14 KSZ8021: register 0x1f, bits 5..4 KSZ8031: register 0x1f, bits 5..4 + KSZ8041: register 0x1e, bits 15..14 KSZ8051: register 0x1f, bits 5..4 KSZ8081: register 0x1f, bits 5..4 KSZ8091: register 0x1f, bits 5..4
@@ -80,9 +80,9 @@ allOf: contains: enum: - ethernet-phy-id0022.1510 + - ethernet-phy-id0022.1550 - ethernet-phy-id0022.1555 - ethernet-phy-id0022.1556 - - ethernet-phy-id0022.1550 - ethernet-phy-id0022.1560 - ethernet-phy-id0022.161a then:
Signature · 1 line
2.43.0
PATCH v2 2/2 dt-bindings: net: micrel: KSZ8041RNLI supports LED mode
In reply to Geert UytterhoevenMicrel KSZ8041RNLI supports LED mode, just like KSZ8041.
This fixes (a.o.) the following "make dtbs_check" warning:
arch/arm/boot/dts/renesas/r8a7791-koelsch.dtb: ethernet-phy@1 (ethernet-phy-id0022.1537): False schema does not allow 1
from schema $id: http://devicetree.org/schemas/net/micrel.yaml
---
v2:
- Add Reviewed-by, Acked-by,
- Fix KSZ8041RLNI typo.
--- Documentation/devicetree/bindings/net/micrel.yaml | 2 ++ 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/net/micrel.yaml +2 -0
@@ -54,6 +54,7 @@ properties: KSZ8021: register 0x1f, bits 5..4 KSZ8031: register 0x1f, bits 5..4 KSZ8041: register 0x1e, bits 15..14 + KSZ8041RNLI: register 0x1e, bits 15..14 KSZ8051: register 0x1f, bits 5..4 KSZ8081: register 0x1f, bits 5..4 KSZ8091: register 0x1f, bits 5..4
@@ -80,6 +81,7 @@ allOf: contains: enum: - ethernet-phy-id0022.1510 + - ethernet-phy-id0022.1537 - ethernet-phy-id0022.1550 - ethernet-phy-id0022.1555 - ethernet-phy-id0022.1556
Signature · 1 line
2.43.0
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 10 lines · On Tue, 17 Mar 2026 09:02:44 +0100 you wrote:
Hi all,
"make
dtbs_check" reports several warnings due to some KSZ8041RNLI PHY nodes having the "micrel,led-mode" property, while the DT bindings prohibit this.Apparently the DT bindings are incorrect, so this patch series fixes that, after a customary cleanup.
[...]
Here is the summary with links:
- [v2,1/2] dt-bindings: net: micrel: Sort lists
https://git.kernel.org/netdev/net-next/c/46906242fe61 - [v2,2/2] dt-bindings: net: micrel: KSZ8041RNLI supports LED mode https://git.kernel.org/netdev/net-next/c/22214fb2fad0
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html