OSDN Git Service

net: phy: marvell: Implement led_blink_set()
authorAndrew Lunn <andrew@lunn.ch>
Mon, 17 Apr 2023 15:17:31 +0000 (17:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Apr 2023 11:59:16 +0000 (12:59 +0100)
commitea9e86485decb2ac1750005bd96c166c9b780406
treebf40698411efcbe8697a00934754ae4808c4f948
parent4e901018432e38eab35d2a352661ce4727795be1
net: phy: marvell: Implement led_blink_set()

The Marvell PHY can blink the LEDs, simple on/off. All LEDs blink at
the same rate, and the reset default is 84ms per blink, which is
around 12Hz.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c