aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2012-11-14 06:51:36 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-11-14 06:58:09 -0500
commit216f2b9c95ac6e4f00b08df807bc4454434a9afb (patch)
tree5465802601b41d58bed5081b89c089da128d4731 /Documentation
parentf8a9f757cb425c4784b80b001c7a77c7810b499f (diff)
regulator: gpio-regulator: Catch 'no states property' misuse
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/regulator/gpio-regulator.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
index f71f8083c2ae..63c659800c03 100644
--- a/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
+++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt
@@ -2,11 +2,12 @@ GPIO controlled regulators
2 2
3Required properties: 3Required properties:
4- compatible : Must be "regulator-gpio". 4- compatible : Must be "regulator-gpio".
5- states : Selection of available voltages and GPIO configs.
6 if there are no states, then use a fixed regulator
5 7
6Optional properties: 8Optional properties:
7- enable-gpio : GPIO to use to enable/disable the regulator. 9- enable-gpio : GPIO to use to enable/disable the regulator.
8- gpios : GPIO group used to control voltage. 10- gpios : GPIO group used to control voltage.
9- states : Selection of available voltages and GPIO configs.
10- startup-delay-us : Startup time in microseconds. 11- startup-delay-us : Startup time in microseconds.
11- enable-active-high : Polarity of GPIO is active high (default is low). 12- enable-active-high : Polarity of GPIO is active high (default is low).
12 13