1
0
Fork 0

arm64: dts: imx8qxp: add pmic thermal zone

Add i.MX8QXP MEK board's PMIC thermal zone support.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Anson Huang 2019-05-24 18:59:51 +08:00 committed by Dong Aisheng
parent 2b2bc09293
commit c8290930f0
2 changed files with 28 additions and 1 deletions

View File

@ -736,6 +736,33 @@
};
};
&thermal_zones {
pmic-thermal0 {
polling-delay-passive = <250>;
polling-delay = <2000>;
thermal-sensors = <&tsens 497>;
trips {
pmic_alert0: trip0 {
temperature = <110000>;
hysteresis = <2000>;
type = "passive";
};
pmic_crit0: trip1 {
temperature = <125000>;
hysteresis = <2000>;
type = "critical";
};
};
cooling-maps {
map0 {
trip = <&pmic_alert0>;
cooling-device =
<&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
};
};
};
};
&iomuxc {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_hog>;

View File

@ -215,7 +215,7 @@
tsens: thermal-sensor {
compatible = "fsl,imx8qxp-sc-thermal";
tsens-num = <1>;
tsens-num = <2>;
#thermal-sensor-cells = <1>;
};
};