mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 04:59:05 +00:00
ARM: dts: msm: Add thermal, tsens devicetree for ravelin
Add thermal, tsens, cooling device devicetree changes for ravelin. Change-Id: I4985bfaac2a6b23806508865532feda56e1f054b
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
0a53530ea8
commit
6520e67685
151
qcom/pmi632.dtsi
151
qcom/pmi632.dtsi
@@ -148,6 +148,24 @@
|
||||
compatible = "qcom,spmi-sdam";
|
||||
reg = <0xb600>;
|
||||
};
|
||||
|
||||
pmi632_bcl: bcl@3d00 {
|
||||
compatible = "qcom,bcl-v5";
|
||||
reg = <0x3d00>;
|
||||
interrupts = <0x2 0x3d 0x0 IRQ_TYPE_NONE>,
|
||||
<0x2 0x3d 0x1 IRQ_TYPE_NONE>,
|
||||
<0x2 0x3d 0x2 IRQ_TYPE_NONE>;
|
||||
interrupt-names = "bcl-lvl0",
|
||||
"bcl-lvl1",
|
||||
"bcl-lvl2";
|
||||
qcom,ibat-use-qg-adc-5a;
|
||||
#thermal-sensor-cells = <1>;
|
||||
};
|
||||
|
||||
bcl_soc: bcl-soc {
|
||||
compatible = "qcom,msm-bcl-soc";
|
||||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
pmi632_3: qcom,pmi632@3 {
|
||||
@@ -351,7 +369,6 @@
|
||||
pmi632-tz {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
thermal-governor = "step_wise";
|
||||
thermal-sensors = <&pmi632_tz>;
|
||||
|
||||
trips {
|
||||
@@ -374,4 +391,136 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmi632-ibat-lvl0 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmi632_bcl 0>;
|
||||
|
||||
trips {
|
||||
ibat_lvl0: ibat-lvl0 {
|
||||
temperature = <4000>;
|
||||
hysteresis = <200>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmi632-ibat-lvl1 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmi632_bcl 1>;
|
||||
|
||||
trips {
|
||||
ibat_lvl1: ibat-lvl1 {
|
||||
temperature = <5000>;
|
||||
hysteresis = <200>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmi632-bcl-lvl0 {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmi632_bcl 5>;
|
||||
|
||||
trips {
|
||||
thermal-engine-trip {
|
||||
temperature = <100>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-trip {
|
||||
temperature = <100>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
b_bcl_lvl0: b-bcl-lvl0 {
|
||||
temperature = <1>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmi632-bcl-lvl1 {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmi632_bcl 6>;
|
||||
|
||||
trips {
|
||||
thermal-engine-trip {
|
||||
temperature = <100>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-trip {
|
||||
temperature = <100>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
b_bcl_lvl1: b-bcl-lvl1 {
|
||||
temperature = <1>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pmi632-bcl-lvl2 {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmi632_bcl 7>;
|
||||
|
||||
trips {
|
||||
thermal-engine-trip {
|
||||
temperature = <100>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-trip {
|
||||
temperature = <100>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
b_bcl_lvl2: b-bcl-lvl2 {
|
||||
temperature = <1>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
socd {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&bcl_soc>;
|
||||
|
||||
trips {
|
||||
thermal-engine-trip {
|
||||
temperature = <100>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-trip {
|
||||
temperature = <100>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
socd_trip:socd-trip {
|
||||
temperature = <90>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
58
qcom/ravelin-thermal-overlay.dtsi
Normal file
58
qcom/ravelin-thermal-overlay.dtsi
Normal file
@@ -0,0 +1,58 @@
|
||||
#include <dt-bindings/thermal/thermal_qti.h>
|
||||
|
||||
&thermal_zones {
|
||||
pm7250b-ibat-lvl0 {
|
||||
trips {
|
||||
ibat-lvl0 {
|
||||
temperature = <4000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pm7250b-ibat-lvl1 {
|
||||
trips {
|
||||
ibat-lvl1 {
|
||||
temperature = <5000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pm6450_tz {
|
||||
cooling-maps {
|
||||
pm6450_cpu0 {
|
||||
trip = <&pm6450_trip0>;
|
||||
cooling-device = <&cpu0_pause 1 1>;
|
||||
};
|
||||
|
||||
pm6450_cpu1 {
|
||||
trip = <&pm6450_trip0>;
|
||||
cooling-device = <&cpu1_pause 1 1>;
|
||||
};
|
||||
|
||||
pm6450_cpu2 {
|
||||
trip = <&pm6450_trip0>;
|
||||
cooling-device = <&cpu2_pause 1 1>;
|
||||
};
|
||||
|
||||
pm6450_cpu3 {
|
||||
trip = <&pm6450_trip0>;
|
||||
cooling-device = <&cpu3_pause 1 1>;
|
||||
};
|
||||
|
||||
pm6450_cpu4 {
|
||||
trip = <&pm6450_trip0>;
|
||||
cooling-device = <&cpu4_pause 1 1>;
|
||||
};
|
||||
|
||||
pm6450_cpu5 {
|
||||
trip = <&pm6450_trip0>;
|
||||
cooling-device = <&cpu5_pause 1 1>;
|
||||
};
|
||||
|
||||
pm6450_cpu6_7 {
|
||||
trip = <&pm6450_trip0>;
|
||||
cooling-device = <&cpu_6_7_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
860
qcom/ravelin-thermal.dtsi
Normal file
860
qcom/ravelin-thermal.dtsi
Normal file
@@ -0,0 +1,860 @@
|
||||
#include <dt-bindings/thermal/thermal_qti.h>
|
||||
|
||||
&soc {
|
||||
tsens0: thermal-sensor@c263000 {
|
||||
compatible = "qcom,tsens-v2";
|
||||
reg = <0x0c263000 0x1ff>, /* TM */
|
||||
<0x0c222000 0x1ff>; /* SROT */
|
||||
#qcom,sensors = <16>;
|
||||
interrupts = <GIC_SPI 506 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 508 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 500 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupt-names = "uplow","critical", "cold";
|
||||
#thermal-sensor-cells = <1>;
|
||||
};
|
||||
|
||||
tsens1: thermal-sensor@c265000 {
|
||||
compatible = "qcom,tsens-v2";
|
||||
reg = <0x0c265000 0x1ff>, /* TM */
|
||||
<0x0c223000 0x1ff>; /* SROT */
|
||||
#qcom,sensors = <16>;
|
||||
interrupts = <GIC_SPI 507 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 509 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 501 IRQ_TYPE_EDGE_RISING>;
|
||||
interrupt-names = "uplow","critical", "cold";
|
||||
#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>;
|
||||
};
|
||||
|
||||
cpu4_pause: cpu4-pause {
|
||||
qcom,cpus = <&CPU4>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu5_pause: cpu5-pause {
|
||||
qcom,cpus = <&CPU5>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu6_pause: cpu6-pause {
|
||||
qcom,cpus = <&CPU6>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu7_pause: cpu7-pause {
|
||||
qcom,cpus = <&CPU7>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu_6_7_pause: cpu-6-7-pause {
|
||||
qcom,cpus = <&CPU6 &CPU7>;
|
||||
#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";
|
||||
};
|
||||
|
||||
pause-cpu4 {
|
||||
qcom,cpus = <&CPU4>;
|
||||
qcom,cdev-alias = "pause-cpu4";
|
||||
};
|
||||
|
||||
pause-cpu5 {
|
||||
qcom,cpus = <&CPU5>;
|
||||
qcom,cdev-alias = "pause-cpu5";
|
||||
};
|
||||
|
||||
pause-cpu6 {
|
||||
qcom,cpus = <&CPU6>;
|
||||
qcom,cdev-alias = "pause-cpu6";
|
||||
};
|
||||
|
||||
pause-cpu7 {
|
||||
qcom,cpus = <&CPU7>;
|
||||
qcom,cdev-alias = "pause-cpu7";
|
||||
};
|
||||
};
|
||||
|
||||
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>;
|
||||
};
|
||||
|
||||
cpu4_hotplug: cpu4-hotplug {
|
||||
qcom,cpu = <&CPU4>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu5_hotplug: cpu5-hotplug {
|
||||
qcom,cpu = <&CPU5>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu6_hotplug: cpu6-hotplug {
|
||||
qcom,cpu = <&CPU6>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
|
||||
cpu7_hotplug: cpu7-hotplug {
|
||||
qcom,cpu = <&CPU7>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
thermal_ddr_freq_table: thermal-ddr-freq-table {
|
||||
qcom,freq-tbl = < 2092800 >;
|
||||
};
|
||||
|
||||
ddr_cdev: qcom,ddr-cdev {
|
||||
compatible = "qcom,ddr-cooling-device";
|
||||
#cooling-cells = <2>;
|
||||
qcom,freq-table = <&thermal_ddr_freq_table>;
|
||||
qcom,bus-width = <4>;
|
||||
interconnects = <&mc_virt MASTER_LLCC &mc_virt SLAVE_EBI1>;
|
||||
};
|
||||
|
||||
qcom,cpufreq-cdev {
|
||||
compatible = "qcom,cpufreq-cdev";
|
||||
qcom,cpus = <&CPU0 &CPU6>;
|
||||
};
|
||||
|
||||
qcom,userspace-cdev {
|
||||
compatible = "qcom,userspace-cooling-devices";
|
||||
|
||||
display_fps: display-fps {
|
||||
qcom,max-level = <3>;
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&thermal_zones {
|
||||
aoss-0 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 0>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu-0-0 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 1>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpu0_emerg: cpu0-emerg-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu00_cdev {
|
||||
trip = <&cpu0_emerg>;
|
||||
cooling-device = <&cpu0_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu-0-1 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 2>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpu1_emerg: cpu1-emerg-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu01_cdev {
|
||||
trip = <&cpu1_emerg>;
|
||||
cooling-device = <&cpu1_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu-0-2 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 3>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpu2_emerg: cpu2-emerg-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu02_cdev {
|
||||
trip = <&cpu2_emerg>;
|
||||
cooling-device = <&cpu2_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu-0-3 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 4>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpu3_emerg: cpu3-emerg-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu03_cdev {
|
||||
trip = <&cpu3_emerg>;
|
||||
cooling-device = <&cpu3_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu-0-4 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 5>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpu4_emerg: cpu4-emerg-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu04_cdev {
|
||||
trip = <&cpu4_emerg>;
|
||||
cooling-device = <&cpu4_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu-0-5 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 6>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpu5_emerg: cpu5-emerg-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu05_cdev {
|
||||
trip = <&cpu5_emerg>;
|
||||
cooling-device = <&cpu5_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpuss-0 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 7>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpuss-1 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 8>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu-1-0 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 9>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpu6_emerg0: cpu6-emerg0-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu10_cdev {
|
||||
trip = <&cpu6_emerg0>;
|
||||
cooling-device = <&cpu6_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu-1-1 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 10>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpu6_emerg1: cpu6-emerg1-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu11_cdev {
|
||||
trip = <&cpu6_emerg1>;
|
||||
cooling-device = <&cpu6_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu-1-2 {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 11>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpu7_emerg0: cpu7-emerg0-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu12_cdev {
|
||||
trip = <&cpu7_emerg0>;
|
||||
cooling-device = <&cpu7_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cpu-1-3 {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 12>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cpu7_emerg1: cpu7-emerg1-cfg {
|
||||
temperature = <110000>;
|
||||
hysteresis = <10000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cpu13_cdev {
|
||||
trip = <&cpu7_emerg1>;
|
||||
cooling-device = <&cpu7_pause 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gpuss {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 13>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
thermal-hal-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
gpu_tj_cfg: tj_cfg {
|
||||
temperature = <95000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
camera {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 14>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
video {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 15>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
aoss-1 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 0>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ddr {
|
||||
polling-delay-passive = <10>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 1>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
ddr_config0: ddr0-config {
|
||||
temperature = <90000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
ddr_cdev {
|
||||
trip = <&ddr_config0>;
|
||||
cooling-device = <&ddr_cdev 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mdmss-0 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 2>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mdmss-1 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 3>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mdmss-2 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 4>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
mdmss-3 {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 5>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <125000>;
|
||||
hysteresis = <1000>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
reset-mon-cfg {
|
||||
temperature = <115000>;
|
||||
hysteresis = <5000>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
zeroc-0-step {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens0 128>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <1>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
min_temp_0_trip: cold-trip {
|
||||
temperature = <1>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
zeroc-1-step {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&tsens1 128>;
|
||||
trips {
|
||||
thermal-engine-config {
|
||||
temperature = <1>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
min_temp_1_trip: cold-trip {
|
||||
temperature = <1>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -48,6 +48,7 @@
|
||||
power-domains = <&CPU_PD0>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_0>;
|
||||
#cooling-cells = <2>;
|
||||
L2_0: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
cache-level = <2>;
|
||||
@@ -69,6 +70,7 @@
|
||||
power-domains = <&CPU_PD1>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_1>;
|
||||
#cooling-cells = <2>;
|
||||
L2_1: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
cache-level = <2>;
|
||||
@@ -85,6 +87,7 @@
|
||||
power-domains = <&CPU_PD2>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_2>;
|
||||
#cooling-cells = <2>;
|
||||
L2_2: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
cache-level = <2>;
|
||||
@@ -101,6 +104,7 @@
|
||||
power-domains = <&CPU_PD3>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_3>;
|
||||
#cooling-cells = <2>;
|
||||
L2_3: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
cache-level = <2>;
|
||||
@@ -116,6 +120,7 @@
|
||||
cpu-idle-states = <&SILVER_CPU_OFF &SILVER_CPU_RAIL_OFF>;
|
||||
power-domains = <&CPU_PD4>;
|
||||
power-domain-names = "psci";
|
||||
#cooling-cells = <2>;
|
||||
L2_4: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
cache-level = <2>;
|
||||
@@ -132,6 +137,7 @@
|
||||
power-domains = <&CPU_PD5>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_5>;
|
||||
#cooling-cells = <2>;
|
||||
L2_5: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
cache-level = <2>;
|
||||
@@ -148,6 +154,7 @@
|
||||
power-domains = <&CPU_PD6>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_6>;
|
||||
#cooling-cells = <2>;
|
||||
L2_6: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
cache-level = <2>;
|
||||
@@ -164,6 +171,7 @@
|
||||
power-domains = <&CPU_PD7>;
|
||||
power-domain-names = "psci";
|
||||
next-level-cache = <&L2_7>;
|
||||
#cooling-cells = <2>;
|
||||
L2_7: l2-cache {
|
||||
compatible = "arm,arch-cache";
|
||||
cache-level = <2>;
|
||||
@@ -1500,6 +1508,8 @@
|
||||
};
|
||||
};
|
||||
|
||||
thermal_zones: thermal-zones {
|
||||
};
|
||||
};
|
||||
|
||||
#include "ravelin-pinctrl.dtsi"
|
||||
@@ -1587,3 +1597,5 @@
|
||||
sw-reset = <&gpu_cc_gx_sw_reset>;
|
||||
status = "ok";
|
||||
};
|
||||
|
||||
#include "ravelin-thermal.dtsi"
|
||||
|
||||
Reference in New Issue
Block a user