136 lines · plain
1# SPDX-License-Identifier: GPL-2.02 3if LEDS_CLASS_FLASH4 5config LEDS_AAT12906 tristate "LED support for the AAT1290"7 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS8 depends on GPIOLIB || COMPILE_TEST9 depends on OF10 depends on PINCTRL11 help12 This option enables support for the LEDs on the AAT1290.13 14config LEDS_AS3645A15 tristate "AS3645A and LM3555 LED flash controllers support"16 depends on I2C17 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS18 help19 Enable LED flash class support for AS3645A LED flash20 controller. V4L2 flash API is provided as well if21 CONFIG_V4L2_FLASH_API is enabled.22 23config LEDS_KTD269224 tristate "LED support for Kinetic KTD2692 flash LED controller"25 depends on OF26 depends on GPIOLIB27 select LEDS_EXPRESSWIRE28 help29 This option enables support for Kinetic KTD2692 LED flash connected30 through ExpressWire interface.31 32 Say Y to enable this driver.33 34config LEDS_LM3601X35 tristate "LED support for LM3601x Chips"36 depends on LEDS_CLASS && I2C37 select REGMAP_I2C38 help39 This option enables support for the TI LM3601x family40 of flash, torch and indicator classes.41 42config LEDS_MAX7769343 tristate "LED support for MAX77693 Flash"44 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS45 depends on MFD_MAX7769346 depends on OF47 help48 This option enables support for the flash part of the MAX7769349 multifunction device. It has build in control for two leds in flash50 and torch mode.51 52config LEDS_MT636053 tristate "LED Support for Mediatek MT6360 PMIC"54 depends on LEDS_CLASS && OF55 depends on LEDS_CLASS_FLASH56 depends on LEDS_CLASS_MULTICOLOR57 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS58 depends on MFD_MT636059 help60 This option enables support for dual Flash LED drivers found on61 Mediatek MT6360 PMIC.62 Independent current sources supply for each flash LED support torch63 and strobe mode.64 65config LEDS_MT6370_FLASH66 tristate "Flash LED Support for MediaTek MT6370 PMIC"67 depends on LEDS_CLASS68 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS69 depends on MFD_MT637070 help71 Support 2 channels and torch/strobe mode.72 Say Y here to enable support for73 MT6370_FLASH_LED device.74 75 This driver can also be built as a module. If so, the module76 will be called "leds-mt6370-flash".77 78config LEDS_QCOM_FLASH79 tristate "LED support for flash module inside Qualcomm Technologies, Inc. PMIC"80 depends on MFD_SPMI_PMIC || COMPILE_TEST81 depends on LEDS_CLASS && OF82 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS83 select REGMAP84 help85 This option enables support for the flash module found in Qualcomm86 Technologies, Inc. PMICs. The flash module can have 3 or 4 flash LED87 channels and each channel is programmable to support up to 1.5 A full88 scale current. It also supports connecting two channels' output together89 to supply one LED component to achieve current up to 2 A. In such case,90 the total LED current will be split symmetrically on each channel and91 they will be enabled/disabled at the same time.92 93 This driver can be built as a module, it will be called "leds-qcom-flash".94 95config LEDS_RT450596 tristate "LED support for RT4505 flashlight controller"97 depends on I2C && OF98 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS99 select REGMAP_I2C100 help101 This option enables support for the RT4505 flash LED controller.102 RT4505 includes torch and flash functions with programmable current.103 And it's commonly used to compensate the illuminance for the camera104 inside the mobile product like as phones or tablets.105 106config LEDS_RT8515107 tristate "LED support for Richtek RT8515 flash/torch LED"108 depends on GPIOLIB109 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS110 help111 This option enables support for the Richtek RT8515 flash112 and torch LEDs found on some mobile phones.113 114 To compile this driver as a module, choose M here: the module115 will be called leds-rt8515.116 117config LEDS_SGM3140118 tristate "LED support for the SGM3140"119 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS120 help121 This option enables support for the SGM3140 500mA Buck/Boost Charge122 Pump LED Driver.123 124config LEDS_SY7802125 tristate "LED support for the Silergy SY7802"126 depends on I2C && OF127 depends on GPIOLIB128 select REGMAP_I2C129 help130 This option enables support for the SY7802 flash LED controller.131 SY7802 includes torch and flash functions with programmable current.132 133 This driver can be built as a module, it will be called "leds-sy7802".134 135endif # LEDS_CLASS_FLASH136