diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-04-30 03:35:10 -0700 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2015-05-04 11:18:48 -0700 |
commit | a43f6a86ad83a74cff78121322b4197de911eb64 (patch) | |
tree | 19ea2a1ecf71a56cb08e019937591a1128e5a2d1 /drivers/leds/Kconfig | |
parent | 20f56758b04364c3c139edbffde8cfaf0307edee (diff) |
leds: Add support for max77693 mfd flash cell
This patch adds led-flash support to Maxim max77693 chipset.
A device can be exposed to user space through LED subsystem
sysfs interface. Device supports up to two leds which can
work in flash and torch mode. The leds can be triggered
externally or by software.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r-- | drivers/leds/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index a38b17a10bd2..62be033100b6 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig @@ -475,6 +475,16 @@ config LEDS_TLC591XX This option enables support for Texas Instruments TLC59108 and TLC59116 LED controllers. +config LEDS_MAX77693 + tristate "LED support for MAX77693 Flash" + depends on LEDS_CLASS_FLASH + depends on MFD_MAX77693 + depends on OF + help + This option enables support for the flash part of the MAX77693 + multifunction device. It has build in control for two leds in flash + and torch mode. + config LEDS_MAX8997 tristate "LED support for MAX8997 PMIC" depends on LEDS_CLASS && MFD_MAX8997 |