mfd: Add support for TPS65090
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
@@ -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
@@ -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
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/
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
Samuel Ortiz
AppliedHi 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 SwitchesWith 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/
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 TPS65090Hi 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 SwitchesWith 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/