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