Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b085f79a authored by Quentin Perret's avatar Quentin Perret
Browse files

UPSTREAM: firmware: arm_scmi: add a getter for power of performance states



The SCMI protocol can be used to get power estimates from firmware
corresponding to each performance state of a device. Although these power
costs are already managed by the SCMI firmware driver, they are not
exposed to any external subsystem yet.

Fix this by adding a new get_power() interface to the exisiting perf_ops
defined for the SCMI protocol.

Change-Id: Iae7b1b60c1955f6590764f3de459a32320eba448
Signed-off-by: default avatarQuentin Perret <quentin.perret@arm.com>
Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
(cherry picked from commit 1a63fe9a2b1f47af5b2b7436b41824b14999c17a in
git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git

)
Signed-off-by: default avatarQuentin Perret <quentin.perret@arm.com>
parent 354f0b0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment