From 1041eac2f4f4fcf9adedbd874b533a0d9f76d7eb Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Tue, 25 May 2021 21:52:18 +0530 Subject: [PATCH] ARM: dts: qcom: Enable cx ipeak cooling device configuration for holi Enable cx ipeak cooling device configuration for holi target and disable device status by default. Change-Id: I2eaa347b06c40c974e24f1fc083f62d5b6324340 --- qcom/holi-thermal.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/qcom/holi-thermal.dtsi b/qcom/holi-thermal.dtsi index 3055d38c3777..958f6b7d74b7 100644 --- a/qcom/holi-thermal.dtsi +++ b/qcom/holi-thermal.dtsi @@ -62,6 +62,16 @@ }; }; }; + + cxip_cdev: cxip-cdev@3ed000 { + compatible = "qcom,cxip-lm-cooling-device"; + reg = <0x3ed000 0xe008>; + qcom,thermal-client-offset = <0x8000>; + /* 4th and 5th offsets to bypass VICTIM1 */ + qcom,bypass-client-list = <0x2004 0x4004 0x6004 0xc004 0xc008 0xe004>; + #cooling-cells = <2>; + status = "disabled"; + }; }; &rpm_bus { @@ -1083,6 +1093,12 @@ type = "passive"; }; + q6_hvx_cxip: q6-hvx-cxip-trip { + temperature = <95000>; + hysteresis = <20000>; + type = "passive"; + }; + q6_hvx_cx_mon: q6-hvx-cx-mon { temperature = <100000>; hysteresis = <5000>; @@ -1097,6 +1113,11 @@ THERMAL_NO_LIMIT>; }; + q6-hvx-cxip-cdev { + trip = <&q6_hvx_cxip>; + cooling-device = <&cxip_cdev 1 1>; + }; + q6-hvx-cx-cdev0 { trip = <&q6_hvx_cx_mon>; /* throttle to 565000000Hz */