ARM: dts: qcom: Add modem thermal sensors and cooling devices for sun
Add modem related thermal sensors and mitigation devices for sun which would be accessible over QMI. Add respective thermal zone and trips for modem thermal sensors. Change-Id: Iefef9a70d8c213a406d7eb98df43c61f46fddd87 Signed-off-by: Rashid Zafar <quic_rzafar@quicinc.com>
This commit is contained in:
677
qcom/sun-thermal-modem.dtsi
Normal file
677
qcom/sun-thermal-modem.dtsi
Normal file
@@ -0,0 +1,677 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <dt-bindings/thermal/thermal_qti.h>
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
qmi-tmd-devices {
|
||||||
|
compatible = "qcom,qmi-cooling-devices";
|
||||||
|
|
||||||
|
modem {
|
||||||
|
qcom,instance-id = <QMI_MODEM_INST_ID>;
|
||||||
|
|
||||||
|
modem_lte_dsc: modem_lte_dsc {
|
||||||
|
qcom,qmi-dev-name = "modem_lte_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
modem_nr_dsc: modem_nr_dsc {
|
||||||
|
qcom,qmi-dev-name = "modem_nr_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
modem_nr_scg_dsc: modem_nr_scg_dsc {
|
||||||
|
qcom,qmi-dev-name = "modem_nr_scg_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sdr0_lte_dsc: sdr0_lte_dsc {
|
||||||
|
qcom,qmi-dev-name = "sdr0_lte_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
sdr0_nr_dsc: sdr0_nr_dsc {
|
||||||
|
qcom,qmi-dev-name = "sdr0_nr_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pa_lte_sdr0_dsc: pa_lte_sdr0_dsc {
|
||||||
|
qcom,qmi-dev-name = "pa_lte_sdr0_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pa_nr_sdr0_dsc: pa_nr_sdr0_dsc {
|
||||||
|
qcom,qmi-dev-name = "pa_nr_sdr0_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pa_nr_sdr0_scg_dsc: pa_nr_sdr0_scg_dsc {
|
||||||
|
qcom,qmi-dev-name = "pa_nr_sdr0_scg_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw0_dsc: mmw0_dsc {
|
||||||
|
qcom,qmi-dev-name = "mmw0_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw1_dsc: mmw1_dsc {
|
||||||
|
qcom,qmi-dev-name = "mmw1_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw2_dsc: mmw2_dsc {
|
||||||
|
qcom,qmi-dev-name = "mmw2_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw3_dsc: mmw3_dsc {
|
||||||
|
qcom,qmi-dev-name = "mmw3_dsc";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
qmi_wlan: wlan {
|
||||||
|
qcom,qmi-dev-name = "wlan";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
modem_bw_backoff: modem_bw_backoff {
|
||||||
|
qcom,qmi-dev-name = "modem_bw_backoff";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
modem_vdd: modem_vdd {
|
||||||
|
qcom,qmi-dev-name = "cpuv_restriction_cold";
|
||||||
|
#cooling-cells = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qmi_sensor: qmi-ts-sensors {
|
||||||
|
compatible = "qcom,qmi-sensors";
|
||||||
|
#thermal-sensor-cells = <1>;
|
||||||
|
|
||||||
|
modem {
|
||||||
|
qcom,instance-id = <QMI_MODEM_INST_ID>;
|
||||||
|
qcom,qmi-sensor-names = "modem_tsens",
|
||||||
|
"modem_tsens1",
|
||||||
|
"pa",
|
||||||
|
"pa_1",
|
||||||
|
"modem_bcl_warn",
|
||||||
|
"sdr0_pa",
|
||||||
|
"sdr0",
|
||||||
|
"mmw0",
|
||||||
|
"mmw1",
|
||||||
|
"mmw2",
|
||||||
|
"mmw3",
|
||||||
|
"mmw_pa1",
|
||||||
|
"mmw_pa2",
|
||||||
|
"mmw_pa3",
|
||||||
|
"mmw_ific0",
|
||||||
|
"epm0",
|
||||||
|
"epm1",
|
||||||
|
"epm2",
|
||||||
|
"epm3",
|
||||||
|
"epm4",
|
||||||
|
"epm5",
|
||||||
|
"epm6",
|
||||||
|
"epm7",
|
||||||
|
"sys_therm1",
|
||||||
|
"sys_therm2",
|
||||||
|
"sys_therm3",
|
||||||
|
"sys_therm4",
|
||||||
|
"sys_therm5",
|
||||||
|
"sys_therm6",
|
||||||
|
"sub0_sdr0_pa",
|
||||||
|
"sdr_mmw_therm",
|
||||||
|
"sub1_modem_cfg",
|
||||||
|
"sub1_lte_cc",
|
||||||
|
"sub1_mcg_fr1_cc",
|
||||||
|
"sub1_mcg_fr2_cc",
|
||||||
|
"sub1_scg_fr1_cc",
|
||||||
|
"sub1_scg_fr2_cc";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&thermal_zones {
|
||||||
|
pa {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_PA)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
pa1 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_PA_1)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
bcl_warn {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_BCL_WARN)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sdr0_pa {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_SDR0_PA)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sdr0 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_SDR0)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw0 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_MMW0)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw1 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_MMW1)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw2 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_MMW2)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw3 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_MMW3)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw_pa1 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_MMW_PA1)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw_pa2 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_MMW_PA2)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw_pa3 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_MMW_PA3)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
mmw_ific0 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_MMW_IFIC0)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
epm0 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_EPM0)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
epm1 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_EPM1)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
epm2 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_EPM2)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
epm3 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_EPM3)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
epm4 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_EPM4)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
epm5 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_EPM5)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
epm6 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_EPM6)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
epm7 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_EPM7)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sdr_mmw_therm {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_SDR_MMW)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
|
||||||
|
thermal-hal-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sub1_modem_cfg {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_SUB1_MODEM_CFG)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sub1_lte_cc {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_SUB1_LTE_CC)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sub1_mcg_fr1_cc {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_SUB1_MCG_FR1_CC)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sub1_mcg_fr2_cc {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_SUB1_MCG_FR2_CC)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sub1_scg_fr1_cc {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_SUB1_SCG_FR1_CC)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sub1_scg_fr2_cc {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_SUB1_SCG_FR2_CC)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
pa-therm2-sys3 {
|
||||||
|
polling-delay-passive = <0>;
|
||||||
|
polling-delay = <0>;
|
||||||
|
thermal-sensors = <&qmi_sensor
|
||||||
|
(QMI_MODEM_INST_ID+QMI_SYS_THERM_3)>;
|
||||||
|
trips {
|
||||||
|
thermal-engine-config0 {
|
||||||
|
temperature = <125000>;
|
||||||
|
hysteresis = <1000>;
|
||||||
|
type = "passive";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
@@ -210,6 +210,8 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#include "sun-thermal-modem.dtsi"
|
||||||
|
|
||||||
&thermal_zones {
|
&thermal_zones {
|
||||||
aoss-0 {
|
aoss-0 {
|
||||||
polling-delay-passive = <0>;
|
polling-delay-passive = <0>;
|
||||||
|
Reference in New Issue
Block a user