regulator: dt: add policy to have property "regulator-compatible"
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 5 Jul 2012 07:23:04 +0000 (12:53 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 5 Jul 2012 12:13:11 +0000 (13:13 +0100)
commit8c5e461df77c14254a408e792bb32ddf08213726
tree7e0430c0ad5ec8074c2c78f23db71404e71fc1e2
parent6dc027c977a0cf34828ebb1742cc58fa9adb0e2f
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>
Documentation/devicetree/bindings/mfd/tps65910.txt
Documentation/devicetree/bindings/regulator/regulator.txt
Documentation/devicetree/bindings/regulator/tps6586x.txt