Loading arch/arm64/boot/dts/qcom/pm8005.dtsi +28 −2 Original line number Diff line number Diff line /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading @@ -25,11 +25,12 @@ reg = <0x100 0x100>; }; qcom,temp-alarm@2400 { pm8005_tz: qcom,temp-alarm@2400 { compatible = "qcom,qpnp-temp-alarm"; reg = <0x2400 0x100>; interrupts = <0x4 0x24 0x0 IRQ_TYPE_EDGE_RISING>; label = "pm8005_tz"; #thermal-sensor-cells = <0>; }; pm8005_gpios: pinctrl@c000 { Loading Loading @@ -79,3 +80,28 @@ }; }; }; &thermal_zones { pm8005_tz { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&pm8005_tz>; trips { pm8005-trip0 { temperature = <105000>; hysteresis = <0>; type = "passive"; }; pm8005-trip1 { temperature = <125000>; hysteresis = <0>; type = "passive"; }; pm8005-trip2 { temperature = <145000>; hysteresis = <0>; type = "passive"; }; }; }; }; Loading
arch/arm64/boot/dts/qcom/pm8005.dtsi +28 −2 Original line number Diff line number Diff line /* Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. /* Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading @@ -25,11 +25,12 @@ reg = <0x100 0x100>; }; qcom,temp-alarm@2400 { pm8005_tz: qcom,temp-alarm@2400 { compatible = "qcom,qpnp-temp-alarm"; reg = <0x2400 0x100>; interrupts = <0x4 0x24 0x0 IRQ_TYPE_EDGE_RISING>; label = "pm8005_tz"; #thermal-sensor-cells = <0>; }; pm8005_gpios: pinctrl@c000 { Loading Loading @@ -79,3 +80,28 @@ }; }; }; &thermal_zones { pm8005_tz { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&pm8005_tz>; trips { pm8005-trip0 { temperature = <105000>; hysteresis = <0>; type = "passive"; }; pm8005-trip1 { temperature = <125000>; hysteresis = <0>; type = "passive"; }; pm8005-trip2 { temperature = <145000>; hysteresis = <0>; type = "passive"; }; }; }; };