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 1gRZ6I-0002A4-Qt for barebox@lists.infradead.org; Tue, 27 Nov 2018 08:52:13 +0000 From: Rouven Czerwinski Date: Tue, 27 Nov 2018 09:51:32 +0100 Message-Id: <20181127085133.5415-1-r.czerwinski@pengutronix.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: [PATCH 1/2] mach-bcm283x/core: fix clkdev uarts for raspberry pi To: barebox@lists.infradead.org Cc: Rouven Czerwinski Commit 7e497d48acbd1184e3f6bd23bd16dfae84dd1129 introduced a name change which breaks support for the fixed clkdev uart for RPI3. Use clkdev_add_physbase instead to be independant from the device tree names. Signed-off-by: Rouven Czerwinski --- arch/arm/mach-bcm283x/core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-bcm283x/core.c b/arch/arm/mach-bcm283x/core.c index 26f0996b1c..f1dcda86f7 100644 --- a/arch/arm/mach-bcm283x/core.c +++ b/arch/arm/mach-bcm283x/core.c @@ -40,8 +40,8 @@ static int bcm2835_clk_init(void) clk = clk_fixed("uart0-pl0110", 3 * 1000 * 1000); clk_register_clkdev(clk, NULL, "uart0-pl0110"); - clk_register_clkdev(clk, NULL, "20201000.serial"); - clk_register_clkdev(clk, NULL, "3f201000.serial"); + clkdev_add_physbase(clk, 0x20201000, NULL); + clkdev_add_physbase(clk, 0x3f201000, NULL); clk = clk_fixed("bcm2835-cs", 1 * 1000 * 1000); clk_register_clkdev(clk, NULL, "bcm2835-cs"); -- 2.19.2 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox