aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firmware/psci.c
diff options
context:
space:
mode:
authorViresh Kumar <[email protected]>2016-04-27 03:22:23 +0000
committerRafael J. Wysocki <[email protected]>2016-04-28 13:18:18 +0000
commit6f707daa3833761110a03478cba5cc4b708ec77d (patch)
treec01c90b01dd8a481283586b2738ac79a95322b27 /drivers/firmware/psci.c
parentPM / OPP: Mark cpumask as const in dev_pm_opp_set_sharing_cpus() (diff)
downloadkernel-6f707daa3833761110a03478cba5cc4b708ec77d.tar.gz
kernel-6f707daa3833761110a03478cba5cc4b708ec77d.zip
PM / OPP: Add dev_pm_opp_get_sharing_cpus()
OPP core allows a platform to mark OPP table as shared, when the platform isn't using operating-points-v2 bindings. And, so there should be a non DT way of finding out if the OPP table is shared or not. This patch adds dev_pm_opp_get_sharing_cpus(), which first tries to get OPP sharing information from the opp-table (in case it is already marked as shared), otherwise it uses the existing DT way of finding sharing information. Signed-off-by: Viresh Kumar <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/firmware/psci.c')
0 files changed, 0 insertions, 0 deletions