Loading arch/arm64/boot/dts/qcom/mdm9607-thermal.dtsi 0 → 100644 +115 −0 Original line number Diff line number Diff line /* *Copyright (c) 2018-2019, 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 * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <dt-bindings/thermal/thermal.h> &thermal_zones { nav-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens 0>; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; wddac-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens 1>; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; modem-dsp-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens 2>; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; ipss-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens 3>; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpuss-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens 4>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; }; arch/arm64/boot/dts/qcom/mdm9607.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -1828,6 +1828,7 @@ #include "pm8019-rpm-regulator.dtsi" #include "pm8019.dtsi" #include "mdm9607-regulator.dtsi" #include "mdm9607-thermal.dtsi" /* MPP pin 1 config for USB ID interrupt line */ &pm8019_mpps { Loading Loading
arch/arm64/boot/dts/qcom/mdm9607-thermal.dtsi 0 → 100644 +115 −0 Original line number Diff line number Diff line /* *Copyright (c) 2018-2019, 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 * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #include <dt-bindings/thermal/thermal.h> &thermal_zones { nav-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens 0>; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; wddac-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens 1>; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; modem-dsp-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens 2>; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; ipss-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens 3>; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpuss-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-sensors = <&tsens 4>; thermal-governor = "user_space"; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; };
arch/arm64/boot/dts/qcom/mdm9607.dtsi +1 −0 Original line number Diff line number Diff line Loading @@ -1828,6 +1828,7 @@ #include "pm8019-rpm-regulator.dtsi" #include "pm8019.dtsi" #include "mdm9607-regulator.dtsi" #include "mdm9607-thermal.dtsi" /* MPP pin 1 config for USB ID interrupt line */ &pm8019_mpps { Loading