Thread (48 messages) 48 messages, 6 authors, 2023-03-24

Re: [net-next PATCH v5 06/15] net: phy: phy_device: Call into the PHY driver to set LED brightness

From: Michal Kubiak <hidden>
Date: 2023-03-20 16:45:38
Also in: linux-arm-kernel, linux-arm-msm, linux-devicetree, linux-leds, lkml

On Sun, Mar 19, 2023 at 08:18:05PM +0100, Christian Marangi wrote:
From: Andrew Lunn <andrew@lunn.ch>

Linux LEDs can be software controlled via the brightness file in /sys.
LED drivers need to implement a brightness_set function which the core
will call. Implement an intermediary in phy_device, which will call
into the phy driver if it implements the necessary function.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Michal Kubiak <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help