[PATCH 0/9] Mediatek thermal sensor driver support for MT8186 and MT8188

Nicolas Pitre
2024-01-11T22:30:37Z

This is a bunch of patches to support the MT8186 and MT8188 thermal
sensor configurations. Several changes are needed to cope with oddities
these SOCs implement.

All values (calibration data offsets, etc.) were lifted and adapted from
the vendor driver source code.

Feedback appreciated.

diffstat:

.../thermal/mediatek,lvts-thermal.yaml | 6 +
arch/arm64/boot/dts/mediatek/mt8186.dtsi | 256 ++++++++++++
drivers/thermal/mediatek/lvts_thermal.c | 375 ++++++++++++++----
.../thermal/mediatek,lvts-thermal.h | 26 ++
4 files changed, 585 insertions(+), 78 deletions(-)