xref: /linux-6.15/drivers/leds/flash/Kconfig (revision eb5a4422)
1# SPDX-License-Identifier: GPL-2.0
2
3if LEDS_CLASS_FLASH
4
5config LEDS_AAT1290
6	tristate "LED support for the AAT1290"
7	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
8	depends on GPIOLIB || COMPILE_TEST
9	depends on OF
10	depends on PINCTRL
11	help
12	  This option enables support for the LEDs on the AAT1290.
13
14config LEDS_AS3645A
15	tristate "AS3645A and LM3555 LED flash controllers support"
16	depends on I2C
17	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
18	help
19	  Enable LED flash class support for AS3645A LED flash
20	  controller. V4L2 flash API is provided as well if
21	  CONFIG_V4L2_FLASH_API is enabled.
22
23config LEDS_MAX77693
24	tristate "LED support for MAX77693 Flash"
25	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
26	depends on MFD_MAX77693
27	depends on OF
28	help
29	  This option enables support for the flash part of the MAX77693
30	  multifunction device. It has build in control for two leds in flash
31	  and torch mode.
32
33config LEDS_RT4505
34	tristate "LED support for RT4505 flashlight controller"
35	depends on I2C && OF
36	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
37	select REGMAP_I2C
38	help
39	  This option enables support for the RT4505 flash LED controller.
40	  RT4505 includes torch and flash functions with programmable current.
41	  And it's commonly used to compensate the illuminance for the camera
42	  inside the mobile product like as phones or tablets.
43
44config LEDS_RT8515
45	tristate "LED support for Richtek RT8515 flash/torch LED"
46	depends on GPIOLIB
47	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
48	help
49	  This option enables support for the Richtek RT8515 flash
50	  and torch LEDs found on some mobile phones.
51
52	  To compile this driver as a module, choose M here: the module
53	  will be called leds-rt8515.
54
55endif # LEDS_CLASS_FLASH
56