]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Change regulator-coupled-max-spread property
authorDmitry Osipenko <digetx@gmail.com>
Sun, 18 Nov 2018 21:56:16 +0000 (00:56 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 19 Nov 2018 12:33:52 +0000 (12:33 +0000)
commit2419409407825cec382602f5a22a98fb3aaf386a
tree2a163cb30141156a209d8ed16ad3cc5acaa6f177
parent12cd15116289cdcd8eec9768ff60dd2a20c4d3f3
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>;
};

Note that the regulator-coupled-max-spread property does not have any
users yet, hence it's okay to change the binding.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.txt