aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/pm_domain.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2018-04-05 15:53:34 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2018-05-09 10:15:20 +0530
commit6a0ae73d95956f7e900eb77808a7e8bad67a684d (patch)
tree7af59b89b3014ccf047bfcae7ea9a5e5ea6d5020 /include/linux/pm_domain.h
parentPM / Domain: Add struct device to genpd (diff)
downloadwireguard-linux-6a0ae73d95956f7e900eb77808a7e8bad67a684d.tar.xz
wireguard-linux-6a0ae73d95956f7e900eb77808a7e8bad67a684d.zip
PM / Domain: Add support to parse domain's OPP table
The generic power domains can have an OPP table for themselves now, and phandle of their OPP nodes can be used by the devices powered by the domain. In order for the OPP core to translate requirements between the devices and their power domains, both need to have an OPP table in kernel. Parse the OPP table for power domains if they have their set_performance_state() callback set. With this patch, an OPP table would be created for the genpd in kernel based on the OPP table present in DT, if the genpd have its set_performance_state() callback set. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'include/linux/pm_domain.h')
0 files changed, 0 insertions, 0 deletions