mbox series

[net-next,0/3] Add support for configuring Marvell 10G PHY LEDs

Message ID 20200227095159.GJ25745@shell.armlinux.org.uk
Headers show
Series Add support for configuring Marvell 10G PHY LEDs | expand

Message

Russell King (Oracle) Feb. 27, 2020, 9:51 a.m. UTC
Hi,

This series makes it possible to configure the PHY LEDs on the Marvell
88x3310 and similar PHYs.

We introduce a new DT property called "marvell,led-mode" which allows
the register values (up to four) for the LEDs to be given and programmed
into the PHY by the driver.

 .../devicetree/bindings/net/marvell,10g.yaml       | 31 +++++++++++
 arch/arm64/boot/dts/marvell/armada-8040-mcbin.dts  |  2 +
 drivers/net/phy/marvell10g.c                       | 62 +++++++++++++++++++---
 3 files changed, 88 insertions(+), 7 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/net/marvell,10g.yaml