aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/regulator
diff options
context:
space:
mode:
authorDavid Collins <collinsd@codeaurora.org>2018-05-11 18:46:46 -0700
committerMark Brown <broonie@kernel.org>2018-05-17 14:11:18 +0900
commitd73e2842a3e236a1f58ba498e4d6ae58e18f660a (patch)
tree39dc931bf0effb9244241e8063efefe72ed086c3 /Documentation/devicetree/bindings/regulator
parentregulator: core: Allow for regulators that can't be read at bootup (diff)
downloadlinux-dev-d73e2842a3e236a1f58ba498e4d6ae58e18f660a.tar.xz
linux-dev-d73e2842a3e236a1f58ba498e4d6ae58e18f660a.zip
regulator: of: add property for allowed modes specification
Add a common device tree property for regulator nodes to support the specification of allowed operating modes. Signed-off-by: David Collins <collinsd@codeaurora.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator')
-rw-r--r--Documentation/devicetree/bindings/regulator/regulator.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/regulator.txt b/Documentation/devicetree/bindings/regulator/regulator.txt
index 2babe15b618d..c627aa08f0da 100644
--- a/Documentation/devicetree/bindings/regulator/regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/regulator.txt
@@ -59,6 +59,11 @@ Optional properties:
- regulator-initial-mode: initial operating mode. The set of possible operating
modes depends on the capabilities of every hardware so each device binding
documentation explains which values the regulator supports.
+- regulator-allowed-modes: list of operating modes that software is allowed to
+ configure for the regulator at run-time. Elements may be specified in any
+ order. The set of possible operating modes depends on the capabilities of
+ every hardware so each device binding document 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.