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_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. 31 And it's commonly used to compensate the illuminance for the camera 32 inside the mobile product like as phones or tablets. 33 34config LEDS_RT8515 35 tristate "LED support for Richtek RT8515 flash/torch LED" 36 depends on GPIOLIB 37 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 38 help 39 This option enables support for the Richtek RT8515 flash 40 and torch LEDs found on some mobile phones. 41 42 To compile this driver as a module, choose M here: the module 43 will be called leds-rt8515. 44 45endif # LEDS_CLASS_FLASH 46