Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp179775ybc; Mon, 18 Nov 2019 22:54:31 -0800 (PST) X-Google-Smtp-Source: APXvYqwxWTfzgwp84Klyor76By9yOBpQDjvQWPUsSGx8RHypd+Iu01k+nD3JyXWIYW0lSnWg43wX X-Received: by 2002:a17:906:2f09:: with SMTP id v9mr32612816eji.91.1574146471560; Mon, 18 Nov 2019 22:54:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574146471; cv=none; d=google.com; s=arc-20160816; b=cwHich7G8MGzBPx39NqaRqCNLyQDVwYwKp4B/+Fy0WxY7IduH3cfk68cifZiI3oaP9 6aeqCkH9n+Qg+Z4yyAOdMbcQb/jMNY+yIw+79Tl7CCwO0B0s0a2ZQCuZvs/xuDVXl/Zr dE2pobXEUrTQILHr7apZQ8ubq7u9wrxFnlWeZziuRwKQ1L8OnhOFUhzSPRqnbyL2tSX6 2W4apcdDv/hc+GcRcS/ot0ckdAFQuZiV/ToFxJKFYgqLtOJWa6ZtM/muRmGwnnrKfzuw P6giwSgvc/Nzwj0HW3KunQ1egWYNCx7R7g7xvO+pzn0Mw/kECYStt4XbpGtGSEy7wgxV RibA== 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=UxINdMwtmQ5rxM0ZUPV5wKmTIo6gbx7kHXvFFoRj8Qw=; b=eFi8aTSLT/PME+w0MOQ0IcJDpJMeM+KlwSFtgE55jfYsYI7WvfakUnrtFNKyXP2gT3 pxB1DHpqzbWG69bKyMHxI/cdjXZlt3DrpNF8L6vi4B4PpCAIQ9IgXRyq7H3huxaGvGLT dbSjkcZG7m/m3zUujK0R8XtRvKUDgR2xTni0sffsRPbmjl0azsWGkeWle7AY+OxyWCrT VuMAhqRiXuy7TclUj6AwzhVr3NTZ9rJnel9W5JZPGvikPYAfps8/0p2wsWIQz8N53aSL 5gojW1JPeojaGvuMbJ815p9nEetiTqmUqvoh9mvcP4WYSURq8/Xr9iuued/HrI54CBRx 6V6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Lh51bIPT; 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 w26si12987169eju.48.2019.11.18.22.54.07; Mon, 18 Nov 2019 22:54:31 -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=Lh51bIPT; 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 S1728070AbfKSGv4 (ORCPT + 99 others); Tue, 19 Nov 2019 01:51:56 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:14279 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727801AbfKSGvK (ORCPT ); Tue, 19 Nov 2019 01:51:10 -0500 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 18 Nov 2019 22:51:07 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Mon, 18 Nov 2019 22:51:10 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Mon, 18 Nov 2019 22:51:10 -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; Tue, 19 Nov 2019 06:51:09 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 19 Nov 2019 06:51:09 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.175.254]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 18 Nov 2019 22:51:09 -0800 From: Sowjanya Komatineni To: , , , , , , , , , CC: , , , , , , , , , , , , , , , , , Subject: [PATCH v1 12/17] arm: tegra: Add clock-cells property to Tegra pmc Date: Mon, 18 Nov 2019 22:50:29 -0800 Message-ID: <1574146234-3871-13-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1574146234-3871-1-git-send-email-skomatineni@nvidia.com> References: <1574146234-3871-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=1574146267; bh=UxINdMwtmQ5rxM0ZUPV5wKmTIo6gbx7kHXvFFoRj8Qw=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=Lh51bIPT3acwHX6DBDS7OfjjiVAVyVL+e3gTXqGKlZUN5+aHyTRC1EhyNmDhnZ4jQ 2JK1vHIbEtpB2TFONjbQ5Nz1Hzefsh/BYFk98KTJ5QATSel+Da9rYf4aLCo0iz06dP vDZSVX5R8O7eGhMOu/G7HFt2WciXwTau8hbGDMfEDVEv363YA+DehiogQ+BKZnyMzw K/DUyR/X91/uWefC4BEg8HzLAbApEWB9FtN1JaYcBcTix5obl635VGlkvP+n0FXOFc p07AA/rSDIHhFZWkCShts/xKje0h3AJPFjN6Soaf/QEqyBU3xqW+2tobxBD0F/Wql2 OVQ2Zx8MpwbXA== 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 as part of pmc 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. Signed-off-by: Sowjanya Komatineni --- arch/arm/boot/dts/tegra114.dtsi | 4 +++- arch/arm/boot/dts/tegra124.dtsi | 4 +++- arch/arm/boot/dts/tegra30.dtsi | 4 +++- 3 files changed, 9 insertions(+), 3 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/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