[PATCH 0/4]-V2 TPS6507x MFD driver

Previous thread: [PATCH 2/5] Make room for other tps6507x drivers to have board specific initialization data. by Todd Fischer on Friday, March 26, 2010 - 1:11 pm. (2 messages)

Next thread: [PATCH] Protect prefetch macro arguments. by David Daney on Friday, March 26, 2010 - 1:44 pm. (4 messages)
From: Todd Fischer
Date: Friday, March 26, 2010 - 1:11 pm

The TPS6507x family of Texas Instruments power management ICs (pmic) 
are multi-function chips that include voltage regulation and touch 
screen controller capabilities.  This patch set adds a TPS6507x 
multi-function device driver and change the TPS6507x regulator driver 
to use the TPS6507x MFD driver instead of interacting with the chip 
directly.  The changes are needed before a touch screen driver can be 
added.

The patch set applies cleanly to the MFD repository: 
git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6.git  
If the MFD and voltage regulator maintainer would prefer I post 
patches for a different repository, please let me know.

The TPS6507x touch screen input driver will be posted to 
linux-input@vger.kernel.org list.
--

From: Todd Fischer
Date: Friday, March 26, 2010 - 1:11 pm

Other sub-drivers for the TPS6507x chip will need to use register 
definition so move it out of the source file and into a header file.


Signed-off-by: Todd Fischer <todd.fischer@ridgerun.com>
---
 drivers/regulator/Kconfig              |    1 +
 drivers/regulator/tps6507x-regulator.c |   60 +--------------
 include/linux/mfd/tps6507x.h           |  134 ++++++++++++++++++++++++++++++++
 3 files changed, 136 insertions(+), 59 deletions(-)
 create mode 100644 include/linux/mfd/tps6507x.h

diff --git a/drivers/regulator/Kconfig b/drivers/regulator/Kconfig
index 04f2e08..f090829 100644
--- a/drivers/regulator/Kconfig
+++ b/drivers/regulator/Kconfig
@@ -190,6 +190,7 @@ config REGULATOR_TPS65023
 config REGULATOR_TPS6507X
 	tristate "TI TPS6507X Power regulators"
 	depends on I2C
+	depends on CPU_FREQ
 	help
 	  This driver supports TPS6507X voltage regulator chips. TPS6507X provides
 	  three step-down converters and two general-purpose LDO voltage regulators.
diff --git a/drivers/regulator/tps6507x-regulator.c b/drivers/regulator/tps6507x-regulator.c
index c2a9539..91172e3 100644
--- a/drivers/regulator/tps6507x-regulator.c
+++ b/drivers/regulator/tps6507x-regulator.c
@@ -24,65 +24,7 @@
 #include <linux/regulator/machine.h>
 #include <linux/i2c.h>
 #include <linux/delay.h>
-
-/* Register definitions ...
From: Mark Brown
Date: Monday, March 29, 2010 - 5:50 am

...doesn't match up with this change (which seems bogus anyway).  The
register move itself seems fine.
--

From: Samuel Ortiz
Date: Friday, April 2, 2010 - 6:35 am

Hi Todd,

Mark's review is fairly complete. Please address his concerns, and I'll merge
this patchset.

Cheers,

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

From: Todd Fischer
Date: Friday, April 2, 2010 - 2:33 pm

This is the second posting of the TPS6507x driver set.  I have
incorporated Mark Brown's feedback and retested.  Patches 3 and
5 have been combined so there are only 4 patches in the series now.

The TPS6507x family of Texas Instruments power management ICs (pmic) are
multi-function chips that include voltage regulation and touch screen
controller capabilities.  This patch set adds a TPS6507x multi-function
device driver and change the TPS6507x regulator driver to use the
TPS6507x MFD driver instead of interacting with the chip directly.  The
changes are needed before a touch screen driver can be added.

The patch set applies cleanly to the MFD repository:
git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-2.6.git  If the
MFD and voltage regulator maintainer would prefer I post patches for a
different repository, please let me know.

The TPS6507x touch screen input driver will be posted to
linux-input@vger.kernel.org list.

--

Previous thread: [PATCH 2/5] Make room for other tps6507x drivers to have board specific initialization data. by Todd Fischer on Friday, March 26, 2010 - 1:11 pm. (2 messages)

Next thread: [PATCH] Protect prefetch macro arguments. by David Daney on Friday, March 26, 2010 - 1:44 pm. (4 messages)