diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2016-06-23 16:39:44 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-23 11:34:35 +0100 |
commit | 27bfa8893b15a3fa22a593c90a48c8bcb1f9c75b (patch) | |
tree | 1b309e0c66596fcc8c7c9163cc41cb51a47c1664 /Documentation/devicetree/bindings/regulator/pwm-regulator.txt | |
parent | 830583004e615a4637eacc77866b84908414d7a0 (diff) | |
download | linux-27bfa8893b15a3fa22a593c90a48c8bcb1f9c75b.tar.gz |
regulator: pwm: Support for enable GPIO
Add an optional enable GPIO to the pwm-regulator driver.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/pwm-regulator.txt')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/pwm-regulator.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt index ed936f0f34f2..dd6f59cf1455 100644 --- a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/pwm-regulator.txt @@ -38,13 +38,18 @@ NB: To be clear, if voltage-table is provided, then the device will be used in Voltage Table Mode. If no voltage-table is provided, then the device will be used in Continuous Voltage Mode. +Optional properties: +-------------------- +- enable-gpios: GPIO to use to enable/disable the regulator + Any property defined as part of the core regulator binding can also be used. (See: ../regulator/regulator.txt) -Continuous Voltage Example: +Continuous Voltage With Enable GPIO Example: pwm_regulator { compatible = "pwm-regulator; pwms = <&pwm1 0 8448 0>; + enable-gpios = <&gpio0 23 GPIO_ACTIVE_HIGH>; regulator-min-microvolt = <1016000>; regulator-max-microvolt = <1114000>; regulator-name = "vdd_logic"; |