[PATCH v1 3/9] dt-bindings: thermal: imx: Add trips point
Francesco Dolcini
francesco.dolcini at toradex.com
Wed Jun 15 02:47:58 PDT 2022
Add trips point to i.MX Thermal bindings for each temperature grade
(automotive, commercial, extended-commercial and industrial) to enable
specifying a different trip point than the hard-coded value.
Signed-off-by: Francesco Dolcini <francesco.dolcini at toradex.com>
---
.../bindings/thermal/imx-thermal.yaml | 27 +++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml
index 16b57f57d103..e6349e40d6c6 100644
--- a/Documentation/devicetree/bindings/thermal/imx-thermal.yaml
+++ b/Documentation/devicetree/bindings/thermal/imx-thermal.yaml
@@ -54,6 +54,18 @@ properties:
clocks:
maxItems: 1
+patternProperties:
+ "^(automotive|commercial|extended-commercial|industrial)-thermal$":
+ type: object
+ description:
+ Thermal characteristics for each available temperature grade, this allows
+ to override the passive and critical trip points.
+ properties:
+ trips:
+ $ref: "thermal-zones.yaml#/$defs/trips-base"
+
+ additionalProperties: false
+
required:
- compatible
- interrupts
@@ -98,5 +110,20 @@ examples:
nvmem-cells = <&tempmon_calib>, <&tempmon_temp_grade>;
nvmem-cell-names = "calib", "temp_grade";
clocks = <&clks IMX6SX_CLK_PLL3_USB_OTG>;
+
+ industrial-thermal {
+ trips {
+ temp_trip_passive_industrial: trip-point0 {
+ temperature = <95000>;
+ hysteresis = <0>;
+ type = "passive";
+ };
+ temp_trip_crit_industrial: trip-point1 {
+ temperature = <100000>;
+ hysteresis = <0>;
+ type = "critical";
+ };
+ };
+ };
};
};
--
2.25.1
More information about the linux-arm-kernel
mailing list