[linux-sunxi] Re: [PATCH v2] ARM: dts: sun8i-a83t: Add thermal trip points/cooling maps

2020-02-24 Thread Ondřej Jirman
On Mon, Feb 24, 2020 at 06:56:18PM +0100, Daniel Lezcano wrote: > On 24/02/2020 18:39, Ondřej Jirman wrote: > > On Mon, Feb 24, 2020 at 06:23:28PM +0100, megous hlavni wrote: > > > > To be more clear, new temperatures are available from the thermal sensor > > driver > > at the rate of 4 per secon

[linux-sunxi] Re: [PATCH v2] ARM: dts: sun8i-a83t: Add thermal trip points/cooling maps

2020-02-24 Thread Daniel Lezcano
On 24/02/2020 18:39, Ondřej Jirman wrote: > On Mon, Feb 24, 2020 at 06:23:28PM +0100, megous hlavni wrote: >> Hi, >> >> On Mon, Feb 24, 2020 at 06:06:20PM +0100, Daniel Lezcano wrote: >>> On 24/02/2020 17:54, Ondrej Jirman wrote: This enables passive cooling by down-regulating CPU voltage >>>

[linux-sunxi] Re: [PATCH v2] ARM: dts: sun8i-a83t: Add thermal trip points/cooling maps

2020-02-24 Thread Ondřej Jirman
On Mon, Feb 24, 2020 at 06:23:28PM +0100, megous hlavni wrote: > Hi, > > On Mon, Feb 24, 2020 at 06:06:20PM +0100, Daniel Lezcano wrote: > > On 24/02/2020 17:54, Ondrej Jirman wrote: > > > This enables passive cooling by down-regulating CPU voltage > > > clocks = <&ccu CLK_C1CPU

[linux-sunxi] Re: [PATCH v2] ARM: dts: sun8i-a83t: Add thermal trip points/cooling maps

2020-02-24 Thread Ondřej Jirman
Hi, On Mon, Feb 24, 2020 at 06:06:20PM +0100, Daniel Lezcano wrote: > On 24/02/2020 17:54, Ondrej Jirman wrote: > > This enables passive cooling by down-regulating CPU voltage > > clocks = <&ccu CLK_C1CPUX>; > > @@ -1188,12 +1188,60 @@ cpu0_thermal: cpu0-thermal { > >

[linux-sunxi] Re: [PATCH v2] ARM: dts: sun8i-a83t: Add thermal trip points/cooling maps

2020-02-24 Thread Daniel Lezcano
On 24/02/2020 17:54, Ondrej Jirman wrote: > This enables passive cooling by down-regulating CPU voltage > and frequency. > > For the trip points, I used values from the BSP code directly. > > The critical trip point value is 30°C above the maximum recommended > ambient temperature (70°C) for the