summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
diff options
context:
space:
mode:
authorKuninori Morimoto2014-02-12 02:27:27 +0100
committerMark Brown2014-02-12 13:01:14 +0100
commit907339818ecd66c20f57bbf53d1160c3dc9d34a8 (patch)
tree3223471e1ce1026ca0398196117e9a404ca1241d /Documentation/devicetree/bindings/regulator/gpio-regulator.txt
parentregulator: gpio: print warning if gpios <-> gpios-states mismatch on DT (diff)
downloadkernel-qcow2-linux-907339818ecd66c20f57bbf53d1160c3dc9d34a8.tar.gz
kernel-qcow2-linux-907339818ecd66c20f57bbf53d1160c3dc9d34a8.tar.xz
kernel-qcow2-linux-907339818ecd66c20f57bbf53d1160c3dc9d34a8.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/regulator/gpio-regulator.txt')
-rw-r--r--Documentation/devicetree/bindings/regulator/gpio-regulator.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
index 3ecb585e786c..356e8bbd9b2a 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).