[PATCH 00/11] Improve Exynos thermal driver

From: Mateusz Majewski
Date: Tue Aug 29 2023 - 05:25:06 EST


This work improves Exynos thermal driver in various ways. This is
related to the discussion in
https://lore.kernel.org/all/97201878-3bb8-eac5-7fac-a690322ac43a@xxxxxxxxxx/

The primary issue being fixed is a lockdep warning, which is fixed by
the thermal: exynos: use set_trips patch. We also handle Exynos 4210 not
supporting falling temperature thresholds by enabling polling for this
SoC, and simplify the code in general.

Mateusz Majewski (11):
ARM: dts: exynos: enable polling in Exynos 4210
thermal: exynos: drop id field
thermal: exynos: switch from workqueue-driven interrupt handling to
threaded interrupts
thermal: exynos: remove fine-grained clk management
thermal: exynos: simplify sclk (de)initialization
thermal: exynos: simplify regulator (de)initialization
thermal: exynos: simplify clk_sec (de)initialization
thermal: exynos: stop using the threshold mechanism on Exynos 4210
thermal: exynos: split initialization of TMU and the thermal zone
thermal: exynos: use set_trips
ARM: dts: exynos: disable polling in Odroid XU3-related devices

arch/arm/boot/dts/samsung/exynos4210.dtsi | 10 +-
.../samsung/exynos5422-odroidxu3-common.dtsi | 16 +-
drivers/thermal/samsung/exynos_tmu.c | 581 ++++++++----------
3 files changed, 284 insertions(+), 323 deletions(-)

--
2.41.0