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)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:39 +0000 (09:21 +0900)
commitdf369d84ec724cee06c69694a2fd3ab7beb007b8
tree040b880dc5acff1706e66fc09e4dff7cfa235b00
parent384140324fbde06de74894d1a168725701aa1975
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