diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2014-01-30 21:25:14 -0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-04 18:36:48 +0000 |
commit | 0094050d783bbadffe83effef11a0bda901153ce (patch) | |
tree | 7b0518bc8106f4484ce91729e771b241e00773ea /Documentation/devicetree/bindings/regulator/gpio-regulator.txt | |
parent | 9c25960cbba1fb452adf6a7b9d740fc4358f7d92 (diff) | |
download | linux-stable-0094050d783bbadffe83effef11a0bda901153ce.tar.gz linux-stable-0094050d783bbadffe83effef11a0bda901153ce.tar.bz2 linux-stable-0094050d783bbadffe83effef11a0bda901153ce.zip |
regulator: gpio: add gpios-status for DT
config->gpios[x].flags indicates initial pin status,
and it will be used for drvdata->state
on gpio_regulator_probe().
But, current of_get_gpio_regulator_config() doesn't care
about this flags.
This patch adds new gpios-status property in order to
care about initial pin status.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/gpio-regulator.txt')
-rw-r--r-- | Documentation/devicetree/bindings/regulator/gpio-regulator.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt index 63c659800c03..3ecb585e786c 100644 --- a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt +++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt @@ -8,6 +8,7 @@ Required properties: Optional properties: - enable-gpio : GPIO to use to enable/disable the regulator. - gpios : GPIO group used to control voltage. +- gpios-states : gpios pin's initial states. 1 means HIGH - startup-delay-us : Startup time in microseconds. - enable-active-high : Polarity of GPIO is active high (default is low). |