[PATCH 0/2] thermal: imx: Add calibration offset support

From: HaoNing Cheng via B4 Relay

Date: Thu Jul 09 2026 - 01:47:59 EST


Some i.MX boards need a small per-design correction to align the
reported CPU temperature with board-level measurements. This series
adds an optional DT property to specify such a calibration offset
and implements the corresponding support in the imx_thermal driver.

Patch 1 documents the new fsl,temp-calibration-offset-millicelsius
property in the i.MX thermal DT binding.

Patch 2 reads this property in the imx_thermal driver and applies
the offset to the i.MX6/6SX/7D calibration formulas. When the
property is absent, the default offset remains 0, preserving the
current behaviour.

Signed-off-by: Haoning CHENG <Haoning.CHENG@xxxxxxxxxxxx>
---
HaoNing Cheng (2):
dt-bindings: thermal: imx: Document calibration offset property
thermal/drivers/imx: Add calibration offset support

Documentation/devicetree/bindings/thermal/imx-thermal.yaml | 8 ++++++++
drivers/thermal/imx_thermal.c | 11 ++++++++---
2 files changed, 16 insertions(+), 3 deletions(-)
---
base-commit: c50a940dcde35c647e097e89a9150003abd48329
change-id: 20260709-b4-symana21-11221-imx-thermal-support-upstream-6-18-a084984deb76

Best regards,
--
Haoning CHENG <Haoning.CHENG@xxxxxxxxxxxx>