diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2015-04-23 13:40:24 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-05-22 15:47:33 +0300 |
commit | 69eb0980ab4ced06f7c2b4774575337ce32912fb (patch) | |
tree | 3aeacd3144999f69e9bd679829f21a0f29abe301 /Documentation/devicetree/bindings/regulator | |
parent | c2ffa9737878ad9843d1e0e904dc9a086438aff8 (diff) | |
download | linux-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.txt | 2 |
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 f63de7d8dc23..201a26337387 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. |