Skip to contentSkip to conversation

led: enable led in 88pm860x

PATCH New Haojian Zhuang 1 participant 1 message Nov 10, 2009 LED

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 led: enable led in 88pm860x

Enable led sub device in Marvell 88PM860x.

---
 drivers/leds/Kconfig         |    7 +
 drivers/leds/Makefile        |    1 +
 drivers/leds/leds-88pm860x.c |  358 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 366 insertions(+), 0 deletions(-)
 create mode 100644 drivers/leds/leds-88pm860x.c
drivers/leds/Kconfig +7 -0
index e4f599f..6dbb85a 100644
@@ -236,6 +236,13 @@ config LEDS_BD2802
 	  This option enables support for BD2802GU RGB LED driver chips
 	  accessed via the I2C bus.
 
+config LEDS_88PM860X
+	bool "LED Support for Marvell 88PM860x PMIC"
+	depends on LEDS_CLASS && MFD_88PM860X
+	help
+	  This option enables support for on-chip LED drivers found on Marvell
+	  Semiconductor 88PM8606 PMIC.
+
 comment "LED Triggers"
 
 config LEDS_TRIGGERS
drivers/leds/Makefile +1 -0
index 46d7270..361ae38 100644
@@ -29,6 +29,7 @@ obj-$(CONFIG_LEDS_DA903X)		+= leds-da903x.o
 obj-$(CONFIG_LEDS_WM831X_STATUS)	+= leds-wm831x-status.o
 obj-$(CONFIG_LEDS_WM8350)		+= leds-wm8350.o
 obj-$(CONFIG_LEDS_PWM)			+= leds-pwm.o
+obj-$(CONFIG_LEDS_88PM860X)		+= leds-88pm860x.o
 
 # LED SPI Drivers
 obj-$(CONFIG_LEDS_DAC124S085)		+= leds-dac124s085.o
drivers/leds/leds-88pm860x.c new file +358 -0

358 lines not on this page · raw message

Signature · 1 line
1.5.6.5