Messages in this thread | | | Subject | Re: [RFC PATCH v2 3/5] leds: trigger: add offload-phy-activity trigger | From | Randy Dunlap <> | Date | Sun, 7 Nov 2021 18:24:54 -0800 |
| |
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
| |