regulator: Add pull down support
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 12 Jun 2015 00:37:04 +0000 (17:37 -0700)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jun 2015 12:09:43 +0000 (13:09 +0100)
Some regulators need to be configured to pull down a resistor
when the regulator is disabled. Add an op (set_pull_down) and a
DT property + constraint to support this.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/regulator.txt
drivers/regulator/core.c
drivers/regulator/of_regulator.c
include/linux/regulator/driver.h
include/linux/regulator/machine.h

index 553d2d0..6c79fd7 100644 (file)
@@ -39,6 +39,7 @@ Optional properties:
   documentation explains which values the regulator supports.
 - regulator-system-load: Load in uA present on regulator that is not captured by
   any consumer request.
+- regulator-pull-down: Enable pull down resistor when the regulator is disabled.
 
 Deprecated properties:
 - regulator-compatible: If a regulator chip contains multiple
Simple merge
Simple merge
Simple merge
Simple merge