netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: dsa: microchip: Add of config for LED mode for ksz87xx and ksz88x3
@ 2024-12-09 17:58 Fedor Ross
  2024-12-09 17:58 ` [PATCH net-next 1/2] " Fedor Ross
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Fedor Ross @ 2024-12-09 17:58 UTC (permalink / raw)
  To: Woojung Huh, UNGLinuxDriver, Andrew Lunn, Vladimir Oltean,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Marek Vasut
  Cc: netdev, linux-kernel, Woojung Huh, devicetree, Tristram Ha,
	Fedor Ross

Add support for the led-mode property for the following PHYs which have
a single LED mode configuration value.

KSZ8765, KSZ8794 and KSZ8795 use register 0x0b bits 5,4 to control the
LED configuration.

KSZ8863 and KSZ8873 use register 0xc3 bits 5,4 to control the LED
configuration.

Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
---
Fedor Ross (2):
      net: dsa: microchip: Add of config for LED mode for ksz87xx and ksz88x3
      dt-bindings: net: dsa: microchip: Add of config for LED mode for ksz87xx and ksz88x3

 .../devicetree/bindings/net/dsa/microchip,ksz.yaml | 89 +++++++++++++---------
 drivers/net/dsa/microchip/ksz8.c                   |  9 +++
 drivers/net/dsa/microchip/ksz8_reg.h               |  1 +
 drivers/net/dsa/microchip/ksz_common.c             |  2 +
 drivers/net/dsa/microchip/ksz_common.h             |  1 +
 5 files changed, 68 insertions(+), 34 deletions(-)
---
base-commit: 6145fefc1e42c1895c0c1c2c8593de2c085d8c56
change-id: 20241209-netdev-net-next-ksz8_led-mode-31b63f87963a

Best regards,
-- 
Fedor Ross <fedor.ross@ifm.com>


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

end of thread, other threads:[~2024-12-17 19:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-09 17:58 [PATCH net-next 0/2] net: dsa: microchip: Add of config for LED mode for ksz87xx and ksz88x3 Fedor Ross
2024-12-09 17:58 ` [PATCH net-next 1/2] " Fedor Ross
2024-12-09 17:58 ` [PATCH net-next 2/2] dt-bindings: " Fedor Ross
2024-12-09 18:22 ` [PATCH net-next 0/2] " Andrew Lunn
2024-12-09 20:26   ` Marek Vasut
2024-12-17 13:34     ` Rob Herring
2024-12-17 18:57   ` fedor.ross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).