Skip to contentSkip to conversation

MFD: TPS65217: Add new mfd device for TPS65217

PATCH In review AnilKumar Ch 2 participants 2 messages Jan 11, 2012 – Feb 20, 2012

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

PATCH v4 1/2 MFD: TPS65217: Add new mfd device for TPS65217

The TPS65217 chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components:

- Regulators
- White LED
- USB battery charger

This patch adds support for tps65217 mfd device. At this time only the regulator functionality is made available.

---
 drivers/mfd/Kconfig          |   15 +++
 drivers/mfd/Makefile         |    1 +
 drivers/mfd/tps65217.c       |  242 ++++++++++++++++++++++++++++++++++++
 include/linux/mfd/tps65217.h |  283 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 541 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mfd/tps65217.c
 create mode 100644 include/linux/mfd/tps65217.h
drivers/mfd/Kconfig +15 -0
index f1391c2..d2c55e8 100644
@@ -142,6 +142,21 @@ config TPS6507X
 	  This driver can also be built as a module.  If so, the module
 	  will be called tps6507x.
 
+config MFD_TPS65217
+	tristate "TPS65217 Power Management / White LED chips"
+	depends on I2C
+	select MFD_CORE
+	select REGMAP_I2C
+	help
+	  If you say yes here you get support for the TPS65217 series of
+	  Power Management / White LED chips.
+	  These include voltage regulators, lithium ion/polymer battery
+	  charger, wled and other features that are often used in portable
+	  devices.
+
+	  This driver can also be built as a module.  If so, the module
+	  will be called tps65217.
+
 config MFD_TPS6586X
 	bool "TPS6586x Power Management chips"
 	depends on I2C=y && GPIOLIB && GENERIC_HARDIRQS
drivers/mfd/Makefile +1 -0
index b2292eb..7a6d111 100644
@@ -36,6 +36,7 @@ obj-$(CONFIG_MFD_WM8994)	+= wm8994-core.o wm8994-irq.o
 obj-$(CONFIG_TPS6105X)		+= tps6105x.o
 obj-$(CONFIG_TPS65010)		+= tps65010.o
 obj-$(CONFIG_TPS6507X)		+= tps6507x.o
+obj-$(CONFIG_MFD_TPS65217)	+= tps65217.o
 obj-$(CONFIG_MFD_TPS65910)	+= tps65910.o tps65910-irq.o
 tps65912-objs                   := tps65912-core.o tps65912-irq.o
 obj-$(CONFIG_MFD_TPS65912)	+= tps65912.o
drivers/mfd/tps65217.c new file +242 -0

242 lines not on this page · raw message

include/linux/mfd/tps65217.h new file +283 -0

283 lines not on this page · raw message

Signature · 1 line
1.7.0.4
#1 lore raw

Hi Anilkumar,

Quoted 9 lines · AnilKumar Ch

The TPS65217 chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components:

- Regulators
- White LED
- USB battery charger

This patch adds support for tps65217 mfd device. At this time only the regulator functionality is made available.

Patch applied, thanks.

Cheers,
Samuel.

Signature · 2 lines
Intel Open Source Technology Centre
http://oss.intel.com/