From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 14 Jan 2022 09:31:43 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1n8Hzr-001sIX-7A for lore@lore.pengutronix.de; Fri, 14 Jan 2022 09:31:43 +0100 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8Hzp-0008NA-S1 for lore@pengutronix.de; Fri, 14 Jan 2022 09:31:42 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:From:In-Reply-To:MIME-Version: References:Message-ID:Subject:Cc:To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=VJ5TAPTg48hxHgJb6FaSOuYQrlnvS6dHUeepTuKRz60=; b=Y4L/gWxB8d0DMuAE+ibmaSxv+N j8x5dDzjNp3JafD0xEWInfyHLB6dSuPgxme3K6UMjbexatfTHnPqvxkx21h42mN18MO1G30A6UbSy u73r11WLqVI5SCkrUfErUJe1WUpI2R6JD++cg0TSO+QLWmU1wcIYHxvJH2avim7h6BDx5x13rLedD XaEMid2xp9fxNEAXnZLuuFLqPAJgrorEJ5cQmkSH3GMLx+Zd3Zh3axf6V90CdXJ1lcYNxTEM3URYV UU+9NJeEJuFsQ360X76MbT09MVMkdiVbXI23p1ns9LY8DzU73T59BmuStuCmxIj9QUgx4WBIX2Te8 y+AjQl6g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n8Hyc-008Gd2-Dr; Fri, 14 Jan 2022 08:30:26 +0000 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n8HyW-008Gbg-Hh for barebox@lists.infradead.org; Fri, 14 Jan 2022 08:30:22 +0000 Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1n8HyV-00086D-7x; Fri, 14 Jan 2022 09:30:19 +0100 Received: from sha by ptx.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1n8HyU-0006Jv-S0; Fri, 14 Jan 2022 09:30:18 +0100 Date: Fri, 14 Jan 2022 09:30:18 +0100 To: Oleksij Rempel Cc: barebox@lists.infradead.org Message-ID: <20220114083018.GS26619@pengutronix.de> References: <20220114082141.302151-1-o.rempel@pengutronix.de> <20220114082141.302151-2-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220114082141.302151-2-o.rempel@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 09:29:26 up 34 days, 17:15, 77 users, load average: 0.07, 0.09, 0.09 User-Agent: Mutt/1.10.1 (2018-07-13) From: Sascha Hauer X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220114_003020_636126_ED78647B X-CRM114-Status: GOOD ( 23.95 ) X-BeenThere: barebox@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list 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" X-SA-Exim-Connect-IP: 2607:7c80:54:e::133 X-SA-Exim-Mail-From: barebox-bounces+lore=pengutronix.de@lists.infradead.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=AWL,BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Subject: Re: [PATCH v1 2/2] ARM: rpi: set uart0-pl0110 clk to 48MHz X-SA-Exim-Version: 4.2.1 (built Wed, 08 May 2019 21:11:16 +0000) X-SA-Exim-Scanned: Yes (on metis.ext.pengutronix.de) On Fri, Jan 14, 2022 at 09:21:41AM +0100, Oleksij Rempel wrote: > At least on RPi2 this clock is 48MHz. This issue was not visible, > becouse amba-pl011 driver was not reseting UART controller after > changing baudrate. So, clk settings was not updated for some time. We have an rpi3 and rpi4 in our lab. Could you give this a test on these boards? Sascha > > Signed-off-by: Oleksij Rempel > --- > arch/arm/boards/raspberry-pi/rpi-common.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/boards/raspberry-pi/rpi-common.c b/arch/arm/boards/raspberry-pi/rpi-common.c > index 6c5df6fd69..2684bd5ed7 100644 > --- a/arch/arm/boards/raspberry-pi/rpi-common.c > +++ b/arch/arm/boards/raspberry-pi/rpi-common.c > @@ -374,7 +374,7 @@ static int rpi_console_clock_init(void) > clk = clk_fixed("apb_pclk", 0); > clk_register_clkdev(clk, "apb_pclk", NULL); > > - clk = clk_fixed("uart0-pl0110", 3 * 1000 * 1000); > + clk = clk_fixed("uart0-pl0110", 48 * 1000 * 1000); > clk_register_clkdev(clk, NULL, "uart0-pl0110"); > clkdev_add_physbase(clk, BCM2835_PL011_BASE, NULL); > clkdev_add_physbase(clk, BCM2836_PL011_BASE, NULL); > -- > 2.30.2 > > > _______________________________________________ > barebox mailing list > barebox@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/barebox > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 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