Skip to contentSkip to conversation

i2c: Kconfig: Allow I2C_MXS to be selected by MX23

PATCH In review Fabio Estevam 3 participants 5 messages Nov 17, 2012 – Nov 19, 2012 3 messages not in the archive I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c: Kconfig: Allow I2C_MXS to be selected by MX23

From: Fabio Estevam <[email protected]>

With the recent DMA support addition to the i2c-mxs driver, it is now possible to also run it on mx23, so update the Kconfig entry accordingly.

---
 drivers/i2c/busses/Kconfig |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/i2c/busses/Kconfig +3 -3
index e9df461..34f48f3 100644
@@ -482,12 +482,12 @@ config I2C_MV64XXX
 	  will be called i2c-mv64xxx.
 
 config I2C_MXS
-	tristate "Freescale i.MX28 I2C interface"
-	depends on SOC_IMX28
+	tristate "Freescale MXS I2C interface"
+	depends on ARCH_MXS
 	select STMP_DEVICE
 	help
 	  Say Y here if you want to use the I2C bus controller on
-	  the Freescale i.MX28 processors.
+	  the Freescale MXS processors.
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-mxs.
Signature · 1 line
1.7.9.5
Acked-by
#2 lore raw
In reply to a message not in the archive

Dear Fabio Estevam,

Quoted 20 lines

From: Fabio Estevam <[email protected]>

With the recent DMA support addition to the i2c-mxs driver, it is now possible to also run it on mx23, so update the Kconfig entry accordingly.

---
 drivers/i2c/busses/Kconfig |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/i2c/busses/Kconfig +0 -2
index e9df461..34f48f3 100644
@@ -482,12 +482,12 @@ config I2C_MV64XXX
 	  will be called i2c-mv64xxx.
 
 config I2C_MXS
-	tristate "Freescale i.MX28 I2C interface"
-	depends on SOC_IMX28

drivers/i2c/busses/Kconfig config I2C_MV64XXX · line 493

Quoted 10 lines
drivers/i2c/busses/Kconfig +3 -1
+	tristate "Freescale MXS I2C interface"
+	depends on ARCH_MXS
 	select STMP_DEVICE
 	help
 	  Say Y here if you want to use the I2C bus controller on
-	  the Freescale i.MX28 processors.
+	  the Freescale MXS processors.
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-mxs.

Won't i.MX23/i.MX28 instead of MXS be less confusing? Either way:

Best regards,
Marek Vasut

#7 lore raw
In reply to a message not in the archive

Hi Wolfram,

Quoted 9 lines · Wolfram Sang
Quoted 6 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

With the recent DMA support addition to the i2c-mxs driver, it is now possible to also run it on mx23, so update the Kconfig entry accordingly.

Did you test it?

I don't have the I2C connector board for mx23-olinuxino, but I have been helping Fadil Berisha (on Cc) to get I2C to work on mx23.

He managed to get I2C working on his mx23 board and posted the results at:
https://www.olimex.com/forum/index.php?topic=283.msg1086#msg1086

He has already sent the dts patches to the ARM kernel list.

Regards,

Fabio Estevam