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:
Priyansh Jain
2022-11-16 19:07:01 +05:30
parent 756f1f8c30
commit 06ac3b2df4

View File

@@ -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>;
};
};
};
};