Skip to contentSkip to conversation

LED Support for ADP5520/ADP5501 MFD PMICs

PATCH New Mike Frysinger 1 participant 2 messages Sep 17, 2009 – Oct 8, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 LED Support for ADP5520/ADP5501 MFD PMICs

From: Michael Hennerich <[email protected]>

---
 drivers/leds/Kconfig        |   10 ++
 drivers/leds/Makefile       |    1 +
 drivers/leds/leds-adp5520.c |  222 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 233 insertions(+), 0 deletions(-)
 create mode 100644 drivers/leds/leds-adp5520.c
drivers/leds/Kconfig +10 -0
index 7c8e712..60108ad 100644
@@ -229,6 +229,16 @@ config LEDS_BD2802
 	  This option enables support for BD2802GU RGB LED driver chips
 	  accessed via the I2C bus.
 
+config LEDS_ADP5520
+	tristate "LED Support for ADP5520/ADP5501 PMIC"
+	depends on LEDS_CLASS && PMIC_ADP5520
+	help
+	  This option enables support for on-chip LED drivers found
+	  on Analog Devices ADP5520/ADP5501 PMICs.
+
+	  To compile this driver as a module, choose M here: the module will
+	  be called leds-adp5520.
+
 comment "LED Triggers"
 
 config LEDS_TRIGGERS
drivers/leds/Makefile +1 -0
index e8cdcf7..ef8c54a 100644
@@ -28,6 +28,7 @@ obj-$(CONFIG_LEDS_PCA955X)		+= leds-pca955x.o
 obj-$(CONFIG_LEDS_DA903X)		+= leds-da903x.o
 obj-$(CONFIG_LEDS_WM8350)		+= leds-wm8350.o
 obj-$(CONFIG_LEDS_PWM)			+= leds-pwm.o
+obj-$(CONFIG_LEDS_ADP5520)		+= leds-adp5520.o
 
 # LED SPI Drivers
 obj-$(CONFIG_LEDS_DAC124S085)		+= leds-dac124s085.o
drivers/leds/leds-adp5520.c new file +222 -0

222 lines not on this page · raw message

Signature · 1 line
1.6.5.rc1
#1 lore raw

PATCH v2 1/1 LED Support for ADP5520/ADP5501 MFD PMICs

From: Michael Hennerich <[email protected]>

---
v2
- update define/platform names based on common adp5520 mfd changes

 drivers/leds/Kconfig        |   10 ++
 drivers/leds/Makefile       |    1 +
 drivers/leds/leds-adp5520.c |  230 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 241 insertions(+), 0 deletions(-)
 create mode 100644 drivers/leds/leds-adp5520.c
drivers/leds/Kconfig +10 -0
index e4f599f..33ac8dc 100644
@@ -236,6 +236,16 @@ config LEDS_BD2802
 	  This option enables support for BD2802GU RGB LED driver chips
 	  accessed via the I2C bus.
 
+config LEDS_ADP5520
+	tristate "LED Support for ADP5520/ADP5501 PMIC"
+	depends on LEDS_CLASS && PMIC_ADP5520
+	help
+	  This option enables support for on-chip LED drivers found
+	  on Analog Devices ADP5520/ADP5501 PMICs.
+
+	  To compile this driver as a module, choose M here: the module will
+	  be called leds-adp5520.
+
 comment "LED Triggers"
 
 config LEDS_TRIGGERS
drivers/leds/Makefile +1 -0
index 46d7270..f7e17f4 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_ADP5520)		+= leds-adp5520.o
 
 # LED SPI Drivers
 obj-$(CONFIG_LEDS_DAC124S085)		+= leds-dac124s085.o
drivers/leds/leds-adp5520.c new file +230 -0

230 lines not on this page · raw message

Signature · 1 line
1.6.5.rc2