regulator: gpio: add gpios-status for DT
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 31 Jan 2014 05:25:14 +0000 (21:25 -0800)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:13:27 +0000 (11:13 +0100)
commitf2e95aae9ea3c62dfdf4420d20341a7eded56a81
tree212b7732137db58ee8b0b3ae8db640388fa927d5
parent379a5826d20f872add220fea9a679de015d8b57b
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>
(cherry picked from commit 0094050d783bbadffe83effef11a0bda901153ce)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Documentation/devicetree/bindings/regulator/gpio-regulator.txt
drivers/regulator/gpio-regulator.c