summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/Kconfig
diff options
context:
space:
mode:
authorMarc Reilly <marc@cpdesign.com.au>2012-04-01 16:41:39 +1000
committerSamuel Ortiz <sameo@linux.intel.com>2012-05-01 12:35:41 +0200
commitdf3df6469fd1e59284d6b5d4dd9dbe1bd7861040 (patch)
tree1864a53128e4ec8488118d49171ae6818442b963 /drivers/mfd/Kconfig
parenta0c7c1d48ea9f53c67c79eda498bb8eda1422748 (diff)
mfd: Add mc13xxx i2c driver
Adds support for mc13xxx family ICs connected via i2c. Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Acked-by: Oskar Schirmer <oskar@scara.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/Kconfig')
-rw-r--r--drivers/mfd/Kconfig9
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index 9c8294c26ef..ef86a741b7e 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -597,7 +597,7 @@ config MFD_MC13783
config MFD_MC13XXX
tristate "Support Freescale MC13783 and MC13892"
- depends on SPI_MASTER
+ depends on SPI_MASTER || I2C
select MFD_CORE
select MFD_MC13783
help
@@ -615,6 +615,13 @@ config MFD_MC13XXX_SPI
help
Select this if your MC13xxx is connected via an SPI bus.
+config MFD_MC13XXX_I2C
+ tristate "MC13xxx I2C interface" if I2C
+ default I2C
+ select REGMAP_I2C
+ help
+ Select this if your MC13xxx is connected via an I2C bus.
+
endif
config ABX500_CORE