From patchwork Tue Feb 28 05:14:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Stuebner X-Patchwork-Id: 9594997 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5770360453 for ; Tue, 28 Feb 2017 09:00:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 441D2284FE for ; Tue, 28 Feb 2017 09:00:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38F3A28507; Tue, 28 Feb 2017 09:00:32 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 49D51284FE for ; Tue, 28 Feb 2017 09:00:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751985AbdB1JA0 (ORCPT ); Tue, 28 Feb 2017 04:00:26 -0500 Received: from gloria.sntech.de ([95.129.55.99]:57762 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751637AbdB1JAO (ORCPT ); Tue, 28 Feb 2017 04:00:14 -0500 Received: from c-76-103-248-133.hsd1.ca.comcast.net ([76.103.248.133] helo=phil.sntech) by gloria.sntech.de with esmtpsa (TLS1.1:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1cia7o-0003SG-HV; Tue, 28 Feb 2017 06:15:00 +0100 From: Heiko Stuebner To: linux-rockchip@lists.infradead.org Cc: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, sboyd@codeaurora.org, mturquette@baylibre.com, Heiko Stuebner Subject: [PATCH 4/4] ARM: dts: rockchip: Make uartpll a child of the gpll on rk3036 Date: Tue, 28 Feb 2017 06:14:20 +0100 Message-Id: <20170228051420.7214-5-heiko@sntech.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170228051420.7214-1-heiko@sntech.de> References: <20170228051420.7214-1-heiko@sntech.de> Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The shared uart-pll is normally a child of the apll that can get changed by cpu frequency scaling. So move it away to the more stable gpll to make sure the uart doesn't break on cpu frequency changes. This turned up during the 4.11 merge-window when commit 6a171b299379 ("serial: 8250_dw: Allow hardware flow control to be used") added general termios enablement making the uart on rk3036 change frequency and thus making it susceptible for the frequency scaling issue. Signed-off-by: Heiko Stuebner --- arch/arm/boot/dts/rk3036.dtsi | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi index ff9b90bfaefd..6442023854c5 100644 --- a/arch/arm/boot/dts/rk3036.dtsi +++ b/arch/arm/boot/dts/rk3036.dtsi @@ -310,8 +310,9 @@ rockchip,grf = <&grf>; #clock-cells = <1>; #reset-cells = <1>; - assigned-clocks = <&cru PLL_GPLL>; - assigned-clock-rates = <594000000>; + assigned-clocks = <&cru PLL_GPLL>, <&cru SCLK_UARTPLL>; + assigned-clock-rates = <594000000>, <0>; + assigned-clock-parents = <0>, <&cru PLL_GPLL>; }; grf: syscon@20008000 {