[PATCH v4 0/7] Add initial Exynos850 support to the thermal driver

From: Mateusz Majewski
Date: Wed Sep 11 2024 - 08:12:04 EST


This series adds initial Exynos850 support to the thermal driver
together with its requirements (sanitize_temp_error fix, adding the new
string to dt-bindings), while also cleaning up a bit (improving power
management support and removing some outdated information from
dt-bindings).

Changelog:
v4:
- Cleaned up sanitize_temp_error a bit more
- Modified exynos_tmu_update_temp to match sanitize_temp_error
v3:
- Reworded the commit message of the dt-binding information removal
change
v2:
- Reimplemented to use the Exynos850 TMU clock: removed the patch to
make the clock optional and changed dt-bindings change accordingly
- Improved the Exynos850 implementation itself (style and one correct
register offset)
- Removed conditional compilation in favor of pm_sleep_ptr
- Shortened dt-bindings description


Mateusz Majewski (7):
drivers/thermal/exynos: use DEFINE_SIMPLE_DEV_PM_OPS
drivers/thermal/exynos: use pm_sleep_ptr instead of conditional
compilation
drivers/thermal/exynos: improve sanitize_temp_error
drivers/thermal/exynos: reuse data->temp_mask in
exynos_tmu_update_temp
dt-bindings: thermal: samsung,exynos: add exynos850-tmu string
drivers/thermal/exynos: add initial Exynos850 support
dt-bindings: thermal: samsung,exynos: remove driver-specific
information

.../thermal/samsung,exynos-thermal.yaml | 8 +-
drivers/thermal/samsung/exynos_tmu.c | 237 +++++++++++++++---
2 files changed, 209 insertions(+), 36 deletions(-)

--
2.45.2