msm: clock: Move voting for regulators to clock framework
Some clocks, and the regulators they require, may be enabled by the
bootloader. The clock driver detects these clocks, and attempts to
configure its data structures in a consistent manner. This procedure
involves voting for regulators.
Regulators may support different voltage levels. The first vote by the
clock driver will override whatever level was set by the bootloaders to
account for all the clocks that are on. Therefore, temporarily vote for
the highest supported voltage level until all clocks have voted for their
required voltage level. Then remove the temporary high vote.
Change-Id: Ibdb97eba374ec139768ad0b23cb1163dec9aa3aa
Signed-off-by:
Patrick Daly <pdaly@codeaurora.org>
Loading
Please register or sign in to comment