diff options
author | Sudeep Holla <sudeep.holla@arm.com> | 2017-04-27 17:08:51 +0300 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2017-06-05 13:14:35 +0300 |
commit | 45ca7df7c345465dbd2426a33012c9c33d27de62 (patch) | |
tree | 0cc3f9ef1cbf4f5a942d03198f6044dc36beebc0 /arch | |
parent | 2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff) | |
download | linux-45ca7df7c345465dbd2426a33012c9c33d27de62.tar.xz |
firmware: arm_scpi: add support to populate OPPs and get transition latency
Currently only CPU devices use the transition latency and the OPPs
populated in the SCPI driver. scpi-cpufreq has logic to handle these.
However, even GPU and other users of SCPI DVFS will need the same logic.
In order to avoid duplication, this patch adds support to get DVFS
transition latency and add all the OPPs to the device using OPP library
helper functions. The helper functions added here can be used for any
device whose DVFS are managed by SCPI.
Also, we also have incorrect dependency on the cluster identifier for
the CPUs. It's fundamentally wrong as the domain id need not match the
cluster id. This patch gets rid of that dependency by making use of the
clock bindings which are already in place.
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions