Re: [PATCH v1 05/11] dt-bindings: regulator: Change regulator-coupled-max-spread property

From: Rob Herring
Date: Wed Oct 17 2018 - 09:27:08 EST


On Fri, 5 Oct 2018 18:36:32 +0300, Dmitry Osipenko wrote:
> Redefine binding for regulator-coupled-max-spread property in a way that
> max-spread values are defined per regulator couple instead of defining
> single max-spread for the whole group of coupled regulators.
>
> With that change the following regulators coupling configuration will be
> possible:
>
> regA: regulatorA {
> regulator-coupled-with = <&regB &regC>;
> regulator-coupled-max-spread = <100000 300000>;
> };
>
> regB: regulatorB {
> regulator-coupled-with = <&regA &regC>;
> regulator-coupled-max-spread = <100000 200000>;
> };
>
> regC: regulatorC {
> regulator-coupled-with = <&regA &regB>;
> regulator-coupled-max-spread = <300000 200000>;
> };
>
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
> Documentation/devicetree/bindings/regulator/regulator.txt | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>