diff mbox

i2c: allow configuration of imx driver for ColdFire architecture

Message ID 1476669245-3678-1-git-send-email-gerg@linux-m68k.org
State Accepted
Headers show

Commit Message

Greg Ungerer Oct. 17, 2016, 1:54 a.m. UTC
The i2c controller used by Freescales iMX processors is the same
hardware module used on Freescales ColdFire family of processors.

We can use the existing i2c-imx driver on ColdFire family members.
Modify the configuration to allow it to be selected when compiling
for ColdFire targets.

Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
---
 drivers/i2c/busses/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Wolfram Sang Oct. 25, 2016, 9:24 a.m. UTC | #1
On Mon, Oct 17, 2016 at 11:54:05AM +1000, Greg Ungerer wrote:
> The i2c controller used by Freescales iMX processors is the same
> hardware module used on Freescales ColdFire family of processors.
> 
> We can use the existing i2c-imx driver on ColdFire family members.
> Modify the configuration to allow it to be selected when compiling
> for ColdFire targets.
> 
> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>

Applied to for-current, thanks!
diff mbox

Patch

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 6d94e2e..cc9adf6 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -589,10 +589,10 @@  config I2C_IMG
 
 config I2C_IMX
 	tristate "IMX I2C interface"
-	depends on ARCH_MXC || ARCH_LAYERSCAPE
+	depends on ARCH_MXC || ARCH_LAYERSCAPE || COLDFIRE
 	help
 	  Say Y here if you want to use the IIC bus controller on
-	  the Freescale i.MX/MXC or Layerscape processors.
+	  the Freescale i.MX/MXC, Layerscape or ColdFire processors.
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-imx.