Message ID | 20220224081131.27282-2-lukasz.luba@arm.com (mailing list archive) |
---|---|
State | New, archived |
Delegated to: | viresh kumar |
Headers | show |
Series | Introduce "opp-microwatt" and 'advanced' Energy Model from DT | expand |
On 24-02-22, 08:11, Lukasz Luba wrote: > 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> > --- > .../devicetree/bindings/opp/opp-v2-base.yaml | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) Also need to update patternProperties section I think.
On 2/24/22 09:01, Viresh Kumar wrote: > On 24-02-22, 08:11, Lukasz Luba wrote: >> 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> >> --- >> .../devicetree/bindings/opp/opp-v2-base.yaml | 15 +++++++++++++++ >> 1 file changed, 15 insertions(+) > > Also need to update patternProperties section I think. > You're right. If that would be the only thing for the patch set, I will just resend this patch 1/4 below this thread. Thank you for having a look at it.
diff --git a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml index 15a76bcd6d42..433164186a98 100644 --- a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml +++ b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml @@ -93,6 +93,21 @@ patternProperties: minItems: 1 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: description: A value representing the performance level of the device.
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> --- .../devicetree/bindings/opp/opp-v2-base.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+)