[PATCH 0/3] Add support for H616 Thermal system

From: Martin Botka
Date: Fri Aug 18 2023 - 04:44:35 EST


Hello,

This patch series adds support to thermal system
found in H616 SoC.

There are 4 thermal sensors in this SoC.
One for GPU, CPU, DRAM and VE.

Trips while unused for now until cpufreq is implemented
(WIP) are required by dt-bindings and thus included here.

Cheers,
Martin

---------------

Hello,
Im very much not sure if the trips should be included or not.
Since they are not optional part I decided to add them but
please let me know.

Cheers,
Martin

Signed-off-by: Martin Botka <martin.botka@xxxxxxxxxxxxxx>
---
Martin Botka (3):
dt-bindings: thermal: sun8i: Add binding for H616 THS controller
thermal: sun8i: Add support for H616 THS controller
arm64: dts: allwinner: h616: Add thermal sensor and thermal zones

.../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 3 +
arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 87 ++++++++++++++++
drivers/thermal/sun8i_thermal.c | 115 +++++++++++++++++++++
3 files changed, 205 insertions(+)
---
base-commit: a25793039a9cd5ac67d38a86dd2eb414abb93aa6
change-id: 20230815-ths-h616-77b2db565249

Best regards,
--
Martin Botka <martin.botka@xxxxxxxxxxxxxx>