From 2f25b19ea1eee641d0d9d80d39bc9a1fd8446746 Mon Sep 17 00:00:00 2001 From: Priyansh Jain Date: Fri, 21 Jul 2023 09:39:51 +0530 Subject: [PATCH] ARM: dts: msm: Add skin wlan mitigation rule for neo hmt variant Add skin wlan mitigation rule for neo hmt variant based on latest recommendation. Change-Id: I7838433d09c0cb960610a7b227159fdcc3a2540c --- qcom/neo-idp-hmt.dtsi | 21 +++++++++++++++++++++ qcom/neo-pmic-overlay.dtsi | 18 ++++++++++++++++++ qcom/neo-qxr-hmt.dtsi | 21 +++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/qcom/neo-idp-hmt.dtsi b/qcom/neo-idp-hmt.dtsi index b7a576af..f420aeb0 100644 --- a/qcom/neo-idp-hmt.dtsi +++ b/qcom/neo-idp-hmt.dtsi @@ -153,3 +153,24 @@ wlan_kiwi: qcom,cnss-kiwi@b0000000 { pinctrl-0 = <&bt_en_sleep>; }; }; + +&thermal_zones { + sys-therm-1 { + cooling-maps { + cnss_cdev0 { + trip = <&sys_therm1_config0>; + cooling-device = <&cnss_cdev_apss 3 3>; + }; + + cnss_cdev1 { + trip = <&sys_therm1_config1>; + cooling-device = <&cnss_cdev_apss 4 4>; + }; + + cnss_cdev2 { + trip = <&sys_therm1_config2>; + cooling-device = <&cnss_cdev_apss 5 5>; + }; + }; + }; +}; diff --git a/qcom/neo-pmic-overlay.dtsi b/qcom/neo-pmic-overlay.dtsi index 7bfa0ecb..e89da5c6 100644 --- a/qcom/neo-pmic-overlay.dtsi +++ b/qcom/neo-pmic-overlay.dtsi @@ -124,6 +124,24 @@ hysteresis = <1000>; type = "passive"; }; + + sys_therm1_config0: sys-therm1-config0 { + temperature = <54000>; + hysteresis = <2000>; + type = "passive"; + }; + + sys_therm1_config1: sys-therm1-config1 { + temperature = <56000>; + hysteresis = <2000>; + type = "passive"; + }; + + sys_therm1_config2: sys-therm1-config2 { + temperature = <58000>; + hysteresis = <2000>; + type = "passive"; + }; }; }; diff --git a/qcom/neo-qxr-hmt.dtsi b/qcom/neo-qxr-hmt.dtsi index e5e32132..b0043573 100644 --- a/qcom/neo-qxr-hmt.dtsi +++ b/qcom/neo-qxr-hmt.dtsi @@ -157,3 +157,24 @@ wlan_kiwi: qcom,cnss-kiwi@b0000000 { pinctrl-0 = <&bt_en_sleep>; }; }; + +&thermal_zones { + sys-therm-1 { + cooling-maps { + cnss_cdev0 { + trip = <&sys_therm1_config0>; + cooling-device = <&cnss_cdev_apss 3 3>; + }; + + cnss_cdev1 { + trip = <&sys_therm1_config1>; + cooling-device = <&cnss_cdev_apss 4 4>; + }; + + cnss_cdev2 { + trip = <&sys_therm1_config2>; + cooling-device = <&cnss_cdev_apss 5 5>; + }; + }; + }; +};