diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2019-05-24 18:59:51 +0800 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2019-11-25 16:04:34 +0800 |
commit | c8290930f0bd391de2bdd0f46ed6dde73a23f3eb (patch) | |
tree | d6730ef6b0fec5660bfddd1bb115691c46580330 /arch/arm64/boot/dts | |
parent | 2b2bc09293535a61a265e7f3a0667b296a129580 (diff) |
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>
Diffstat (limited to 'arch/arm64/boot/dts')
-rwxr-xr-x | arch/arm64/boot/dts/freescale/imx8qxp-mek.dts | 27 | ||||
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 2 |
2 files changed, 28 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts index ea6a47f6980c..aad6cb951855 100755 --- a/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts +++ b/arch/arm64/boot/dts/freescale/imx8qxp-mek.dts @@ -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>; diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi index b0003188004e..87bf5d2baf7f 100644 --- a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8qxp.dtsi @@ -215,7 +215,7 @@ tsens: thermal-sensor { compatible = "fsl,imx8qxp-sc-thermal"; - tsens-num = <1>; + tsens-num = <2>; #thermal-sensor-cells = <1>; }; }; |