Loading bindings/thermal/qti-qmi-sensor.txt +15 −2 Original line number Diff line number Diff line Loading @@ -32,8 +32,8 @@ Subsystem properties: Definition: Remote sensor names. Below strings are the only acceptable sensor names, 1. pa 2. pa1 3. pa2 2. pa_1 3. pa_2 4. qfe_pa0 5. qfe_wtr0 6. modem_tsens Loading @@ -44,6 +44,19 @@ Subsystem properties: 11. xo_therm 12. qfe_pa_mdm 13. qfe_pa_wtr 14. qfe_mmw_streamer0 15. qfe_mmw0_mod 16. qfe_mmw1_mod 17. qfe_mmw2_mod 18. qfe_mmw3_mod 19. qfe_ret_pa0 20. qfe_wtr_pa0 21. qfe_wtr_pa1 22. qfe_wtr_pa2 23. qfe_wtr_pa3 24. sys_therm1 25. sys_therm2 26. modem_tsens1 Example: Loading qcom/kona-thermal.dtsi +269 −18 Original line number Diff line number Diff line #include <dt-bindings/thermal/thermal.h> #include <dt-bindings/thermal/qmi_thermal.h> &cpufreq_hw { qcom,cpu-isolation { Loading Loading @@ -58,14 +59,14 @@ compatible = "qcom,qmi-cooling-devices"; modem { qcom,instance-id = <0x64>; qcom,instance-id = <QMI_MODEM_NR_INST_ID>; modem_pa: modem_pa { qcom,qmi-dev-name = "pa"; #cooling-cells = <2>; }; modem_proc: modem_proc { modem_tj: modem_tj { qcom,qmi-dev-name = "modem"; #cooling-cells = <2>; }; Loading @@ -80,22 +81,22 @@ #cooling-cells = <2>; }; modem_skin0: modem_skin0 { modem_mmw_skin0: modem_mmw_skin0 { qcom,qmi-dev-name = "modem_skin0"; #cooling-cells = <2>; }; modem_skin1: modem_skin1 { modem_mmw_skin1: modem_mmw_skin1 { qcom,qmi-dev-name = "modem_skin1"; #cooling-cells = <2>; }; modem_skin2: modem_skin2 { modem_mmw_skin2: modem_mmw_skin2 { qcom,qmi-dev-name = "modem_skin2"; #cooling-cells = <2>; }; modem_skin3: modem_skin3 { modem_mmw_skin3: modem_mmw_skin3 { qcom,qmi-dev-name = "modem_skin3"; #cooling-cells = <2>; }; Loading Loading @@ -132,11 +133,9 @@ #thermal-sensor-cells = <1>; modem { qcom,instance-id = <100>; qcom,instance-id = <QMI_MODEM_NR_INST_ID>; qcom,qmi-sensor-names = "pa", "pa_1", "pa_2", "qfe_pa0", "qfe_wtr0", "modem_tsens", "qfe_mmw0", Loading @@ -144,8 +143,19 @@ "qfe_mmw2", "qfe_mmw3", "xo_therm", "qfe_pa_mdm", "qfe_pa_wtr"; "qfe_mmw_streamer0", "qfe_mmw0_mod", "qfe_mmw1_mod", "qfe_mmw2_mod", "qfe_mmw3_mod", "qfe_ret_pa0", "qfe_wtr_pa0", "qfe_wtr_pa1", "qfe_wtr_pa2", "qfe_wtr_pa3", "sys_therm1", "sys_therm2", "modem_tsens1"; }; }; }; Loading @@ -156,6 +166,7 @@ polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 0>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -175,6 +186,7 @@ polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 1>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -194,6 +206,7 @@ polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 2>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -213,6 +226,7 @@ polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 3>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -232,6 +246,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 4>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -251,6 +266,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 5>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -270,6 +286,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 6>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -289,6 +306,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 7>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -308,6 +326,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 8>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -327,6 +346,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 9>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -346,6 +366,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 10>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -365,6 +386,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 11>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -384,6 +406,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 12>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -403,6 +426,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 13>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -422,6 +446,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 14>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -441,6 +466,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 15>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -460,6 +486,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 0>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -479,6 +506,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 1>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -498,6 +526,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 2>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -517,6 +546,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 3>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -536,6 +566,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 4>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -555,6 +586,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 5>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -574,6 +606,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 6>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -593,6 +626,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 7>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -612,6 +646,7 @@ polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 8>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -630,6 +665,7 @@ polling-delay-passive = <10>; polling-delay = <100>; thermal-governor = "step_wise"; wake-capable-sensor; trips { gpu_trip0: gpu-trip0 { temperature = <95000>; Loading @@ -651,6 +687,7 @@ polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; wake-capable-sensor; trips { silver-trip { temperature = <120000>; Loading @@ -664,6 +701,7 @@ polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; wake-capable-sensor; trips { gold-trip { temperature = <120000>; Loading @@ -678,6 +716,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 3>; thermal-governor = "step_wise"; wake-capable-sensor; trips { pop_trip: pop-trip { temperature = <95000>; Loading Loading @@ -708,6 +747,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 1>; wake-capable-sensor; trips { cpu00_config: cpu00-config { temperature = <110000>; Loading @@ -729,6 +769,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 2>; wake-capable-sensor; trips { cpu01_config: cpu01-config { temperature = <110000>; Loading @@ -750,6 +791,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 3>; wake-capable-sensor; trips { cpu02_config: cpu02-config { temperature = <110000>; Loading @@ -771,6 +813,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 4>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu03_config: cpu03-config { temperature = <110000>; Loading @@ -792,6 +835,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 7>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu10_config: cpu10-config { temperature = <110000>; Loading @@ -813,6 +857,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 8>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu11_config: cpu11-config { temperature = <110000>; Loading @@ -834,6 +879,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 9>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu12_config: cpu12-config { temperature = <110000>; Loading @@ -855,6 +901,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 10>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu13_config: cpu13-config { temperature = <110000>; Loading @@ -876,6 +923,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 11>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu14_config: cpu14-config { temperature = <110000>; Loading @@ -897,6 +945,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 12>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu15_config: cpu15-config { temperature = <110000>; Loading @@ -918,6 +967,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 13>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu16_config: cpu16-config { temperature = <110000>; Loading @@ -939,6 +989,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 14>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu17_config: cpu17-config { temperature = <110000>; Loading @@ -955,11 +1006,13 @@ }; }; modem-pa0-usr { modem-lte-sub6-pa1 { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor 100>; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_PA)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -969,11 +1022,13 @@ }; }; modem-pa1-usr { modem-lte-sub6-pa2 { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor 101>; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_PA_1)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -983,11 +1038,61 @@ }; }; modem-modem-usr { modem-mmw0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor 105>; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_0)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_1)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw2-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_2)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw3-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_3)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -1001,7 +1106,153 @@ polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor 110>; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_XO_THERM)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-wifi-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_SYS_THERM_1)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-ambient-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_SYS_THERM_2)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_MODEM_TSENS)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_MODEM_TSENS_1)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-streamer-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_STREAMER_0)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw0-mod-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_0_MOD)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw1-mod-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_1_MOD)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw2-mod-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_2_MOD)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw3-mod-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_3_MOD)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading qcom/pm8150.dtsi +2 −1 Original line number Diff line number Diff line Loading @@ -143,10 +143,11 @@ &thermal_zones { pm8150_temp_alarm: pm8150_tz { polling-delay-passive = <0>; polling-delay-passive = <100>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150_tz>; wake-capable-sensor; trips { pm8150_trip0: trip0 { Loading qcom/pm8150b.dtsi +11 −1 Original line number Diff line number Diff line Loading @@ -548,10 +548,11 @@ &thermal_zones { pm8150b_temp_alarm: pm8150b_tz { polling-delay-passive = <0>; polling-delay-passive = <100>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_tz>; wake-capable-sensor; trips { pm8150b_trip0: trip0 { Loading Loading @@ -579,6 +580,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_bcl 0>; wake-capable-sensor; trips { ibat_lvl0:ibat-lvl0 { Loading @@ -594,6 +596,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_bcl 1>; wake-capable-sensor; trips { ibat_lvl1:ibat-lvl1 { Loading @@ -610,6 +613,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150b_bcl 2>; tracks-low; wake-capable-sensor; trips { vbat_lvl0: vbat-lvl0 { Loading @@ -626,6 +630,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150b_bcl 3>; tracks-low; wake-capable-sensor; trips { vbat_lvl1:vbat-lvl1 { Loading @@ -642,6 +647,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150b_bcl 4>; tracks-low; wake-capable-sensor; trips { vbat_lvl2:vbat-lvl2 { Loading @@ -657,6 +663,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_bcl 5>; wake-capable-sensor; trips { b_bcl_lvl0: b-bcl-lvl0 { Loading @@ -672,6 +679,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_bcl 6>; wake-capable-sensor; trips { b_bcl_lvl1: b-bcl-lvl1 { Loading @@ -687,6 +695,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_bcl 7>; wake-capable-sensor; trips { b_bcl_lvl2: b-bcl-lvl2 { Loading @@ -703,6 +712,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&bcl_soc>; tracks-low; wake-capable-sensor; trips { soc_trip:soc-trip { Loading qcom/pm8150l.dtsi +8 −1 Original line number Diff line number Diff line Loading @@ -430,10 +430,11 @@ &thermal_zones { pm8150l_temp_alarm: pm8150l_tz { polling-delay-passive = <0>; polling-delay-passive = <100>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150l_tz>; wake-capable-sensor; trips { trip0 { Loading Loading @@ -462,6 +463,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150l_bcl 2>; tracks-low; wake-capable-sensor; trips { vph_lvl0: vph-lvl0 { Loading @@ -478,6 +480,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150l_bcl 3>; tracks-low; wake-capable-sensor; trips { vph_lvl1:vph-lvl1 { Loading @@ -494,6 +497,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150l_bcl 4>; tracks-low; wake-capable-sensor; trips { vph_lvl2:vph-lvl2 { Loading @@ -509,6 +513,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150l_bcl 5>; wake-capable-sensor; trips { l_bcl_lvl0: l-bcl-lvl0 { Loading @@ -524,6 +529,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150l_bcl 6>; wake-capable-sensor; trips { l_bcl_lvl1: l-bcl-lvl1 { Loading @@ -539,6 +545,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150l_bcl 7>; wake-capable-sensor; trips { l_bcl_lvl2: l-bcl-lvl2 { Loading Loading
bindings/thermal/qti-qmi-sensor.txt +15 −2 Original line number Diff line number Diff line Loading @@ -32,8 +32,8 @@ Subsystem properties: Definition: Remote sensor names. Below strings are the only acceptable sensor names, 1. pa 2. pa1 3. pa2 2. pa_1 3. pa_2 4. qfe_pa0 5. qfe_wtr0 6. modem_tsens Loading @@ -44,6 +44,19 @@ Subsystem properties: 11. xo_therm 12. qfe_pa_mdm 13. qfe_pa_wtr 14. qfe_mmw_streamer0 15. qfe_mmw0_mod 16. qfe_mmw1_mod 17. qfe_mmw2_mod 18. qfe_mmw3_mod 19. qfe_ret_pa0 20. qfe_wtr_pa0 21. qfe_wtr_pa1 22. qfe_wtr_pa2 23. qfe_wtr_pa3 24. sys_therm1 25. sys_therm2 26. modem_tsens1 Example: Loading
qcom/kona-thermal.dtsi +269 −18 Original line number Diff line number Diff line #include <dt-bindings/thermal/thermal.h> #include <dt-bindings/thermal/qmi_thermal.h> &cpufreq_hw { qcom,cpu-isolation { Loading Loading @@ -58,14 +59,14 @@ compatible = "qcom,qmi-cooling-devices"; modem { qcom,instance-id = <0x64>; qcom,instance-id = <QMI_MODEM_NR_INST_ID>; modem_pa: modem_pa { qcom,qmi-dev-name = "pa"; #cooling-cells = <2>; }; modem_proc: modem_proc { modem_tj: modem_tj { qcom,qmi-dev-name = "modem"; #cooling-cells = <2>; }; Loading @@ -80,22 +81,22 @@ #cooling-cells = <2>; }; modem_skin0: modem_skin0 { modem_mmw_skin0: modem_mmw_skin0 { qcom,qmi-dev-name = "modem_skin0"; #cooling-cells = <2>; }; modem_skin1: modem_skin1 { modem_mmw_skin1: modem_mmw_skin1 { qcom,qmi-dev-name = "modem_skin1"; #cooling-cells = <2>; }; modem_skin2: modem_skin2 { modem_mmw_skin2: modem_mmw_skin2 { qcom,qmi-dev-name = "modem_skin2"; #cooling-cells = <2>; }; modem_skin3: modem_skin3 { modem_mmw_skin3: modem_mmw_skin3 { qcom,qmi-dev-name = "modem_skin3"; #cooling-cells = <2>; }; Loading Loading @@ -132,11 +133,9 @@ #thermal-sensor-cells = <1>; modem { qcom,instance-id = <100>; qcom,instance-id = <QMI_MODEM_NR_INST_ID>; qcom,qmi-sensor-names = "pa", "pa_1", "pa_2", "qfe_pa0", "qfe_wtr0", "modem_tsens", "qfe_mmw0", Loading @@ -144,8 +143,19 @@ "qfe_mmw2", "qfe_mmw3", "xo_therm", "qfe_pa_mdm", "qfe_pa_wtr"; "qfe_mmw_streamer0", "qfe_mmw0_mod", "qfe_mmw1_mod", "qfe_mmw2_mod", "qfe_mmw3_mod", "qfe_ret_pa0", "qfe_wtr_pa0", "qfe_wtr_pa1", "qfe_wtr_pa2", "qfe_wtr_pa3", "sys_therm1", "sys_therm2", "modem_tsens1"; }; }; }; Loading @@ -156,6 +166,7 @@ polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 0>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -175,6 +186,7 @@ polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 1>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -194,6 +206,7 @@ polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 2>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -213,6 +226,7 @@ polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens0 3>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -232,6 +246,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 4>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -251,6 +266,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 5>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -270,6 +286,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 6>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -289,6 +306,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 7>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -308,6 +326,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 8>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -327,6 +346,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 9>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -346,6 +366,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 10>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -365,6 +386,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 11>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -384,6 +406,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 12>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -403,6 +426,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 13>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -422,6 +446,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 14>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -441,6 +466,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 15>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -460,6 +486,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 0>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -479,6 +506,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 1>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -498,6 +526,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 2>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -517,6 +546,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 3>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -536,6 +566,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 4>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -555,6 +586,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 5>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -574,6 +606,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 6>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -593,6 +626,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 7>; thermal-governor = "user_space"; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -612,6 +646,7 @@ polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&tsens1 8>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -630,6 +665,7 @@ polling-delay-passive = <10>; polling-delay = <100>; thermal-governor = "step_wise"; wake-capable-sensor; trips { gpu_trip0: gpu-trip0 { temperature = <95000>; Loading @@ -651,6 +687,7 @@ polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; wake-capable-sensor; trips { silver-trip { temperature = <120000>; Loading @@ -664,6 +701,7 @@ polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "step_wise"; wake-capable-sensor; trips { gold-trip { temperature = <120000>; Loading @@ -678,6 +716,7 @@ polling-delay = <0>; thermal-sensors = <&tsens1 3>; thermal-governor = "step_wise"; wake-capable-sensor; trips { pop_trip: pop-trip { temperature = <95000>; Loading Loading @@ -708,6 +747,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 1>; wake-capable-sensor; trips { cpu00_config: cpu00-config { temperature = <110000>; Loading @@ -729,6 +769,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 2>; wake-capable-sensor; trips { cpu01_config: cpu01-config { temperature = <110000>; Loading @@ -750,6 +791,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&tsens0 3>; wake-capable-sensor; trips { cpu02_config: cpu02-config { temperature = <110000>; Loading @@ -771,6 +813,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 4>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu03_config: cpu03-config { temperature = <110000>; Loading @@ -792,6 +835,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 7>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu10_config: cpu10-config { temperature = <110000>; Loading @@ -813,6 +857,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 8>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu11_config: cpu11-config { temperature = <110000>; Loading @@ -834,6 +879,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 9>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu12_config: cpu12-config { temperature = <110000>; Loading @@ -855,6 +901,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 10>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu13_config: cpu13-config { temperature = <110000>; Loading @@ -876,6 +923,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 11>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu14_config: cpu14-config { temperature = <110000>; Loading @@ -897,6 +945,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 12>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu15_config: cpu15-config { temperature = <110000>; Loading @@ -918,6 +967,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 13>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu16_config: cpu16-config { temperature = <110000>; Loading @@ -939,6 +989,7 @@ polling-delay = <0>; thermal-sensors = <&tsens0 14>; thermal-governor = "step_wise"; wake-capable-sensor; trips { cpu17_config: cpu17-config { temperature = <110000>; Loading @@ -955,11 +1006,13 @@ }; }; modem-pa0-usr { modem-lte-sub6-pa1 { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor 100>; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_PA)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -969,11 +1022,13 @@ }; }; modem-pa1-usr { modem-lte-sub6-pa2 { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor 101>; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_PA_1)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -983,11 +1038,61 @@ }; }; modem-modem-usr { modem-mmw0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor 105>; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_0)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_1)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw2-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_2)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw3-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_3)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading @@ -1001,7 +1106,153 @@ polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor 110>; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_XO_THERM)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-wifi-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_SYS_THERM_1)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-ambient-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_SYS_THERM_2)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-0-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_MODEM_TSENS)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-1-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_MODEM_TSENS_1)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-streamer-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_STREAMER_0)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw0-mod-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_0_MOD)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw1-mod-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_1_MOD)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw2-mod-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_2_MOD)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; hysteresis = <1000>; type = "passive"; }; }; }; modem-mmw3-mod-usr { polling-delay-passive = <0>; polling-delay = <0>; thermal-governor = "user_space"; thermal-sensors = <&qmi_sensor (QMI_MODEM_NR_INST_ID+QMI_QFE_MMW_3_MOD)>; wake-capable-sensor; trips { active-config0 { temperature = <125000>; Loading
qcom/pm8150.dtsi +2 −1 Original line number Diff line number Diff line Loading @@ -143,10 +143,11 @@ &thermal_zones { pm8150_temp_alarm: pm8150_tz { polling-delay-passive = <0>; polling-delay-passive = <100>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150_tz>; wake-capable-sensor; trips { pm8150_trip0: trip0 { Loading
qcom/pm8150b.dtsi +11 −1 Original line number Diff line number Diff line Loading @@ -548,10 +548,11 @@ &thermal_zones { pm8150b_temp_alarm: pm8150b_tz { polling-delay-passive = <0>; polling-delay-passive = <100>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_tz>; wake-capable-sensor; trips { pm8150b_trip0: trip0 { Loading Loading @@ -579,6 +580,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_bcl 0>; wake-capable-sensor; trips { ibat_lvl0:ibat-lvl0 { Loading @@ -594,6 +596,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_bcl 1>; wake-capable-sensor; trips { ibat_lvl1:ibat-lvl1 { Loading @@ -610,6 +613,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150b_bcl 2>; tracks-low; wake-capable-sensor; trips { vbat_lvl0: vbat-lvl0 { Loading @@ -626,6 +630,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150b_bcl 3>; tracks-low; wake-capable-sensor; trips { vbat_lvl1:vbat-lvl1 { Loading @@ -642,6 +647,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150b_bcl 4>; tracks-low; wake-capable-sensor; trips { vbat_lvl2:vbat-lvl2 { Loading @@ -657,6 +663,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_bcl 5>; wake-capable-sensor; trips { b_bcl_lvl0: b-bcl-lvl0 { Loading @@ -672,6 +679,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_bcl 6>; wake-capable-sensor; trips { b_bcl_lvl1: b-bcl-lvl1 { Loading @@ -687,6 +695,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150b_bcl 7>; wake-capable-sensor; trips { b_bcl_lvl2: b-bcl-lvl2 { Loading @@ -703,6 +712,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&bcl_soc>; tracks-low; wake-capable-sensor; trips { soc_trip:soc-trip { Loading
qcom/pm8150l.dtsi +8 −1 Original line number Diff line number Diff line Loading @@ -430,10 +430,11 @@ &thermal_zones { pm8150l_temp_alarm: pm8150l_tz { polling-delay-passive = <0>; polling-delay-passive = <100>; polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150l_tz>; wake-capable-sensor; trips { trip0 { Loading Loading @@ -462,6 +463,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150l_bcl 2>; tracks-low; wake-capable-sensor; trips { vph_lvl0: vph-lvl0 { Loading @@ -478,6 +480,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150l_bcl 3>; tracks-low; wake-capable-sensor; trips { vph_lvl1:vph-lvl1 { Loading @@ -494,6 +497,7 @@ thermal-governor = "low_limits_cap"; thermal-sensors = <&pm8150l_bcl 4>; tracks-low; wake-capable-sensor; trips { vph_lvl2:vph-lvl2 { Loading @@ -509,6 +513,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150l_bcl 5>; wake-capable-sensor; trips { l_bcl_lvl0: l-bcl-lvl0 { Loading @@ -524,6 +529,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150l_bcl 6>; wake-capable-sensor; trips { l_bcl_lvl1: l-bcl-lvl1 { Loading @@ -539,6 +545,7 @@ polling-delay = <0>; thermal-governor = "step_wise"; thermal-sensors = <&pm8150l_bcl 7>; wake-capable-sensor; trips { l_bcl_lvl2: l-bcl-lvl2 { Loading