[PATCH v10 1/3] dt-bindings: thermal: imx: Document calibration offset property
Haoning CHENG via B4 Relay
devnull+Haoning.CHENG.cn.bosch.com at kernel.org
Sun Jul 19 19:19:40 PDT 2026
From: Haoning CHENG <Haoning.CHENG at cn.bosch.com>
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 at oss.qualcomm.com>
Reviewed-by: Lukasz Luba <lukasz.luba at arm.com>
Signed-off-by: Haoning CHENG <Haoning.CHENG at cn.bosch.com>
---
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
More information about the linux-arm-kernel
mailing list