aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/Kconfig
diff options
context:
space:
mode:
authorSimon Shields <simon@lineageos.org>2018-09-09 20:38:25 +1000
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-09-10 21:31:11 +0200
commit2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9 (patch)
tree5b4e770455b5b4bb668c8f599a6b12de8719469c /drivers/leds/Kconfig
parentdt-bindings: leds: document Panasonic AN30259A bindings (diff)
downloadlinux-dev-2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9.tar.xz
linux-dev-2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9.zip
leds: add Panasonic AN30259A support
AN30259A is a 3-channel LED driver which uses I2C. It supports timed operation via an internal PWM clock, and variable brightness. This driver offers support for basic hardware-based blinking and brightness control. The datasheet is freely available: https://www.alliedelec.com/m/d/a9d2b3ee87c2d1a535a41dd747b1c247.pdf Signed-off-by: Simon Shields <simon@lineageos.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r--drivers/leds/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig
index 44097a3e0fcc..a72f97fca57b 100644
--- a/drivers/leds/Kconfig
+++ b/drivers/leds/Kconfig
@@ -58,6 +58,16 @@ config LEDS_AAT1290
help
This option enables support for the LEDs on the AAT1290.
+config LEDS_AN30259A
+ tristate "LED support for Panasonic AN30259A"
+ depends on LEDS_CLASS && I2C && OF
+ help
+ This option enables support for the AN30259A 3-channel
+ LED driver.
+
+ To compile this driver as a module, choose M here: the module
+ will be called leds-an30259a.
+
config LEDS_APU
tristate "Front panel LED support for PC Engines APU/APU2/APU3 boards"
depends on LEDS_CLASS