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

Commit a56ba8fb authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab
Browse files

media: leds: as3645a: Add LED flash class driver



Add a LED flash class driver for the as3654a flash controller. A V4L2 flash
driver for it already exists (drivers/media/i2c/as3645a.c), and this driver
is based on that.

Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 535a218d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -2123,6 +2123,12 @@ S: Maintained
F:	arch/arm64/
F:	Documentation/arm64/

AS3645A LED FLASH CONTROLLER DRIVER
M:	Sakari Ailus <sakari.ailus@iki.fi>
L:	linux-leds@vger.kernel.org
S:	Maintained
F:	drivers/leds/leds-as3645a.c

AS3645A LED FLASH CONTROLLER DRIVER
M:	Laurent Pinchart <laurent.pinchart@ideasonboard.com>
L:	linux-media@vger.kernel.org
+8 −0
Original line number Diff line number Diff line
@@ -58,6 +58,14 @@ config LEDS_AAT1290
	help
	 This option enables support for the LEDs on the AAT1290.

config LEDS_AS3645A
	tristate "AS3645A LED flash controller support"
	depends on I2C && LEDS_CLASS_FLASH
	help
	  Enable LED flash class support for AS3645A LED flash
	  controller. V4L2 flash API is provided as well if
	  CONFIG_V4L2_FLASH_API is enabled.

config LEDS_BCM6328
	tristate "LED Support for Broadcom BCM6328"
	depends on LEDS_CLASS
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ obj-$(CONFIG_LEDS_TRIGGERS) += led-triggers.o
# LED Platform Drivers
obj-$(CONFIG_LEDS_88PM860X)		+= leds-88pm860x.o
obj-$(CONFIG_LEDS_AAT1290)		+= leds-aat1290.o
obj-$(CONFIG_LEDS_AS3645A)		+= leds-as3645a.o
obj-$(CONFIG_LEDS_BCM6328)		+= leds-bcm6328.o
obj-$(CONFIG_LEDS_BCM6358)		+= leds-bcm6358.o
obj-$(CONFIG_LEDS_BD2802)		+= leds-bd2802.o
+763 −0

File added.

Preview size limit exceeded, changes collapsed.