Skip to content

Commit f48a0c4

Browse files
lukaszluba-armvireshk
authored andcommitted
Documentation: EM: Describe new registration method using DT
The new registration method allows to get power values from the DT OPP definition. The new OPP entry property "opp-microwatt" contains total power expressed in micro-Watts. Align the EM documentation with this new possible registration method of EM. Signed-off-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
1 parent 32bf8bc commit f48a0c4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Documentation/power/energy-model.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,16 @@ to: return warning/error, stop working or panic.
113113
See Section 3. for an example of driver implementing this
114114
callback, or Section 2.4 for further documentation on this API
115115

116+
Registration of EM using DT
117+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
118+
119+
The EM can also be registered using OPP framework and information in DT
120+
"operating-points-v2". Each OPP entry in DT can be extended with a property
121+
"opp-microwatt" containing micro-Watts power value. This OPP DT property
122+
allows a platform to register EM power values which are reflecting total power
123+
(static + dynamic). These power values might be coming directly from
124+
experiments and measurements.
125+
116126
Registration of 'simple' EM
117127
~~~~~~~~~~~~~~~~~~~~~~~~~~~
118128

0 commit comments

Comments
 (0)