summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
Commit message (Collapse)AuthorAgeFilesLines
* regulator: gpio: correct default typeHans Holmberg2017-02-041-1/+1
| | | | | | | | The driver defaults to voltage, not current, type so correct this in the device tree binding documentation. Signed-off-by: Hans Holmberg <hans@pixelmunchies.com> Signed-off-by: Mark Brown <broonie@kernel.org>
*-. Merge remote-tracking branches 'regulator/topic/doc', ↵Mark Brown2014-03-261-0/+4
|\ \ | | | | | | | | | 'regulator/topic/enable', 'regulator/topic/fan53555', 'regulator/topic/fixed', 'regulator/topic/gpio', 'regulator/topic/lp3971', 'regulator/topic/lp872x' and 'regulator/topic/max14577' into regulator-next
| | * regulator: gpio: explain detail of gpios-statesKuninori Morimoto2014-02-121-1/+2
| | | | | | | | | | | | | | | | | | | | | 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>
| | * regulator: gpio: add gpios-status for DTKuninori Morimoto2014-02-041-0/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | 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>
| * regulator: gpio: Document regulator-type propertyMark Brown2014-02-061-0/+2
|/ | | | | Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mark Brown <broonie@linaro.org>
* regulator: gpio-regulator: Catch 'no states property' misuseLee Jones2012-11-141-1/+2
| | | | | | | | | A selection of voltage or current values (AKA states) should always be specified when using a GPIO regulator. If there are no switchable states then the fixed regulators should be used instead. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regulator: gpio-regulator: doc: Fix wrong key gpio-enableFrank Li2012-11-131-2/+2
| | | | | | | | | | | Wrong description in binding document. Doc use "gpio-enable", but code use "enable-gpio" In drivers/regulator/gpio-regulator.c config->enable_gpio = of_get_named_gpio(np, "enable-gpio", 0); Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
* regulator: gpio-regulator: Allow use of GPIO controlled regulators though DTLee Jones2012-10-171-0/+36
Here we provide the GPIO Regulator driver with Device Tree capability, so that when a platform is booting with DT instead of platform data we can still make full use of it. Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
OpenPOWER on IntegriCloud