Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Kuninori Morimoto and committed by
Mark Brown
90733981 5676ddc5

+2 -1
+2 -1
Documentation/devicetree/bindings/regulator/gpio-regulator.txt
··· 8 8 Optional properties: 9 9 - enable-gpio : GPIO to use to enable/disable the regulator. 10 10 - gpios : GPIO group used to control voltage. 11 - - gpios-states : gpios pin's initial states. 1 means HIGH 11 + - gpios-states : gpios pin's initial states array. 0: LOW, 1: HIGH. 12 + defualt is LOW if nothing is specified. 12 13 - startup-delay-us : Startup time in microseconds. 13 14 - enable-active-high : Polarity of GPIO is active high (default is low). 14 15