xref: /linux-6.15/drivers/leds/flash/Kconfig (revision 61fa67a4)
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_LM3601X
24	tristate "LED support for LM3601x Chips"
25	depends on LEDS_CLASS && I2C
26	select REGMAP_I2C
27	help
28	  This option enables support for the TI LM3601x family
29	  of flash, torch and indicator classes.
30
31config LEDS_MAX77693
32	tristate "LED support for MAX77693 Flash"
33	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
34	depends on MFD_MAX77693
35	depends on OF
36	help
37	  This option enables support for the flash part of the MAX77693
38	  multifunction device. It has build in control for two leds in flash
39	  and torch mode.
40
41config LEDS_RT4505
42	tristate "LED support for RT4505 flashlight controller"
43	depends on I2C && OF
44	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
45	select REGMAP_I2C
46	help
47	  This option enables support for the RT4505 flash LED controller.
48	  RT4505 includes torch and flash functions with programmable current.
49	  And it's commonly used to compensate the illuminance for the camera
50	  inside the mobile product like as phones or tablets.
51
52config LEDS_RT8515
53	tristate "LED support for Richtek RT8515 flash/torch LED"
54	depends on GPIOLIB
55	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
56	help
57	  This option enables support for the Richtek RT8515 flash
58	  and torch LEDs found on some mobile phones.
59
60	  To compile this driver as a module, choose M here: the module
61	  will be called leds-rt8515.
62
63config LEDS_SGM3140
64	tristate "LED support for the SGM3140"
65	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
66	help
67	  This option enables support for the SGM3140 500mA Buck/Boost Charge
68	  Pump LED Driver.
69
70endif # LEDS_CLASS_FLASH
71