leds: Add the actpwr trigger
authorPhil Elwell <phil@raspberrypi.com>
Mon, 13 Jul 2020 09:33:19 +0000 (10:33 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 27 Jan 2021 19:13:16 +0000 (19:13 +0000)
commit1022c84bee086155790e95a47d71d8c9ee712b50
treeb4ea3d462ca688b73c1f31de59d4be38fc93a7d5
parentbb59e7b8519a6012b01a36d897aae7b037465549
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]