mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
Merge "ARM: dts: msm: Configure Policy engine for CX rail in lahaina"
This commit is contained in:
commit
65db089f12
1 changed files with 72 additions and 0 deletions
|
|
@ -30,12 +30,30 @@
|
|||
csr-id = <1 3 5>;
|
||||
};
|
||||
|
||||
cx_sdpm@0x00634000 {
|
||||
compatible = "qcom,sdpm";
|
||||
reg = <0x00634000 0x1000>;
|
||||
clock-names = "cam_cc_csi0phytiimer", "ufs_phy";
|
||||
clocks = <&clock_camcc CAM_CC_CSI0PHYTIMER_CLK_SRC>,
|
||||
<&clock_gcc GCC_UFS_PHY_AXI_CLK_SRC>;
|
||||
cam_cc_csi0phytiimer-supply = <&cam_cc_ipe_0_gdsc>;
|
||||
cpu = <&CPU7>;
|
||||
csr-id = <5 7 4>;
|
||||
};
|
||||
|
||||
mx_pe: mx_rdpm_pe@0x00637000 {
|
||||
compatible = "qcom,policy-engine";
|
||||
#thermal-sensor-cells = <0>;
|
||||
reg = <0x00637000 0x1000>;
|
||||
interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
cx_pe: cx_rdpm_pe@0x00635000 {
|
||||
compatible = "qcom,policy-engine";
|
||||
#thermal-sensor-cells = <0>;
|
||||
reg = <0x00635000 0x1000>;
|
||||
interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
&cpufreq_hw {
|
||||
|
|
@ -1172,5 +1190,59 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
cx-pe-step {
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&cx_pe>;
|
||||
thermal-governor = "step_wise";
|
||||
trips {
|
||||
cx_pe_config1: cx-pe-config1 {
|
||||
temperature = <1>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cx_pe_config2: cx-pe-config2 {
|
||||
temperature = <2>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cx_pe_config3: cx-pe-config3 {
|
||||
temperature = <3>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
cx_pe_config4: cx-pe-config4 {
|
||||
temperature = <5>;
|
||||
hysteresis = <2>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
cx_pe_cdev_1 {
|
||||
trip = <&cx_pe_config1>;
|
||||
cooling-device = <&cdsp_sw 1 1>;
|
||||
};
|
||||
|
||||
cx_pe_cdev_2 {
|
||||
trip = <&cx_pe_config2>;
|
||||
cooling-device = <&cdsp_sw 2 2>;
|
||||
};
|
||||
|
||||
cx_pe_cdev_3 {
|
||||
trip = <&cx_pe_config3>;
|
||||
cooling-device = <&cdsp_sw 3 3>;
|
||||
};
|
||||
|
||||
cx_pe_cdev_4 {
|
||||
trip = <&cx_pe_config4>;
|
||||
cooling-device = <&cdsp_sw 4 4>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue