Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp931966ybc; Tue, 19 Nov 2019 11:36:40 -0800 (PST) X-Google-Smtp-Source: APXvYqwo06vJfd12FxQyI7u7hv/O3x5iA4VCzIJZ/z1LsXVTApUKI8KfW6c4P9dCaN8wstjCpKb6 X-Received: by 2002:adf:fd85:: with SMTP id d5mr1048883wrr.101.1574192200600; Tue, 19 Nov 2019 11:36:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574192200; cv=none; d=google.com; s=arc-20160816; b=xFfNAa5MxIYoIUb85/XoSKybJl7+w+zFX447OlBsgfiLvjJFoap9iMcLi1WizDxYNo dgQOCEatXTnz4S4E5u5sxRAZUEtz/dSEa/Ai2OnhgJrUwg+s90//xU8ffBLG5BUtOB+J JOw5hY+i1f35w8O1UVo56O7PAwnTlZbfDqUVQNsSA0wwoQqxxc22ssx062uFOkG38C8l mnQv00EWJZSoddcdepqC3mCzwyhXOjIX9q9RC+l64bxqpVhwMztvBRRySNkzbR9OVE8Y 6y/aO6Iucl/49sy20eBQ9+0oBpSXkN+khY636oFcjv7E6wRJxbUOJG91Vizuzk1PKe9P 9lLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=gMwxQZ0NGeg1EorIa2meDnvhnfgkvViZuHv3dYidgxs=; b=Pm6Rlcby8IJgrL3cwcdwsKbrDCMEQLsusdcUj9Ypq66enGLX3lYawrDpq4IjdNwyR2 vxurYGL+4RKThT3s/m01QK2gMiffEAdQnO5m2mlgkrBeiNSTC8wC5CKd+u8ixZumk00z D9Lq/1LmLzazTvZqCo3qbYM0N3rxO/m23JAwUXFX2AYZVOElxrL+YwZ5Z9hTnrofezpo KSVBynwbsv+OxJ5VCTgbVHa9EtMOO274AbOkrtOGbAva3bl9GD0URWcGMY5pfW9NIoLq Br0L3yJL0HMWL0Crhe49mFX+9KsX8kEarLs0QmQ0ciYxGQwevGvbllEcOmNqqjczPs9c uwPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ajcWQiLf; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si15321188edp.264.2019.11.19.11.36.16; Tue, 19 Nov 2019 11:36:40 -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=@gmail.com header.s=20161025 header.b=ajcWQiLf; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727720AbfKSTch (ORCPT + 99 others); Tue, 19 Nov 2019 14:32:37 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:41846 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726792AbfKSTch (ORCPT ); Tue, 19 Nov 2019 14:32:37 -0500 Received: by mail-lj1-f196.google.com with SMTP id m4so19759377ljj.8; Tue, 19 Nov 2019 11:32:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=gMwxQZ0NGeg1EorIa2meDnvhnfgkvViZuHv3dYidgxs=; b=ajcWQiLfE9po51PPLxd3b53VUtVor9+JUkvzHnoUpI/VO7A7+kEmHi3lAhkrCFes89 gG75UUKyfyr0ANCiemd1klNeCbTeYbTvR1yppysjuU2Y1XOpQvGl9WFxDFJR52BQiAfs jr1QH2cTtKQg/56WGCQYtwvXYdXUqYjwcsdCtUwytDllrrrI1PnnjCgRErLuNlnlKDLr ON/x/uOemadHum1FrcF6sVqqkpA/QoW0zaDCdddUCMBqN37PysXCGu9AQNpdXpn33bSg hyz1Tj9Y+7iTxGvJQtEZtc7tSAA/wjPMHax7SAEthptArmk9mQlLL7SCBiltDiNTzwYJ LJVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gMwxQZ0NGeg1EorIa2meDnvhnfgkvViZuHv3dYidgxs=; b=Aco1SRsKlFdV8nPhWUjZpl0jOpjr7wMe1Mp6sDcuVrjEjeA0iictrCI8J37ACU044a 1SUjbvUq6H8pBsZD6qBsqrC4c8ckZTt1imSo1dCsFQQ/yniVUhwfkUndv8RGBIJl+JX/ /S/5MoPLwxQ75QRMk3/a2bBVAgoWlKQqKoRa3L6LBYc5tEbNEs5n4n2hcUaQcTxf93Uf h1PzoGKUneuJCcUgyi51CIcTcYZiUxzdwoLS5tx0gJwKLxMoCT1iP2+9qcU4DpcmJ5A+ 3FbFQCtbm8xf649JR63ORvIv4iH31lH/7LiNCT6KvSLw6FeetZinKvSAW9dwlh+upSZr 0BGg== X-Gm-Message-State: APjAAAXqZjcUzod9d7Ya3DwFc3xFkRl4dCT2ZomCBvRKSoh8phPdPj19 vcJ695pjB+3xkNqHat/jN9zbyXWj X-Received: by 2002:a2e:3009:: with SMTP id w9mr5655871ljw.74.1574191954093; Tue, 19 Nov 2019 11:32:34 -0800 (PST) Received: from [192.168.2.145] (79-139-233-37.dynamic.spd-mgts.ru. [79.139.233.37]) by smtp.googlemail.com with ESMTPSA id t8sm11062627lfl.51.2019.11.19.11.32.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Nov 2019 11:32:33 -0800 (PST) Subject: Re: [PATCH v1 12/17] arm: tegra: Add clock-cells property to Tegra pmc To: Sowjanya Komatineni , thierry.reding@gmail.com, jonathanh@nvidia.com, mperttunen@nvidia.com, gregkh@linuxfoundation.org, sboyd@kernel.org, tglx@linutronix.de, robh+dt@kernel.org, mark.rutland@arm.com Cc: allison@lohutok.net, pdeschrijver@nvidia.com, pgaikwad@nvidia.com, mturquette@baylibre.com, horms+renesas@verge.net.au, Jisheng.Zhang@synaptics.com, krzk@kernel.org, arnd@arndb.de, spujar@nvidia.com, josephl@nvidia.com, vidyas@nvidia.com, daniel.lezcano@linaro.org, mmaddireddy@nvidia.com, markz@nvidia.com, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org References: <1574146234-3871-1-git-send-email-skomatineni@nvidia.com> <1574146234-3871-13-git-send-email-skomatineni@nvidia.com> From: Dmitry Osipenko Message-ID: Date: Tue, 19 Nov 2019 22:32:32 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <1574146234-3871-13-git-send-email-skomatineni@nvidia.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 19.11.2019 09:50, Sowjanya Komatineni пишет: > 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 { > What about Tegra20?