summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTirupathi Reddy <tirupath@codeaurora.org>2016-02-11 18:00:22 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-25 16:02:44 -0700
commit0dc93b15a84a8350081acd29592ef873be1918c9 (patch)
tree8f400e5b811a3e3e1fb996c22f7c6e207bf18882 /Documentation
parent7f3712ee81e1acc1e34def428cf621aec6a7a651 (diff)
regulator: cpr4: Add miscellaneous fuse based voltage adjustments
Apply voltage adjustments for required voltage corners based on different values of selected miscellaneous fuse bits. Apply the adjustments to both open-loop voltages and closed-loop target quotients. CRs-Fixed: 982984 Change-Id: Ic45949afc8445d35c245434a7f51e4859a5978ad Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/regulator/cpr4-apss-regulator.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/cpr4-apss-regulator.txt b/Documentation/devicetree/bindings/regulator/cpr4-apss-regulator.txt
index 61382b562676..4864bef72962 100644
--- a/Documentation/devicetree/bindings/regulator/cpr4-apss-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/cpr4-apss-regulator.txt
@@ -348,6 +348,27 @@ APSS specific properties:
regardless of the fuse combination and speed bin found
on a given chip.
+- qcom,cpr-misc-fuse-voltage-adjustment
+ Usage: optional
+ Value type: <prop-encoded-array>
+ Definition: A grouping of integer tuple lists where each tuple defines
+ the voltage adjustments in microvolts for each voltage
+ corner in order from lowest to highest. This adjustment is
+ applied to both open-loop and closed-loop voltages.
+
+ Each tuple list must contain a number of tuples equal to
+ 2 to the power of the number of bits selected for misc
+ voltage adj fuse definition. For MSMTITANIUM the tuple
+ list must contain 2 tuples for the 1-bit misc fuse.
+ Tuples in a list should be specified in ascending order
+ according to the misc fuse value assuming that the fuse
+ is treated like an unsigned integer.
+
+ The tuple list grouping must contain qcom,cpr-speed-bins
+ number of tuple lists in which case the lists are matched to
+ speed bins 1-to-1 or exactly 1 list which is used regardless
+ of the speed bin found on a given chip.
+
=======
Example
=======
@@ -422,6 +443,13 @@ apc_cpr: cpr4-ctrl@b018000 {
1689600000 1843200000 1958400000
2150400000 2208000000>;
+ qcom,cpr-misc-fuse-voltage-adjustment =
+ /* Speed bin 0; misc fuse 0..1 */
+ < 0 0 0 0
+ 0 0 0 0>,
+ < 0 0 30000 0
+ 0 0 0 0>;
+
qcom,allow-voltage-interpolation;
qcom,allow-quotient-interpolation;
qcom,cpr-scaled-open-loop-voltage-as-ceiling;