cpufreq: arm_scmi: Discover the power scale in performance protocol
authorLukasz Luba <lukasz.luba@arm.com>
Tue, 24 Nov 2020 10:43:46 +0000 (10:43 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Tue, 8 Dec 2020 04:46:13 +0000 (10:16 +0530)
commitf9b0498d29404f230894490d622e57e481c7d45a
tree27c4d870db4f0f4bbfd4cecde7d16e52295dd9cd
parent76ea4d8eeefbfdd37e47c6fd579d0d5852457618
cpufreq: arm_scmi: Discover the power scale in performance protocol

Add mechanism to discover the power scale present in the performance
protocol for all domains. Provide this information to Energy Model,
which then can be checked in other frameworks, e.g. thermal.

Suggested-by: Morten Rasmussen <morten.rasmussen@arm.com>
Signed-off-by: Lukasz Luba <lukasz.luba@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/scmi-cpufreq.c