From patchwork Wed Apr 10 18:30:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Kaehlcke X-Patchwork-Id: 10894525 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C3BB817E0 for ; Wed, 10 Apr 2019 18:30:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A95B028BF2 for ; Wed, 10 Apr 2019 18:30:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A769928C01; Wed, 10 Apr 2019 18:30:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2F2EB28BF7 for ; Wed, 10 Apr 2019 18:30:26 +0000 (UTC) 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:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=EpkAJCqhqnZt7mlLaAd71g89wcXCBnzRhimzmvWqLf4=; b=dILGglq2lYBwi4 sBEU3D6hvHaAx1Txg3Yr1a5/LcnKX2SQ8eXDu/wuSA0Y5uYEbwxEHJx1MuLFPPpYHp0rQhETGjO7K 0suqlQAm+N++lQH0goBJ7vwHFvGengAejuD8tLPz5ON4TfdNpw9OBEKIEavhIGT+XGJ/gGszex8tv 9zrHVoRiK8CmJCkh47CySSbr67T/IBVNPQMO9+Iw+/7jY2HTWDQI/aI3kdNsPmJHzPdZ2+ZUuRFtC 3SDEOTm1/YTThA6MFcaEvFaTdY1XflVA4QFtimaQyuOTYZoPlsv4895Ag0t4BYQgkBAIQzzk038TZ Nqw87Bptw9MsORgG2aiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEHzM-00086f-51; Wed, 10 Apr 2019 18:30:24 +0000 Received: from mail-pg1-x544.google.com ([2607:f8b0:4864:20::544]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hEHzI-00085G-Q9 for linux-arm-kernel@lists.infradead.org; Wed, 10 Apr 2019 18:30:22 +0000 Received: by mail-pg1-x544.google.com with SMTP id v12so2072327pgq.1 for ; Wed, 10 Apr 2019 11:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hN+1FI2g2HxypiUQWbJNuFbyAbTL5bcAyXISI3fTIKg=; b=aF3/aaFNYbZ13B+W+xr2dIWfQQ4Pj62FvWaqCO3m2V+ok+JDaKoAFD0VZJzICwMjwp 7GaZG23XYp05LeeskjtX7+ZJkLUujJsltWjtgkzyCKuhBioym2TXO1OEaC9Cvs7c32Rw /CAAfsjFp+RWGz7iN7X+Jvlrx2wyqKFH+r9vc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hN+1FI2g2HxypiUQWbJNuFbyAbTL5bcAyXISI3fTIKg=; b=IDJPtL+arXMuKj72Fpvn68huE7aq5Oz8a/MYdsve4u7x8HxDQK40cHx2JNrLrMuMqF Ldp2NB2qfzQSsui4sKFxVfpwHrEy+b8o1xbf0yivToDZIv4Kv+9FoEgZNh040MhFbauN l48BLW5TBGQopchg2k2jMqvdix1GsTYBCdyt/3uWeo7eMR0oGuUAOEBz6BCrCu92I8gQ k99oSLEHubmAC5jTL2tPGujv+kP0A7FZwolNRKLAwzkUTP0ctM352ct1cE33hs0CHtL4 BhoTa2NLi23LYsIbCX4WP2FClaT/UISo00J7JiN8hUEv1E802Td5ypzm6iwzHsU1aIUR jlTg== X-Gm-Message-State: APjAAAWLM0X/06zCBYm3dasDR/1/L88xzp98S63LYSatHe7ydlQi09lh KKm59g6TEB4StS9VtSveVQ7i5A== X-Google-Smtp-Source: APXvYqwiWLgq9xxEYPIDFqGYjYx2sCkZNTDpNESNE25WjQAoupbNVGwoNkrTUC7ERK0N/dZmWsNduA== X-Received: by 2002:a63:29c8:: with SMTP id p191mr42805106pgp.197.1554921019810; Wed, 10 Apr 2019 11:30:19 -0700 (PDT) Received: from localhost ([2620:15c:202:1:75a:3f6e:21d:9374]) by smtp.gmail.com with ESMTPSA id z21sm50938603pfn.139.2019.04.10.11.30.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Apr 2019 11:30:19 -0700 (PDT) From: Matthias Kaehlcke To: Heiko Stuebner , Rob Herring , Mark Rutland Subject: [PATCH] ARM: dts: rockchip: Remove unnecessary setting of UART0 SCLK rate on veyron Date: Wed, 10 Apr 2019 11:30:10 -0700 Message-Id: <20190410183010.21307-1-mka@chromium.org> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190410_113020_872978_3B46E78A X-CRM114-Status: GOOD ( 11.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Douglas Anderson , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Matthias Kaehlcke , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Some veyron devices have a Bluetooth controller connected on UART0. The UART needs to operate at a high speed, however setting the clock rate at initialization has no practical effect. During initialization user space adjusts the UART baudrate multiple times, which ends up changing the SCLK rate. After a successful initiatalization the clk is running at the desired speed (48MHz). Remove the unnecessary clock rate configuration from the DT. Signed-off-by: Matthias Kaehlcke Reviewed-by: Douglas Anderson --- arch/arm/boot/dts/rk3288-veyron.dtsi | 4 ---- 1 file changed, 4 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 0bc2409f6903..97e980383e25 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/rk3288-veyron.dtsi @@ -378,10 +378,6 @@ &uart0 { status = "okay"; - /* We need to go faster than 24MHz, so adjust clock parents / rates */ - assigned-clocks = <&cru SCLK_UART0>; - assigned-clock-rates = <48000000>; - /* Pins don't include flow control by default; add that in */ pinctrl-names = "default"; pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;