diff --git a/qcom/ravelin-thermal.dtsi b/qcom/ravelin-thermal.dtsi index cd7d2327..b18befbb 100644 --- a/qcom/ravelin-thermal.dtsi +++ b/qcom/ravelin-thermal.dtsi @@ -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 = ; + }; }; #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>; + }; + + }; + }; };