leds: add PM8058 LEDs driver
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 16 Aug 2016 09:25:10 +0000 (11:25 +0200)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Tue, 16 Aug 2016 20:37:26 +0000 (22:37 +0200)
commit7f866986e7052197396d8a663fa009209af18aee
tree79bf1abd62cc82aaacd3843abf11a0d5ac60afb8
parent9a6b1f608acd0948acbfc7ddafaf27bc00293302
leds: add PM8058 LEDs driver

This adds a driver for the six PM8058 LEDs, three ordinary LEDs,
two "flash" LEDs and one "keypad" LED.

The "keypad" and "flash" LEDs are not really hard-wired to these
usecases: for example on the APQ8060 Dragonboard, the "keypad"
LED is instead used to drive an IR LED used for the proximity
sensor. The "flash" LEDs are just ordinary high-current LED
drivers.

Cc: linux-arm-msm@vger.kernel.org
Cc: Andy Gross <andy.gross@linaro.org>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-pm8058.c [new file with mode: 0644]