summaryrefslogtreecommitdiffstats
path: root/Documentation/power
diff options
context:
space:
mode:
authorLukasz Luba <lukasz.luba@arm.com>2022-03-02 11:29:17 +0000
committerViresh Kumar <viresh.kumar@linaro.org>2022-03-03 09:35:04 +0530
commitf48a0c475c2aec8f2274703e1dc7be503f40f7cc (patch)
tree1e4bed0aa2437b308457795447cc7a58d1c39d01 /Documentation/power
parent32bf8bc9a077680566b2b4f88b9b46e6cc740179 (diff)
downloadlinux-stable-f48a0c475c2aec8f2274703e1dc7be503f40f7cc.tar.gz
linux-stable-f48a0c475c2aec8f2274703e1dc7be503f40f7cc.tar.bz2
linux-stable-f48a0c475c2aec8f2274703e1dc7be503f40f7cc.zip
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>
Diffstat (limited to 'Documentation/power')
-rw-r--r--Documentation/power/energy-model.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/Documentation/power/energy-model.rst b/Documentation/power/energy-model.rst
index 5ac62a7b4b7c..49549aab41b4 100644
--- a/Documentation/power/energy-model.rst
+++ b/Documentation/power/energy-model.rst
@@ -113,6 +113,16 @@ to: return warning/error, stop working or panic.
See Section 3. for an example of driver implementing this
callback, or Section 2.4 for further documentation on this API
+Registration of EM using DT
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+The EM can also be registered using OPP framework and information in DT
+"operating-points-v2". Each OPP entry in DT can be extended with a property
+"opp-microwatt" containing micro-Watts power value. This OPP DT property
+allows a platform to register EM power values which are reflecting total power
+(static + dynamic). These power values might be coming directly from
+experiments and measurements.
+
Registration of 'simple' EM
~~~~~~~~~~~~~~~~~~~~~~~~~~~