diff options
author | Frank Li <Frank.Li@freescale.com> | 2012-11-12 04:58:28 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-13 02:35:57 -0500 |
commit | dea05fe66edb4540a53ed6623794c4978315256a (patch) | |
tree | 3f5e90d1beb1fc2302a45573cffc44157f0472c7 /Documentation | |
parent | 006694d099e86e5a928fb39bdea280ab42c9d59c (diff) |
regulator: gpio-regulator: doc: Fix wrong key gpio-enable
Wrong description in binding document.
Doc use "gpio-enable", but code use "enable-gpio"
In drivers/regulator/gpio-regulator.c
config->enable_gpio = of_get_named_gpio(np, "enable-gpio", 0);
Signed-off-by: Frank Li <Frank.Li@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/gpio-regulator.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt index 3703be2ab821..f71f8083c2ae 100644 --- a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt | |||
@@ -4,7 +4,7 @@ Required properties: | |||
4 | - compatible : Must be "regulator-gpio". | 4 | - compatible : Must be "regulator-gpio". |
5 | 5 | ||
6 | Optional properties: | 6 | Optional properties: |
7 | - gpio-enable : GPIO to use to enable/disable the regulator. | 7 | - enable-gpio : GPIO to use to enable/disable the regulator. |
8 | - gpios : GPIO group used to control voltage. | 8 | - gpios : GPIO group used to control voltage. |
9 | - states : Selection of available voltages and GPIO configs. | 9 | - states : Selection of available voltages and GPIO configs. |
10 | - startup-delay-us : Startup time in microseconds. | 10 | - startup-delay-us : Startup time in microseconds. |
@@ -23,7 +23,7 @@ Example: | |||
23 | regulator-max-microvolt = <2600000>; | 23 | regulator-max-microvolt = <2600000>; |
24 | regulator-boot-on; | 24 | regulator-boot-on; |
25 | 25 | ||
26 | gpio-enable = <&gpio0 23 0x4>; | 26 | enable-gpio = <&gpio0 23 0x4>; |
27 | gpios = <&gpio0 24 0x4 | 27 | gpios = <&gpio0 24 0x4 |
28 | &gpio0 25 0x4>; | 28 | &gpio0 25 0x4>; |
29 | states = <1800000 0x3 | 29 | states = <1800000 0x3 |