[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201222091408.vvputqs27olywdxq@vireshk-i7>
Date: Tue, 22 Dec 2020 14:44:08 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Dmitry Osipenko <digetx@...il.com>
Cc: Thierry Reding <thierry.reding@...il.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Ulf Hansson <ulf.hansson@...aro.org>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Peter Geis <pgwipeout@...il.com>,
Nicolas Chauvet <kwizart@...il.com>,
Krzysztof Kozlowski <krzk@...nel.org>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Kevin Hilman <khilman@...nel.org>,
Peter De Schrijver <pdeschrijver@...dia.com>,
Viresh Kumar <vireshk@...nel.org>,
Stephen Boyd <sboyd@...nel.org>,
Michael Turquette <mturquette@...libre.com>,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, dri-devel@...ts.freedesktop.org,
linux-media@...r.kernel.org, linux-tegra@...r.kernel.org,
linux-clk@...r.kernel.org
Subject: Re: [PATCH v2 44/48] ARM: tegra: Add OPP tables and power domains to
Tegra30 device-tree
On 17-12-20, 21:06, Dmitry Osipenko wrote:
> diff --git a/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi b/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi
> index cbe84d25e726..983db1a06682 100644
> --- a/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi
> +++ b/arch/arm/boot/dts/tegra30-peripherals-opp.dtsi
> @@ -1,6 +1,56 @@
> // SPDX-License-Identifier: GPL-2.0
>
> / {
> + core_opp_table: core-power-domain-opp-table {
> + compatible = "operating-points-v2";
> + opp-shared;
> +
> + core_opp_950: opp@...000 {
> + opp-microvolt = <950000 950000 1350000>;
> + opp-level = <950000>;
Perhaps you don't need to exactly copy the voltage value into the level field.
The level field can just be kept to 0, 1,2, 3, etc..
> + };
> +
> + core_opp_1000: opp@...0000 {
> + opp-microvolt = <1000000 1000000 1350000>;
> + opp-level = <1000000>;
> + };
> +
> + core_opp_1050: opp@...0000 {
> + opp-microvolt = <1050000 1050000 1350000>;
> + opp-level = <1050000>;
> + };
> +
> + core_opp_1100: opp@...0000 {
> + opp-microvolt = <1100000 1100000 1350000>;
> + opp-level = <1100000>;
> + };
> +
> + core_opp_1150: opp@...0000 {
> + opp-microvolt = <1150000 1150000 1350000>;
> + opp-level = <1150000>;
> + };
> +
> + core_opp_1200: opp@...0000 {
> + opp-microvolt = <1200000 1200000 1350000>;
> + opp-level = <1200000>;
> + };
> +
> + core_opp_1250: opp@...0000 {
> + opp-microvolt = <1250000 1250000 1350000>;
> + opp-level = <1250000>;
> + };
> +
> + core_opp_1300: opp@...0000 {
> + opp-microvolt = <1300000 1300000 1350000>;
> + opp-level = <1300000>;
> + };
> +
> + core_opp_1350: opp@...0000 {
> + opp-microvolt = <1350000 1350000 1350000>;
> + opp-level = <1350000>;
> + };
> + };
--
viresh
Powered by blists - more mailing lists