Skip to content

Commit 0409ab7

Browse files
lukaszluba-armvireshk
authored andcommitted
dt-bindings: opp: Add "opp-microwatt" entry in the OPP
Add new entry for the OPP which provides information about power expressed in micro-Watts. It is useful for the Energy Model framework. Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
1 parent 8acf5cb commit 0409ab7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

Documentation/devicetree/bindings/opp/opp-v2-base.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,21 @@ patternProperties:
9393
minItems: 1
9494
maxItems: 8 # Should be enough regulators
9595

96+
opp-microwatt:
97+
description: |
98+
The power for the OPP in micro-Watts.
99+
100+
Entries for multiple regulators shall be provided in the same field
101+
separated by angular brackets <>. If current values aren't required
102+
for a regulator, then it shall be filled with 0. If power values
103+
aren't required for any of the regulators, then this field is not
104+
required. The OPP binding doesn't provide any provisions to relate the
105+
values to their power supplies or the order in which the supplies need
106+
to be configured and that is left for the implementation specific
107+
binding.
108+
minItems: 1
109+
maxItems: 8 # Should be enough regulators
110+
96111
opp-level:
97112
description:
98113
A value representing the performance level of the device.
@@ -203,6 +218,14 @@ patternProperties:
203218
minItems: 1
204219
maxItems: 8 # Should be enough regulators
205220

221+
'^opp-microwatt':
222+
description:
223+
Named opp-microwatt property. Similar to opp-microamp property,
224+
but for microwatt instead.
225+
$ref: /schemas/types.yaml#/definitions/uint32-array
226+
minItems: 1
227+
maxItems: 8 # Should be enough regulators
228+
206229
dependencies:
207230
opp-avg-kBps: [ opp-peak-kBps ]
208231

0 commit comments

Comments
 (0)