All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jun Nie <jun.nie@linaro.org>
To: nks@flawful.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org
Cc: shawn.guo@linaro.org, Jun Nie <jun.nie@linaro.org>
Subject: [PATCH 2/3] dt-bindings: power: avs: CPR: Add corner adjust properties
Date: Wed, 30 Sep 2020 14:26:02 +0800	[thread overview]
Message-ID: <20200930062603.29009-3-jun.nie@linaro.org> (raw)
In-Reply-To: <20200930062603.29009-1-jun.nie@linaro.org>

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 --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:
 
-- 
2.17.1


  parent reply	other threads:[~2020-09-30  6:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30  6:26 [PATCH 0/3] Support CPR on msm8939 Jun Nie
2020-09-30  6:26 ` [PATCH 1/3] cpufreq: qcom: Add support for msm8939 Jun Nie
2020-09-30  6:26 ` Jun Nie [this message]
2020-09-30  6:26 ` [PATCH 3/3] power: avs: qcom-cpr: add support to msm8939 Jun Nie
2020-10-01  0:59   ` kernel test robot
2020-10-01  0:59     ` kernel test robot
2020-10-07  3:22     ` Jun Nie
2020-10-07  3:22       ` Jun Nie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200930062603.29009-3-jun.nie@linaro.org \
    --to=jun.nie@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=nks@flawful.org \
    --cc=shawn.guo@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.