diff options
author | Rajendra Nayak <rnayak@codeaurora.org> | 2015-12-01 21:42:13 +0530 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-02-11 16:24:53 -0800 |
commit | a823bb9fbefbac8d8bf37d5b4879ee876f2356c5 (patch) | |
tree | 500a14ca99fd063c1b270ee6e7c53dc27a29e033 /drivers/virt | |
parent | 77b1067a19b4986b009f3279cc6b8ad1d29ff51c (diff) |
clk: qcom: gdsc: Add support for votable gdscs
Some gdscs might be controlled via voting registers and might not
really disable when the kernel intends to disable them (due to other
votes keeping them enabled)
Mark these gdscs with a flag for we do not check/wait on a disable
status for these gdscs within the kernel disable callback.
Also at boot, if these GDSCs are found to be ON, we make sure we
vote for them before we inform the genpd framework about their
status. If genpd gets no users, it then disables (removes the vote)
them as part of genpd_poweroff_unused()
Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/virt')
0 files changed, 0 insertions, 0 deletions