Thread (19 messages) 19 messages, 4 authors, 2021-11-08

Re: [RFC PATCH 2/6] leds: permit to declare supported offload triggers

From: Ansuel Smith <ansuelsmth@gmail.com>
Date: 2021-11-07 22:33:05
Also in: linux-devicetree, linux-leds, lkml, netdev

On Sun, Nov 07, 2021 at 11:06:24PM +0100, Marek Behún wrote:
On Sun,  7 Nov 2021 18:57:14 +0100
Ansuel Smith [off-list ref] wrote:
quoted
With LEDs that can be offload driven, permit to declare supported triggers
in the dts and add them to the cled struct to be used by the related
offload trigger. This is particurally useful for phy that have support
for HW blinking on tx/rx traffic or based on the speed link.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
NAK. The device-tree shouldn't define this, only the LED's function as
designated by the manufacturer of the device.

Marek
Sure I will add a way to ask the led driver if the trigger is supported
and report it.

-- 
	Ansuel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help