diff mbox series

[2/3] dt-bindings: power: avs: CPR: Add corner adjust properties

Message ID 20200930062603.29009-3-jun.nie@linaro.org
State New
Headers show
Series Support CPR on msm8939 | expand

Commit Message

Jun Nie Sept. 30, 2020, 6:26 a.m. UTC
Add corner adjust properties for both corner and virtual corner.

Signed-off-by: Jun Nie <jun.nie@linaro.org>
---
 .../bindings/power/avs/qcom,cpr.txt           | 38 ++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/power/avs/qcom,cpr.txt b/Documentation/devicetree/bindings/power/avs/qcom,cpr.txt
index ab0d5ebbad4e..4f4108730dc3 100644
--- a/Documentation/devicetree/bindings/power/avs/qcom,cpr.txt
+++ b/Documentation/devicetree/bindings/power/avs/qcom,cpr.txt
@@ -10,7 +10,9 @@  and meet silicon characteristic requirements.
 - compatible:
 	Usage: required
 	Value type: <string>
-	Definition: should be "qcom,qcs404-cpr", "qcom,cpr" for qcs404
+	  enum:
+             - qcom,qcs404-cpr
+             - qcom,msm8939-cpr
 
 - reg:
 	Usage: required
@@ -70,6 +72,40 @@  and meet silicon characteristic requirements.
 		    "cpr_quotient2", "cpr_quotient3", "cpr_ring_osc1",
 		    "cpr_ring_osc2", "cpr_ring_osc3", "cpr_fuse_revision"
 		    for qcs404.
+		    should be: "cpr_speedbin" "cpr_init_voltage1",
+		    "cpr_init_voltage2", "cpr_init_voltage3", "cpr_quotient1",
+		    "cpr_quotient2", "cpr_quotient3", "cpr_ring_osc1",
+		    "cpr_ring_osc2", "cpr_ring_osc3", "cpr_fuse_revision"
+		    "cpr_fuse_revision_high", "cpr_pvs_version" and
+		    "cpr_pvs_version_high" for msm8939.
+
+
+- fuse-version-map:
+	Usage: optional
+	Value type: <prop-encoded-array>
+	Definition: fuse map table to search for entry index that for below
+		properties lookup table. Based on SoC's speedbin, pvs_version
+		and cpr revision.
+
+- init-voltage-adjustment:
+	Usage: optional
+	Value type: <prop-encoded-array>
+	Definition: Adjustment to initial voltage that read from fuse.
+
+- quotient-adjustment:
+	Usage: optional
+	Value type: <prop-encoded-array>
+	Definition: Adjustment to quotient that read from fuse.
+
+ - virtual-corner-quotient-adjustment:
+	Usage: optional
+	Value type: <prop-encoded-array>
+	Definition: Adjustment to virtual corners' quotient.
+
+ - voltage-floor-override:
+	Usage: optional
+	Value type: <prop-encoded-array>
+	Definition: Value to override virtual corners' floor voltage.
 
 Example: