diff options
author | Quentin Perret <quentin.perret@arm.com> | 2018-09-10 18:28:10 +0200 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2018-09-10 18:37:06 +0200 |
commit | 1a63fe9a2b1f47af5b2b7436b41824b14999c17a (patch) | |
tree | b9f7f4b738b24ceb09bccad92b7e7266bbdd55e5 /drivers/firmware/arm_scmi/base.c | |
parent | firmware: arm_scmi: use strlcpy to ensure NULL-terminated strings (diff) | |
download | linux-1a63fe9a2b1f47af5b2b7436b41824b14999c17a.tar.xz linux-1a63fe9a2b1f47af5b2b7436b41824b14999c17a.zip |
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.
Signed-off-by: Quentin Perret <quentin.perret@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/base.c')
0 files changed, 0 insertions, 0 deletions