leds: add Panasonic AN30259A support
authorSimon Shields <simon@lineageos.org>
Sun, 9 Sep 2018 10:38:25 +0000 (20:38 +1000)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Mon, 10 Sep 2018 19:31:11 +0000 (21:31 +0200)
commit2d00f35c55e74fcb5626c9aa336c1ed697cd2ae9
tree5b4e770455b5b4bb668c8f599a6b12de8719469c
parent86bc7b2d753ad361bfd358c89a8888bae04c8e5a
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>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-an30259a.c [new file with mode: 0644]