diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-06-26 13:38:20 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:32:31 +0800 |
commit | 00f96cb8f8de1690c2e3b12aa22d18c74cc4548e (patch) | |
tree | a65ac4422027a433e2f4a1f8cf0be52bd895dcc2 /arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi | |
parent | 11d9d0ad4986515304ed1a86c128ad9d99329582 (diff) |
MLK-18687-1 ARM64: dts: freescale: imx8dx: use new method to disable DRC thermal sensor
The imx_sc_thermal driver has strict thermal zone and sensor
id relationship with device tree settings, simple removing
DRC thermal zone node will introduce incorrect sensor id
settings for other thermal zones, so adding status for driver
to ignore those thermal zones with status equal "disabled".
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi b/arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi index a0c1ad87602a..d7fb321a515b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-imx8dx.dtsi @@ -1355,7 +1355,7 @@ tsens: thermal-sensor { compatible = "nxp,imx8qxp-sc-tsens"; /* number of the temp sensor on the chip */ - tsens-num = <1>; + tsens-num = <2>; #thermal-sensor-cells = <1>; }; @@ -1386,6 +1386,25 @@ }; }; }; + + drc-thermal0 { + polling-delay-passive = <250>; + polling-delay = <2000>; + thermal-sensors = <&tsens 1>; + status = "disabled"; + trips { + drc_alert0: trip0 { + temperature = <85000>; + hysteresis = <2000>; + type = "passive"; + }; + drc_crit0: trip1 { + temperature = <127000>; + hysteresis = <2000>; + type = "critical"; + }; + }; + }; }; irqsteer_csi: irqsteer@58220000 { |