diff options
author | Marek Behún <marek.behun@nic.cz> | 2020-07-16 19:17:28 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-07-22 14:42:07 +0200 |
commit | 93690cdf3060c61dfce813121d0bfc055e7fa30d (patch) | |
tree | a5c79c9c4173a8b027d4a24a34100c91a0affb99 /drivers/leds/leds-lm3692x.c | |
parent | 00253ec2c9849c2a1101818565c7f4c09dbef327 (diff) |
leds: trigger: add support for LED-private device triggers
Some LED controllers may come with an internal HW triggering mechanism
for the LED and the ability to switch between SW control and the
internal HW control. This includes most PHYs, various ethernet switches,
the Turris Omnia LED controller or AXP20X PMIC.
This adds support for registering such triggers.
This code is based on work by Pavel Machek <pavel@ucw.cz> and
Ondřej Jirman <megous@megous.com>.
Signed-off-by: Marek Behún <marek.behun@nic.cz>
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-lm3692x.c')
0 files changed, 0 insertions, 0 deletions