[PATCH v11 1/3] dt-bindings: thermal: imx: Document calibration offset property

From: Haoning CHENG via B4 Relay

Date: Tue Jul 21 2026 - 22:42:27 EST


From: Haoning CHENG <Haoning.CHENG@xxxxxxxxxxxx>

The TEMPMON sensor reading may deviate from the theoretical SoC
junction temperature. Document the optional
fsl,temp-calibration-offset-millicelsius property, a signed offset
in millicelsius applied to correct the sensor reading toward the
theoretical junction temperature.

The offset is determined through thermal characterization by
comparing the sensor output against the calculated junction
temperature. When absent, the offset is zero.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
Reviewed-by: Lukasz Luba <lukasz.luba@xxxxxxx>
Signed-off-by: Haoning CHENG <Haoning.CHENG@xxxxxxxxxxxx>
---
Documentation/devicetree/bindings/thermal/imx-thermal.yaml | 12 ++++++++++++
1 file changed, 12 insertions(+)

diff --git a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml
index 949b154856c5..503a6e7a2c68 100644
--- a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml
@@ -59,6 +59,17 @@ properties:
clocks:
maxItems: 1

+ fsl,temp-calibration-offset-millicelsius:
+ minimum: -20000
+ maximum: 20000
+ description:
+ A signed offset, in millicelsius, applied to the TEMPMON
+ sensor reading to correct it toward the theoretical SoC
+ junction temperature. The offset is determined through
+ thermal characterization by comparing the sensor output
+ against the calculated junction temperature. The range is
+ limited to ±20 °C. When absent, no offset is applied.
+
"#thermal-sensor-cells":
const: 0

@@ -109,6 +120,7 @@ examples:
nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
nvmem-cell-names = "calib", "temp_grade";
clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>;
+ fsl,temp-calibration-offset-millicelsius = <(-6400)>;
#thermal-sensor-cells = <0>;
};
};

--
2.43.0