diff options
author | Marc Reilly <marc@cpdesign.com.au> | 2012-04-01 16:41:37 +1000 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-05-01 12:35:40 +0200 |
commit | 91b5e741184ea9836cd7d7509e4f9b6eefa27df2 (patch) | |
tree | c79a1dc342b2e8fcb05d02db03f165296eac02b8 /drivers/mfd/Kconfig | |
parent | 5006fe546a4eb0393782b818d4e0e2a6b4fa3803 (diff) | |
download | talos-obmc-linux-91b5e741184ea9836cd7d7509e4f9b6eefa27df2.tar.gz talos-obmc-linux-91b5e741184ea9836cd7d7509e4f9b6eefa27df2.zip |
mfd: Use regmap for the mc13xxx-core register access
This change converts the mc13xxx core to use regmap rather than direct
spi r/w.
The spidev member of mc13xxx struct becomes redundant and is removed.
Extra debugging aids are added to mc13xxx_reg_rmw.
Mutex init is moved to before regmap init.
Signed-off-by: Marc Reilly <marc@cpdesign.com.au>
Reviewed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r-- | drivers/mfd/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index c6edba69678a..411a61a99404 100644 --- a/drivers/mfd/Kconfig +++ b/drivers/mfd/Kconfig @@ -600,6 +600,7 @@ config MFD_MC13XXX depends on SPI_MASTER select MFD_CORE select MFD_MC13783 + select REGMAP_SPI help Support for the Freescale (Atlas) PMIC and audio CODECs MC13783 and MC13892. |