Kconfig (f8bade6c9a6213c2c5ba6e5bf32415ecab6e41e5) Kconfig (d9dfac5419d08e5f0048b53effd5b64de5801882)
1# SPDX-License-Identifier: GPL-2.0
2
3if LEDS_CLASS_FLASH
4
1# SPDX-License-Identifier: GPL-2.0
2
3if LEDS_CLASS_FLASH
4
5config LEDS_RT4505
6 tristate "LED support for RT4505 flashlight controller"
7 depends on I2C && OF
8 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
9 select REGMAP_I2C
10 help
11 This option enables support for the RT4505 flash LED controller.
12 RT4505 includes torch and flash functions with programmable current.
13 And it's commonly used to compensate the illuminance for the camera
14 inside the mobile product like as phones or tablets.
15
5config LEDS_RT8515
6 tristate "LED support for Richtek RT8515 flash/torch LED"
7 depends on GPIOLIB
8 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
9 help
10 This option enables support for the Richtek RT8515 flash
11 and torch LEDs found on some mobile phones.
12
13 To compile this driver as a module, choose M here: the module
14 will be called leds-rt8515.
15
16endif # LEDS_CLASS_FLASH
16config LEDS_RT8515
17 tristate "LED support for Richtek RT8515 flash/torch LED"
18 depends on GPIOLIB
19 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
20 help
21 This option enables support for the Richtek RT8515 flash
22 and torch LEDs found on some mobile phones.
23
24 To compile this driver as a module, choose M here: the module
25 will be called leds-rt8515.
26
27endif # LEDS_CLASS_FLASH