summaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2020-07-23 14:53:19 +0200
committerPavel Machek <pavel@ucw.cz>2020-07-24 12:58:55 +0200
commit089381b27abe28a54b1e73e1ab975c2d5b24f8f3 (patch)
tree77a4628e31a67f19c0fd3efac7e7758b635e8f23 /drivers/leds/Kconfig
parentae036f9fb6cd66035a45a1ce1b94db59a7e021ae (diff)
downloadlinux-089381b27abe28a54b1e73e1ab975c2d5b24f8f3.tar.gz
linux-089381b27abe28a54b1e73e1ab975c2d5b24f8f3.tar.bz2
linux-089381b27abe28a54b1e73e1ab975c2d5b24f8f3.zip
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>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index b9002850b5fa..d7e4be1b7736 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -176,6 +176,17 @@ config LEDS_EL15203000
To compile this driver as a module, choose M here: the module
will be called leds-el15203000.
+config LEDS_TURRIS_OMNIA
+ tristate "LED support for CZ.NIC's Turris Omnia"
+ depends on LEDS_CLASS_MULTICOLOR
+ depends on I2C
+ depends on MACH_ARMADA_38X || COMPILE_TEST
+ depends on OF
+ help
+ This option enables basic support for the LEDs found on the front
+ side of CZ.NIC's Turris Omnia router. There are 12 RGB LEDs on the
+ front panel.
+
config LEDS_LM3530
tristate "LCD Backlight driver for LM3530"
depends on LEDS_CLASS