public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings
@ 2026-03-17  8:02 Geert Uytterhoeven
  2026-03-17  8:02 ` [PATCH v2 1/2] dt-bindings: net: micrel: Sort lists Geert Uytterhoeven
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2026-03-17  8:02 UTC (permalink / raw)
  To: Stefan Eichenberger, Andrew Lunn, David S . Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: netdev, devicetree, linux-renesas-soc, Geert Uytterhoeven

	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/cover.1773321267.git.geert+renesas@glider.be

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(-)

-- 
2.43.0

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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 Torvalds

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v2 1/2] dt-bindings: net: micrel: Sort lists
  2026-03-17  8:02 [PATCH v2 0/2] dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings Geert Uytterhoeven
@ 2026-03-17  8:02 ` Geert Uytterhoeven
  2026-03-17  8:02 ` [PATCH v2 2/2] dt-bindings: net: micrel: KSZ8041RNLI supports LED mode Geert Uytterhoeven
  2026-03-19  0:44 ` [PATCH v2 0/2] dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2026-03-17  8:02 UTC (permalink / raw)
  To: Stefan Eichenberger, Andrew Lunn, David S . Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: netdev, devicetree, linux-renesas-soc, Geert Uytterhoeven,
	Conor Dooley

Sort lists of PHY models and compatible values alphabetically.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Stefan Eichenberger <eichest@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
v2:
  - Add Reviewed-by, Acked-by.
---
 Documentation/devicetree/bindings/net/micrel.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/micrel.yaml b/Documentation/devicetree/bindings/net/micrel.yaml
index ecc00169ef805dc2..5d25f0d0a508a6df 100644
--- a/Documentation/devicetree/bindings/net/micrel.yaml
+++ b/Documentation/devicetree/bindings/net/micrel.yaml
@@ -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:
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v2 2/2] dt-bindings: net: micrel: KSZ8041RNLI supports LED mode
  2026-03-17  8:02 [PATCH v2 0/2] dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings Geert Uytterhoeven
  2026-03-17  8:02 ` [PATCH v2 1/2] dt-bindings: net: micrel: Sort lists Geert Uytterhoeven
@ 2026-03-17  8:02 ` Geert Uytterhoeven
  2026-03-19  0:44 ` [PATCH v2 0/2] dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2026-03-17  8:02 UTC (permalink / raw)
  To: Stefan Eichenberger, Andrew Lunn, David S . Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: netdev, devicetree, linux-renesas-soc, Geert Uytterhoeven,
	Conor Dooley

Micrel 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

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Stefan Eichenberger <eichest@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
---
v2:
  - Add Reviewed-by, Acked-by,
  - Fix KSZ8041RLNI typo.
---
 Documentation/devicetree/bindings/net/micrel.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/net/micrel.yaml b/Documentation/devicetree/bindings/net/micrel.yaml
index 5d25f0d0a508a6df..6fa568057b927182 100644
--- a/Documentation/devicetree/bindings/net/micrel.yaml
+++ b/Documentation/devicetree/bindings/net/micrel.yaml
@@ -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
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2 0/2] dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings
  2026-03-17  8:02 [PATCH v2 0/2] dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings Geert Uytterhoeven
  2026-03-17  8:02 ` [PATCH v2 1/2] dt-bindings: net: micrel: Sort lists Geert Uytterhoeven
  2026-03-17  8:02 ` [PATCH v2 2/2] dt-bindings: net: micrel: KSZ8041RNLI supports LED mode Geert Uytterhoeven
@ 2026-03-19  0:44 ` patchwork-bot+netdevbpf
  2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-03-19  0:44 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: eichest, andrew+netdev, davem, edumazet, kuba, pabeni, robh,
	krzk+dt, conor+dt, netdev, devicetree, linux-renesas-soc

Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-03-19  0:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-17  8:02 [PATCH v2 0/2] dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings Geert Uytterhoeven
2026-03-17  8:02 ` [PATCH v2 1/2] dt-bindings: net: micrel: Sort lists Geert Uytterhoeven
2026-03-17  8:02 ` [PATCH v2 2/2] dt-bindings: net: micrel: KSZ8041RNLI supports LED mode Geert Uytterhoeven
2026-03-19  0:44 ` [PATCH v2 0/2] dt-bindings: net: micrel: Fix KSZ8041RNLI dtbs_check warnings 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