]> www.infradead.org Git - users/hch/xfs.git/commitdiff
regulator: of: add property for allowed modes specification
authorDavid Collins <collinsd@codeaurora.org>
Sat, 12 May 2018 01:46:46 +0000 (18:46 -0700)
committerMark Brown <broonie@kernel.org>
Thu, 17 May 2018 05:11:18 +0000 (14:11 +0900)
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>
Documentation/devicetree/bindings/regulator/regulator.txt

index 2babe15b618d91d0f91d141da5bc0a77a37c5c48..c627aa08f0da805296689ac4ae873d89e72ddcac 100644 (file)
@@ -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.