On 10/20, Viresh Kumar wrote:
On certain platforms (like TI), DVFS for a single device (CPU) requires configuring multiple power supplies.
The OPP bindings already contains binding and example to explain this case, but it isn't sufficient. For example, there is no way for the code parsing these bindings to know which voltage values belong to which power supply. Also its not possible to know the order in which the supplies need to be configured while switching OPPs.
This patch tries to clarify on those details and does some minor changes as well.
Note that the bindings do not specify the order in which the regulators need to be programmed and the order in which the entries are added for the supplies.
The user of the bindings (like the kernel) shall know these details already and the DT is responsible to supply only the readings for the regulators.
Cc: Mark Brown broonie@kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Viresh Kumar viresh.kumar@linaro.org Acked-by: Rob Herring robh@kernel.org
Reviewed-by: Stephen Boyd sboyd@codeaurora.org