Skip to contentSkip to conversation

mfd: Add support for TPS65090

PATCH Applied Venu Byravarasu 2 participants 5 messages Mar 16, 2012 – Mar 21, 2012 Multifunction devices (MFD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfd: Add support for TPS65090

From: Venu Byravarasu <[email protected]>

Change-to:
1. Read/write APIs for TPS65090 PMIC
2. Support for interrupt handling

---
Add support for TI TPS65090 PMIC device.

With this patch, below features are added:
1. Generic read / write APIs using regmap.
2. Generic interrupt handling.

 drivers/mfd/Kconfig          |   12 ++
 drivers/mfd/Makefile         |    1 +
 drivers/mfd/tps65090.c       |  387 ++++++++++++++++++++++++++++++++++++++++++
 include/linux/mfd/tps65090.h |   46 +++++
 4 files changed, 446 insertions(+), 0 deletions(-)
 create mode 100644 drivers/mfd/tps65090.c
 create mode 100644 include/linux/mfd/tps65090.h
drivers/mfd/Kconfig +12 -0
index f1391c2..641f4eb 100644
@@ -753,6 +753,18 @@ config MFD_PM8XXX_IRQ
 config TPS65911_COMPARATOR
 	tristate
 
+config MFD_TPS65090
+	bool "TPS65090 Power Management chips"
+	depends on I2C=y && GENERIC_HARDIRQS
+	select MFD_CORE
+	select REGMAP_I2C
+	help
+	  If you say yes here you get support for the TPS65090 series of
+	  Power Management chips.
+	  This driver provides common support for accessing the device,
+	  additional drivers must be enabled in order to use the
+	  functionality of the device.
+
 config MFD_AAT2870_CORE
 	bool "Support for the AnalogicTech AAT2870"
 	select MFD_CORE
drivers/mfd/Makefile +1 -0
index b2292eb..5cb79ec 100644
@@ -102,5 +102,6 @@ obj-$(CONFIG_MFD_OMAP_USB_HOST)	+= omap-usb-host.o
 obj-$(CONFIG_MFD_PM8921_CORE) 	+= pm8921-core.o
 obj-$(CONFIG_MFD_PM8XXX_IRQ) 	+= pm8xxx-irq.o
 obj-$(CONFIG_TPS65911_COMPARATOR)	+= tps65911-comparator.o
+obj-$(CONFIG_MFD_TPS65090)	+= tps65090.o
 obj-$(CONFIG_MFD_AAT2870_CORE)	+= aat2870-core.o
 obj-$(CONFIG_MFD_INTEL_MSIC)	+= intel_msic.o
drivers/mfd/tps65090.c new file +387 -0

387 lines not on this page · raw message

include/linux/mfd/tps65090.h new file +46 -0

46 lines not on this page · raw message

Signature · 1 line
1.7.1.1
#1 lore raw

Hi Venu,

Quoted 5 lines · Venu Byravarasu

From: Venu Byravarasu <[email protected]>

Change-to:
1. Read/write APIs for TPS65090 PMIC
2. Support for interrupt handling

The patch looks good. Could you please provide me with a better description for this device (sub devices, etc...) ?

Cheers,
Samuel.

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

Hi Samuel,

Thanks for your prompt reply.

Quoted 2 lines

The patch looks good. Could you please provide me with a better description for this device (sub devices, etc...) ?

TPS65090 is a PMIC offered by TI. It contains:
a. 3 Step-Down Converters:
b. 2 Always On LDO's
c. 7 Current Limited Load Switches

With this patch adding basic PMIC functionality along with interrupt controller support. Once this patch gets merged, will add regulator driver for this device.

Thanks,
Venu

Applied
#3 lore raw

Hi Venu,

Quoted 7 lines · Venu Byravarasu

Hi Samuel,

Thanks for your prompt reply.

Quoted 2 lines

The patch looks good. Could you please provide me with a better description for this device (sub devices, etc...) ?

Quoted 7 lines

TPS65090 is a PMIC offered by TI. It contains:
a. 3 Step-Down Converters:
b. 2 Always On LDO's
c. 7 Current Limited Load Switches

With this patch adding basic PMIC functionality along with interrupt controller support. Once this patch gets merged, will add regulator driver for this device.

Applied, thanks.

Cheers,
Samuel.

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

Thanks Samuel.

Quoted 33 lines

-----Original Message-----
From: Samuel Ortiz [mailto:[email protected]]
Sent: Tuesday, March 20, 2012 9:27 PM
To: Venu Byravarasu
Cc: [email protected]
Subject: Re: [PATCH] mfd: Add support for TPS65090

Hi Venu,

Quoted 7 lines · Venu Byravarasu

Hi Samuel,

Thanks for your prompt reply.

Quoted 2 lines

The patch looks good. Could you please provide me with a better description for this device (sub devices, etc...) ?

Quoted 6 lines

TPS65090 is a PMIC offered by TI. It contains:
a. 3 Step-Down Converters:
b. 2 Always On LDO's
c. 7 Current Limited Load Switches

With this patch adding basic PMIC functionality along with interrupt controller

support.

Quoted 1 line

Once this patch gets merged, will add regulator driver for this device.

Applied, thanks.

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/