Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp330593ybl; Tue, 7 Jan 2020 20:27:23 -0800 (PST) X-Google-Smtp-Source: APXvYqx1JaZO/BS4BPMxKV2ji1aGRJ20NpZCYpxDoUD9LjaNg7uiQcZEP0bv4wUyJW34URne+y67 X-Received: by 2002:aca:45c1:: with SMTP id s184mr1630910oia.158.1578457643095; Tue, 07 Jan 2020 20:27:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578457643; cv=none; d=google.com; s=arc-20160816; b=twjs2WOXropwNBrflawsY9XuzlJ1I4Mdx/gdSqElBm0qJT4P2Qf2jtEr74ojO0BUfr b16dJwlfCd1/6w0xNNNN7/tkQfSmiEw8RLbYP4AnjVB4yFSAI7/KjKn+qFkYyYX4GqTO cc5TPhB+MVq320KypeaYRsmLzacVgbEKzM9AVtFriwuRSc0XSU1ut0RZ8CzW2aPbR6nH MkmPKiUy8pV7tK97q6R/ayfsvrn17sj/2YCMSS+qtoqk9e5GxXq9HgiTRHzQ5aXvGU4s gukFaZ8SOtehQsmmOPCtH59Jwsour268YVpG7itI6eDsEPpbfJwDGl9m2QZKjJH7BGdQ lKzA== 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=n6u43CCO3Rk0SBQthIrTkuUi3daCYDOTJ3i1e6Ox8Hs=; b=1LVQFuyZK4Q1zOSLv9x3ya0D1Shz0av6TQXgmUZti/RQDMYctt9FQzG+cFwYNykaCx VZwCZssX+Cj/YAnYjNZZV8POXQuj/pB4T13unI5YVzF0su2rPk692Dw1mIlN0uRS/S6J vERJdK5/RhQ8MdwzjuyURsiRytALxG2IUP5ZCGNhfJrapgFv509cfud42DBoPCAFePxn QNwKZc+eiyBKBMOMlr3ROm7Yk4RQyKTleTBxxnVSyIj++CFldQyDkOZeqDpPrljyOKkp 1WdEEwkbHXsm86jD2WDrpMyY51ar0JFXs3WMgSoahEOSbs4kyvPRkdSWw0k8iUAaZ3mW 9ATQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=GhOixAOe; 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 t3si1229789oig.25.2020.01.07.20.27.11; Tue, 07 Jan 2020 20:27:23 -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=GhOixAOe; 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 S1727237AbgAHEZu (ORCPT + 99 others); Tue, 7 Jan 2020 23:25:50 -0500 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:12522 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727224AbgAHEZt (ORCPT ); Tue, 7 Jan 2020 23:25:49 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 07 Jan 2020 20:25:31 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 07 Jan 2020 20:25:48 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 07 Jan 2020 20:25:48 -0800 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 8 Jan 2020 04:25:47 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 8 Jan 2020 04:25:47 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.162.131]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 07 Jan 2020 20:25:47 -0800 From: Sowjanya Komatineni To: , , , , , , , , , , , , CC: , , , , , , , , , , Subject: [PATCH v7 17/21] ARM: dts: tegra: Add clock-cells property to pmc Date: Tue, 7 Jan 2020 20:25:11 -0800 Message-ID: <1578457515-3477-18-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1578457515-3477-1-git-send-email-skomatineni@nvidia.com> References: <1578457515-3477-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=1578457531; bh=n6u43CCO3Rk0SBQthIrTkuUi3daCYDOTJ3i1e6Ox8Hs=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=GhOixAOecMhOtRGkVmoU8nR3K9OxutA7yr72ayN6Y2S/LgQKLgkhmj1rD3gsL1u9S eicsSq81/xUhZE3lbqFwIxAab8Lm0xnSBeY0sbzgtiix4SWoZ3aLPjCNbJdp68AgZu tcPsFskwiAbSPZigp75OkWRGnEtLSTC8wI0GhR6irKW5bIQWEnRVn3Ht70N9casvwq lKnDH6end1r1ZdteHGnTikEQQAQGDMJHwSmaBS+v++/Euy2RjPvdczH6kytyGneOuQ xsl3BxMnDGxXf/o6ONdwwisSHNr6U9uS6dBRGfaRTTbaDoufsyTvO1GAY0yWDHG4/u Z/NQBkkn1Q2Iw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra PMC has clk_out_1, clk_out_2, clk_out_3, and blink clock. These clocks are moved from clock driver to pmc driver with pmc as the clock provider for these clocks. This patch adds #clock-cells property with 1 clock specifier to the Tegra PMC node in device tree. Tested-by: Dmitry Osipenko Reviewed-by: Dmitry Osipenko 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..450a1f1b12a0 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 { + tegra_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..bd7fad35d29a 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 { + tegra_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..c3b8ad53b967 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 { + tegra_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..d2d05f1da274 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 { + tegra_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