提交 0409ab77 编写于 作者: L Lukasz Luba 提交者: Viresh Kumar

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: NLukasz Luba <lukasz.luba@arm.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
上级 8acf5cb9
...@@ -93,6 +93,21 @@ patternProperties: ...@@ -93,6 +93,21 @@ patternProperties:
minItems: 1 minItems: 1
maxItems: 8 # Should be enough regulators maxItems: 8 # Should be enough regulators
opp-microwatt:
description: |
The power for the OPP in micro-Watts.
Entries for multiple regulators shall be provided in the same field
separated by angular brackets <>. If current values aren't required
for a regulator, then it shall be filled with 0. If power values
aren't required for any of the regulators, then this field is not
required. The OPP binding doesn't provide any provisions to relate the
values to their power supplies or the order in which the supplies need
to be configured and that is left for the implementation specific
binding.
minItems: 1
maxItems: 8 # Should be enough regulators
opp-level: opp-level:
description: description:
A value representing the performance level of the device. A value representing the performance level of the device.
...@@ -203,6 +218,14 @@ patternProperties: ...@@ -203,6 +218,14 @@ patternProperties:
minItems: 1 minItems: 1
maxItems: 8 # Should be enough regulators maxItems: 8 # Should be enough regulators
'^opp-microwatt':
description:
Named opp-microwatt property. Similar to opp-microamp property,
but for microwatt instead.
$ref: /schemas/types.yaml#/definitions/uint32-array
minItems: 1
maxItems: 8 # Should be enough regulators
dependencies: dependencies:
opp-avg-kBps: [ opp-peak-kBps ] opp-avg-kBps: [ opp-peak-kBps ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册