diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2016-06-23 07:39:44 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-06-23 10:34:35 (GMT) |
commit | 27bfa8893b15a3fa22a593c90a48c8bcb1f9c75b (patch) | |
tree | 1b309e0c66596fcc8c7c9163cc41cb51a47c1664 /Documentation | |
parent | 830583004e615a4637eacc77866b84908414d7a0 (diff) | |
download | linux-27bfa8893b15a3fa22a593c90a48c8bcb1f9c75b.tar.xz |
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')
-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 ed936f0..dd6f59c 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"; |