[PATCH v3 0/6] thermal: tegra: add SOCTHERM support for Tegra114

Svyatoslav Ryhel
2025-08-20T11:42:58Z

SOCTHERM is thermal sensor and thermal throttling controller found in Tegra
SoC starting from Tegra114. Existing Tegra124 setup is mostly compatible
with Tegra114 and needs only a few slight adjustmets of fuse calibration
process.

---
Changes in v2:
- no changes, resend.

Changes in v3:
- expanded desciption of "thermal: tegra: soctherm-fuse: parametrize
configuration further" commit
- changes title of "thermal: tegra: soctherm-fuse: parametrize
configuration further" to "thermal: tegra: soctherm-fuse: prepare
calibration for Tegra114 support"
- Tegra11x > Tegra114 and Tegra12x > Tegra124
- ft and cp shift bits dropped
- clarified tegra114 precision
- lower_precision > use_lower_precision
- nominal calibration ft and cp hardcoded into SoC specific structures
- added tegra114-soctherm header into dt-bindings
---

Svyatoslav Ryhel (6):
soc: tegra: fuse: add Tegra114 nvmem cells and fuse lookups
dt-bindings: thermal: Document Tegra114 SOCTHERM Thermal Management
System
thermal: tegra: soctherm-fuse: prepare calibration for Tegra114
support
dt-bindings: thermal: tegra: add Tegra114 soctherm header
thermal: tegra: add Tegra114 specific SOCTHERM driver
ARM: tegra: Add SOCTHERM support on Tegra114

.../thermal/nvidia,tegra124-soctherm.yaml | 2 +
arch/arm/boot/dts/nvidia/tegra114.dtsi | 197 ++++++++++++++++
drivers/soc/tegra/fuse/fuse-tegra30.c | 122 ++++++++++
drivers/thermal/tegra/Makefile | 1 +
drivers/thermal/tegra/soctherm-fuse.c | 31 ++-
drivers/thermal/tegra/soctherm.c | 6 +
drivers/thermal/tegra/soctherm.h | 12 +-
drivers/thermal/tegra/tegra114-soctherm.c | 211 ++++++++++++++++++
drivers/thermal/tegra/tegra124-soctherm.c | 6 +
drivers/thermal/tegra/tegra132-soctherm.c | 6 +
drivers/thermal/tegra/tegra210-soctherm.c | 6 +
.../dt-bindings/thermal/tegra114-soctherm.h | 20 ++
12 files changed, 610 insertions(+), 10 deletions(-)
create mode 100644 drivers/thermal/tegra/tegra114-soctherm.c
create mode 100644 include/dt-bindings/thermal/tegra114-soctherm.h

--
2.48.1