[PATCH 2/3] thermal/drivers/amlogic: add S4 support
christian.koever-draxl at student.uibk.ac.at
christian.koever-draxl at student.uibk.ac.at
Sun Oct 25 12:22:43 PDT 2026
From: Christian Stefan Kövér-Draxl <ckoever at outlook.de>
The S4 CPU sensor reads its calibration through the secure monitor and
otherwise matches the T7 setup, so reuse the T7 data for it.
Without the calibration the driver reported about -144 degrees Celsius
on an S905W2 board; with it the readings are plausible and CPU
throttling engages.
Signed-off-by: Christian Stefan Kövér-Draxl <ckoever at outlook.de>
---
drivers/thermal/amlogic_thermal.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/thermal/amlogic_thermal.c b/drivers/thermal/amlogic_thermal.c
index 60728de6968a..c58bac633bed 100644
--- a/drivers/thermal/amlogic_thermal.c
+++ b/drivers/thermal/amlogic_thermal.c
@@ -292,6 +292,10 @@ static const struct of_device_id of_amlogic_thermal_match[] = {
.compatible = "amlogic,a1-cpu-thermal",
.data = &amlogic_thermal_a1_cpu_param,
},
+ {
+ .compatible = "amlogic,s4-cpu-thermal",
+ .data = &amlogic_thermal_t7_param,
+ },
{
.compatible = "amlogic,t7-thermal",
.data = &amlogic_thermal_t7_param,
--
2.56.0
More information about the linux-amlogic
mailing list