mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: "Raphaël Poggi" <poggi.raph@gmail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH v3 3/3] at91sam9g45: add device tree gpio clocks
Date: Wed, 3 Sep 2014 08:46:20 +0200	[thread overview]
Message-ID: <20140903064620.GC5352@pengutronix.de> (raw)
In-Reply-To: <1409656080-19280-4-git-send-email-poggi.raph@gmail.com>

On Tue, Sep 02, 2014 at 01:08:00PM +0200, Raphaël Poggi wrote:
> Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
> ---
>  arch/arm/mach-at91/at91sam9g45.c |    5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/mach-at91/at91sam9g45.c b/arch/arm/mach-at91/at91sam9g45.c
> index d19d26a..8c020fa 100644
> --- a/arch/arm/mach-at91/at91sam9g45.c
> +++ b/arch/arm/mach-at91/at91sam9g45.c
> @@ -201,6 +201,11 @@ static struct clk_lookup periph_clocks_lookups[] = {
>  	CLKDEV_DEV_ID("at91rm9200-gpio2", &pioC_clk),
>  	CLKDEV_DEV_ID("at91rm9200-gpio3", &pioDE_clk),
>  	CLKDEV_DEV_ID("at91rm9200-gpio4", &pioDE_clk),
> +	CLKDEV_DEV_ID("fffff200.gpio", &pioA_clk),
> +	CLKDEV_DEV_ID("fffff400.gpio", &pioB_clk),
> +	CLKDEV_DEV_ID("fffff600.gpio", &pioC_clk),
> +	CLKDEV_DEV_ID("fffff800.gpio", &pioDE_clk),
> +	CLKDEV_DEV_ID("fffffa00.gpio", &pioDE_clk),

Same comment here as to the i2c clocks: Can you use
clkdev_add_physbase(), like this:

	clkdev_add_physbase(&pioA_clk, 0xfffff200, NULL);
	clkdev_add_physbase(&pioB_clk, 0xfffff400, NULL);
	clkdev_add_physbase(&pioC_clk, 0xfffff600, NULL);
	clkdev_add_physbase(&pioDE_clk, 0xfffff800, NULL);
	clkdev_add_physbase(&pioDE_clk, 0xfffffa00, NULL);

at91rm9200-gpiox clkdevs can be removed then.

Sascha

-- 
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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2014-09-03  6:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-02 11:07 [PATCH v3 0/3] Add atmel pinctrl driver Raphaël Poggi
2014-09-02 11:07 ` [PATCH v3 1/3] arm: mach-at91: move gpio.h to include folder Raphaël Poggi
2014-09-03  7:00   ` Sascha Hauer
2014-09-02 11:07 ` [PATCH v3 2/3] pinctrl: at91: add pinctrl driver Raphaël Poggi
2014-09-03  6:56   ` Sascha Hauer
2014-09-03 11:23     ` Raphaël Poggi
2014-09-03 13:52       ` Sascha Hauer
2014-09-03 15:10         ` Raphaël Poggi
2014-09-04  9:26           ` Sascha Hauer
2014-09-04  9:41             ` Raphaël Poggi
2014-09-02 11:08 ` [PATCH v3 3/3] at91sam9g45: add device tree gpio clocks Raphaël Poggi
2014-09-03  6:46   ` 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=20140903064620.GC5352@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=poggi.raph@gmail.com \
    /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