Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b41a072 authored by Shyam Kumar Thella's avatar Shyam Kumar Thella Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarShyam Kumar Thella <sthella@codeaurora.org>
parent d76cd6ca
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -208,6 +208,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
+1 −0
Original line number Diff line number Diff line
@@ -22,6 +22,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 −0

File added.

Preview size limit exceeded, changes collapsed.