aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/opp/opp.txt47
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt
index d072fa0ffbd4..a3e7f0d5e1fb 100644
--- a/Documentation/devicetree/bindings/opp/opp.txt
+++ b/Documentation/devicetree/bindings/opp/opp.txt
@@ -100,6 +100,14 @@ Optional properties:
100 Entries for multiple regulators must be present in the same order as 100 Entries for multiple regulators must be present in the same order as
101 regulators are specified in device's DT node. 101 regulators are specified in device's DT node.
102 102
103- opp-microvolt-<name>: Named opp-microvolt property. This is exactly similar to
104 the above opp-microvolt property, but allows multiple voltage ranges to be
105 provided for the same OPP. At runtime, the platform can pick a <name> and
106 matching opp-microvolt-<name> property will be enabled for all OPPs. If the
107 platform doesn't pick a specific <name> or the <name> doesn't match with any
108 opp-microvolt-<name> properties, then opp-microvolt property shall be used, if
109 present.
110
103- opp-microamp: The maximum current drawn by the device in microamperes 111- opp-microamp: The maximum current drawn by the device in microamperes
104 considering system specific parameters (such as transients, process, aging, 112 considering system specific parameters (such as transients, process, aging,
105 maximum operating temperature range etc.) as necessary. This may be used to 113 maximum operating temperature range etc.) as necessary. This may be used to
@@ -112,6 +120,9 @@ Optional properties:
112 for few regulators, then this should be marked as zero for them. If it isn't 120 for few regulators, then this should be marked as zero for them. If it isn't
113 required for any regulator, then this property need not be present. 121 required for any regulator, then this property need not be present.
114 122
123- opp-microamp-<name>: Named opp-microamp property. Similar to
124 opp-microvolt-<name> property, but for microamp instead.
125
115- clock-latency-ns: Specifies the maximum possible transition latency (in 126- clock-latency-ns: Specifies the maximum possible transition latency (in
116 nanoseconds) for switching to this OPP from any other OPP. 127 nanoseconds) for switching to this OPP from any other OPP.
117 128
@@ -528,3 +539,39 @@ Example 6: opp-supported-hw
528 }; 539 };
529 }; 540 };
530}; 541};
542
543Example 7: opp-microvolt-<name>, opp-microamp-<name>:
544(example: device with two possible microvolt ranges: slow and fast)
545
546/ {
547 cpus {
548 cpu@0 {
549 compatible = "arm,cortex-a7";
550 ...
551
552 operating-points-v2 = <&cpu0_opp_table>;
553 };
554 };
555
556 cpu0_opp_table: opp_table0 {
557 compatible = "operating-points-v2";
558 opp-shared;
559
560 opp00 {
561 opp-hz = /bits/ 64 <1000000000>;
562 opp-microvolt-slow = <900000 915000 925000>;
563 opp-microvolt-fast = <970000 975000 985000>;
564 opp-microamp-slow = <70000>;
565 opp-microamp-fast = <71000>;
566 };
567
568 opp01 {
569 opp-hz = /bits/ 64 <1200000000>;
570 opp-microvolt-slow = <900000 915000 925000>, /* Supply vcc0 */
571 <910000 925000 935000>; /* Supply vcc1 */
572 opp-microvolt-fast = <970000 975000 985000>, /* Supply vcc0 */
573 <960000 965000 975000>; /* Supply vcc1 */
574 opp-microamp = <70000>; /* Will be used for both slow/fast */
575 };
576 };
577};