Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8EB9BECAAD4 for ; Thu, 1 Sep 2022 00:24:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 809F684117; Thu, 1 Sep 2022 02:24:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 43A6A841B7; Thu, 1 Sep 2022 02:24:02 +0200 (CEST) Received: from fudo.makrotopia.org (fudo.makrotopia.org [IPv6:2a07:2ec0:3002::71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 209DC82105 for ; Thu, 1 Sep 2022 02:24:00 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=daniel@makrotopia.org Received: from local by fudo.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1oTXzx-0004CE-1B; Thu, 01 Sep 2022 02:23:58 +0200 Date: Thu, 1 Sep 2022 01:23:55 +0100 From: Daniel Golle To: Weijie Gao Cc: u-boot@lists.denx.de, GSS_MTK_Uboot_upstream Subject: Re: [PATCH v2 11/32] arm: dts: mt7622: force high-speed mode for uart Message-ID: References: <485c39decebd661a15e9fcd19e64557fcf000ef6.1661941661.git.weijie.gao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <485c39decebd661a15e9fcd19e64557fcf000ef6.1661941661.git.weijie.gao@mediatek.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On Wed, Aug 31, 2022 at 07:04:34PM +0800, Weijie Gao wrote: > The input clock for uart is too slow (25MHz) which introduces frequent data > error on both receiving and transmitting even if the baudrate is 115200. > > Using high-speed can significantly solve this issue. Tested on Bananapi BPi-R64 (MT7622). Fixes unstable console issues previously observed on MT7622 systems. Tested-by: Daniel Golle > > Reviewed-by: Simon Glass > Signed-off-by: Weijie Gao > --- > v2 changes: none > --- > arch/arm/dts/mt7622.dtsi | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/dts/mt7622.dtsi b/arch/arm/dts/mt7622.dtsi > index 0127474c95..fb6c1b7154 100644 > --- a/arch/arm/dts/mt7622.dtsi > +++ b/arch/arm/dts/mt7622.dtsi > @@ -175,6 +175,7 @@ > status = "disabled"; > assigned-clocks = <&topckgen CLK_TOP_AXI_SEL>; > assigned-clock-parents = <&topckgen CLK_TOP_SYSPLL1_D2>; > + mediatek,force-highspeed; > }; > > mmc0: mmc@11230000 { > -- > 2.17.1 >