On 01/12, Viresh Kumar wrote:
On 12-01-16, 08:35, Viresh Kumar wrote:
On 11-01-16, 15:21, Stephen Boyd wrote:
Is there a reason we capitalize regulator?
Something went wrong, I have updated the code correctly. Let me paste it again..
-------------------------8<-------------------------
Subject: [PATCH] PM / OPP: get/put regulators from OPP core
The allows the OPP core to request/free the regulator resource, attached to a device OPP. The regulator device is fetched using device node and name of the device.
For example, a cpu0 device node needs to look like this: cpu0: cpu@900 { device_type = "cpu"; compatible = "arm,cortex-a9"; reg = <0x900>; cpu0-supply = <&varm>; ... };
This will work for both OPP-v1 and v2 bindings.
This is a preliminary step in moving the OPP switching logic into the OPP core.
Signed-off-by: Viresh Kumar viresh.kumar@linaro.org
Reviewed-by: Stephen Boyd sboyd@codeaurora.org