Skip to content

Improve Exynos thermal driver

Mateusz Majewski linux-arm-kernel linux-pm linux-samsung-soc lkml 7 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest9 patches 1 replyApplied
  2. v59 patches 5 repliesSuperseded
  3. v48 patches 3 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v38 patches6 repliesSuperseded
v2 posting 2/27 patches9 repliesSuperseded
v2 posting 1/21 patch3 repliesApplied
v111 patches8 repliesSuperseded

Changes in v6 from the cover letter

- Fixed cleanup after split initialization failure

Patches in v6 Applied

#Subject and filesSizeRepliesApplied
1/9thermal: exynos: remove an unnecessary field descriptiondrivers/thermal/samsung/exynos_tmu.c+0 -10 replies
2/9thermal: exynos: drop id fielddrivers/thermal/samsung/exynos_tmu.c+0 -60 replies
3/9thermal: exynos: switch from workqueue-driven interrupt handling to threaded interruptsdrivers/thermal/samsung/exynos_tmu.c+9 -200 replies
4/9thermal: exynos: handle devm_regulator_get_optional return value correctlydrivers/thermal/samsung/exynos_tmu.c+10 -20 replies
5/9thermal: exynos: simplify regulator (de)initializationdrivers/thermal/samsung/exynos_tmu.c+15 -340 replies
6/9thermal: exynos: stop using the threshold mechanism on Exynos 4210drivers/thermal/samsung/exynos_tmu.c+3 -140 replies
7/9thermal: exynos: split initialization of TMU and the thermal zonedrivers/thermal/samsung/exynos_tmu.c+60 -440 replies
8/9thermal: exynos: use BIT wherever possibledrivers/thermal/samsung/exynos_tmu.c+12 -120 replies
9/9thermal: exynos: use set_tripsdrivers/thermal/samsung/exynos_tmu.c+209 -1840 replies

Reviews trailers per patch

All 9 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiLukasz Luba
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/9] Improve Exynos thermal driver

This work improves Exynos thermal driver in various ways. This is related to the discussion in
https://lore.kernel.org/all/[email protected]/

The primary issue being fixed is a lockdep warning, which is fixed by the thermal: exynos: use set_trips patch. We also simplify the code in general.

Changelog:
v6:
- Fixed cleanup after split initialization failure
v5:
- Used BIT wherever possible
- Simplified Exynos 7 code and used the correct register offsets for Exynos 7
- Refactored some common register-setting code
v4:
- Resolved merge conflict when applying thermal: exynos: split initialization of TMU and the thermal zone
- Reordered calls done when leaving exynos_tmu_initialize for symmetry
v3:
- Fixed regulator initialization
- Fixed formatting of some comments
v2:
- Added missing field descriptions
- Removed an unnecessary field description
- Removed the commits that made clock management more fine-grained (need more discussion), and adapted the new code to manage clocks
- Removed the devicetree changes (will be uploaded separately), changing the recipient list accordingly
- Improved formatting of the devm_request_threaded_irq call

Mateusz Majewski (9):
thermal: exynos: remove an unnecessary field description
thermal: exynos: drop id field
thermal: exynos: switch from workqueue-driven interrupt handling to
threaded interrupts
thermal: exynos: handle devm_regulator_get_optional return value
correctly
thermal: exynos: simplify regulator (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 BIT wherever possible
thermal: exynos: use set_trips

 drivers/thermal/samsung/exynos_tmu.c | 547 ++++++++++++++-------------
 1 file changed, 274 insertions(+), 273 deletions(-)
Signature · 1 line
2.42.0