mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
ARM: dts: msm: Add changes for CX PE support for ravelin
Add changes for CX PE support for ravelin target. Change-Id: Iaf1a09b004225cd0b418db628db6e27392697ec8
This commit is contained in:
@@ -193,6 +193,31 @@
|
||||
#cooling-cells = <2>;
|
||||
};
|
||||
};
|
||||
|
||||
cx_sdpm@634000 {
|
||||
status = "disabled";
|
||||
compatible = "qcom,sdpm";
|
||||
reg = <0x00634000 0x1000>;
|
||||
clock-names = "gpu_cc_gx_gfx3d",
|
||||
"cam_cc_camnoc_axi",
|
||||
"cam_cc_bps",
|
||||
"gcc_video_venus",
|
||||
"disp_cc_mdss_mdp";
|
||||
clocks = <&gpucc GPU_CC_GX_GFX3D_CLK_SRC>,
|
||||
<&camcc CAM_CC_CAMNOC_AXI_CLK_SRC>,
|
||||
<&camcc CAM_CC_BPS_CLK_SRC>,
|
||||
<&gcc GCC_VIDEO_VENUS_CLK_SRC>,
|
||||
<&dispcc DISP_CC_MDSS_MDP_CLK_SRC>;
|
||||
csr-id = <0 1 2 6 7>;
|
||||
};
|
||||
|
||||
cx_pe: cx_rdpm_pe@635000 {
|
||||
status = "disabled";
|
||||
compatible = "qcom,policy-engine";
|
||||
#thermal-sensor-cells = <0>;
|
||||
reg = <0x635000 0x1000>;
|
||||
interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
#include "ravelin-thermal-modem.dtsi"
|
||||
@@ -889,4 +914,27 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cx-pe {
|
||||
status = "disabled";
|
||||
polling-delay-passive = <0>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&cx_pe>;
|
||||
|
||||
trips {
|
||||
cx_pe_config1: cx-pe-config1 {
|
||||
temperature = <1>;
|
||||
hysteresis = <1>;
|
||||
type = "passive";
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
gpu_cdev {
|
||||
trip = <&cx_pe_config1>;
|
||||
cooling-device = <&msm_gpu 1 1>;
|
||||
};
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user