Message ID | 20181204092548.3038-4-josephl@nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Tegra210 DFLL support | expand |
On Tue, Dec 04, 2018 at 05:25:32PM +0800, Joseph Lo wrote: > The Tegra124 cpufreq driver works only with DFLL clock, which is a > hardware-based frequency/voltage controller. The driver doesn't need to > control the regulator itself. Hence remove that. > I think this is required for DFLL controlled I2C regulators because the regulator is queried for voltage selectors and I2C slave ID? Peter. > Cc: devicetree@vger.kernel.org > Signed-off-by: Joseph Lo <josephl@nvidia.com> > --- > .../devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt b/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt > index b1669fbfb740..031545a29caf 100644 > --- a/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt > +++ b/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt > @@ -13,7 +13,6 @@ Required properties: > - pll_x: Fast PLL clocksource. > - pll_p: Auxiliary PLL used during fast PLL rate changes. > - dfll: Fast DFLL clocksource that also automatically scales CPU voltage. > -- vdd-cpu-supply: Regulator for CPU voltage > > Optional properties: > - clock-latency: Specify the possible maximum transition latency for clock, > @@ -37,7 +36,6 @@ cpus { > <&dfll>; > clock-names = "cpu_g", "cpu_lp", "pll_x", "pll_p", "dfll"; > clock-latency = <300000>; > - vdd-cpu-supply: <&vdd_cpu>; > }; > > <...> > -- > 2.19.2 >
On 12/4/18 11:36 PM, Peter De Schrijver wrote: > On Tue, Dec 04, 2018 at 05:25:32PM +0800, Joseph Lo wrote: >> The Tegra124 cpufreq driver works only with DFLL clock, which is a >> hardware-based frequency/voltage controller. The driver doesn't need to >> control the regulator itself. Hence remove that. >> > > I think this is required for DFLL controlled I2C regulators because the > regulator is queried for voltage selectors and I2C slave ID? > Hi Peter, Yes, it's required for DFLL-I2C mode and defined in DFLL node. It's not needed here in the CPU node for CPU freq driver to handle that. Hence remove that. Thanks, Joseph > >> Cc: devicetree@vger.kernel.org >> Signed-off-by: Joseph Lo <josephl@nvidia.com> >> --- >> .../devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git a/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt b/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt >> index b1669fbfb740..031545a29caf 100644 >> --- a/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt >> +++ b/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt >> @@ -13,7 +13,6 @@ Required properties: >> - pll_x: Fast PLL clocksource. >> - pll_p: Auxiliary PLL used during fast PLL rate changes. >> - dfll: Fast DFLL clocksource that also automatically scales CPU voltage. >> -- vdd-cpu-supply: Regulator for CPU voltage >> >> Optional properties: >> - clock-latency: Specify the possible maximum transition latency for clock, >> @@ -37,7 +36,6 @@ cpus { >> <&dfll>; >> clock-names = "cpu_g", "cpu_lp", "pll_x", "pll_p", "dfll"; >> clock-latency = <300000>; >> - vdd-cpu-supply: <&vdd_cpu>; >> }; >> >> <...> >> -- >> 2.19.2 >>
On Wed, Dec 05, 2018 at 11:05:58AM +0800, Joseph Lo wrote: > On 12/4/18 11:36 PM, Peter De Schrijver wrote: > > On Tue, Dec 04, 2018 at 05:25:32PM +0800, Joseph Lo wrote: > > > The Tegra124 cpufreq driver works only with DFLL clock, which is a > > > hardware-based frequency/voltage controller. The driver doesn't need to > > > control the regulator itself. Hence remove that. > > > > > > > I think this is required for DFLL controlled I2C regulators because the > > regulator is queried for voltage selectors and I2C slave ID? > > > > Hi Peter, > > Yes, it's required for DFLL-I2C mode and defined in DFLL node. It's not > needed here in the CPU node for CPU freq driver to handle that. Hence remove > that. > Ah right. So yes, this is fine then. Peter. > Thanks, > Joseph > > > > > > > Cc: devicetree@vger.kernel.org > > > Signed-off-by: Joseph Lo <josephl@nvidia.com> > > > --- > > > .../devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt | 2 -- > > > 1 file changed, 2 deletions(-) > > > > > > diff --git a/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt b/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt > > > index b1669fbfb740..031545a29caf 100644 > > > --- a/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt > > > +++ b/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt > > > @@ -13,7 +13,6 @@ Required properties: > > > - pll_x: Fast PLL clocksource. > > > - pll_p: Auxiliary PLL used during fast PLL rate changes. > > > - dfll: Fast DFLL clocksource that also automatically scales CPU voltage. > > > -- vdd-cpu-supply: Regulator for CPU voltage > > > Optional properties: > > > - clock-latency: Specify the possible maximum transition latency for clock, > > > @@ -37,7 +36,6 @@ cpus { > > > <&dfll>; > > > clock-names = "cpu_g", "cpu_lp", "pll_x", "pll_p", "dfll"; > > > clock-latency = <300000>; > > > - vdd-cpu-supply: <&vdd_cpu>; > > > }; > > > <...> > > > -- > > > 2.19.2 > > >
On 04/12/2018 09:25, Joseph Lo wrote: > The Tegra124 cpufreq driver works only with DFLL clock, which is a > hardware-based frequency/voltage controller. The driver doesn't need to > control the regulator itself. Hence remove that. > > Cc: devicetree@vger.kernel.org > Signed-off-by: Joseph Lo <josephl@nvidia.com> > --- > .../devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt b/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt > index b1669fbfb740..031545a29caf 100644 > --- a/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt > +++ b/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt > @@ -13,7 +13,6 @@ Required properties: > - pll_x: Fast PLL clocksource. > - pll_p: Auxiliary PLL used during fast PLL rate changes. > - dfll: Fast DFLL clocksource that also automatically scales CPU voltage. > -- vdd-cpu-supply: Regulator for CPU voltage > > Optional properties: > - clock-latency: Specify the possible maximum transition latency for clock, > @@ -37,7 +36,6 @@ cpus { > <&dfll>; > clock-names = "cpu_g", "cpu_lp", "pll_x", "pll_p", "dfll"; > clock-latency = <300000>; > - vdd-cpu-supply: <&vdd_cpu>; > }; > > <...> > Acked-by: Jon Hunter <jonathanh@nvidia.com> Cheers Jon
diff --git a/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt b/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt index b1669fbfb740..031545a29caf 100644 --- a/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt +++ b/Documentation/devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt @@ -13,7 +13,6 @@ Required properties: - pll_x: Fast PLL clocksource. - pll_p: Auxiliary PLL used during fast PLL rate changes. - dfll: Fast DFLL clocksource that also automatically scales CPU voltage. -- vdd-cpu-supply: Regulator for CPU voltage Optional properties: - clock-latency: Specify the possible maximum transition latency for clock, @@ -37,7 +36,6 @@ cpus { <&dfll>; clock-names = "cpu_g", "cpu_lp", "pll_x", "pll_p", "dfll"; clock-latency = <300000>; - vdd-cpu-supply: <&vdd_cpu>; }; <...>
The Tegra124 cpufreq driver works only with DFLL clock, which is a hardware-based frequency/voltage controller. The driver doesn't need to control the regulator itself. Hence remove that. Cc: devicetree@vger.kernel.org Signed-off-by: Joseph Lo <josephl@nvidia.com> --- .../devicetree/bindings/cpufreq/nvidia,tegra124-cpufreq.txt | 2 -- 1 file changed, 2 deletions(-)