ARM: dts: qcom: Add thermal overlay support for kera and tuna

Add thermal overlay support for kera and tuna.

Change-Id: I87a87a173715e9d748e8bab7250d34530be03554
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
This commit is contained in:
Priyansh Jain
2024-11-28 12:25:59 +05:30
parent 271a3520cb
commit 244a101b21
9 changed files with 60 additions and 22 deletions

View File

@@ -3217,3 +3217,4 @@
vdd-usb-cp-supply = <&L7B>; vdd-usb-cp-supply = <&L7B>;
}; };
}; };
#include "tuna-thermal-overlay.dtsi"

View File

@@ -4,7 +4,6 @@
*/ */
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include "tuna-thermal-overlay.dtsi"
&qupv3_se4_i2c { &qupv3_se4_i2c {
#address-cells = <1>; #address-cells = <1>;

View File

@@ -5,7 +5,6 @@
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/clock/qcom,gcc-sun.h> #include <dt-bindings/clock/qcom,gcc-sun.h>
#include "tuna-thermal-overlay.dtsi"
&qupv3_se4_i2c { &qupv3_se4_i2c {
#address-cells = <1>; #address-cells = <1>;

View File

@@ -315,6 +315,25 @@
}; };
}; };
}; };
socd {
cooling-maps {
socd_apc1 {
trip = <&socd_trip>;
cooling-device = <&APC1_MX_CX_PAUSE 1 1>;
};
socd_cdsp1 {
trip = <&socd_trip>;
cooling-device = <&cdsp_sw 4 4>;
};
socd_gpu0 {
trip = <&socd_trip>;
cooling-device = <&msm_gpu 4 4>;
};
};
};
}; };
&pm7550ba_eusb2_repeater { &pm7550ba_eusb2_repeater {

View File

@@ -298,6 +298,25 @@
}; };
}; };
}; };
socd {
cooling-maps {
socd_apc1 {
trip = <&socd_trip>;
cooling-device = <&APC1_MX_CX_PAUSE 1 1>;
};
socd_cdsp1 {
trip = <&socd_trip>;
cooling-device = <&cdsp_sw 4 4>;
};
socd_gpu0 {
trip = <&socd_trip>;
cooling-device = <&msm_gpu 4 4>;
};
};
};
}; };
&pmih010x_eusb2_repeater { &pmih010x_eusb2_repeater {

View File

@@ -240,6 +240,25 @@
}; };
}; };
}; };
socd {
cooling-maps {
socd_apc1 {
trip = <&socd_trip>;
cooling-device = <&APC1_MX_CX_PAUSE 1 1>;
};
socd_cdsp1 {
trip = <&socd_trip>;
cooling-device = <&cdsp_sw 4 4>;
};
socd_gpu0 {
trip = <&socd_trip>;
cooling-device = <&msm_gpu 4 4>;
};
};
};
}; };
&pmiv010x_eusb2_repeater { &pmiv010x_eusb2_repeater {

View File

@@ -4,7 +4,6 @@
*/ */
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
#include "tuna-thermal-overlay.dtsi"
&qupv3_se4_spi { &qupv3_se4_spi {
#address-cells = <1>; #address-cells = <1>;

View File

@@ -6,25 +6,6 @@
#include <dt-bindings/thermal/thermal_qti.h> #include <dt-bindings/thermal/thermal_qti.h>
&thermal_zones { &thermal_zones {
socd {
cooling-maps {
socd_apc1 {
trip = <&socd_trip>;
cooling-device = <&APC1_MX_CX_PAUSE 1 1>;
};
socd_cdsp1 {
trip = <&socd_trip>;
cooling-device = <&cdsp_sw 4 4>;
};
socd_gpu0 {
trip = <&socd_trip>;
cooling-device = <&msm_gpu 4 4>;
};
};
};
pmxr2230-bcl-lvl0 { pmxr2230-bcl-lvl0 {
cooling-maps { cooling-maps {
lbat_0_nr_scg { lbat_0_nr_scg {

View File

@@ -3667,3 +3667,5 @@
vdd-usb-cp-supply = <&L7B>; vdd-usb-cp-supply = <&L7B>;
}; };
}; };
#include "tuna-thermal-overlay.dtsi"