Skip to content
Permalink
Browse files
leds: Add driver for QPNP flash led
Add driver for the QPNP flash LED. It works over SPMI and is part of the
PM8941 PMIC.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@protonmail.com>
  • Loading branch information
nfraprado authored and intel-lab-lkp committed Nov 9, 2020
1 parent 6c3e426 commit c9c3acb21fb14b671aabd342097b510318e3a980
Show file tree
Hide file tree
Showing 3 changed files with 1,361 additions and 0 deletions.
@@ -928,6 +928,15 @@ config LEDS_ACER_A500
This option enables support for the Power Button LED of
Acer Iconia Tab A500.

config LEDS_QPNP
tristate "Support for QPNP LEDs"
depends on SPMI
help
This driver supports the flash/torch led of Qualcomm PNP PMIC.

To compile this driver as a module, choose M here: the module will
be called leds-qpnp.

comment "LED Triggers"
source "drivers/leds/trigger/Kconfig"

@@ -93,6 +93,7 @@ obj-$(CONFIG_LEDS_TURRIS_OMNIA) += leds-turris-omnia.o
obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o
obj-$(CONFIG_LEDS_WM8350) += leds-wm8350.o
obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o
obj-$(CONFIG_LEDS_QPNP) += leds-qpnp.o

# LED SPI Drivers
obj-$(CONFIG_LEDS_CR0014114) += leds-cr0014114.o

0 comments on commit c9c3acb

Please sign in to comment.