This adds the thermal zone configuration on Meson8/Meson8b/Meson8m2
SoCs. The thermal sensor reading is taken from SAR ADC. With
"generic-adc-thermal" it is then used to configure the thermal zone.
CPU and GPU frequencies can both be managed. The vendor kernel also
manages the number of active GPU pixel processor cores. This is not
supported yet so we skip it.
Martin Blumenstingl (5):
ARM: dts: meson: move iio-hwmon for the SoC temperature to meson.dtsi
ARM: dts: meson: add the ADC thermal sensor to meson.dtsi
ARM: dts: meson8: add the thermal-zones with cooling configuration
ARM: dts: meson8b: add the thermal-zones with cooling configuration
ARM: multi_v7_defconfig: Enable support for the ADC thermal sensor
arch/arm/boot/dts/meson.dtsi | 12 +++++
arch/arm/boot/dts/meson8.dtsi | 54 +++++++++++++++++++++++
arch/arm/boot/dts/meson8b-ec100.dts | 5 ---
arch/arm/boot/dts/meson8b-mxq.dts | 5 ---
arch/arm/boot/dts/meson8b-odroidc1.dts | 5 ---
arch/arm/boot/dts/meson8b.dtsi | 54 +++++++++++++++++++++++
arch/arm/boot/dts/meson8m2-mxiii-plus.dts | 5 ---
arch/arm/configs/multi_v7_defconfig | 1 +
8 files changed, 121 insertions(+), 20 deletions(-)
--
2.29.2
On Mon, 21 Dec 2020 19:13:01 +0100, Martin Blumenstingl wrote:
> This adds the thermal zone configuration on Meson8/Meson8b/Meson8m2
> SoCs. The thermal sensor reading is taken from SAR ADC. With
> "generic-adc-thermal" it is then used to configure the thermal zone.
>
> CPU and GPU frequencies can both be managed. The vendor kernel also
> manages the number of active GPU pixel processor cores. This is not
> supported yet so we skip it.
>
> [...]
Applied, thanks!
[1/5] ARM: dts: meson: move iio-hwmon for the SoC temperature to meson.dtsi
commit: e9ced25e41588a2ff95280b4d3dabf3a0865513b
[2/5] ARM: dts: meson: add the ADC thermal sensor to meson.dtsi
commit: c8559511107120403f7810428f50fc68fd77ed5a
[3/5] ARM: dts: meson8: add the thermal-zones with cooling configuration
commit: ecdb744b1f819949f783508331ff6ff8a6a45730
[4/5] ARM: dts: meson8b: add the thermal-zones with cooling configuration
commit: 9073f694efd8733b0e7c97d3396d81161bd05582
[5/5] ARM: multi_v7_defconfig: Enable support for the ADC thermal sensor
commit: 726731566a862fa375de44313f601e49c4d40377
Best regards,
--
Kevin Hilman <[email protected]>