Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp22176610ybl; Mon, 6 Jan 2020 20:16:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwmFC/4V8lUSHKeHwIBjEZYMVqaGlAv/XNuXFzadPH4rQWpr03H6UoOj74WwLr171uIQa+X X-Received: by 2002:a9d:4d8d:: with SMTP id u13mr115771937otk.299.1578370573428; Mon, 06 Jan 2020 20:16:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578370573; cv=none; d=google.com; s=arc-20160816; b=UO77NxuzfuA3PLxAJn3U746Zi4T2LBGSNgLVT84Gmyl+5AV9xQrfuy+4oe9v2WvpGx fkLP71M8eWuK3NIV7DcD5xCdpt6QwYfQVP3oHZNWhpTYTiXaP9L2snN7caU4HOhT6vxS D5uawEVLPdhYp6uBWr9k0uIGTzlYZNVl6tN9R4MLTVxEjC+Poq42yTOiEcmD+ZJ3qndz CdcwVnzL9TpJpgkc6OIiXouqg5cPzeInlcP3S2kx6LxO1mAJF7HRwobKMReq1n88lu63 PxwpxfZNF1JrBd3QSB7JaVaTdWErsjeqGPR62o+/HogPVlviipcDg+dhzEa82SmOS/Au RMjg== 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=eLrdiYd8db5pIKH+0jOuUKzrVhj6HKv2HsJla3JUS3Q=; b=RsRhKn62Hs+24aa5Jp92q6cSnW8CdoGvAOLv1ezSHU2vWlB+1SAuIsoJSGDYqPuRGL N2eakn79Nk2NTAxILoraf+HaLFfgxnHg8FwNWxISkHIsY/uRNpCrnPcX/UzxvhfJThUw RyNqvAM5WOzzMwwoOfjZo5JvVSEMcQHUxu8W+MukAW7FzV23731encACWZNDYum6vht8 ymFaJg0Gb93Xjv4lP6hgmg1WzdyWRPFsGk7aOxjlABkcQCPJLTY4UoZyPyL09ZUdvf37 S0NLeAmBmjvASOikhrzI04P0FKq9gskxb2Zy6I0ejJBRPAMHfrfBfDl5SNaHgDvpzlRQ M+2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=ccJesVHg; 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 14si27281539oij.200.2020.01.06.20.16.01; Mon, 06 Jan 2020 20:16: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=ccJesVHg; 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 S1727773AbgAGEPD (ORCPT + 99 others); Mon, 6 Jan 2020 23:15:03 -0500 Received: from hqnvemgate26.nvidia.com ([216.228.121.65]:4715 "EHLO hqnvemgate26.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727671AbgAGEOh (ORCPT ); Mon, 6 Jan 2020 23:14:37 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate26.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 06 Jan 2020 20:14:19 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 06 Jan 2020 20:14:36 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 06 Jan 2020 20:14:36 -0800 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 7 Jan 2020 04:14:36 +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; Tue, 7 Jan 2020 04:14:36 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.171.88]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 06 Jan 2020 20:14:36 -0800 From: Sowjanya Komatineni To: , , , , , , , , , , , , CC: , , , , , , , , , , Subject: [PATCH v6 15/19] ARM: dts: tegra: Add clock-cells property to pmc Date: Mon, 6 Jan 2020 20:14:14 -0800 Message-ID: <1578370458-3686-16-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1578370458-3686-1-git-send-email-skomatineni@nvidia.com> References: <1578370458-3686-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=1578370460; bh=eLrdiYd8db5pIKH+0jOuUKzrVhj6HKv2HsJla3JUS3Q=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=ccJesVHgYHgPR9Qa5SDi9ScFxwLb+8FrkZi24J5WmEee8F/osiDPi38x00iaTni8F SJo6hUcMwl3EFwiVC2m3aI0yl/wmuxEtK+gJV24reO/FILmzdYdLGAZ6umVmOxLPGF m7h8BG39dAhgkjHj6qsVUp0C0GYC46ZqeuFB9LYFbSmW5s3UCXKNKygoHEbIjIRDNv vFIxeFr0qrhKwymVJ5KEjheZmNNmrbCGveIZNbJtmazs6HtYoA7EkUuASTzU5Nzuh8 XR+eBY0KaV1RMLYAPb8AOZObw3vEgwBZ6howfAEy5I6KDQ6ZfPe3lhAv/PBmL7c8c1 n44aj5p6NQA/g== 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. 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