Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dea05fe6 authored by Frank Li's avatar Frank Li Committed by Mark Brown
Browse files

regulator: gpio-regulator: doc: Fix wrong key gpio-enable



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: default avatarFrank Li <Frank.Li@freescale.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 006694d0
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -4,7 +4,7 @@ Required properties:
- compatible		: Must be "regulator-gpio".
- compatible		: Must be "regulator-gpio".


Optional properties:
Optional properties:
- gpio-enable		: GPIO to use to enable/disable the regulator.
- enable-gpio		: GPIO to use to enable/disable the regulator.
- gpios			: GPIO group used to control voltage.
- gpios			: GPIO group used to control voltage.
- states		: Selection of available voltages and GPIO configs.
- states		: Selection of available voltages and GPIO configs.
- startup-delay-us	: Startup time in microseconds.
- startup-delay-us	: Startup time in microseconds.
@@ -23,7 +23,7 @@ Example:
		regulator-max-microvolt = <2600000>;
		regulator-max-microvolt = <2600000>;
		regulator-boot-on;
		regulator-boot-on;


		gpio-enable = <&gpio0 23 0x4>;
		enable-gpio = <&gpio0 23 0x4>;
		gpios = <&gpio0 24 0x4
		gpios = <&gpio0 24 0x4
			 &gpio0 25 0x4>;
			 &gpio0 25 0x4>;
		states = <1800000 0x3
		states = <1800000 0x3