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: 110316 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp2051091qge; Thu, 17 Aug 2017 04:22:57 -0700 (PDT) X-Received: by 10.84.212.144 with SMTP id e16mr5515730pli.115.1502968977538; Thu, 17 Aug 2017 04:22:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502968977; cv=none; d=google.com; s=arc-20160816; b=cqOqegbXJ9f3edXkTsIHH2PxgoXdwZf9Vkurn/zZ4/snztfIwiXzf0DUVQrX49RB18 wRh4YjcIQZvBBmFRJcUwSOzlQL195SoGGuCZDly1cozhRD+rOEPhsGeE17AuHmNepmQ3 HaKijFv0peedVXQ9CLBq0FeSZuN/F1gjOZdBw+EHRAol6om6d5gruZZeefbzRuiJAEVn TDlW4GqRbMXoZojzhpY64H1nQPN2wnmzoJMYA/pWNgQTUiuJSWRjEmfrhKlIV6z3axNI lxanf9pzA1K6XE9w30HkH3S8zcrgMOQh6XxdwCde8rYneu6R/kidFjE0QBHRhEVpMmUK XJQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=ihzq/l7vxmnwEwrTR+TIArmuQSp1DS1zjkJORg2kUXY=; b=RL5OXU4FRqd755BElpGBsmF2Vpa6LBpkVgWQn6UuiKT0QRl9/IQs+Ab+tumPD6GH7V ZgOUzYisboRxwqoGDzgin4g4QX6hcnWWQA9zyOis9WcSa7aXnPDrqKIzC26a57fhRaJS jSo6vFc61Dc+TdJoHhISVPteiahWn6TQe8zOFXDZL5clm6uvd0gCiGoiyWmGrG7Z1gg+ ySRATUq3OPGL5DutPaVkgJB1pnS2vytGbKljmuVZUi39eLD/ANx4KjpXfCXRLRrSnfA1 Eo/LaWw5NJzQxjv+qrXUL9RU9IJ8VlOtYyh9j/6lVS+yGcNvI/A/TRw3LmWC1sHMGhtU tB7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s23si2149262plk.743.2017.08.17.04.22.57; Thu, 17 Aug 2017 04:22:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752638AbdHQLWy (ORCPT + 26 others); 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_F=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?b?6JKL?= =?utf-8?b?5Li955C0?= , =?utf-8?q?Andreas_F=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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.12.3 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>;