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

Commit aa72b424 authored by Gilad Avidov's avatar Gilad Avidov Committed by Michael Bohan
Browse files

i2c-msm-v2: Separate the kconfig opt for msm i2c drivers



Allow choosing of only one msm i2c driver at a time.
This is required for i2c controller HW supported by
i2c-msm-v2 but not by i2c-qup.
i2c-msm-v2 driver is given its own dedicated kernel config
option, rather than being bundled-up with the i2c_qup driver.

Change-Id: Ib22db2e920de243b1ad5938b8304f838a01140e0
Signed-off-by: default avatarGilad Avidov <gavidov@codeaurora.org>
parent c755624a
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -512,6 +512,17 @@ config I2C_QUP
	  If you say yes to this option, support will be included for the
	  built-in I2C interface on the MSM family processors.

config I2C_MSM_V2
	tristate "I2C_MSM_V2"
	depends on ARCH_MSM
	help
	  If you say yes to this option, support will be included for the
	  built-in I2C interface and its DMA engine on the MSM family
	  processors.

	  This driver can also be built as a module.  If so, the module
	  will be called i2c-msm-v2.

config I2C_MV64XXX
	tristate "Marvell mv64xxx I2C Controller"
	depends on (MV64X60 || PLAT_ORION)
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ obj-$(CONFIG_I2C_INTEL_MID) += i2c-intel-mid.o
obj-$(CONFIG_I2C_IOP3XX)	+= i2c-iop3xx.o
obj-$(CONFIG_I2C_MPC)		+= i2c-mpc.o
obj-$(CONFIG_I2C_QUP)           += i2c-qup.o
obj-$(CONFIG_I2C_QUP)           += i2c-msm-v2.o
obj-$(CONFIG_I2C_MSM_V2)	+= i2c-msm-v2.o
obj-$(CONFIG_I2C_MV64XXX)	+= i2c-mv64xxx.o
obj-$(CONFIG_I2C_MXS)		+= i2c-mxs.o
obj-$(CONFIG_I2C_NOMADIK)	+= i2c-nomadik.o