xref: /linux-6.15/drivers/leds/flash/Kconfig (revision 293fee7f)
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_RT4505
15	tristate "LED support for RT4505 flashlight controller"
16	depends on I2C && OF
17	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
18	select REGMAP_I2C
19	help
20	  This option enables support for the RT4505 flash LED controller.
21	  RT4505 includes torch and flash functions with programmable current.
22	  And it's commonly used to compensate the illuminance for the camera
23	  inside the mobile product like as phones or tablets.
24
25config LEDS_RT8515
26	tristate "LED support for Richtek RT8515 flash/torch LED"
27	depends on GPIOLIB
28	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
29	help
30	  This option enables support for the Richtek RT8515 flash
31	  and torch LEDs found on some mobile phones.
32
33	  To compile this driver as a module, choose M here: the module
34	  will be called leds-rt8515.
35
36endif # LEDS_CLASS_FLASH
37