1# SPDX-License-Identifier: GPL-2.0 2 3if LEDS_CLASS_FLASH 4 5config LEDS_RT8515 6 tristate "LED support for Richtek RT8515 flash/torch LED" 7 depends on GPIOLIB 8 depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS 9 help 10 This option enables support for the Richtek RT8515 flash 11 and torch LEDs found on some mobile phones. 12 13 To compile this driver as a module, choose M here: the module 14 will be called leds-rt8515. 15 16endif # LEDS_CLASS_FLASH 17