Re: [PATCH v3 1/3] ARM: tegra: Add device-tree for Ouya
From: Dmitry Osipenko
Date: Mon Oct 05 2020 - 10:02:06 EST
04.10.2020 16:31, Peter Geis пишет:
> + thermal-zones {
> + cpu_thermal: cpu-thermal {
> + polling-delay = <5000>;
> + polling-delay-passive = <5000>;
> +
> + thermal-sensors = <&cpu_temp 1>;
> +
> + trips {
> + cpu_alert0: cpu-alert0 {
> + temperature = <50000>;
> + hysteresis = <10000>;
Hello, Peter!
A day ago I was tuning thermal zones for Nexus 7 because found that the
current variant is a bit too unpractical. In particular temperature
hysteresis should be small, otherwise cpufreq could get throttled
enormously to the point that device becomes unusable. This is an
active-cooling zone, but it looks to me that hysteresis is a bit too
high and should make Ouya much noisier than it could be.
I suggest to try to set hysteresis to 0.2C here, i.e. hysteresis = <200>.
I also suggest to bump the temperature threshold to 55C in order to
ignore temporal temperature spikes because CPU temp should be about 40C
during idle and then it may raise quickly for a brief moments during
average usage.
> + type = "active";
> + };
> + cpu_alert1: cpu-alert1 {
> + temperature = <70000>;
> + hysteresis = <5000>;
> + type = "passive";
> + };
And here to 0.2C as well.
> + cpu_crit: cpu-crit {
> + temperature = <90000>;
> + hysteresis = <2000>;
> + type = "critical";
> + };
The critical zone perhaps should be fine as-is.