Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5076762ybc; Tue, 26 Nov 2019 21:02:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwqIQJ8mqKx3DPllG7XMrayBEuyhs8nNI/k74cTF2VgaHkaF2lMvRUoqX0p7kmxf4DweAfj X-Received: by 2002:a50:de06:: with SMTP id z6mr30005960edk.279.1574830933092; Tue, 26 Nov 2019 21:02:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574830933; cv=none; d=google.com; s=arc-20160816; b=A4x5ByaIk4rTWAFCYVtwdK8Uf08KjPwoYKOz+88lQXN9RFvgPKT1UWY4+Gg2zYxNIV T++Lz9ei45ZY4NTOz31sJ2aEznf28aJUI2Tz3s+KjbFbbNOD+Wopygz9m7nQLT76fjb4 R1JOojnH+AdstYStCv0NwBem4icuaR9yizHDQ05p7xgZSE4c9e1e6PLiPgJ3vGRr0+68 MfO75Xz4wqRmHlpivyGVmHvox49TayNTV3o/+cNgdjvlEvTToLwoGZfO8ddf2/ebewGZ 9Kyy6s12ZlLC5DEybK0BHDFGNCIk1zu/mj63WU9hvILmBR2UfaFhL/b2ZVWIoFhrEGov QRjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=KFlBMDJuGxr2SbUHTADOPujL7iWclMvke62sd9Dz/xs=; b=Wn9S0yViZekVKj7SaBxPQ7lFGBt2+INHKoE7pYstU6TioVYyOWbR84icRqSM+L2Xdi PCvrQ6QGiU9lmanyVuDVVDCk+CiRF78vgk1Gh1jZxi/gjoV64kyl1mhfEfYVeL+BTMIN ahn3WN/AtGVM4CVso+ja5kal4duV71aNzccuTxBGf7SfKgXhpYK0moRlqh2EtDhuC/KQ ZsqUEy7CGs9b6REMNEV/cTaA8EmWejnbSBy7lHZKfOLr4fZeAq6s4v6uYpBXRCfJpVfQ ghv9kPXCwk0WYT/P8yTGWxkn+6Si0RmzdtMGE2kBa6X3tIqeaIaWHyCoU7VqN6RBk2jk oHGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=hRKbxqMd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7si10226881edj.96.2019.11.26.21.01.48; Tue, 26 Nov 2019 21:02:13 -0800 (PST) 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; dkim=pass header.i=@nvidia.com header.s=n1 header.b=hRKbxqMd; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726136AbfK0FAI (ORCPT + 99 others); Wed, 27 Nov 2019 00:00:08 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:17846 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727280AbfK0E7p (ORCPT ); Tue, 26 Nov 2019 23:59:45 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 26 Nov 2019 20:59:47 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 26 Nov 2019 20:59:43 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 26 Nov 2019 20:59:43 -0800 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 27 Nov 2019 04:59:43 +0000 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 27 Nov 2019 04:59:43 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 27 Nov 2019 04:59:43 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.169.149]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 26 Nov 2019 20:59:42 -0800 From: Sowjanya Komatineni To: , , , , , , , , , CC: , , , , , , , , , , , , , , , , , Subject: [PATCH v2 07/11] arm: tegra: Add clock-cells property to Tegra PMC Date: Tue, 26 Nov 2019 20:59:29 -0800 Message-ID: <1574830773-14892-8-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574830773-14892-1-git-send-email-skomatineni@nvidia.com> References: <1574830773-14892-1-git-send-email-skomatineni@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1574830787; bh=KFlBMDJuGxr2SbUHTADOPujL7iWclMvke62sd9Dz/xs=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=hRKbxqMdqVmnAEbgt9P/AeZdUkjJ5VS8sfg0hrwSj230YxSUEYoTSK4CpP6rA3Z6N dlxwMih8rsYooFsPDBdk8t3rrT83mg3E4Nqh9443D+lAFs7oIhLK99fxVmsSt7qWkn eQDPCViWKkC9xO6l4SFKOnNw71mHUYEiyDNyjs7j+Jg+14c6eAv41ruoY+r8+lZ7v1 4Qtt7EX9uzLncdZmkFDxvGCFpUntAYaR3JrJFJawvXvckdAa2aHG18hqeo4KsxLu8a daR4wKdr7WJ2HETpzfYwe2quvu2nGBFxr+IxFX1Y6cYE7SHnPaEKmYnKtZVX5O3bbG FcyLdd5ihWTiQ== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra PMC has 3 clocks clk_out_1, clk_out_2, clk_out_3 with mux and gate for each of these clocks and Tegra PMC is the clock provider for these clocks. This patch adds #clock-cells property with 1 clock specifier to the Tegra PMC node in device tree. Signed-off-by: Sowjanya Komatineni --- arch/arm/boot/dts/tegra114.dtsi | 4 +++- arch/arm/boot/dts/tegra124.dtsi | 4 +++- arch/arm/boot/dts/tegra20.dtsi | 4 +++- arch/arm/boot/dts/tegra30.dtsi | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/tegra114.dtsi b/arch/arm/boot/dts/tegra114.dtsi index 0d7a6327e404..b8f12f24f314 100644 --- a/arch/arm/boot/dts/tegra114.dtsi +++ b/arch/arm/boot/dts/tegra114.dtsi @@ -4,6 +4,7 @@ #include #include #include +#include / { compatible = "nvidia,tegra114"; @@ -514,11 +515,12 @@ status = "disabled"; }; - pmc@7000e400 { + pmc: pmc@7000e400 { compatible = "nvidia,tegra114-pmc"; reg = <0x7000e400 0x400>; clocks = <&tegra_car TEGRA114_CLK_PCLK>, <&clk32k_in>; clock-names = "pclk", "clk32k_in"; + #clock-cells = <1>; }; fuse@7000f800 { diff --git a/arch/arm/boot/dts/tegra124.dtsi b/arch/arm/boot/dts/tegra124.dtsi index 413bfb981de8..d0802c4ae3bf 100644 --- a/arch/arm/boot/dts/tegra124.dtsi +++ b/arch/arm/boot/dts/tegra124.dtsi @@ -6,6 +6,7 @@ #include #include #include +#include / { compatible = "nvidia,tegra124"; @@ -595,11 +596,12 @@ clocks = <&tegra_car TEGRA124_CLK_RTC>; }; - pmc@7000e400 { + pmc: pmc@7000e400 { compatible = "nvidia,tegra124-pmc"; reg = <0x0 0x7000e400 0x0 0x400>; clocks = <&tegra_car TEGRA124_CLK_PCLK>, <&clk32k_in>; clock-names = "pclk", "clk32k_in"; + #clock-cells = <1>; }; fuse@7000f800 { diff --git a/arch/arm/boot/dts/tegra20.dtsi b/arch/arm/boot/dts/tegra20.dtsi index 9c58e7fcf5c0..85a64747bec6 100644 --- a/arch/arm/boot/dts/tegra20.dtsi +++ b/arch/arm/boot/dts/tegra20.dtsi @@ -4,6 +4,7 @@ #include #include #include +#include / { compatible = "nvidia,tegra20"; @@ -608,11 +609,12 @@ status = "disabled"; }; - pmc@7000e400 { + pmc: pmc@7000e400 { compatible = "nvidia,tegra20-pmc"; reg = <0x7000e400 0x400>; clocks = <&tegra_car TEGRA20_CLK_PCLK>, <&clk32k_in>; clock-names = "pclk", "clk32k_in"; + #clock-cells = <1>; }; mc: memory-controller@7000f000 { diff --git a/arch/arm/boot/dts/tegra30.dtsi b/arch/arm/boot/dts/tegra30.dtsi index 55ae050042ce..4d5e9d0001d3 100644 --- a/arch/arm/boot/dts/tegra30.dtsi +++ b/arch/arm/boot/dts/tegra30.dtsi @@ -4,6 +4,7 @@ #include #include #include +#include / { compatible = "nvidia,tegra30"; @@ -714,11 +715,12 @@ status = "disabled"; }; - pmc@7000e400 { + pmc: pmc@7000e400 { compatible = "nvidia,tegra30-pmc"; reg = <0x7000e400 0x400>; clocks = <&tegra_car TEGRA30_CLK_PCLK>, <&clk32k_in>; clock-names = "pclk", "clk32k_in"; + #clock-cells = <1>; }; mc: memory-controller@7000f000 { -- 2.7.4