[PATCH v3 0/3] Add exynosautov920 thermal support
From: Shin Son <hidden>
Date: 2025-09-15 04:07:44
Also in:
linux-devicetree, linux-pm, linux-samsung-soc, lkml
This change merges the new exynosautov920-specific register definitions and timing parameters into the exynos-tmu driver, ensuring consistent behavior across all Exynos series. All new code paths have been tested on a exynosautov920 board and verified to correctly read temperatures and emulate behavior. Changes in v3: - Removed redundant commit message. - Rephrased the sentences to describe the hardware clearly. - Restricted sensor indices to V920. - Set #thermal-sensor-celss per variant. - Replaced 'additionalProperties' with 'unevaluatedProperties'. - Removed the duplicate #define and use the original. - Used lowercase hex in #define. - Simplified 'temp_to_code' and 'code_to_temp' to one computation path by normalizing calib_temp. Changes in v2: - Replace the generic property with a vendor-specific one. - Added an indices property instead of ranges. - Shortened thermal node name and made them more generic. - Updated the indices logic accordingly after removing the ranges property. Shin Son (3): dt-bindings: thermal: samsung: Add a hw-sensor-indices property thermal: exynos_tmu: Support new hardware and update TMU interface arm64: dts: exynosautov920: Add tmu hardware binding .../thermal/samsung,exynos-thermal.yaml | 40 ++- .../boot/dts/exynos/exynosautov920-tmu.dtsi | 97 ++++++ .../arm64/boot/dts/exynos/exynosautov920.dtsi | 31 ++ drivers/thermal/samsung/exynos_tmu.c | 324 ++++++++++++++++-- 4 files changed, 453 insertions(+), 39 deletions(-) create mode 100644 arch/arm64/boot/dts/exynos/exynosautov920-tmu.dtsi -- 2.50.1