Loading qcom/lagoon-thermal.dtsi 0 → 100644 +570 −0 Original line number Diff line number Diff line #include <dt-bindings/thermal/thermal.h> &thermal_zones { aoss-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 0>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 1>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 2>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-2-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 3>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-3-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 4>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-4-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 5>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-5-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 6>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpuss-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 7>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpuss-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 8>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-1-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 9>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-1-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 10>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-1-2-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 11>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-1-3-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 12>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; gpuss-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 13>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; gpuss-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 14>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; aoss-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 0>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cwlan-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 1>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; audio-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 2>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; ddr-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 3>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; q6-hvx-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 4>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; camera-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 5>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; mdm-core-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 6>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; mdm-core-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 7>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; mdm-vec-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 8>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; mdm-scl-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 9>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; npu-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 10>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; video-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 11>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; }; qcom/lagoon.dtsi +30 −0 Original line number Diff line number Diff line Loading @@ -1073,6 +1073,36 @@ thermal_zones: thermal-zones {}; tsens0:tsens@c222000 { compatible = "qcom,tsens24xx"; reg = <0x0C222000 0x8>, <0x0C263000 0x1ff>; reg-names = "tsens_srot_physical", "tsens_tm_physical"; interrupts-extended = <&pdc 26 IRQ_TYPE_LEVEL_HIGH>, <&pdc 28 IRQ_TYPE_LEVEL_HIGH>, <&pdc 20 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "tsens-upper-lower", "tsens-critical", "tsens-0C"; 0C-sensor-num = <16>; #thermal-sensor-cells = <1>; }; tsens1:tsens@c223000 { compatible = "qcom,tsens24xx"; reg = <0x0C223000 0x8>, <0x0C265000 0x1ff>; reg-names = "tsens_srot_physical", "tsens_tm_physical"; interrupts-extended = <&pdc 27 IRQ_TYPE_LEVEL_HIGH>, <&pdc 29 IRQ_TYPE_LEVEL_HIGH>, <&pdc 21 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "tsens-upper-lower", "tsens-critical", "tsens-0C"; 0C-sensor-num = <16>; #thermal-sensor-cells = <1>; }; spmi_bus: qcom,spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0xc440000 0x1100>, Loading Loading
qcom/lagoon-thermal.dtsi 0 → 100644 +570 −0 Original line number Diff line number Diff line #include <dt-bindings/thermal/thermal.h> &thermal_zones { aoss-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 0>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 1>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 2>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-2-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 3>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-3-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 4>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-4-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 5>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-0-5-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 6>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpuss-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 7>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpuss-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 8>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-1-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 9>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-1-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 10>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-1-2-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 11>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cpu-1-3-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 12>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; gpuss-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 13>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; gpuss-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 14>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; aoss-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 0>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; cwlan-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 1>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; audio-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 2>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; ddr-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 3>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; q6-hvx-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 4>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; camera-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 5>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; mdm-core-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 6>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; mdm-core-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 7>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; mdm-vec-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 8>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; mdm-scl-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 9>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; npu-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 10>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; video-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 11>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; reset-mon-cfg { temperature = <115000>; hysteresis = <5000>; type = "passive"; }; }; }; };
qcom/lagoon.dtsi +30 −0 Original line number Diff line number Diff line Loading @@ -1073,6 +1073,36 @@ thermal_zones: thermal-zones {}; tsens0:tsens@c222000 { compatible = "qcom,tsens24xx"; reg = <0x0C222000 0x8>, <0x0C263000 0x1ff>; reg-names = "tsens_srot_physical", "tsens_tm_physical"; interrupts-extended = <&pdc 26 IRQ_TYPE_LEVEL_HIGH>, <&pdc 28 IRQ_TYPE_LEVEL_HIGH>, <&pdc 20 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "tsens-upper-lower", "tsens-critical", "tsens-0C"; 0C-sensor-num = <16>; #thermal-sensor-cells = <1>; }; tsens1:tsens@c223000 { compatible = "qcom,tsens24xx"; reg = <0x0C223000 0x8>, <0x0C265000 0x1ff>; reg-names = "tsens_srot_physical", "tsens_tm_physical"; interrupts-extended = <&pdc 27 IRQ_TYPE_LEVEL_HIGH>, <&pdc 29 IRQ_TYPE_LEVEL_HIGH>, <&pdc 21 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "tsens-upper-lower", "tsens-critical", "tsens-0C"; 0C-sensor-num = <16>; #thermal-sensor-cells = <1>; }; spmi_bus: qcom,spmi@c440000 { compatible = "qcom,spmi-pmic-arb"; reg = <0xc440000 0x1100>, Loading