mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 05:00:27 +00:00
ARM: dts: qcom: Enable tsens thermal zone and cooling devices for sdxpinn
Enable tsens driver, QMI sensor, its thermal zones, cpu cooling devices and QMI cooling devices etc. for sdxpinn. Change-Id: Ic5fc17ed294bbf893d4f6332347007ac5ff01a93
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
c4976ef418
commit
bad213c29a
487
qcom/sdxpinn-thermal-modem.dtsi
Normal file
487
qcom/sdxpinn-thermal-modem.dtsi
Normal file
@@ -0,0 +1,487 @@
|
||||
#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>;
|
||||
};
|
||||
|
||||
modem_lte_sub1_dsc: modem_lte_sub1_dsc {
|
||||
qcom,qmi-dev-name = "modem_lte_sub1_dsc";
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
modem_nr_sub1_dsc: modem_nr_sub1_dsc {
|
||||
qcom,qmi-dev-name = "modem_nr_sub1_dsc";
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
modem_nr_scg_sub1_dsc: modem_nr_scg_sub1_dsc {
|
||||
qcom,qmi-dev-name = "modem_nr_scg_sub1_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>;
|
||||
};
|
||||
|
||||
sdr0_nr_scg_dsc: sdr0_nr_scg_dsc {
|
||||
qcom,qmi-dev-name = "sdr0_nr_scg_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>;
|
||||
};
|
||||
|
||||
pa_nr_sdr0_sub1_dsc: pa_nr_sdr0_sub1_dsc {
|
||||
qcom,qmi-dev-name = "pa_nr_sdr0_sub1_dsc";
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
pa_lte_sdr0_sub1_dsc: pa_lte_sdr0_sub1_dsc {
|
||||
qcom,qmi-dev-name = "pa_lte_sdr0_sub1_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>;
|
||||
};
|
||||
|
||||
modem_v2x: modem_v2x {
|
||||
qcom,qmi-dev-name = "modem_v2x";
|
||||
#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 = "pa",
|
||||
"pa_1",
|
||||
"modem_bcl_warn",
|
||||
"sdr0",
|
||||
"sdr1",
|
||||
"sdr0_pa",
|
||||
"sdr1_pa",
|
||||
"mmw0",
|
||||
"mmw1",
|
||||
"mmw2",
|
||||
"mmw3",
|
||||
"mmw_ific0",
|
||||
"sub0_sdr0_pa",
|
||||
"sub1_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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sdr1_pa {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&qmi_sensor
|
||||
(QMI_MODEM_INST_ID+QMI_SDR1_PA)>;
|
||||
trips {
|
||||
thermal-engine-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config0 {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sdr1 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&qmi_sensor
|
||||
(QMI_MODEM_INST_ID+QMI_SDR1)>;
|
||||
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_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";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
667
qcom/sdxpinn-thermal.dtsi
Normal file
667
qcom/sdxpinn-thermal.dtsi
Normal file
@@ -0,0 +1,667 @@
|
||||
#include <dt-bindings/thermal/thermal_qti.h>
|
||||
|
||||
&soc {
|
||||
tsens: thermal-sensor@c271000 {
|
||||
compatible = "qcom,tsens-v2";
|
||||
reg = <0x0c271000 0x1ff>, /* TM */
|
||||
<0x0c222000 0x1ff>; /* SROT */
|
||||
#qcom,sensors = <12>;
|
||||
interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "uplow","critical";
|
||||
#thermal-sensor-cells = <1>;
|
||||
};
|
||||
|
||||
qcom,cpu-pause {
|
||||
compatible = "qcom,thermal-pause";
|
||||
|
||||
cpu0_pause: cpu0-pause {
|
||||
qcom,cpus = <&CPU0>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu1_pause: cpu1-pause {
|
||||
qcom,cpus = <&CPU1>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu2_pause: cpu2-pause {
|
||||
qcom,cpus = <&CPU2>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu3_pause: cpu3-pause {
|
||||
qcom,cpus = <&CPU3>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
/* Thermal-engine cooling devices */
|
||||
|
||||
pause-cpu0 {
|
||||
qcom,cpus = <&CPU0>;
|
||||
qcom,cdev-alias = "pause-cpu0";
|
||||
};
|
||||
|
||||
pause-cpu1 {
|
||||
qcom,cpus = <&CPU1>;
|
||||
qcom,cdev-alias = "pause-cpu1";
|
||||
};
|
||||
|
||||
pause-cpu2 {
|
||||
qcom,cpus = <&CPU2>;
|
||||
qcom,cdev-alias = "pause-cpu2";
|
||||
};
|
||||
|
||||
pause-cpu3 {
|
||||
qcom,cpus = <&CPU3>;
|
||||
qcom,cdev-alias = "pause-cpu3";
|
||||
};
|
||||
};
|
||||
|
||||
qcom,cpu-hotplug {
|
||||
compatible = "qcom,cpu-hotplug";
|
||||
|
||||
cpu0_hotplug: cpu0-hotplug {
|
||||
qcom,cpu = <&CPU0>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu1_hotplug: cpu1-hotplug {
|
||||
qcom,cpu = <&CPU1>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu2_hotplug: cpu2-hotplug {
|
||||
qcom,cpu = <&CPU2>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu3_hotplug: cpu3-hotplug {
|
||||
qcom,cpu = <&CPU3>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
qcom,cpufreq-cdev {
|
||||
compatible = "qcom,cpufreq-cdev";
|
||||
qcom,cpus = <&CPU0>;
|
||||
};
|
||||
};
|
||||
|
||||
#include "sdxpinn-thermal-modem.dtsi"
|
||||
|
||||
&thermal_zones {
|
||||
aoss-0 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 0>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpuss-0 {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 1>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_0_config0: active-config0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <2000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_0_config1: active-config1 {
|
||||
temperature = <97000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_0_config2: active-config2 {
|
||||
temperature = <99000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_0_emerg: cpuss-0-emerg-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_0_emerg1: cpuss-0-emerg-cfg1 {
|
||||
temperature = <112000>;
|
||||
hysteresis = <12000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu_cdev0 {
|
||||
trip = <&cpuss_0_config0>;
|
||||
cooling-device = <&CPU0 1 1>;
|
||||
};
|
||||
|
||||
cpu_cdev1 {
|
||||
trip = <&cpuss_0_config1>;
|
||||
cooling-device = <&CPU0 2 2>;
|
||||
};
|
||||
|
||||
cpu_cdev2 {
|
||||
trip = <&cpuss_0_config2>;
|
||||
cooling-device = <&CPU0 3 THERMAL_NO_LIMIT>;
|
||||
};
|
||||
|
||||
cpu_cdev3 {
|
||||
trip = <&cpuss_0_emerg>;
|
||||
cooling-device = <&cpu0_pause 1 1>;
|
||||
};
|
||||
|
||||
cpu_cdev4 {
|
||||
trip = <&cpuss_0_emerg1>;
|
||||
cooling-device = <&cpu0_hotplug 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpuss-1 {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 2>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_1_config0: active-config0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <2000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_1_config1: active-config1 {
|
||||
temperature = <97000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_1_config2: active-config2 {
|
||||
temperature = <99000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_1_emerg: cpuss-1-emerg-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_1_emerg1: cpuss-1-emerg-cfg1 {
|
||||
temperature = <112000>;
|
||||
hysteresis = <12000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu_cdev0 {
|
||||
trip = <&cpuss_1_config0>;
|
||||
cooling-device = <&CPU0 1 1>;
|
||||
};
|
||||
|
||||
cpu_cdev1 {
|
||||
trip = <&cpuss_1_config1>;
|
||||
cooling-device = <&CPU0 2 2>;
|
||||
};
|
||||
|
||||
cpu_cdev2 {
|
||||
trip = <&cpuss_1_config2>;
|
||||
cooling-device = <&CPU0 3 THERMAL_NO_LIMIT>;
|
||||
};
|
||||
|
||||
cpu_cdev3 {
|
||||
trip = <&cpuss_1_emerg>;
|
||||
cooling-device = <&cpu1_pause 1 1>;
|
||||
};
|
||||
|
||||
cpu_cdev4 {
|
||||
trip = <&cpuss_1_emerg1>;
|
||||
cooling-device = <&cpu1_hotplug 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpuss-2 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 3>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_2_config0: active-config0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <2000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_2_config1: active-config1 {
|
||||
temperature = <97000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_2_config2: active-config2 {
|
||||
temperature = <99000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_2_emerg: cpuss-2-emerg-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_2_emerg1: cpuss-2-emerg-cfg1 {
|
||||
temperature = <112000>;
|
||||
hysteresis = <12000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu_cdev0 {
|
||||
trip = <&cpuss_2_config0>;
|
||||
cooling-device = <&CPU0 1 1>;
|
||||
};
|
||||
|
||||
cpu_cdev1 {
|
||||
trip = <&cpuss_2_config1>;
|
||||
cooling-device = <&CPU0 2 2>;
|
||||
};
|
||||
|
||||
cpu_cdev2 {
|
||||
trip = <&cpuss_2_config2>;
|
||||
cooling-device = <&CPU0 3 THERMAL_NO_LIMIT>;
|
||||
};
|
||||
|
||||
cpu_cdev3 {
|
||||
trip = <&cpuss_2_emerg>;
|
||||
cooling-device = <&cpu2_pause 1 1>;
|
||||
};
|
||||
|
||||
cpu_cdev4 {
|
||||
trip = <&cpuss_2_emerg1>;
|
||||
cooling-device = <&cpu2_hotplug 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpuss-3 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 4>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_3_config0: active-config0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <2000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_3_config1: active-config1 {
|
||||
temperature = <97000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_3_config2: active-config2 {
|
||||
temperature = <99000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
|
||||
cpuss_3_emerg: cpuss-3-emerg-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpuss_3_emerg1: cpuss-3-emerg-cfg1 {
|
||||
temperature = <112000>;
|
||||
hysteresis = <12000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu_cdev0 {
|
||||
trip = <&cpuss_3_config0>;
|
||||
cooling-device = <&CPU0 1 1>;
|
||||
};
|
||||
|
||||
cpu_cdev1 {
|
||||
trip = <&cpuss_3_config1>;
|
||||
cooling-device = <&CPU0 2 2>;
|
||||
};
|
||||
|
||||
cpu_cdev2 {
|
||||
trip = <&cpuss_3_config2>;
|
||||
cooling-device = <&CPU0 3 THERMAL_NO_LIMIT>;
|
||||
};
|
||||
|
||||
cpu_cdev3 {
|
||||
trip = <&cpuss_3_emerg>;
|
||||
cooling-device = <&cpu3_pause 1 1>;
|
||||
};
|
||||
|
||||
cpu_cdev4 {
|
||||
trip = <&cpuss_3_emerg1>;
|
||||
cooling-device = <&cpu3_hotplug 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ethphy-0 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 5>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mvmss-0 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 6>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mdmq6-0 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 7>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ctile {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 8>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mdmss-0 {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 9>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
mdmss0_config0: mdmss0-config0 {
|
||||
temperature = <101000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
mdmss0_config1: mdmss0-config1 {
|
||||
temperature = <105000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
lte_cdev0 {
|
||||
trip = <&mdmss0_config0>;
|
||||
cooling-device = <&modem_lte_dsc 8 8>;
|
||||
};
|
||||
|
||||
nr_scg_cdev0 {
|
||||
trip = <&mdmss0_config0>;
|
||||
cooling-device = <&modem_nr_scg_dsc 10 10>;
|
||||
};
|
||||
|
||||
nr_cdev0 {
|
||||
trip = <&mdmss0_config0>;
|
||||
cooling-device = <&modem_nr_dsc 6 6>;
|
||||
};
|
||||
|
||||
lte_cdev1 {
|
||||
trip = <&mdmss0_config1>;
|
||||
cooling-device = <&modem_lte_dsc 255 255>;
|
||||
};
|
||||
|
||||
nr_cdev1 {
|
||||
trip = <&mdmss0_config1>;
|
||||
cooling-device = <&modem_nr_dsc 255 255>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mdmss-1 {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 10>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
mdmss1_config0: mdmss1-config0 {
|
||||
temperature = <101000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
mdmss1_config1: mdmss1-config1 {
|
||||
temperature = <105000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
lte_cdev0 {
|
||||
trip = <&mdmss1_config0>;
|
||||
cooling-device = <&modem_lte_dsc 8 8>;
|
||||
};
|
||||
|
||||
nr_scg_cdev0 {
|
||||
trip = <&mdmss1_config0>;
|
||||
cooling-device = <&modem_nr_scg_dsc 10 10>;
|
||||
};
|
||||
|
||||
nr_cdev0 {
|
||||
trip = <&mdmss1_config0>;
|
||||
cooling-device = <&modem_nr_dsc 6 6>;
|
||||
};
|
||||
|
||||
lte_cdev1 {
|
||||
trip = <&mdmss1_config1>;
|
||||
cooling-device = <&modem_lte_dsc 255 255>;
|
||||
};
|
||||
|
||||
nr_cdev1 {
|
||||
trip = <&mdmss1_config1>;
|
||||
cooling-device = <&modem_nr_dsc 255 255>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mdmss-2 {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens 11>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
mdmss2_config0: mdmss2-config0 {
|
||||
temperature = <101000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
mdmss2_config1: mdmss2-config1 {
|
||||
temperature = <105000>;
|
||||
hysteresis = <3000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
lte_cdev0 {
|
||||
trip = <&mdmss2_config0>;
|
||||
cooling-device = <&modem_lte_dsc 8 8>;
|
||||
};
|
||||
|
||||
nr_scg_cdev0 {
|
||||
trip = <&mdmss2_config0>;
|
||||
cooling-device = <&modem_nr_scg_dsc 10 10>;
|
||||
};
|
||||
|
||||
nr_cdev0 {
|
||||
trip = <&mdmss2_config0>;
|
||||
cooling-device = <&modem_nr_dsc 6 6>;
|
||||
};
|
||||
|
||||
lte_cdev1 {
|
||||
trip = <&mdmss2_config1>;
|
||||
cooling-device = <&modem_lte_dsc 255 255>;
|
||||
};
|
||||
|
||||
nr_cdev1 {
|
||||
trip = <&mdmss2_config1>;
|
||||
cooling-device = <&modem_nr_dsc 255 255>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -45,6 +45,7 @@
|
||||
next-level-cache = <&L2_0>;
|
||||
capacity-dmips-mhz = <1024>;
|
||||
dynamic-power-coefficient = <100>;
|
||||
#cooling-cells = <2>;
|
||||
L2_0: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
cache-level = <2>;
|
||||
@@ -68,6 +69,7 @@
|
||||
cpu-release-addr = <0x0 0x90f00000>;
|
||||
capacity-dmips-mhz = <1024>;
|
||||
dynamic-power-coefficient = <100>;
|
||||
#cooling-cells = <2>;
|
||||
|
||||
L2_1: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
@@ -87,6 +89,7 @@
|
||||
cpu-release-addr = <0x0 0x90f00000>;
|
||||
capacity-dmips-mhz = <1024>;
|
||||
dynamic-power-coefficient = <100>;
|
||||
#cooling-cells = <2>;
|
||||
|
||||
L2_2: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
@@ -106,6 +109,7 @@
|
||||
cpu-release-addr = <0x0 0x90f00000>;
|
||||
capacity-dmips-mhz = <1024>;
|
||||
dynamic-power-coefficient = <100>;
|
||||
#cooling-cells = <2>;
|
||||
|
||||
L2_3: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
@@ -956,6 +960,7 @@
|
||||
#include "sdxpinn-qupv3.dtsi"
|
||||
#include "msm-arm-smmu-sdxpinn.dtsi"
|
||||
#include "sdxpinn-dma-heaps.dtsi"
|
||||
#include "sdxpinn-thermal.dtsi"
|
||||
|
||||
&qupv3_se1_2uart {
|
||||
status = "ok";
|
||||
|
||||
Reference in New Issue
Block a user