linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] i2c: mxs: Let i2c-mxs be built for MX23
@ 2011-10-21 18:27 Fabio Estevam
       [not found] ` <1319221664-3018-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2011-10-21 18:27 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,
	u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ, 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>
---
Changes since v1:
- Remove unneeded parenthesis

 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] 4+ messages in thread

* Re: [PATCH v2] i2c: mxs: Let i2c-mxs be built for MX23
       [not found] ` <1319221664-3018-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
@ 2011-10-21 18:48   ` Uwe Kleine-König
       [not found]     ` <20111021184822.GJ15299-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Uwe Kleine-König @ 2011-10-21 18:48 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:27:44PM -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>
arch/arm/mach-mxs/devices/platform-mxs-i2c.c doesn't support i.MX23 yet,
but still I think the change is correct.

Acked-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

> ---
> Changes since v1:
> - Remove unneeded parenthesis
> 
>  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
> 
> 
> 

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

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

* Re: [PATCH v2] i2c: mxs: Let i2c-mxs be built for MX23
       [not found]     ` <20111021184822.GJ15299-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
@ 2011-10-21 18:59       ` Fabio Estevam
       [not found]         ` <4EA1C128.106-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2011-10-21 18:59 UTC (permalink / raw)
  To: Uwe Kleine-König
  Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA, khali-PUYAD+kWke1g9hUCZPvPmw,
	ben-linux-elnMNo+KYs3YtjvyW6yDsg, kernel-bIcnvbaLZ9MEGnE8C9+IrQ,
	w.sang-bIcnvbaLZ9MEGnE8C9+IrQ, shawn.guo-KZfg59tc24xl57MIdRCFDg

Hi Uwe,

On 10/21/2011 4:48 PM, Uwe Kleine-König wrote:
> On Fri, Oct 21, 2011 at 04:27:44PM -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>
> arch/arm/mach-mxs/devices/platform-mxs-i2c.c doesn't support i.MX23 yet,
> but still I think the change is correct.

Yes, I know. I plan to submit the I2C arch/arm/mach-mxs related patches next week. 
 
> Acked-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

Thanks,

Fabio Estevam

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

* Re: [PATCH v2] i2c: mxs: Let i2c-mxs be built for MX23
       [not found]         ` <4EA1C128.106-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
@ 2011-10-22 14:57           ` Wolfram Sang
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfram Sang @ 2011-10-22 14:57 UTC (permalink / raw)
  To: Fabio Estevam
  Cc: Uwe Kleine-König, linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	khali-PUYAD+kWke1g9hUCZPvPmw, ben-linux-elnMNo+KYs3YtjvyW6yDsg,
	kernel-bIcnvbaLZ9MEGnE8C9+IrQ, shawn.guo-KZfg59tc24xl57MIdRCFDg

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


> >> 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>
> > arch/arm/mach-mxs/devices/platform-mxs-i2c.c doesn't support i.MX23 yet,
> > but still I think the change is correct.
> 
> Yes, I know. I plan to submit the I2C arch/arm/mach-mxs related patches next week. 
>  
> > Acked-by: Uwe Kleine-König <u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>

Still NACK (unless somebody can explain to me how PIOQUEUE could work on MX23).

-- 
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] 4+ messages in thread

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-21 18:27 [PATCH v2] i2c: mxs: Let i2c-mxs be built for MX23 Fabio Estevam
     [not found] ` <1319221664-3018-1-git-send-email-fabio.estevam-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2011-10-21 18:48   ` Uwe Kleine-König
     [not found]     ` <20111021184822.GJ15299-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2011-10-21 18:59       ` Fabio Estevam
     [not found]         ` <4EA1C128.106-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2011-10-22 14:57           ` 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).