On Wed, Mar 02, 2016 at 09:26:03AM -0600, Nishanth Menon wrote:
We do have a real need to control multiple regulators around an OPP change. this logic is valid for more than CPU device -> it is valid for devices like DSP, GPU etc in the SoC as well across multiple families in the OMAP generation SoCs. The logic by itself it not too complicated. a voltage plane for a device has two regulators that need to be controlled in tandem for a given target frequency. by allowing dev_pm_opp_set_rate to control "n" regulators it actually does simplify the problem down for a generic solution -> DVFS for devices triggered from cpufreq or via devfreq.
That's n regulators that need to be changed in arbitrary orders (together with some other number of clocks).