Skip to content

Commit d3b687c

Browse files
digetxbroonie
authored andcommitted
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 <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 79d6f04 commit d3b687c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/devicetree/bindings/regulator/regulator.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ Optional properties:
7676
- regulator-coupled-with: Regulators with which the regulator
7777
is coupled. The linkage is 2-way - all coupled regulators should be linked
7878
with each other. A regulator should not be coupled with its supplier.
79-
- regulator-coupled-max-spread: Max spread between voltages of coupled regulators
80-
in microvolts.
79+
- regulator-coupled-max-spread: Array of maximum spread between voltages of
80+
coupled regulators in microvolts, each value in the array relates to the
81+
corresponding couple specified by the regulator-coupled-with property.
8182

8283
Deprecated properties:
8384
- regulator-compatible: If a regulator chip contains multiple

0 commit comments

Comments
 (0)