leds: initial support for Turris Omnia LEDs
authorMarek Behún <marek.behun@nic.cz>
Thu, 23 Jul 2020 12:53:19 +0000 (14:53 +0200)
committerPavel Machek <pavel@ucw.cz>
Fri, 24 Jul 2020 10:58:55 +0000 (12:58 +0200)
commit089381b27abe28a54b1e73e1ab975c2d5b24f8f3
tree77a4628e31a67f19c0fd3efac7e7758b635e8f23
parentae036f9fb6cd66035a45a1ce1b94db59a7e021ae
leds: initial support for Turris Omnia LEDs

This adds basic support for LEDs on the front side of CZ.NIC's Turris
Omnia router.

There are 12 RGB LEDs. The controller supports HW triggering mode for
the LEDs, but this driver does not support it yet, and sets all the LEDs
defined in device-tree into SW mode upon probe.

This driver uses the multicolor LED framework.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-turris-omnia.c [new file with mode: 0644]