diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-07-05 12:53:04 +0530 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-07-05 13:13:11 +0100 |
commit | 8c5e461df77c14254a408e792bb32ddf08213726 (patch) | |
tree | 7e0430c0ad5ec8074c2c78f23db71404e71fc1e2 /Documentation/devicetree/bindings/regulator/regulator.txt | |
parent | 6dc027c977a0cf34828ebb1742cc58fa9adb0e2f (diff) | |
download | lwn-8c5e461df77c14254a408e792bb32ddf08213726.tar.gz lwn-8c5e461df77c14254a408e792bb32ddf08213726.zip |
regulator: dt: add policy to have property "regulator-compatible"
Add the policy for regulator DT such that if device have multiple
regulator and its binding contains a child node that describes each
regulator then each regulator child node must have the property
"regulator-compatible" which matches with regulator name of their
hardware counterparts.
Modify the DT documentation of regulator devices to reflect this
policy.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/regulator.txt')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/regulator.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt index bec5d5747411..66ece3f87bbc 100644 --- a/Documentation/devicetree/bindings/regulator/regulator.txt +++ b/Documentation/devicetree/bindings/regulator/regulator.txt @@ -11,6 +11,10 @@ Optional properties: - regulator-boot-on: bootloader/firmware enabled regulator - <name>-supply: phandle to the parent supply/regulator node - regulator-ramp-delay: ramp delay for regulator(in uV/uS) +- regulator-compatible: If a regulator chip contains multiple + regulators, and if the chip's binding contains a child node that + describes each regulator, then this property indicates which regulator + this child node is intended to configure. Example: |