Linus Walleij | e1c6edc | 2021-01-03 00:15:10 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | if LEDS_CLASS_FLASH |
| 4 | |
Linus Walleij | 293fee7 | 2021-05-28 22:23:59 +0200 | [diff] [blame] | 5 | config 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 | |
Linus Walleij | f5d69f6 | 2021-05-28 22:24:00 +0200 | [diff] [blame] | 14 | config 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 | |
Linus Walleij | 51f3b2c | 2021-05-28 22:24:04 +0200 | [diff] [blame] | 23 | config LEDS_KTD2692 |
| 24 | tristate "LED support for Kinetic KTD2692 flash LED controller" |
| 25 | depends on OF |
| 26 | depends on GPIOLIB || COMPILE_TEST |
| 27 | help |
| 28 | This option enables support for Kinetic KTD2692 LED flash connected |
| 29 | through ExpressWire interface. |
| 30 | |
| 31 | Say Y to enable this driver. |
| 32 | |
Linus Walleij | 61fa67a | 2021-05-28 22:24:03 +0200 | [diff] [blame] | 33 | config LEDS_LM3601X |
| 34 | tristate "LED support for LM3601x Chips" |
| 35 | depends on LEDS_CLASS && I2C |
| 36 | select REGMAP_I2C |
| 37 | help |
| 38 | This option enables support for the TI LM3601x family |
| 39 | of flash, torch and indicator classes. |
| 40 | |
Linus Walleij | eb5a442 | 2021-05-28 22:24:01 +0200 | [diff] [blame] | 41 | config LEDS_MAX77693 |
| 42 | tristate "LED support for MAX77693 Flash" |
| 43 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 44 | depends on MFD_MAX77693 |
| 45 | depends on OF |
| 46 | help |
| 47 | This option enables support for the flash part of the MAX77693 |
| 48 | multifunction device. It has build in control for two leds in flash |
| 49 | and torch mode. |
| 50 | |
ChiYuan Huang | d9dfac5 | 2021-03-26 14:13:08 +0800 | [diff] [blame] | 51 | config LEDS_RT4505 |
| 52 | tristate "LED support for RT4505 flashlight controller" |
| 53 | depends on I2C && OF |
| 54 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 55 | select REGMAP_I2C |
| 56 | help |
| 57 | This option enables support for the RT4505 flash LED controller. |
| 58 | RT4505 includes torch and flash functions with programmable current. |
| 59 | And it's commonly used to compensate the illuminance for the camera |
| 60 | inside the mobile product like as phones or tablets. |
| 61 | |
Linus Walleij | e1c6edc | 2021-01-03 00:15:10 +0100 | [diff] [blame] | 62 | config LEDS_RT8515 |
| 63 | tristate "LED support for Richtek RT8515 flash/torch LED" |
| 64 | depends on GPIOLIB |
Arnd Bergmann | dbeb02a | 2021-02-04 16:39:44 +0100 | [diff] [blame] | 65 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
Linus Walleij | e1c6edc | 2021-01-03 00:15:10 +0100 | [diff] [blame] | 66 | help |
| 67 | This option enables support for the Richtek RT8515 flash |
| 68 | and torch LEDs found on some mobile phones. |
| 69 | |
| 70 | To compile this driver as a module, choose M here: the module |
| 71 | will be called leds-rt8515. |
| 72 | |
Linus Walleij | 9a7c066 | 2021-05-28 22:24:02 +0200 | [diff] [blame] | 73 | config LEDS_SGM3140 |
| 74 | tristate "LED support for the SGM3140" |
| 75 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 76 | help |
| 77 | This option enables support for the SGM3140 500mA Buck/Boost Charge |
| 78 | Pump LED Driver. |
| 79 | |
Linus Walleij | e1c6edc | 2021-01-03 00:15:10 +0100 | [diff] [blame] | 80 | endif # LEDS_CLASS_FLASH |