mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Rouven Czerwinski <rouven@czerwinskis.de>
To: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 2/2] rpi-common: fix sdhci clkdev for raspberry pi
Date: Tue, 27 Nov 2018 09:56:41 +0100	[thread overview]
Message-ID: <875zwiyk3a.fsf@czerwinskis.de> (raw)
In-Reply-To: <20181127085133.5415-2-r.czerwinski@pengutronix.de>


Rouven Czerwinski <r.czerwinski@pengutronix.de> writes:

> The clkdev here

This commit message is insufficient, will fix in a V2.

That said I can also merge both commits into one.

- Rouven

>
> Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
> ---
>  arch/arm/boards/raspberry-pi/rpi-common.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c b/arch/arm/boards/raspberry-pi/rpi-common.c
> index 3baed65255..b7ce0ad425 100644
> --- a/arch/arm/boards/raspberry-pi/rpi-common.c
> +++ b/arch/arm/boards/raspberry-pi/rpi-common.c
> @@ -290,8 +290,8 @@ static int rpi_clock_init(void)
>  	if (IS_ERR(clk))
>  		return PTR_ERR(clk);
>  
> -	clk_register_clkdev(clk, NULL, "20300000.sdhci");
> -	clk_register_clkdev(clk, NULL, "3f300000.sdhci");
> +	clkdev_add_physbase(clk, 0x20300000, NULL);
> +	clkdev_add_physbase(clk, 0x3f300000, NULL);
>  
>  	return 0;
>  }


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

  reply	other threads:[~2018-11-27  8:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-27  8:51 [PATCH 1/2] mach-bcm283x/core: fix clkdev uarts " Rouven Czerwinski
2018-11-27  8:51 ` [PATCH 2/2] rpi-common: fix sdhci clkdev " Rouven Czerwinski
2018-11-27  8:56   ` Rouven Czerwinski [this message]
2018-11-27 12:45 ` [PATCH v2] multiple/raspberry-pi: fix clkdevs " Rouven Czerwinski
2018-11-29  7:50   ` Sascha Hauer

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=875zwiyk3a.fsf@czerwinskis.de \
    --to=rouven@czerwinskis.de \
    --cc=barebox@lists.infradead.org \
    --cc=r.czerwinski@pengutronix.de \
    /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