mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04: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
3ee13ad157
commit
8a6773fc9f
3 changed files with 1136 additions and 0 deletions
|
|
@ -232,6 +232,21 @@ config LEDS_NET48XX
|
|||
This option enables support for the Soekris net4801 and net4826 error
|
||||
LED.
|
||||
|
||||
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_FSG
|
||||
tristate "LED Support for the Freecom FSG-3"
|
||||
depends on LEDS_CLASS
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ obj-$(CONFIG_LEDS_LM3642) += leds-lm3642.o
|
|||
obj-$(CONFIG_LEDS_MIKROTIK_RB532) += leds-rb532.o
|
||||
obj-$(CONFIG_LEDS_S3C24XX) += leds-s3c24xx.o
|
||||
obj-$(CONFIG_LEDS_NET48XX) += leds-net48xx.o
|
||||
obj-$(CONFIG_LEDS_QTI_FLASH) += leds-qti-flash.o
|
||||
obj-$(CONFIG_LEDS_WRAP) += leds-wrap.o
|
||||
obj-$(CONFIG_LEDS_COBALT_QUBE) += leds-cobalt-qube.o
|
||||
obj-$(CONFIG_LEDS_COBALT_RAQ) += leds-cobalt-raq.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 a new issue