regulator: Change regulator-coupled-max-spread property
authorDmitry Osipenko <digetx@gmail.com>
Fri, 5 Oct 2018 15:36:32 +0000 (18:36 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 8 Nov 2018 16:20:43 +0000 (16:20 +0000)
commitd3b687c58ad9343532b4a20e541934eb1b557453
treebc7f4f15bb4d399b78d4de4bede33b9892e3bb82
parent79d6f049f4f05f5cb6e1647a9a253dad14bfabbe
regulator: Change regulator-coupled-max-spread property

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@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.txt