From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6883C43141 for ; Mon, 25 Nov 2019 17:43:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8D2DA20835 for ; Mon, 25 Nov 2019 17:43:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Q9SSr7an" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8D2DA20835 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2VFjvWGHvd/hPyVVCB0qLxtekdXH4rwhdRTA/aakMMc=; b=Q9SSr7an3cMgfq zgEJM+q6v3IAOO+6irHT/NrWCI0o8QRcGROZcDwLSQ6r8pMEZ1ikElCZKLreBjBmAmew8G8W0k8Ju Jr38lm1i26ekTWZVVI5an+vvxz17e0DijAP+s3It0CumzNeyd/+Bs/2oG6T9n+HioFVGTTQb/e4zL KUTCO++tVRzEKtMEK3p9CutnPcAQQQkmvhulCfX6I0IKLGRME/8O6kuwZHVRhmU2aprMiHoRUHRwY IQa1Sf4mgNoR+mr/RELuSpXWYsdi/ARRT/hSvDTsyiD+8Oz+v7xGNGKBtz0dP0PbRyZ+dBftE96fo /yOJR3uKkqn+LiDWRiKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iZIOj-0001sL-0N; Mon, 25 Nov 2019 17:43:41 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iZIOh-0001rz-3d for linux-arm-kernel@lists.infradead.org; Mon, 25 Nov 2019 17:43:40 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 52EDC31B; Mon, 25 Nov 2019 09:43:38 -0800 (PST) Received: from bogus (e107155-lin.cambridge.arm.com [10.1.196.42]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 1DED83F68E; Mon, 25 Nov 2019 09:43:37 -0800 (PST) Date: Mon, 25 Nov 2019 17:43:30 +0000 From: Sudeep Holla To: Andre Przywara Subject: Re: [PATCH] arm64: dts: arm: juno: Fix UART frequency Message-ID: <20191125174329.GA10102@bogus> References: <20191119120331.28243-1-andre.przywara@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20191119120331.28243-1-andre.przywara@arm.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191125_094339_194184_365E2180 X-CRM114-Status: GOOD ( 12.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Lorenzo Pieralisi , Liviu Dudau , linux-kernel@vger.kernel.org, Rob Herring , Sudeep Holla , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Nov 19, 2019 at 12:03:31PM +0000, Andre Przywara wrote: > Older versions of the Juno *SoC* TRM [1] recommended that the UART clock > source should be 7.2738 MHz, whereas the *system* TRM [2] stated a more > correct value of 7.3728 MHz. Somehow the wrong value managed to end up in > our DT. > Doing a prime factorisation, a modulo divide by 115200 and trying > to buy a 7.2738 MHz crystal at your favourite electronics dealer suggest > that the old value was actually a typo. The actual UART clock is driven > by a PLL, configured via a parameter in some board.txt file in the > firmware, which reads 7.37 MHz (sic!). > > Fix this to correct the baud rate divisor calculation on the Juno board. > > Signed-off-by: Andre Przywara > Do we need fixes tag here ? Unless someone objects I will add and apply this patch: Fixes: 71f867ec130e ("arm64: Add Juno board device tree.") -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel