2021-01-09 16:43:14

by Adam Ford

[permalink] [raw]
Subject: [PATCH] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

Previously, the 1GHz variants were marked as a turbo,
because that variant has reduced thermal operating range.

Now that the thermal throttling is in place, it should be
safe to remove the turbo-mode from the 1GHz variants, because
the CPU will automatically slow if the thermal limit is reached.

Signed-off-by: Adam Ford <[email protected]>

diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
index 3a5228562b0d..3451f9be104e 100644
--- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
+++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
@@ -70,6 +70,7 @@ nand@0,0 {
gpmc,device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
+ status = "disabled";
};
};

--
2.25.1


2021-01-09 17:01:09

by Adam Ford

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

On Sat, Jan 9, 2021 at 10:39 AM Adam Ford <[email protected]> wrote:
>
> Previously, the 1GHz variants were marked as a turbo,
> because that variant has reduced thermal operating range.
>
> Now that the thermal throttling is in place, it should be
> safe to remove the turbo-mode from the 1GHz variants, because
> the CPU will automatically slow if the thermal limit is reached.
>
> Signed-off-by: Adam Ford <[email protected]>
>
Sorry for the noise. grabbed the wrong thing.

Please disregard.

> diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> index 3a5228562b0d..3451f9be104e 100644
> --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> @@ -70,6 +70,7 @@ nand@0,0 {
> gpmc,device-width = <2>;
> #address-cells = <1>;
> #size-cells = <1>;
> + status = "disabled";
> };
> };
>
> --
> 2.25.1
>

2021-01-09 17:03:04

by H. Nikolaus Schaller

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

Hi Adam,

> Am 09.01.2021 um 17:39 schrieb Adam Ford <[email protected]>:
>
> Previously, the 1GHz variants were marked as a turbo,
> because that variant has reduced thermal operating range.
>
> Now that the thermal throttling is in place, it should be
> safe to remove the turbo-mode from the 1GHz variants, because
> the CPU will automatically slow if the thermal limit is reached.

Subject and description may be misunderstood in a way that 1GHz
is now disabled.

Rather the 1GHz OPP is now permanently enabled and does no longer
need to be manuall enabled through something like
/sys/devices/system/cpu/cpufreq/boost.

>
> Signed-off-by: Adam Ford <[email protected]>
>
> diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> index 3a5228562b0d..3451f9be104e 100644
> --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> @@ -70,6 +70,7 @@ nand@0,0 {
> gpmc,device-width = <2>;
> #address-cells = <1>;
> #size-cells = <1>;
> + status = "disabled";

this does not seem to match the description?

> };
> };
>
> --
> 2.25.1
>

BR,
Nikolaus

2021-01-09 17:05:38

by Adam Ford

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: omap36xx: Remove turbo mode for 1GHz variants

On Sat, Jan 9, 2021 at 10:58 AM H. Nikolaus Schaller <[email protected]> wrote:
>
> Hi Adam,
>
> > Am 09.01.2021 um 17:39 schrieb Adam Ford <[email protected]>:
> >
> > Previously, the 1GHz variants were marked as a turbo,
> > because that variant has reduced thermal operating range.
> >
> > Now that the thermal throttling is in place, it should be
> > safe to remove the turbo-mode from the 1GHz variants, because
> > the CPU will automatically slow if the thermal limit is reached.
>
> Subject and description may be misunderstood in a way that 1GHz
> is now disabled.
>
> Rather the 1GHz OPP is now permanently enabled and does no longer
> need to be manuall enabled through something like
> /sys/devices/system/cpu/cpufreq/boost.

I just sent a V2, before I saw this. I can send a V3 with your
feedback. I just want to give Tony and/or others a chance to chime
in.

>
> >
> > Signed-off-by: Adam Ford <[email protected]>
> >
> > diff --git a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> > index 3a5228562b0d..3451f9be104e 100644
> > --- a/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> > +++ b/arch/arm/boot/dts/logicpd-torpedo-som.dtsi
> > @@ -70,6 +70,7 @@ nand@0,0 {
> > gpmc,device-width = <2>;
> > #address-cells = <1>;
> > #size-cells = <1>;
> > + status = "disabled";
>
> this does not seem to match the description?

I just sent an apology e-mail because I realized I grabbed the wrong file.

>
> > };
> > };
> >
> > --
> > 2.25.1
> >
>
> BR,
> Nikolaus
>