From dd0c146ee3a8472289cee0961595ee79aec900e0 Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Tue, 17 Dec 2019 13:19:31 +0530 Subject: [PATCH 1/2] dt-bindings: thermal: Add support for CDSP cooling devices via qmi cdev Add support for CDSP DCVS and CDSP hardware cooling devices to QMI cooling device driver. These cooling devices can be used to mitigate CDSP subsystem at high temperature via qmi interface. Change-Id: I064d5685e1c2c9c7d0406ee3bdd7f48169602a92 --- bindings/thermal/qti-qmi-cdev.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bindings/thermal/qti-qmi-cdev.txt b/bindings/thermal/qti-qmi-cdev.txt index 481c284543be..aeff953af9a9 100644 --- a/bindings/thermal/qti-qmi-cdev.txt +++ b/bindings/thermal/qti-qmi-cdev.txt @@ -53,6 +53,8 @@ Subsystem properties: "mmw_skin3" -> MMW skin mitigation device3, "cpr_cold" -> for cpr restriction. "wlan" -> for modem wlan mitigation device. + "cdsp_sw" -> for CDSP DCVS mitigation device. + "cdsp_hw" -> for CDSP hardware mitigation device. -#cooling-cells: Usage: required @@ -111,6 +113,16 @@ Example: qcom,qmi-dev-name = "cpuv_restriction_cold"; #cooling-cells = <2>; }; + + cdsp_sw: cdsp { + qcom,qmi-dev-name = "cdsp_sw"; + #cooling-cells = <2>; + }; + + cdsp_hw: hvx { + qcom,qmi-dev-name = "cdsp_hw"; + #cooling-cells = <2>; + }; }; slpi { From 4d129a39166baec09b9c5b7d40c9b018fce3870d Mon Sep 17 00:00:00 2001 From: Ram Chandrasekar Date: Mon, 20 Apr 2020 12:18:40 -0700 Subject: [PATCH 2/2] dt-bindings: thermal: Add support for modem DSC cooling devices Modem supports new DSC based mitigation nodes, which are not timer based. Add support for these new TMD devices to be registered as cooling devices in thermal framework. Change-Id: I1a7e5f2b9ec533e8ca8e380266c05dfcec3db8e2 --- bindings/thermal/qti-qmi-cdev.txt | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/bindings/thermal/qti-qmi-cdev.txt b/bindings/thermal/qti-qmi-cdev.txt index aeff953af9a9..127a9d8caecf 100644 --- a/bindings/thermal/qti-qmi-cdev.txt +++ b/bindings/thermal/qti-qmi-cdev.txt @@ -51,10 +51,24 @@ Subsystem properties: "mmw_skin1" -> MMW skin mitigation device1, "mmw_skin2" -> MMW skin mitigation device2, "mmw_skin3" -> MMW skin mitigation device3, - "cpr_cold" -> for cpr restriction. - "wlan" -> for modem wlan mitigation device. - "cdsp_sw" -> for CDSP DCVS mitigation device. - "cdsp_hw" -> for CDSP hardware mitigation device. + "cpr_cold" -> for cpr restriction, + "wlan" -> for modem wlan mitigation device, + "cdsp_sw" -> for CDSP DCVS mitigation device, + "cdsp_hw" -> for CDSP hardware mitigation device, + "mmw_skin0_dsc" -> DSC based MMW skin mitigation + device0, + "mmw_skin1_dsc" -> DSC based MMW skin mitigation + device1, + "mmw_skin2_dsc" -> DSC based MMW skin mitigation + device2, + "mmw_skin3_dsc" -> DSC based MMW skin mitigation + device3, + "modem_skin_lte_dsc" -> DSC based LTE skin mitigation + device, + "modem_skin_nr_dsc" -> DSC based NR skin mitigation + device, + "pa_dsc" -> DSC based pa cooling device, + "pa_fr1_dsc" -> DSC based pa cooling device. -#cooling-cells: Usage: required