summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorTirupathi Reddy <tirupath@codeaurora.org>2016-01-18 16:06:20 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:23:13 -0700
commit86afb76cfdb674ee1b235dbf7151aeb104248a29 (patch)
tree9f3a87c0d2ce9ce024bab02b4aec0684fec653d7 /Documentation
parent352c8726286162d3c7fb585649bf88e60539dbc6 (diff)
regulator: cpr3: Add voltage boost support for CPR4 controllers
Voltage boost is a CPR4 hardware feature which raises the VDD supply voltage when the number of active cores reaches a certain threshold. It then reduces the voltage back down when the active core count condition is no longer met. Add support to enable and configure this feature. Change-Id: Iccfc2ddddb6621a150235cb2c46adfd1b884dbc2 Signed-off-by: Tirupathi Reddy <tirupath@codeaurora.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/regulator/cpr4-apss-regulator.txt64
1 files changed, 64 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/cpr4-apss-regulator.txt b/Documentation/devicetree/bindings/regulator/cpr4-apss-regulator.txt
index 5b081119a944..61382b562676 100644
--- a/Documentation/devicetree/bindings/regulator/cpr4-apss-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/cpr4-apss-regulator.txt
@@ -291,6 +291,63 @@ APSS specific properties:
speed bins 1-to-1 or exactly 1 list which is used regardless
of the fuse combination and speed bin found on a given chip.
+- qcom,cpr-num-boost-cores
+ Usage: required if qcom,allow-boost specified for this CPR3
+ regulator.
+ Value type: <u32>
+ Definition: Integer value indicates that voltage boost will be applied
+ when the number of online cores become this value.
+
+- qcom,cpr-boost-temp-adjustment
+ Usage: optional
+ Value type: <prop-encoded-array>
+ Definition: A list of integer tuples which each define the temperature
+ based voltage adjustment to boost voltage in microvolts
+ for each temperature band in order from lowest to highest.
+
+ The number of elements in each tuple should be equal to either
+ (the number of elements in qcom,cpr-ctrl-temp-point-map
+ + 1), if qcom,cpr-ctrl-temp-point-map is specified, or 1.
+
+ The list must contain qcom,cpr-fuse-combos number of tuples
+ in which case the tuples are matched to fuse combinations
+ 1-to-1 or qcom,cpr-speed-bins number of tuples in which case
+ the tuples are matched to speed bins 1-to-1 or exactly 1
+ tuple which is used regardless of the fuse combination and
+ speed bin found on a given chip.
+
+- qcom,allow-boost
+ Usage: optional
+ Value type: <prop-encoded-array>
+ Definition: A list of integers which specifies if the voltage boost
+ feature should be enabled for each fuse combination.
+ Supported per-combo element values:
+ 0 - voltage boost feature disabled
+ 1 - voltage boost feature enabled
+
+ The list must contain qcom,cpr-fuse-combos number of
+ elements in which case the elements are matched to fuse
+ combinations 1-to-1 or qcom,cpr-speed-bins number of
+ elements in which case the elements are matched to
+ speed bins 1-to-1 or exactly 1 element which is used
+ regardless of the fuse combination and speed bin found
+ on a given chip.
+
+- qcom,cpr-boost-voltage-fuse-adjustment
+ Usage: optional
+ Value type: <u32>
+ Definition: A list of integers which defines the voltage adjustment
+ in microvolts for the fused boost voltage. This adjustment
+ is applied to the values read from boost fuses.
+
+ The list must contain qcom,cpr-fuse-combos number of
+ elements in which case the elements are matched to fuse
+ combinations 1-to-1 or qcom,cpr-speed-bins number of
+ elements in which case the elements are matched to
+ speed bins 1-to-1 or exactly 1 element which is used
+ regardless of the fuse combination and speed bin found
+ on a given chip.
+
=======
Example
=======
@@ -420,6 +477,13 @@ apc_cpr: cpr4-ctrl@b018000 {
<(-30000) (-20000) (-10000) (-5000)>,
<(-20000) (-10000) (-5000) 0 >,
<(-20000) (-10000) (-5000) 0 >;
+
+ qcom,cpr-num-boost-cores = <4>;
+ qcom,cpr-boost-voltage-fuse-adjustment = <(-10000)>;
+ qcom,cpr-boost-temp-adjustment =
+ <(-20000) (-15000) (-10000) 0>;
+ qcom,allow-boost =
+ <1>;
};
};
};