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

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

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

<= 90°C:
- CPU frequency limited to 0.804GHz
- GPU limited to 328MHz and 3 cores (pixel processors)

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 GPU
pixel processor).

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-4-martin.blumenstingl@googlemail.com
arch/arm/boot/dts/meson8.dtsi