Re: [RFC PATCH v2 3/5] leds: trigger: add offload-phy-activity trigger
From: Randy Dunlap <hidden>
Date: 2021-11-08 02:25:10
Also in:
linux-doc, linux-leds, lkml, netdev
From: Randy Dunlap <hidden>
Date: 2021-11-08 02:25:10
Also in:
linux-doc, linux-leds, lkml, netdev
On 11/7/21 4:24 PM, Ansuel Smith wrote:
diff --git a/drivers/leds/trigger/Kconfig b/drivers/leds/trigger/Kconfig index 33aba8defeab..14023e160ba1 100644 --- a/drivers/leds/trigger/Kconfig +++ b/drivers/leds/trigger/Kconfig@@ -164,4 +164,33 @@ config LEDS_TRIGGER_TTY When build as a module this driver will be called ledtrig-tty. +config LEDS_OFFLOAD_TRIGGER_PHY_ACTIVITY + tristate "LED Offload Trigger for PHY Activity" + depends on LEDS_OFFLOAD_TRIGGERS + help + This allows LEDs to be configured to run by hardware and offloaded
to be run
+ based on some rules. The LED will blink or be on based on the PHY
Could "on" be changed to ON or "on" or 'on' here: be ON based on the PHY
+ Activity for example on packet receive or based on the link speed.
-- ~Randy