1e1c6edcbSLinus Walleij# SPDX-License-Identifier: GPL-2.0 2e1c6edcbSLinus Walleij 3e1c6edcbSLinus Walleijif LEDS_CLASS_FLASH 4e1c6edcbSLinus Walleij 5293fee7fSLinus Walleijconfig LEDS_AAT1290 6293fee7fSLinus Walleij tristate "LED support for the AAT1290" 7293fee7fSLinus Walleij depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 8293fee7fSLinus Walleij depends on GPIOLIB || COMPILE_TEST 9293fee7fSLinus Walleij depends on OF 10293fee7fSLinus Walleij depends on PINCTRL 11293fee7fSLinus Walleij help 12293fee7fSLinus Walleij This option enables support for the LEDs on the AAT1290. 13293fee7fSLinus Walleij 14f5d69f62SLinus Walleijconfig LEDS_AS3645A 15f5d69f62SLinus Walleij tristate "AS3645A and LM3555 LED flash controllers support" 16f5d69f62SLinus Walleij depends on I2C 17f5d69f62SLinus Walleij depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 18f5d69f62SLinus Walleij help 19f5d69f62SLinus Walleij Enable LED flash class support for AS3645A LED flash 20f5d69f62SLinus Walleij controller. V4L2 flash API is provided as well if 21f5d69f62SLinus Walleij CONFIG_V4L2_FLASH_API is enabled. 22f5d69f62SLinus Walleij 2351f3b2c3SLinus Walleijconfig LEDS_KTD2692 2451f3b2c3SLinus Walleij tristate "LED support for Kinetic KTD2692 flash LED controller" 2551f3b2c3SLinus Walleij depends on OF 26d48ece99SArnd Bergmann depends on GPIOLIB 27b5a8c50eSDuje Mihanović select LEDS_EXPRESSWIRE 2851f3b2c3SLinus Walleij help 2951f3b2c3SLinus Walleij This option enables support for Kinetic KTD2692 LED flash connected 3051f3b2c3SLinus Walleij through ExpressWire interface. 3151f3b2c3SLinus Walleij 3251f3b2c3SLinus Walleij Say Y to enable this driver. 3351f3b2c3SLinus Walleij 3461fa67a4SLinus Walleijconfig LEDS_LM3601X 3561fa67a4SLinus Walleij tristate "LED support for LM3601x Chips" 3661fa67a4SLinus Walleij depends on LEDS_CLASS && I2C 3761fa67a4SLinus Walleij select REGMAP_I2C 3861fa67a4SLinus Walleij help 3961fa67a4SLinus Walleij This option enables support for the TI LM3601x family 4061fa67a4SLinus Walleij of flash, torch and indicator classes. 4161fa67a4SLinus Walleij 42eb5a4422SLinus Walleijconfig LEDS_MAX77693 43eb5a4422SLinus Walleij tristate "LED support for MAX77693 Flash" 44eb5a4422SLinus Walleij depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 45eb5a4422SLinus Walleij depends on MFD_MAX77693 46eb5a4422SLinus Walleij depends on OF 47eb5a4422SLinus Walleij help 48eb5a4422SLinus Walleij This option enables support for the flash part of the MAX77693 49eb5a4422SLinus Walleij multifunction device. It has build in control for two leds in flash 50eb5a4422SLinus Walleij and torch mode. 51eb5a4422SLinus Walleij 52679f8652SGene Chenconfig LEDS_MT6360 53679f8652SGene Chen tristate "LED Support for Mediatek MT6360 PMIC" 54679f8652SGene Chen depends on LEDS_CLASS && OF 5509e3f324SArnd Bergmann depends on LEDS_CLASS_FLASH 5609e3f324SArnd Bergmann depends on LEDS_CLASS_MULTICOLOR 57679f8652SGene Chen depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 58679f8652SGene Chen depends on MFD_MT6360 59679f8652SGene Chen help 60679f8652SGene Chen This option enables support for dual Flash LED drivers found on 61679f8652SGene Chen Mediatek MT6360 PMIC. 62679f8652SGene Chen Independent current sources supply for each flash LED support torch 63679f8652SGene Chen and strobe mode. 64679f8652SGene Chen 65fa31e422SChiYuan Huangconfig LEDS_MT6370_FLASH 66fa31e422SChiYuan Huang tristate "Flash LED Support for MediaTek MT6370 PMIC" 67fa31e422SChiYuan Huang depends on LEDS_CLASS 68fa31e422SChiYuan Huang depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 69fa31e422SChiYuan Huang depends on MFD_MT6370 70fa31e422SChiYuan Huang help 71fa31e422SChiYuan Huang Support 2 channels and torch/strobe mode. 72fa31e422SChiYuan Huang Say Y here to enable support for 73fa31e422SChiYuan Huang MT6370_FLASH_LED device. 74fa31e422SChiYuan Huang 75fa31e422SChiYuan Huang This driver can also be built as a module. If so, the module 76fa31e422SChiYuan Huang will be called "leds-mt6370-flash". 77fa31e422SChiYuan Huang 7896a2e242SFenglin Wuconfig LEDS_QCOM_FLASH 7996a2e242SFenglin Wu tristate "LED support for flash module inside Qualcomm Technologies, Inc. PMIC" 8096a2e242SFenglin Wu depends on MFD_SPMI_PMIC || COMPILE_TEST 8196a2e242SFenglin Wu depends on LEDS_CLASS && OF 8296a2e242SFenglin Wu depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 8396a2e242SFenglin Wu select REGMAP 8496a2e242SFenglin Wu help 8596a2e242SFenglin Wu This option enables support for the flash module found in Qualcomm 8696a2e242SFenglin Wu Technologies, Inc. PMICs. The flash module can have 3 or 4 flash LED 8796a2e242SFenglin Wu channels and each channel is programmable to support up to 1.5 A full 8896a2e242SFenglin Wu scale current. It also supports connecting two channels' output together 8996a2e242SFenglin Wu to supply one LED component to achieve current up to 2 A. In such case, 9096a2e242SFenglin Wu the total LED current will be split symmetrically on each channel and 9196a2e242SFenglin Wu they will be enabled/disabled at the same time. 9296a2e242SFenglin Wu 9305a57605SFenglin Wu This driver can be built as a module, it will be called "leds-qcom-flash". 9405a57605SFenglin Wu 95d9dfac54SChiYuan Huangconfig LEDS_RT4505 96d9dfac54SChiYuan Huang tristate "LED support for RT4505 flashlight controller" 97d9dfac54SChiYuan Huang depends on I2C && OF 98d9dfac54SChiYuan Huang depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 99d9dfac54SChiYuan Huang select REGMAP_I2C 100d9dfac54SChiYuan Huang help 101d9dfac54SChiYuan Huang This option enables support for the RT4505 flash LED controller. 102d9dfac54SChiYuan Huang RT4505 includes torch and flash functions with programmable current. 103d9dfac54SChiYuan Huang And it's commonly used to compensate the illuminance for the camera 104d9dfac54SChiYuan Huang inside the mobile product like as phones or tablets. 105d9dfac54SChiYuan Huang 106e1c6edcbSLinus Walleijconfig LEDS_RT8515 107e1c6edcbSLinus Walleij tristate "LED support for Richtek RT8515 flash/torch LED" 108e1c6edcbSLinus Walleij depends on GPIOLIB 109dbeb02a0SArnd Bergmann depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 110e1c6edcbSLinus Walleij help 111e1c6edcbSLinus Walleij This option enables support for the Richtek RT8515 flash 112e1c6edcbSLinus Walleij and torch LEDs found on some mobile phones. 113e1c6edcbSLinus Walleij 114e1c6edcbSLinus Walleij To compile this driver as a module, choose M here: the module 115e1c6edcbSLinus Walleij will be called leds-rt8515. 116e1c6edcbSLinus Walleij 1179a7c066fSLinus Walleijconfig LEDS_SGM3140 1189a7c066fSLinus Walleij tristate "LED support for the SGM3140" 1199a7c066fSLinus Walleij depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 1209a7c066fSLinus Walleij help 1219a7c066fSLinus Walleij This option enables support for the SGM3140 500mA Buck/Boost Charge 1229a7c066fSLinus Walleij Pump LED Driver. 1239a7c066fSLinus Walleij 124*c581f17aSAndré Apitzschconfig LEDS_SY7802 125*c581f17aSAndré Apitzsch tristate "LED support for the Silergy SY7802" 126*c581f17aSAndré Apitzsch depends on I2C && OF 127*c581f17aSAndré Apitzsch depends on GPIOLIB 128*c581f17aSAndré Apitzsch select REGMAP_I2C 129*c581f17aSAndré Apitzsch help 130*c581f17aSAndré Apitzsch This option enables support for the SY7802 flash LED controller. 131*c581f17aSAndré Apitzsch SY7802 includes torch and flash functions with programmable current. 132*c581f17aSAndré Apitzsch 133*c581f17aSAndré Apitzsch This driver can be built as a module, it will be called "leds-sy7802". 134*c581f17aSAndré Apitzsch 135e1c6edcbSLinus Walleijendif # LEDS_CLASS_FLASH 136