Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cb3642a authored by Mark Brown's avatar Mark Brown Committed by Samuel Ortiz
Browse files

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: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 65ee362c
Loading
Loading
Loading
Loading
+7 −9
Original line number Original line Diff line number Diff line
@@ -623,7 +623,7 @@ config MFD_MC13783
	tristate
	tristate


config MFD_MC13XXX
config MFD_MC13XXX
	tristate "Support Freescale MC13783 and MC13892"
	tristate
	depends on SPI_MASTER || I2C
	depends on SPI_MASTER || I2C
	select MFD_CORE
	select MFD_CORE
	select MFD_MC13783
	select MFD_MC13783
@@ -633,24 +633,22 @@ config MFD_MC13XXX
	  additional drivers must be enabled in order to use the
	  additional drivers must be enabled in order to use the
	  functionality of the device.
	  functionality of the device.


if MFD_MC13XXX

config MFD_MC13XXX_SPI
config MFD_MC13XXX_SPI
	tristate "MC13xxx SPI interface" if SPI_MASTER
	tristate "Freescale MC13783 and MC13892 SPI interface"
	default SPI_MASTER
	depends on SPI_MASTER
	select REGMAP_SPI
	select REGMAP_SPI
	select MFD_MC13XXX
	help
	help
	  Select this if your MC13xxx is connected via an SPI bus.
	  Select this if your MC13xxx is connected via an SPI bus.


config MFD_MC13XXX_I2C
config MFD_MC13XXX_I2C
	tristate "MC13xxx I2C interface" if I2C
	tristate "Freescale MC13892 I2C interface"
	default I2C
	depends on I2C
	select REGMAP_I2C
	select REGMAP_I2C
	select MFD_MC13XXX
	help
	help
	  Select this if your MC13xxx is connected via an I2C bus.
	  Select this if your MC13xxx is connected via an I2C bus.


endif

config ABX500_CORE
config ABX500_CORE
	bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
	bool "ST-Ericsson ABX500 Mixed Signal Circuit register functions"
	default y if ARCH_U300 || ARCH_U8500
	default y if ARCH_U300 || ARCH_U8500