regulator: DT: Add DT property for active-discharge configuration
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 2 Mar 2016 10:54:45 +0000 (16:24 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 2 Mar 2016 14:13:05 +0000 (23:13 +0900)
Add common DT property for regulator node to support of
active discharge enable/disable configuration of regulator.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.txt

index 1d112fc..ecfc593 100644 (file)
@@ -44,6 +44,11 @@ Optional properties:
   any consumer request.
 - regulator-pull-down: Enable pull down resistor when the regulator is disabled.
 - regulator-over-current-protection: Enable over current protection.
+- regulator-active-discharge: tristate, enable/disable active discharge of
+  regulators. The values are:
+       0: Disable active discharge.
+       1: Enable active discharge.
+       Absence of this property will leave configuration to default.
 
 Deprecated properties:
 - regulator-compatible: If a regulator chip contains multiple