| From 705b3dd4d35c60ff13f5b749423b39fc22a5d85e Mon Sep 17 00:00:00 2001 |
| From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Date: Tue, 11 Feb 2014 17:27:27 -0800 |
| Subject: regulator: gpio: explain detail of gpios-states |
| |
| gpios-states is array, and default is 0 |
| |
| Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Signed-off-by: Mark Brown <broonie@linaro.org> |
| (cherry picked from commit 907339818ecd66c20f57bbf53d1160c3dc9d34a8) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| Documentation/devicetree/bindings/regulator/gpio-regulator.txt | 3 ++- |
| 1 file changed, 2 insertions(+), 1 deletion(-) |
| |
| diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt |
| index 5da9a66e6981..e5cac1e0ca8a 100644 |
| --- a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt |
| +++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt |
| @@ -8,7 +8,8 @@ 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 |
| +- gpios-states : gpios pin's initial states array. 0: LOW, 1: HIGH. |
| + defualt is LOW if nothing is specified. |
| - startup-delay-us : Startup time in microseconds. |
| - enable-active-high : Polarity of GPIO is active high (default is low). |
| - regulator-type : Specifies what is being regulated, must be either |
| -- |
| 2.1.2 |
| |