mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 20:22:08 +02:00
leds: add support for QTI flash LED driver
QTI flash LED driver supports flash LED module on PM8350C. It is used for illumination by camera sensor and also for torch application. Change-Id: Iaa4754591e37db48c0ab360cdf4660d50c908337 Signed-off-by: Shyam Kumar Thella <sthella@codeaurora.org>
This commit is contained in:
parent
ec8afe7e56
commit
a0506cb3d4
|
|
@ -552,6 +552,21 @@ config LEDS_PWM
|
|||
help
|
||||
This option enables support for pwm driven LEDs
|
||||
|
||||
config LEDS_QTI_FLASH
|
||||
tristate "Support for QTI Flash LEDs"
|
||||
depends on LEDS_CLASS_FLASH
|
||||
depends on MFD_SPMI_PMIC
|
||||
select LEDS_TRIGGERS
|
||||
help
|
||||
This driver supports flash LED peripheral that is present on
|
||||
some Qualcomm Technologies, Inc. PMICs (e.g. PM8350C). It can
|
||||
configure the flash LED target current for several independent
|
||||
channels. It also supports various over current and over
|
||||
temperature mitigation features.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called leds-qti-flash.
|
||||
|
||||
config LEDS_REGULATOR
|
||||
tristate "REGULATOR driven LED support"
|
||||
depends on LEDS_CLASS
|
||||
|
|
|
|||
|
|
@ -73,6 +73,7 @@ obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o
|
|||
obj-$(CONFIG_LEDS_PM8058) += leds-pm8058.o
|
||||
obj-$(CONFIG_LEDS_POWERNV) += leds-powernv.o
|
||||
obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
|
||||
obj-$(CONFIG_LEDS_QTI_FLASH) += leds-qti-flash.o
|
||||
obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
|
||||
obj-$(CONFIG_LEDS_S3C24XX) += leds-s3c24xx.o
|
||||
obj-$(CONFIG_LEDS_SC27XX_BLTC) += leds-sc27xx-bltc.o
|
||||
|
|
|
|||
1120
drivers/leds/leds-qti-flash.c
Normal file
1120
drivers/leds/leds-qti-flash.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user