thermal/drivers/sun8i: Extend H6 calibration to support 4 sensors
authorMaksim Kiselev <bigunclemax@gmail.com>
Mon, 19 Feb 2024 15:36:36 +0000 (15:36 +0000)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Mon, 11 Mar 2024 16:14:46 +0000 (17:14 +0100)
commit63e39fcaa6db821b05103b55483a44d0c5b43abb
tree8ece6ac85f1b2116bf7151349f89aaac5632c418
parentd7bf0a1ada00021a09dca328e084f77d97ff13b4
thermal/drivers/sun8i: Extend H6 calibration to support 4 sensors

The H616 SoC resembles the H6 thermal sensor controller, with a few
changes like four sensors.

Extend sun50i_h6_ths_calibrate() function to support calibration of
these sensors.

Co-developed-by: Martin Botka <martin.botka@somainline.org>
Signed-off-by: Martin Botka <martin.botka@somainline.org>
Signed-off-by: Maksim Kiselev <bigunclemax@gmail.com>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Acked-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20240219153639.179814-5-andre.przywara@arm.com
drivers/thermal/sun8i_thermal.c