xref: /openbmc/linux/drivers/leds/flash/Kconfig (revision dbeb02a0)
1e1c6edcbSLinus Walleij# SPDX-License-Identifier: GPL-2.0
2e1c6edcbSLinus Walleij
3e1c6edcbSLinus Walleijif LEDS_CLASS_FLASH
4e1c6edcbSLinus Walleij
5e1c6edcbSLinus Walleijconfig LEDS_RT8515
6e1c6edcbSLinus Walleij	tristate "LED support for Richtek RT8515 flash/torch LED"
7e1c6edcbSLinus Walleij	depends on GPIOLIB
8*dbeb02a0SArnd Bergmann	depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
9e1c6edcbSLinus Walleij	help
10e1c6edcbSLinus Walleij	  This option enables support for the Richtek RT8515 flash
11e1c6edcbSLinus Walleij	  and torch LEDs found on some mobile phones.
12e1c6edcbSLinus Walleij
13e1c6edcbSLinus Walleij	  To compile this driver as a module, choose M here: the module
14e1c6edcbSLinus Walleij	  will be called leds-rt8515.
15e1c6edcbSLinus Walleij
16e1c6edcbSLinus Walleijendif # LEDS_CLASS_FLASH
17