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=-7.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no 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 4AE7FC49EA7 for ; Fri, 25 Jun 2021 12:05:01 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 2B6D561442 for ; Fri, 25 Jun 2021 12:05:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2B6D561442 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E76E482BF7; Fri, 25 Jun 2021 14:04:57 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="nGJbtsl8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1443982BF6; Fri, 25 Jun 2021 14:04:55 +0200 (CEST) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EA5B982BF6 for ; Fri, 25 Jun 2021 14:04:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: by mail.kernel.org (Postfix) with ESMTPSA id 4FAC161442; Fri, 25 Jun 2021 12:04:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1624622690; bh=0lvfmMzHD6lXti+sRPSBQFay68bs0sG7KMuK8gVgiUo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nGJbtsl8K1QszCiiZPuyrw6MOD7PJT25BNjYw2IPVIfPyyFesZMN4USYBHz+yKq2F PPxnkuJS+LpniyAZS9tk9xsBNSrLdIFJjJOugIo19DprGI8fk4NDZOrLPxAc7xy6fN iSQPPfokYttV7jLoIKJ9TLb2j6/5tUYs+vZLp4zvjvv2TGQhhjxHX0pwmlxHIEOQsd k6zTlS3lFpg+X3LulQQd7j1nbF1cGINMksSAeKRMSTY6Nth0seG8i7gqhLkLTFZkms 2x6veI2pgsb1T/iYTTfU6S59HNOZNfPGbaUT0X9KQTRNCBx9r4h0ZYcTLmP6w0lqGG XgWzHRQ41fJ5A== Received: by pali.im (Postfix) id 2FC2560E; Fri, 25 Jun 2021 14:04:48 +0200 (CEST) Date: Fri, 25 Jun 2021 14:04:48 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Stefan Roese Cc: Marek =?utf-8?B?QmVow7pu?= , u-boot@lists.denx.de Subject: Re: [PATCH u-boot-marvell 4/5] serial: a37xx: Switch to XTAL clock when booting Linux kernel Message-ID: <20210625120448.ytm22kpdzljdnflf@pali> References: <20210525174242.27509-1-marek.behun@nic.cz> <20210525174242.27509-5-marek.behun@nic.cz> <20210527081733.ypmf7u7rkusmxol2@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210527081733.ypmf7u7rkusmxol2@pali> User-Agent: NeoMutt/20180716 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean On Thursday 27 May 2021 10:17:33 Pali Rohár wrote: > On Thursday 27 May 2021 08:17:41 Stefan Roese wrote: > > On 25.05.21 19:42, Marek Behún wrote: > > > From: Pali Rohár > > > > > > Unfortunately the UART driver in current Linux for Armada 3700 expects > > > UART's parent clock to be XTAL and calculats baudrate divisor according > > > to XTAL clock. Therefore we must switch back to XTAL clock before > > > booting kernel. > > > > Do you plan to enhance the Linux driver as well to support TBG as > > clock in input at some time? > > Yes! I have already written patches but they need cleanup and more tests. Patches for Linux kernel are here: https://lore.kernel.org/linux-serial/20210624224909.6350-1-pali@kernel.org/