ARM: dts: meson8b: add the thermal-zones with cooling configuration
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Mon, 21 Dec 2020 18:13:05 +0000 (19:13 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 25 Jan 2021 17:46:44 +0000 (09:46 -0800)
commit9073f694efd8733b0e7c97d3396d81161bd05582
treef4d77fe4c6e5af6034a4e36b6f4386cda168a710
parentecdb744b1f819949f783508331ff6ff8a6a45730
ARM: dts: meson8b: add the thermal-zones with cooling configuration

The vendor kernel uses the following thermal-zone settings:
<= 70°C:
- CPU frequency limited to 1.488GHz
- GPU limited to 511MHz and 2 cores (pixel processors)

<= 80°C:
- CPU frequency limited to 1.2GHz
- GPU limited to 435MHz and 2 cores (pixel processors)

<= 90°C:
- CPU frequency limited to 0.804GHz
- GPU limited to 328MHz and 1 core (pixel processor)

Add simplified thermal configuration which is taken from the
GXBB/GXL/GXM SoC family (which uses the same manufacturing process and
has the same maximum junction temperature of 125°C). With this the
thermal framework will try to keep the SoC temperature at or below 80°C
which is identical to the vendor kernel (with the exception of one CPU
frequency step from 1.488GHz to 1.536GHz).

The number of GPU cores are not taken into account as this is not
supported.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20201221181306.904272-5-martin.blumenstingl@googlemail.com
arch/arm/boot/dts/meson8b.dtsi