| 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | if LEDS_CLASS_FLASH |
| 4 | |
| 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 | |
| 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 | |
| 23 | config LEDS_KTD2692 |
| 24 | tristate "LED support for Kinetic KTD2692 flash LED controller" |
| 25 | depends on OF |
| 26 | depends on GPIOLIB |
| 27 | select LEDS_EXPRESSWIRE |
| 28 | help |
| 29 | This option enables support for Kinetic KTD2692 LED flash connected |
| 30 | through ExpressWire interface. |
| 31 | |
| 32 | Say Y to enable this driver. |
| 33 | |
| 34 | config LEDS_LM3601X |
| 35 | tristate "LED support for LM3601x Chips" |
| 36 | depends on LEDS_CLASS && I2C |
| 37 | select REGMAP_I2C |
| 38 | help |
| 39 | This option enables support for the TI LM3601x family |
| 40 | of flash, torch and indicator classes. |
| 41 | |
| 42 | config LEDS_MAX77693 |
| 43 | tristate "LED support for MAX77693 Flash" |
| 44 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 45 | depends on MFD_MAX77693 |
| 46 | depends on OF |
| 47 | help |
| 48 | This option enables support for the flash part of the MAX77693 |
| 49 | multifunction device. It has build in control for two leds in flash |
| 50 | and torch mode. |
| 51 | |
| 52 | config LEDS_MT6360 |
| 53 | tristate "LED Support for Mediatek MT6360 PMIC" |
| 54 | depends on LEDS_CLASS && OF |
| 55 | depends on LEDS_CLASS_FLASH |
| 56 | depends on LEDS_CLASS_MULTICOLOR |
| 57 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 58 | depends on MFD_MT6360 |
| 59 | help |
| 60 | This option enables support for dual Flash LED drivers found on |
| 61 | Mediatek MT6360 PMIC. |
| 62 | Independent current sources supply for each flash LED support torch |
| 63 | and strobe mode. |
| 64 | |
| 65 | config LEDS_MT6370_FLASH |
| 66 | tristate "Flash LED Support for MediaTek MT6370 PMIC" |
| 67 | depends on LEDS_CLASS |
| 68 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 69 | depends on MFD_MT6370 |
| 70 | help |
| 71 | Support 2 channels and torch/strobe mode. |
| 72 | Say Y here to enable support for |
| 73 | MT6370_FLASH_LED device. |
| 74 | |
| 75 | This driver can also be built as a module. If so, the module |
| 76 | will be called "leds-mt6370-flash". |
| 77 | |
| 78 | config LEDS_QCOM_FLASH |
| 79 | tristate "LED support for flash module inside Qualcomm PMIC" |
| 80 | depends on MFD_SPMI_PMIC || COMPILE_TEST |
| 81 | depends on LEDS_CLASS && OF |
| 82 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 83 | select REGMAP |
| 84 | help |
| 85 | This option enables support for the flash module found in Qualcomm |
| 86 | Technologies, Inc. PMICs. The flash module can have 3 or 4 flash LED |
| 87 | channels and each channel is programmable to support up to 1.5 A full |
| 88 | scale current. It also supports connecting two channels' output together |
| 89 | 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 and |
| 91 | 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 | |
| 95 | config LEDS_RT4505 |
| 96 | tristate "LED support for RT4505 flashlight controller" |
| 97 | depends on I2C && OF |
| 98 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 99 | select REGMAP_I2C |
| 100 | help |
| 101 | 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 camera |
| 104 | inside the mobile product like as phones or tablets. |
| 105 | |
| 106 | config LEDS_RT8515 |
| 107 | tristate "LED support for Richtek RT8515 flash/torch LED" |
| 108 | depends on GPIOLIB |
| 109 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 110 | help |
| 111 | This option enables support for the Richtek RT8515 flash |
| 112 | and torch LEDs found on some mobile phones. |
| 113 | |
| 114 | To compile this driver as a module, choose M here: the module |
| 115 | will be called leds-rt8515. |
| 116 | |
| 117 | config LEDS_S2M_FLASH |
| 118 | tristate "Samsung S2M series PMICs flash/torch LED support" |
| 119 | depends on LEDS_CLASS |
| 120 | depends on MFD_SEC_CORE |
| 121 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 122 | help |
| 123 | This option enables support for the flash/torch LEDs found in certain |
| 124 | Samsung S2M series PMICs, such as the S2MU005. It has a LED channel |
| 125 | dedicated for every physical LED. The LEDs can be controlled in flash |
| 126 | and torch modes. |
| 127 | |
| 128 | config LEDS_SGM3140 |
| 129 | tristate "LED support for the SGM3140" |
| 130 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 131 | help |
| 132 | This option enables support for the SGM3140 500mA Buck/Boost Charge |
| 133 | Pump LED Driver. |
| 134 | |
| 135 | config LEDS_SY7802 |
| 136 | tristate "LED support for the Silergy SY7802" |
| 137 | depends on I2C && OF |
| 138 | depends on GPIOLIB |
| 139 | select REGMAP_I2C |
| 140 | help |
| 141 | This option enables support for the SY7802 flash LED controller. |
| 142 | SY7802 includes torch and flash functions with programmable current. |
| 143 | |
| 144 | This driver can be built as a module, it will be called "leds-sy7802". |
| 145 | |
| 146 | config LEDS_TPS6131X |
| 147 | tristate "LED support for TI TPS6131x flash LED driver" |
| 148 | depends on I2C && OF |
| 149 | depends on GPIOLIB |
| 150 | depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS |
| 151 | select REGMAP_I2C |
| 152 | help |
| 153 | This option enables support for Texas Instruments TPS61310/TPS61311 |
| 154 | flash LED driver. |
| 155 | |
| 156 | This driver can be built as a module, it will be called "leds-tps6131x". |
| 157 | |
| 158 | endif # LEDS_CLASS_FLASH |