Kconfig (293fee7f607841cc128c3f6df9b464e8abf99fb0) Kconfig (f5d69f6290a37f5579ef24334d5bf8a59bb13ef4)
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
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
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.

--- 15 unchanged lines hidden ---
23config LEDS_RT4505
24 tristate "LED support for RT4505 flashlight controller"
25 depends on I2C && OF
26 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
27 select REGMAP_I2C
28 help
29 This option enables support for the RT4505 flash LED controller.
30 RT4505 includes torch and flash functions with programmable current.

--- 15 unchanged lines hidden ---