diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2008-12-04 11:52:33 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-01-08 07:38:58 -0500 |
commit | 0081e8020ebd814a99e45720a10e869a54ee08a6 (patch) | |
tree | 0036c31844ae55ff00b370a4a476768398c29844 /drivers/leds/Kconfig | |
parent | 934cd3f979a1daacbd403398f2c7a8f6720c33aa (diff) |
leds: Add WM8350 LED driver
The voltage and current regulators on the WM8350 AudioPlus PMIC can be
used in concert to provide a power efficient LED driver. This driver
implements support for this within the standard LED class.
Platform initialisation code should configure the LED hardware in the
init callback provided by the WM8350 core driver. The callback should
use wm8350_isink_set_flash(), wm8350_dcdc25_set_mode() and
wm8350_dcdc_set_slot() to configure the operating parameters of the
regulators for their hardware and then then use wm8350_register_led() to
instantiate the LED driver.
This driver was originally written by Liam Girdwood, though it has been
extensively modified since then.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers/leds/Kconfig')
-rw-r--r-- | drivers/leds/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig index 3d0d2625f6ab..a4a1ae214630 100644 --- a/drivers/leds/Kconfig +++ b/drivers/leds/Kconfig | |||
@@ -164,6 +164,13 @@ config LEDS_PCA955X | |||
164 | LED driver chips accessed via the I2C bus. Supported | 164 | LED driver chips accessed via the I2C bus. Supported |
165 | devices include PCA9550, PCA9551, PCA9552, and PCA9553. | 165 | devices include PCA9550, PCA9551, PCA9552, and PCA9553. |
166 | 166 | ||
167 | config LEDS_WM8350 | ||
168 | tristate "LED Support for WM8350 AudioPlus PMIC" | ||
169 | depends on LEDS_CLASS && MFD_WM8350 | ||
170 | help | ||
171 | This option enables support for LEDs driven by the Wolfson | ||
172 | Microelectronics WM8350 AudioPlus PMIC. | ||
173 | |||
167 | config LEDS_DA903X | 174 | config LEDS_DA903X |
168 | tristate "LED Support for DA9030/DA9034 PMIC" | 175 | tristate "LED Support for DA9030/DA9034 PMIC" |
169 | depends on LEDS_CLASS && PMIC_DA903X | 176 | depends on LEDS_CLASS && PMIC_DA903X |