aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorMarc Reilly <marc@cpdesign.com.au>2012-04-01 16:41:38 +1000
committerSamuel Ortiz <sameo@linux.intel.com>2012-05-01 12:35:40 +0200
commita0c7c1d48ea9f53c67c79eda498bb8eda1422748 (patch)
treeb54f9495379ff485bcc63650be9687a69d3e55c4 /drivers/mfd/Kconfig
parentmfd: Use regmap for the mc13xxx-core register access (diff)
downloadlinux-dev-a0c7c1d48ea9f53c67c79eda498bb8eda1422748.tar.xz
linux-dev-a0c7c1d48ea9f53c67c79eda498bb8eda1422748.zip
mfd: Move the mc13xxx-core spi specific code into a separate module
All spi specific code is moved into a new module. The mc13xxx struct moves to a new local include file by necessity. A new config choice selects the SPI bus type support and by default is value of SPI_MASTER to remain compatible with existing configs. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig17
1 files changed, 13 insertions, 4 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 411a61a99404..9c8294c26efb 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -600,14 +600,23 @@ 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.
- This driver provides common support for accessing the device,
+ Enable support for the Freescale MC13783 and MC13892 PMICs.
+ This driver provides common support for accessing the device,
additional drivers must be enabled in order to use the
functionality of the device.
+if MFD_MC13XXX
+
+config MFD_MC13XXX_SPI
+ tristate "MC13xxx SPI interface" if SPI_MASTER
+ default SPI_MASTER
+ select REGMAP_SPI
+ help
+ Select this if your MC13xxx is connected via an SPI bus.
+
+endif
+
config ABX500_CORE
bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
default y if ARCH_U300 || ARCH_U8500