Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4896027ybl; Mon, 13 Jan 2020 23:27:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzHqqxuj3OkrdJ7ZuVRLCdjOZYju2rLb42mhCLdOfbsdQODGvERjCIBtBqT4TSGLd7yBTD1 X-Received: by 2002:aca:f1d4:: with SMTP id p203mr15423501oih.116.1578986833959; Mon, 13 Jan 2020 23:27:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578986833; cv=none; d=google.com; s=arc-20160816; b=YwnEAI6ha//KSnzY05v+exXCj8ZmZ/1fg4adFRwEuo8fIRr/SyEwxO9I9Iy7eJ/xM5 ihph5vCOI5Tu0cp7ctTCGD6v3WPMBGKkFwqg9LuhB+zFMZPRl0CWgpiOYzFq6E6Cw5HC 0Mjoa9GWECeISPb9NFvq3Lk+9vUnuY8RngcKaHJtFIjQ+V/iMzatMOclZzw3Yrf6HDi2 hPCR6f1VdlSgUMD0DubSVGyZGCQ5voYByqmhZSEPzeDKCfpoAJnAhg+FXB/W+FZdsuoo r7aOMhn7ofWuj3mwSg5Utaxm+g8MoW5W8R331UsmqyMTJnQit/BrDidVA9jsgrPgiV/9 mySA== 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=UaCMeRw0VEtk3rVme1BXauONNlkN61r7duaAyCv1+5b6IhTSp6t6V0cp/I6DfeTPIg HH/7Ycm7p86t402PoY/8QmTO5RgDWfCWeNDX96Zqenn60ZGoWoe8dCEsYiyD2Q7Y4UZr U/IP8RKUV5T86MSZ0eatGVWehHhkaJAicueVAY1YL5SFSBOZfZEzNexYn7D6iK+HaP7s TwQIux5IpPz6hAx5ETgFg9sPYX86O8wdpzW8ggc4IAhmfa8Cu6XHI1QkU3qJz0f/Amvp bCwe21VY/DpKjrPtQLi0M18DU/8OdVrpEioZ5ZHA9jX9Ec74qhKHdfemSgY9Biehk00K b7uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=k8bZr685; 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 b137si7033313oii.63.2020.01.13.23.27.02; Mon, 13 Jan 2020 23:27: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=k8bZr685; 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 S1729372AbgANHZk (ORCPT + 99 others); Tue, 14 Jan 2020 02:25:40 -0500 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:13248 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729103AbgANHYk (ORCPT ); Tue, 14 Jan 2020 02:24:40 -0500 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Mon, 13 Jan 2020 23:23:45 -0800 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Mon, 13 Jan 2020 23:24:39 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Mon, 13 Jan 2020 23:24:39 -0800 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 14 Jan 2020 07:24:39 +0000 Received: from hqnvemgw03.nvidia.com (10.124.88.68) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 14 Jan 2020 07:24:39 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.169.242]) by hqnvemgw03.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Mon, 13 Jan 2020 23:24:39 -0800 From: Sowjanya Komatineni To: , , , , , , , , , , , , CC: , , , , , , , , , , Subject: [PATCH v8 13/22] ARM: dts: tegra: Add clock-cells property to pmc Date: Mon, 13 Jan 2020 23:24:18 -0800 Message-ID: <1578986667-16041-14-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1578986667-16041-1-git-send-email-skomatineni@nvidia.com> References: <1578986667-16041-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=1578986625; 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=k8bZr685sWuPrSD4y5jupnSFlnxHcuF9B1w+l0cqPG6vuViq/b+/i2gwoHf8aRpUF Bbu9j2+k1P68AAX6hwW+MF+oV74O1SZAvPv6d1vTslMJYLI6osH/ecowFu/Dx5Rs3R KcMTnoQzdrkE4kV+/Tgghw2slH8ViNpIjIaQFUzJ7SAXVEiubrhvB9k3+VW8kIlLAr xX5a84YcgwvWrXn18vYUDynpLjOJl2/uvrtrXILMy+/vppSEeQbtP/s3nkIlfqBP94 he60XAJ7smE8Zh7j89yP2t8PhYO4qNUA6sT2D0FuWYpGL+Yi0YZlKV9C+eHiqpxVrG WNI+sAi7XLxrg== 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