From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from magratgarlick.emantor.de ([2a01:4f8:c17:c88::2] helo=margratgarlick.emantor.de) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRZAr-0006Q7-LY for barebox@lists.infradead.org; Tue, 27 Nov 2018 08:56:55 +0000 References: <20181127085133.5415-1-r.czerwinski@pengutronix.de> <20181127085133.5415-2-r.czerwinski@pengutronix.de> From: Rouven Czerwinski In-reply-to: <20181127085133.5415-2-r.czerwinski@pengutronix.de> Date: Tue, 27 Nov 2018 09:56:41 +0100 Message-ID: <875zwiyk3a.fsf@czerwinskis.de> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 2/2] rpi-common: fix sdhci clkdev for raspberry pi To: Rouven Czerwinski Cc: barebox@lists.infradead.org Rouven Czerwinski 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 > --- > 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