]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
regulator: anatop: make regulator name property required
authorDong Aisheng <aisheng.dong@nxp.com>
Fri, 21 Apr 2017 02:53:52 +0000 (10:53 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 21 Apr 2017 15:18:04 +0000 (16:18 +0100)
We actually can't allow the missing of the regualor name, thus update
the binding doc to make regulator-name property to be required.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/anatop-regulator.txt

index 37c4ea076f88e694b773a6233e37c8dd68dc5192..312060658a53477280aaad181a4e21ebc50e3aed 100644 (file)
@@ -2,6 +2,7 @@ Anatop Voltage regulators
 
 Required properties:
 - compatible: Must be "fsl,anatop-regulator"
+- regulator-name: A string used as a descriptive name for regulator outputs
 - anatop-reg-offset: Anatop MFD register offset
 - anatop-vol-bit-shift: Bit shift for the register
 - anatop-vol-bit-width: Number of bits used in the register