regulator: bindings: Add properties for coupled regulators
authorMaciej Purski <m.purski@samsung.com>
Mon, 23 Apr 2018 14:33:38 +0000 (16:33 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 17 May 2018 07:05:04 +0000 (16:05 +0900)
Some regulators require keeping their voltage spread below defined
max_spread.

Add properties to provide information on regulators' coupling.

Signed-off-by: Maciej Purski <m.purski@samsung.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.txt

index c627aa0..a7cd368 100644 (file)
@@ -73,6 +73,11 @@ Optional properties:
        0: Disable active discharge.
        1: Enable active discharge.
        Absence of this property will leave configuration to default.
+- regulator-coupled-with: Regulators with which the regulator
+  is coupled. The linkage is 2-way - all coupled regulators should be linked
+  with each other. A regulator should not be coupled with its supplier.
+- regulator-coupled-max-spread: Max spread between voltages of coupled regulators
+  in microvolts.
 
 Deprecated properties:
 - regulator-compatible: If a regulator chip contains multiple