Re: [PATCH v5 6/8] leds: trigger: add hardware-phy-activity trigger

From: Randy Dunlap
Date: Fri Nov 12 2021 - 19:53:16 EST


On 11/12/21 7:35 AM, Ansuel Smith wrote:
diff --git a/drivers/leds/trigger/Kconfig b/drivers/leds/trigger/Kconfig
index 18a8970bfae6..ea7b33995e8d 100644
--- a/drivers/leds/trigger/Kconfig
+++ b/drivers/leds/trigger/Kconfig
@@ -162,4 +162,31 @@ config LEDS_TRIGGER_TTY
When build as a module this driver will be called ledtrig-tty.
+config LEDS_TRIGGER_HARDWARE_PHY_ACTIVITY
+ tristate "LED Trigger for PHY Activity for Hardware Controlled LED"

Hardware-controlled

+ help
+ This allows LEDs to run by hardware and offloaded based on some

to be run by hardware and be offloaded based on some

+ rules. The LED will blink or be on based on the PHY

or be "on"
or: or be ON
[for about the third time]

+ activity for example on packet receive or based on the link speed.


--
~Randy