Re: [PATCH 1/8] PM / OPP: Reword binding supporting multiple regulators per device
From: Rob Herring
Date: Sat Oct 08 2016 - 21:41:34 EST
On Tue, Oct 04, 2016 at 05:26:43PM +0530, 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
> Cc: Mark Brown <broonie@xxxxxxxxxx>
> Cc: devicetree@xxxxxxxxxxxxxxx
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> Documentation/devicetree/bindings/opp/opp.txt | 25 +++++++++++++++++--------
> 1 file changed, 17 insertions(+), 8 deletions(-)
Acked-by: Rob Herring <robh@xxxxxxxxxx>