leds: Add the actpwr trigger
authorPhil Elwell <phil@raspberrypi.com>
Mon, 13 Jul 2020 09:33:19 +0000 (10:33 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:03 +0000 (11:33 +0000)
commit58738864843feb9c0dd7360a7a978134ba780121
tree1418fafc850c47c0d4b8731fdc39be3864719f36
parentbdb22c1f7eab8139581cbed53f4d365ea51d6989
leds: Add the actpwr trigger

The actpwr trigger is a meta trigger that cycles between an inverted
mmc0 and default-on. It is written in a way that could fairly easily
be generalised to support alternative sets of source triggers.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
drivers/leds/trigger/Kconfig
drivers/leds/trigger/Makefile
drivers/leds/trigger/ledtrig-actpwr.c [new file with mode: 0644]