summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/regulator
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2015-04-23 10:40:24 (GMT)
committerMark Brown <broonie@kernel.org>2015-05-22 12:47:33 (GMT)
commit69eb0980ab4ced06f7c2b4774575337ce32912fb (patch)
tree3aeacd3144999f69e9bd679829f21a0f29abe301 /Documentation/devicetree/bindings/regulator
parentc2ffa9737878ad9843d1e0e904dc9a086438aff8 (diff)
downloadlinux-69eb0980ab4ced06f7c2b4774575337ce32912fb.tar.xz
regulator: max8973: add mechanism to enable/disable through GPIO
MAX8973 supports the voltage output enable/disable through its EN pin. This EN pin can be connected through GPIO from host processor. Add support to provide GPIO number from platform/DT and if it is valid GPIO then enable external control default. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator')
-rw-r--r--Documentation/devicetree/bindings/regulator/max8973-regulator.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/max8973-regulator.txt b/Documentation/devicetree/bindings/regulator/max8973-regulator.txt
index f63de7d..201a263 100644
--- a/Documentation/devicetree/bindings/regulator/max8973-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/max8973-regulator.txt
@@ -12,6 +12,8 @@ Optional properties:
-maxim,externally-enable: boolean, externally control the regulator output
enable/disable.
+-maxim,enable-gpio: GPIO for enable control. If the valid GPIO is provided
+ then externally enable control will be considered.
-maxim,dvs-gpio: GPIO which is connected to DVS pin of device.
-maxim,dvs-default-state: Default state of GPIO during initialisation.
1 for HIGH and 0 for LOW.