2021-01-03 07:15:10 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
|
|
|
if LEDS_CLASS_FLASH
|
|
|
|
|
2021-05-29 04:23:59 +08:00
|
|
|
config LEDS_AAT1290
|
|
|
|
tristate "LED support for the AAT1290"
|
|
|
|
depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
|
|
|
|
depends on GPIOLIB || COMPILE_TEST
|
|
|
|
depends on OF
|
|
|
|
depends on PINCTRL
|
|
|
|
help
|
|
|
|
This option enables support for the LEDs on the AAT1290.
|
|
|
|
|
2021-05-29 04:24:00 +08:00
|
|
|
config LEDS_AS3645A
|
|
|
|
tristate "AS3645A and LM3555 LED flash controllers support"
|
|
|
|
depends on I2C
|
|
|
|
depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
|
|
|
|
help
|
|
|
|
Enable LED flash class support for AS3645A LED flash
|
|
|
|
controller. V4L2 flash API is provided as well if
|
|
|
|
CONFIG_V4L2_FLASH_API is enabled.
|
|
|
|
|
2021-03-26 14:13:08 +08:00
|
|
|
config LEDS_RT4505
|
|
|
|
tristate "LED support for RT4505 flashlight controller"
|
|
|
|
depends on I2C && OF
|
|
|
|
depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
|
|
|
|
select REGMAP_I2C
|
|
|
|
help
|
|
|
|
This option enables support for the RT4505 flash LED controller.
|
|
|
|
RT4505 includes torch and flash functions with programmable current.
|
|
|
|
And it's commonly used to compensate the illuminance for the camera
|
|
|
|
inside the mobile product like as phones or tablets.
|
|
|
|
|
2021-01-03 07:15:10 +08:00
|
|
|
config LEDS_RT8515
|
|
|
|
tristate "LED support for Richtek RT8515 flash/torch LED"
|
|
|
|
depends on GPIOLIB
|
2021-02-04 23:39:44 +08:00
|
|
|
depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
|
2021-01-03 07:15:10 +08:00
|
|
|
help
|
|
|
|
This option enables support for the Richtek RT8515 flash
|
|
|
|
and torch LEDs found on some mobile phones.
|
|
|
|
|
|
|
|
To compile this driver as a module, choose M here: the module
|
|
|
|
will be called leds-rt8515.
|
|
|
|
|
|
|
|
endif # LEDS_CLASS_FLASH
|