0001 # SPDX-License-Identifier: GPL-2.0
0002
0003 if LEDS_CLASS_FLASH
0004
0005 config LEDS_AAT1290
0006 tristate "LED support for the AAT1290"
0007 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
0008 depends on GPIOLIB || COMPILE_TEST
0009 depends on OF
0010 depends on PINCTRL
0011 help
0012 This option enables support for the LEDs on the AAT1290.
0013
0014 config LEDS_AS3645A
0015 tristate "AS3645A and LM3555 LED flash controllers support"
0016 depends on I2C
0017 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
0018 help
0019 Enable LED flash class support for AS3645A LED flash
0020 controller. V4L2 flash API is provided as well if
0021 CONFIG_V4L2_FLASH_API is enabled.
0022
0023 config LEDS_KTD2692
0024 tristate "LED support for Kinetic KTD2692 flash LED controller"
0025 depends on OF
0026 depends on GPIOLIB || COMPILE_TEST
0027 help
0028 This option enables support for Kinetic KTD2692 LED flash connected
0029 through ExpressWire interface.
0030
0031 Say Y to enable this driver.
0032
0033 config LEDS_LM3601X
0034 tristate "LED support for LM3601x Chips"
0035 depends on LEDS_CLASS && I2C
0036 select REGMAP_I2C
0037 help
0038 This option enables support for the TI LM3601x family
0039 of flash, torch and indicator classes.
0040
0041 config LEDS_MAX77693
0042 tristate "LED support for MAX77693 Flash"
0043 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
0044 depends on MFD_MAX77693
0045 depends on OF
0046 help
0047 This option enables support for the flash part of the MAX77693
0048 multifunction device. It has build in control for two leds in flash
0049 and torch mode.
0050
0051 config LEDS_MT6360
0052 tristate "LED Support for Mediatek MT6360 PMIC"
0053 depends on LEDS_CLASS && OF
0054 depends on LEDS_CLASS_FLASH || !LEDS_CLASS_FLASH
0055 depends on LEDS_CLASS_MULTICOLOR || !LEDS_CLASS_MULTICOLOR
0056 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
0057 depends on MFD_MT6360
0058 help
0059 This option enables support for dual Flash LED drivers found on
0060 Mediatek MT6360 PMIC.
0061 Independent current sources supply for each flash LED support torch
0062 and strobe mode.
0063
0064 config LEDS_RT4505
0065 tristate "LED support for RT4505 flashlight controller"
0066 depends on I2C && OF
0067 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
0068 select REGMAP_I2C
0069 help
0070 This option enables support for the RT4505 flash LED controller.
0071 RT4505 includes torch and flash functions with programmable current.
0072 And it's commonly used to compensate the illuminance for the camera
0073 inside the mobile product like as phones or tablets.
0074
0075 config LEDS_RT8515
0076 tristate "LED support for Richtek RT8515 flash/torch LED"
0077 depends on GPIOLIB
0078 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
0079 help
0080 This option enables support for the Richtek RT8515 flash
0081 and torch LEDs found on some mobile phones.
0082
0083 To compile this driver as a module, choose M here: the module
0084 will be called leds-rt8515.
0085
0086 config LEDS_SGM3140
0087 tristate "LED support for the SGM3140"
0088 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
0089 help
0090 This option enables support for the SGM3140 500mA Buck/Boost Charge
0091 Pump LED Driver.
0092
0093 endif # LEDS_CLASS_FLASH