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:
Shyam Kumar Thella 2019-11-19 22:02:13 +05:30
commit 8a6773fc9f
3 changed files with 1136 additions and 0 deletions

View file

@ -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

View file

@ -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

File diff suppressed because it is too large Load diff