From patchwork Thu Aug 17 11:20:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 9905727 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 46E8C6038C for ; Thu, 17 Aug 2017 11:22:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 249F628A5D for ; Thu, 17 Aug 2017 11:22:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1868428AD5; Thu, 17 Aug 2017 11:22:55 +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 AAE0228A5D for ; Thu, 17 Aug 2017 11:22:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752357AbdHQLWy (ORCPT ); Thu, 17 Aug 2017 07:22:54 -0400 Received: from mx2.suse.de ([195.135.220.15]:49985 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751169AbdHQLUq (ORCPT ); Thu, 17 Aug 2017 07:20:46 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 69ECFABB3; Thu, 17 Aug 2017 11:20:45 +0000 (UTC) From: =?UTF-8?q?Andreas=20F=C3=A4rber?= To: Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Roc He , =?UTF-8?q?=E8=92=8B=E4=B8=BD=E7=90=B4?= , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , devicetree@vger.kernel.org Subject: [RFC 4/4] arm64: dts: realtek: Update RTD1295 UART nodes with clocks Date: Thu, 17 Aug 2017 13:20:25 +0200 Message-Id: <20170817112026.24062-5-afaerber@suse.de> X-Mailer: git-send-email 2.12.3 In-Reply-To: <20170817112026.24062-1-afaerber@suse.de> References: <20170817112026.24062-1-afaerber@suse.de> MIME-Version: 1.0 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 Replace clock-frequency with a reference to the respective clock gates. Signed-off-by: Andreas Färber --- arch/arm64/boot/dts/realtek/rtd1295.dtsi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/realtek/rtd1295.dtsi b/arch/arm64/boot/dts/realtek/rtd1295.dtsi index 078a11506876..503e2d5fc334 100644 --- a/arch/arm64/boot/dts/realtek/rtd1295.dtsi +++ b/arch/arm64/boot/dts/realtek/rtd1295.dtsi @@ -6,6 +6,7 @@ * SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ +#include #include #include @@ -152,7 +153,7 @@ reg = <0x98007800 0x400>; reg-shift = <2>; reg-io-width = <4>; - clock-frequency = <27000000>; + clocks = <&iso_clkc RTD1295_ISO_CLK_EN_MISC_UR0>; interrupt-parent = <&iso_irq_mux>; interrupts = <2>; resets = <&iso_reset RTD1295_ISO_RSTN_UR0>; @@ -172,7 +173,7 @@ reg = <0x9801b200 0x100>; reg-shift = <2>; reg-io-width = <4>; - clock-frequency = <432000000>; + clocks = <&clkc RTD1295_CLK_EN_UR1>; interrupt-parent = <&irq_mux>; interrupts = <3>, <5>; resets = <&reset2 RTD1295_RSTN_UR1>; @@ -184,7 +185,7 @@ reg = <0x9801b400 0x100>; reg-shift = <2>; reg-io-width = <4>; - clock-frequency = <432000000>; + clocks = <&clkc RTD1295_CLK_EN_UR2>; interrupt-parent = <&irq_mux>; interrupts = <8>, <13>; resets = <&reset2 RTD1295_RSTN_UR2>;