[PATCH 2/2] regulator: Propagate uA_load requirements up supply chain
From: Mark Brown <hidden>
Date: 2011-03-28 18:02:56
Also in:
linux-arm-msm, lkml
From: Mark Brown <hidden>
Date: 2011-03-28 18:02:56
Also in:
linux-arm-msm, lkml
On Mon, Mar 28, 2011 at 08:34:42AM -0700, David Collins wrote:
regulator_set_optimum_mode currently only determines the load on the specified regulator. Physically however, this current must be provided by regulators further up the supply chain. Add code to handle uA_load propagation up through the regulator supply chain.
We can't do this - current doesn't map 1:1 through a regulator, the power consumption will map through but obviously there's a voltage change involved and the regulators will not be 100% efficient so there will also be some overhead from the chipld regulator. The child regulator needs to do the mapping in a regulator specific fashion.