summaryrefslogtreecommitdiff
path: root/drivers/leds/flash/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2021-05-28 22:24:00 +0200
committerPavel Machek <pavel@ucw.cz>2021-07-12 10:30:05 +0200
commitf5d69f6290a37f5579ef24334d5bf8a59bb13ef4 (patch)
tree7687308761d398b55a3642cd8ee95c519f4cd728 /drivers/leds/flash/Kconfig
parent293fee7f607841cc128c3f6df9b464e8abf99fb0 (diff)
downloadlinux-next-f5d69f6290a37f5579ef24334d5bf8a59bb13ef4.tar.gz
linux-next-f5d69f6290a37f5579ef24334d5bf8a59bb13ef4.zip
leds: as3645a: Move driver to flash subdirectory
We created a subdirectory for LED drivers that depend on CONFIG_LEDS_CLASS_FLASH, and this driver does so let's move it there. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/flash/Kconfig')
-rw-r--r--drivers/leds/flash/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/leds/flash/Kconfig b/drivers/leds/flash/Kconfig
index 736153b0bfd6..1126ad3954b6 100644
--- a/drivers/leds/flash/Kconfig
+++ b/drivers/leds/flash/Kconfig
@@ -11,6 +11,15 @@ config LEDS_AAT1290
help
This option enables support for the LEDs on the AAT1290.
+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.
+
config LEDS_RT4505
tristate "LED support for RT4505 flashlight controller"
depends on I2C && OF