From 3b2b075db14c997b28db76c42cf6567da053c2ff Mon Sep 17 00:00:00 2001 From: Priyansh Jain Date: Tue, 26 Jul 2022 14:46:25 +0530 Subject: [PATCH] dt-bindings: thermal: Update CPU voltage cooling device bindings Update bindings for the updated properties of CPU voltage cooling device. Change-Id: I5af1f1c203a7374f493cc98409cb3ac48feb5d55 --- bindings/thermal/qti-voltage-cooling.txt | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/bindings/thermal/qti-voltage-cooling.txt b/bindings/thermal/qti-voltage-cooling.txt index ad5b3436aba0..84b62e0a484c 100644 --- a/bindings/thermal/qti-voltage-cooling.txt +++ b/bindings/thermal/qti-voltage-cooling.txt @@ -15,11 +15,24 @@ Required Parameters: driver. voltage cooling device node properties: - -qcom,cpus: + - apc1_cluster: thermal-cluster-a-b + Usage: required + Definition : CPU voltage cooling device node name. where 'a' is the + 1st core of 1st cluster and 'b' is 1st core of 2nd cluster. + + -qcom,cluster0: Usage: required Value type: An array of CPU phandle - Definition: Specify array of 2 CPU phandles, which needs to be - used for building a voltage based mitigation table. + Definition: Specify array of CPU phandles available in 1st cluster, + which needs to be used for building a voltage based mitigation + table. + + -qcom,cluster1: + Usage: required + Value type: An array of CPU phandle + Definition: Specify array of CPU phandles available in 2nd cluster, + which needs to be used for building a voltage based mitigation + table. -#cooling-cells: Usage: required @@ -35,8 +48,9 @@ Optional Parameters: Example: qcom,cpu-voltage-cdev { compatible = "qcom,cc-cooling-devices"; - apc1_cluster: qcom,apc1-cluster { - qcom,cpus = <&CPU4 &CPU7>; + apc1_cluster: thermal-cluster-4-7 { + qcom,cluster0 = <&CPU4 &CPU5 &CPU6>; + qcom,cluster1 = <&CPU7>; #cooling-cells = <2>; }; };