aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-05-18 07:01:19 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-05-20 11:27:09 -0400
commit1cb3642a68c983ada0f4090a4dac1d70a96126ca (patch)
tree22f7e7f115bb02b79da7cc830eb78c05fd7176b4 /drivers/mfd
parent65ee362cb2c13bd164ade0eda66919a2e16d8a89 (diff)
mfd: mc13xxx core should not be user visible
Since the core is not usable without one of the bus modules it should not be presented in the UI but should instead be selected by the bus modules. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/Kconfig16
1 files changed, 7 insertions, 9 deletions
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
index b819eea1775a..094bf4eb4d86 100644
--- a/drivers/mfd/Kconfig
+++ b/drivers/mfd/Kconfig
@@ -623,7 +623,7 @@ config MFD_MC13783
623 tristate 623 tristate
624 624
625config MFD_MC13XXX 625config MFD_MC13XXX
626 tristate "Support Freescale MC13783 and MC13892" 626 tristate
627 depends on SPI_MASTER || I2C 627 depends on SPI_MASTER || I2C
628 select MFD_CORE 628 select MFD_CORE
629 select MFD_MC13783 629 select MFD_MC13783
@@ -633,24 +633,22 @@ config MFD_MC13XXX
633 additional drivers must be enabled in order to use the 633 additional drivers must be enabled in order to use the
634 functionality of the device. 634 functionality of the device.
635 635
636if MFD_MC13XXX
637
638config MFD_MC13XXX_SPI 636config MFD_MC13XXX_SPI
639 tristate "MC13xxx SPI interface" if SPI_MASTER 637 tristate "Freescale MC13783 and MC13892 SPI interface"
640 default SPI_MASTER 638 depends on SPI_MASTER
641 select REGMAP_SPI 639 select REGMAP_SPI
640 select MFD_MC13XXX
642 help 641 help
643 Select this if your MC13xxx is connected via an SPI bus. 642 Select this if your MC13xxx is connected via an SPI bus.
644 643
645config MFD_MC13XXX_I2C 644config MFD_MC13XXX_I2C
646 tristate "MC13xxx I2C interface" if I2C 645 tristate "Freescale MC13892 I2C interface"
647 default I2C 646 depends on I2C
648 select REGMAP_I2C 647 select REGMAP_I2C
648 select MFD_MC13XXX
649 help 649 help
650 Select this if your MC13xxx is connected via an I2C bus. 650 Select this if your MC13xxx is connected via an I2C bus.
651 651
652endif
653
654config ABX500_CORE 652config ABX500_CORE
655 bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions" 653 bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
656 default y if ARCH_U300 || ARCH_U8500 654 default y if ARCH_U300 || ARCH_U8500