devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 RESEND 0/3] Add exynosautov920 thermal support
@ 2025-10-30  7:07 Shin Son
       [not found] ` <CGME20251030070716epcas2p2d51319c14272c316bd6b581a3fdcb512@epcas2p2.samsung.com>
  0 siblings, 1 reply; 24+ messages in thread
From: Shin Son @ 2025-10-30  7:07 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, Krzysztof Kozlowski,
	Rafael J . Wysocki, Daniel Lezcano, Zhang Rui, Lukasz Luba,
	Rob Herring, Conor Dooley, Alim Akhtar, Henrik Grimler
  Cc: Shin Son, linux-pm, linux-samsung-soc, devicetree,
	linux-arm-kernel, linux-kernel

This patch series adds support for exynosautov920, automotive-grade
processor. Although the exynosautov920's TMU hardware differs slightly
from exisiting platform, its read and calibration logic closely follow
our legacy TMU interface. To prevent runtime and build time errors,
it is kept as a single change rather than being split.

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 v7:
- Use lowercase hex for register address
- Dropped unnecessary 'minItems' from properties.
- Added restriction for 'clock-names'

Changes in v6:
- Add a reviewer for the thermal driver patch.

Changes in v5:
- Changed the maximum number of thermal sensors to 15.

Changes in v4:
- Kept 'addtionalProperties: false'.
- Removed the 'samsung,hw-sensor-indices' property in the binding.
- Added the 'samsung,sensors' property in the binding.
- Dropped code-like formatting and rewrote the description in plain,
  hardware-focused language in the commit message.
- Removed the bitmap and replaced the tz_count to sensor_count.

Changes in v3:
- Removed redundant commit message.
- Rephrased the sentences to describe the hardware clearly.
- Restricted sensor indices to V920.
- Set #thermal-sensor-cells 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: Adjust '#thermal-sensor-cells' to 1
  thermal: exynos_tmu: Support new hardware and update TMU interface
  arm64: dts: exynosautov920: Add multiple sensors

 .../thermal/samsung,exynos-thermal.yaml       |  33 +-
 .../boot/dts/exynos/exynosautov920-tmu.dtsi   | 377 ++++++++++++++++++
 .../arm64/boot/dts/exynos/exynosautov920.dtsi |  31 ++
 drivers/thermal/samsung/exynos_tmu.c          | 322 +++++++++++++--
 4 files changed, 725 insertions(+), 38 deletions(-)
 create mode 100644 arch/arm64/boot/dts/exynos/exynosautov920-tmu.dtsi

-- 
2.50.1


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2025-12-02  0:31 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20251113064032epcas2p316f2b271e581d03b729a5944d9624d49@epcas2p3.samsung.com>
2025-11-13  6:40 ` [PATCH v7 RESEND 0/3] Add exynosautov920 thermal support Shin Son
     [not found]   ` <CGME20251113064040epcas2p2df8da3f9c5a2c41c6aedc37d37b366de@epcas2p2.samsung.com>
2025-11-13  6:40     ` [PATCH v7 RESEND 1/3] dt-bindings: thermal: samsung: Adjust '#thermal-sensor-cells' to 1 Shin Son
     [not found]   ` <CGME20251113064044epcas2p1b87addb21473eca7cc52052e4e2e9237@epcas2p1.samsung.com>
2025-11-13  6:40     ` [PATCH v7 RESEND 2/3] thermal: exynos_tmu: Support new hardware and update TMU interface Shin Son
2025-11-20 19:43       ` Daniel Lezcano
2025-11-24 10:06         ` 손신
2025-11-24 10:35           ` Daniel Lezcano
2025-11-24 11:04             ` 손신
2025-11-24 11:08               ` Daniel Lezcano
2025-11-24 11:42                 ` 손신
2025-11-24 10:43           ` Tudor Ambarus
2025-11-24 11:16             ` Daniel Lezcano
2025-11-24 11:41             ` 손신
2025-11-24 12:24               ` Tudor Ambarus
2025-11-25  8:23                 ` 손신
2025-11-25  9:15       ` Tudor Ambarus
2025-11-26  7:19         ` 손신
2025-11-26  9:21           ` Tudor Ambarus
2025-11-27  3:07             ` 손신
2025-11-27  9:04               ` Tudor Ambarus
2025-12-01  1:38                 ` 손신
2025-12-01  9:54             ` Youngmin Nam
2025-12-02  0:31               ` 손신
     [not found]   ` <CGME20251113064049epcas2p2194df7393ea60912eec18077bbddf637@epcas2p2.samsung.com>
2025-11-13  6:40     ` [PATCH v7 RESEND 3/3] arm64: dts: exynosautov920: Add multiple sensors Shin Son
2025-10-30  7:07 [PATCH v7 RESEND 0/3] Add exynosautov920 thermal support Shin Son
     [not found] ` <CGME20251030070716epcas2p2d51319c14272c316bd6b581a3fdcb512@epcas2p2.samsung.com>
2025-10-30  7:07   ` [PATCH v7 RESEND 2/3] thermal: exynos_tmu: Support new hardware and update TMU interface Shin Son

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).