public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
To: Holger Schurig
	<hs4233-x6+DxXLjN1AJvtFkdXX2Hg4jNU5vUVPG@public.gmane.org>
Cc: linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org,
	Darius <augulis.darius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/5] I2C driver for MXC
Date: Fri, 3 Apr 2009 14:35:24 +0200	[thread overview]
Message-ID: <20090403123524.GU23731@pengutronix.de> (raw)
In-Reply-To: <200904011358.21191.hs4233-x6+DxXLjN1AJvtFkdXX2Hg4jNU5vUVPG@public.gmane.org>

On Wed, Apr 01, 2009 at 01:58:21PM +0200, Holger Schurig wrote:
> [PATCH] imx21: activate i2c
> 
> Set the correct clkdev-name for the i2c clock.
> 
> It also get's rid of the ARCH_NR_GPIOS define on the rationale
> that isn't an ARCH-wide setting anyway. If a device has two
> pca953x devices, the reserved number will be wrong.
> 
> Signed-off-by: Holger Schurig <hs4233-x6+DxXLjN1AJvtFkdXX2Hg4jNU5vUVPG@public.gmane.org>

Scheduled for -rc

Sascha

> 
> ---
> 
> This patch applies on top Darius' patch "[PATCH 1/5] I2C driver for MXC" from
> 24th march.
> 
> --- linux.orig/arch/arm/plat-mxc/include/mach/mx21.h
> +++ linux/arch/arm/plat-mxc/include/mach/mx21.h
> @@ -54,9 +54,6 @@
>  
>  #define IRAM_BASE_ADDR          0xFFFFE800	/* internal ram */
>  
> -/* this CPU supports up to 192 GPIOs (don't forget the baseboard!) */
> -#define ARCH_NR_GPIOS		(6*32 + 16)
> -
>  /* fixed interrupt numbers */
>  #define MXC_INT_USBCTRL         58
>  #define MXC_INT_USBCTRL         58
> --- linux.orig/arch/arm/mach-mx2/clock_imx21.c
> +++ linux/arch/arm/mach-mx2/clock_imx21.c
> @@ -931,7 +931,7 @@
>  	_REGISTER_CLOCK(NULL, "slcdc", slcdc_clk[0])
>  	_REGISTER_CLOCK("imx-wdt.0", NULL, wdog_clk)
>  	_REGISTER_CLOCK(NULL, "gpio", gpio_clk)
> -	_REGISTER_CLOCK(NULL, "i2c", i2c_clk)
> +	_REGISTER_CLOCK("imx-i2c.0", NULL, i2c_clk)
>  	_REGISTER_CLOCK("mxc-keypad", NULL, kpp_clk)
>  	_REGISTER_CLOCK(NULL, "owire", owire_clk)
>  	_REGISTER_CLOCK(NULL, "rtc", rtc_clk)
> 
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

      parent reply	other threads:[~2009-04-03 12:35 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-24  8:47 [PATCH 1/5] I2C driver for MXC Darius
     [not found] ` <49C89E13.7040801-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-03-24  9:42   ` Wolfram Sang
     [not found]     ` <20090324094215.GA3471-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-03-24  9:46       ` Darius
     [not found]         ` <49C8ABE5.40408-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-03-25  9:26           ` Wolfram Sang
     [not found]             ` <20090325092625.GA3029-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-03-25 10:03               ` Darius Augulis
     [not found]                 ` <49CA017D.20005-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-03-25 10:43                   ` Wolfram Sang
     [not found]                     ` <20090325104357.GB3029-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-03-28 21:36                       ` Guennadi Liakhovetski
     [not found]                         ` <Pine.LNX.4.64.0903282207480.9903-0199iw4Nj15frtckUFj5Ag@public.gmane.org>
2009-03-30  0:30                           ` Ben Dooks
     [not found]                             ` <20090330003012.GM19758-elnMNo+KYs3pIgCt6eIbzw@public.gmane.org>
2009-03-30  8:53                               ` Darius Augulis
2009-03-31 11:02                               ` Darius Augulis
     [not found]                                 ` <49D1F85C.8040703-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-03-31 11:08                                   ` Wolfram Sang
2009-03-30  8:46                           ` Sascha Hauer
     [not found]                             ` <20090330084655.GO7861-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-03-30  9:23                               ` Guennadi Liakhovetski
2009-03-30  9:24                           ` Mark Brown
     [not found]                             ` <20090330092402.GA31781-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2009-03-30  9:37                               ` Guennadi Liakhovetski
     [not found]                                 ` <Pine.LNX.4.64.0903301128540.4455-0199iw4Nj15frtckUFj5Ag@public.gmane.org>
2009-03-30  9:07                                   ` Darius Augulis
2009-03-30  7:48                         ` Darius Augulis
     [not found]                           ` <d7f267fd0903300048p7caee6e0ne63916b986b132b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-30  9:26                             ` Guennadi Liakhovetski
     [not found]                               ` <Pine.LNX.4.64.0903301124040.4455-0199iw4Nj15frtckUFj5Ag@public.gmane.org>
2009-03-30  9:11                                 ` Darius Augulis
2009-03-30  9:51                                 ` Sascha Hauer
     [not found]                                   ` <20090330095147.GP7861-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-03-30  9:58                                     ` Guennadi Liakhovetski
     [not found]                                       ` <Pine.LNX.4.64.0903301156060.4455-0199iw4Nj15frtckUFj5Ag@public.gmane.org>
2009-03-30  9:03                                         ` Darius Augulis
     [not found]                                           ` <49D08AE4.1090102-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-03-30 13:50                                             ` Guennadi Liakhovetski
     [not found]                                               ` <Pine.LNX.4.64.0903301548570.4455-0199iw4Nj15frtckUFj5Ag@public.gmane.org>
2009-03-30 14:54                                                 ` [PATCH] imx/i2c: Make disable_delay a per-device variable Wolfram Sang
     [not found]                                                   ` <20090330145409.GD3058-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2009-04-02  8:40                                                     ` Guennadi Liakhovetski
2009-04-02 11:03                                                     ` Darius Augulis
2009-03-31  2:54                                                 ` [PATCH 1/5] I2C driver for MXC Richard Zhao
     [not found]                                                   ` <4e090d470903301954h2b3174b5n4b6c41b02cf7b62c-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-03-31 11:48                                                     ` Darius Augulis
2009-04-01 23:06                                                 ` Guennadi Liakhovetski
     [not found]                                                   ` <Pine.LNX.4.64.0904020105300.5389-0199iw4Nj15frtckUFj5Ag@public.gmane.org>
2009-04-02  6:32                                                     ` Darius Augulis
2009-04-01 11:57 ` Holger Schurig
     [not found]   ` <200904011357.03226.hs4233-x6+DxXLjN1AJvtFkdXX2Hg4jNU5vUVPG@public.gmane.org>
2009-04-02  6:32     ` Darius Augulis
2009-04-01 11:58 ` Holger Schurig
     [not found]   ` <200904011358.21191.hs4233-x6+DxXLjN1AJvtFkdXX2Hg4jNU5vUVPG@public.gmane.org>
2009-04-03 12:35     ` Sascha Hauer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090403123524.GU23731@pengutronix.de \
    --to=s.hauer-bicnvbalz9megne8c9+irq@public.gmane.org \
    --cc=augulis.darius-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=hs4233-x6+DxXLjN1AJvtFkdXX2Hg4jNU5vUVPG@public.gmane.org \
    --cc=linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org \
    --cc=linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox