linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: mxs: Let i2c-mxs be built for MX23
@ 2011-10-21 18:06 Fabio Estevam
       [not found] ` <1319220379-2960-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2011-10-21 18:06 UTC (permalink / raw)
  To: linux-i2c-u79uwXL29TY76Z2rM5mHXA
  Cc: khali-PUYAD+kWke1g9hUCZPvPmw, ben-linux-elnMNo+KYs3YtjvyW6yDsg,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ, w.sang-bIcnvbaLZ9MEGnE8C9+IrQ,
	shawn.guo-KZfg59tc24xl57MIdRCFDg, Fabio Estevam

MX23 and MX28 share the same I2C block, so let i2c-mxs be built for MX23 too.

Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
---
 drivers/i2c/busses/Kconfig |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
index 646068e..08748db 100644
--- a/drivers/i2c/busses/Kconfig
+++ b/drivers/i2c/busses/Kconfig
@@ -456,11 +456,11 @@ config I2C_MV64XXX
 	  will be called i2c-mv64xxx.
 
 config I2C_MXS
-	tristate "Freescale i.MX28 I2C interface"
-	depends on SOC_IMX28
+	tristate "Freescale i.MXS I2C interface"
+	depends on (SOC_IMX28 || SOC_IMX23)
 	help
 	  Say Y here if you want to use the I2C bus controller on
-	  the Freescale i.MX28 processors.
+	  the Freescale i.MXS processors.
 
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-mxs.
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] i2c: mxs: Let i2c-mxs be built for MX23
       [not found] ` <1319220379-2960-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
@ 2011-10-21 18:20   ` Uwe Kleine-König
  2011-10-21 22:07   ` Wolfram Sang
  1 sibling, 0 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2011-10-21 18:20 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, khali-PUYAD+kWke1g9hUCZPvPmw,
	ben-linux-elnMNo+KYs3YtjvyW6yDsg, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	w.sang-bIcnvbaLZ9MEGnE8C9+IrQ, shawn.guo-KZfg59tc24xl57MIdRCFDg

On Fri, Oct 21, 2011 at 04:06:19PM -0200, Fabio Estevam wrote:
> MX23 and MX28 share the same I2C block, so let i2c-mxs be built for MX23 too.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> ---
>  drivers/i2c/busses/Kconfig |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
> index 646068e..08748db 100644
> --- a/drivers/i2c/busses/Kconfig
> +++ b/drivers/i2c/busses/Kconfig
> @@ -456,11 +456,11 @@ config I2C_MV64XXX
>  	  will be called i2c-mv64xxx.
>  
>  config I2C_MXS
> -	tristate "Freescale i.MX28 I2C interface"
> -	depends on SOC_IMX28
> +	tristate "Freescale i.MXS I2C interface"
> +	depends on (SOC_IMX28 || SOC_IMX23)
You don't need the parenthesis here.

>  	help
>  	  Say Y here if you want to use the I2C bus controller on
> -	  the Freescale i.MX28 processors.
> +	  the Freescale i.MXS processors.
>  
>  	  This driver can also be built as a module.  If so, the module
>  	  will be called i2c-mxs.

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] i2c: mxs: Let i2c-mxs be built for MX23
       [not found] ` <1319220379-2960-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  2011-10-21 18:20   ` Uwe Kleine-König
@ 2011-10-21 22:07   ` Wolfram Sang
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfram Sang @ 2011-10-21 22:07 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, khali-PUYAD+kWke1g9hUCZPvPmw,
	ben-linux-elnMNo+KYs3YtjvyW6yDsg, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	shawn.guo-KZfg59tc24xl57MIdRCFDg

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

On Fri, Oct 21, 2011 at 04:06:19PM -0200, Fabio Estevam wrote:
> MX23 and MX28 share the same I2C block, so let i2c-mxs be built for MX23 too.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>

Have you tested this? AFAIK, the mx23 does not support PIOQUEUE mode and the
driver only supports this mode...

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-10-21 22:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 18:06 [PATCH] i2c: mxs: Let i2c-mxs be built for MX23 Fabio Estevam
     [not found] ` <1319220379-2960-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2011-10-21 18:20   ` Uwe Kleine-König
2011-10-21 22:07   ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).