summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/leds/leds-gpio.txt
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2016-08-16 21:41:36 +0200
committerJacek Anaszewski <j.anaszewski@samsung.com>2016-08-19 21:05:39 +0200
commit1d1a77ddc8acfa3d506f1958e09a12085e71fc69 (patch)
tree9da585d17ceb3afc0dac10a99de709c647577d2f /Documentation/devicetree/bindings/leds/leds-gpio.txt
parent7f866986e7052197396d8a663fa009209af18aee (diff)
leds: centralize definition of "default-state" property
Four different drivers define the "default-state" property. Move this into the common.txt common LEDs properties. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'Documentation/devicetree/bindings/leds/leds-gpio.txt')
-rw-r--r--Documentation/devicetree/bindings/leds/leds-gpio.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/leds/leds-gpio.txt b/Documentation/devicetree/bindings/leds/leds-gpio.txt
index 5b1b43a64265..76535ca37120 100644
--- a/Documentation/devicetree/bindings/leds/leds-gpio.txt
+++ b/Documentation/devicetree/bindings/leds/leds-gpio.txt
@@ -14,13 +14,8 @@ LED sub-node properties:
see Documentation/devicetree/bindings/leds/common.txt
- linux,default-trigger : (optional)
see Documentation/devicetree/bindings/leds/common.txt
-- default-state: (optional) The initial state of the LED. Valid
- values are "on", "off", and "keep". If the LED is already on or off
- and the default-state property is set the to same value, then no
- glitch should be produced where the LED momentarily turns off (or
- on). The "keep" setting will keep the LED at whatever its current
- state is, without producing a glitch. The default is off if this
- property is not present.
+- default-state: (optional) The initial state of the LED.
+ see Documentation/devicetree/bindings/leds/common.txt
- retain-state-suspended: (optional) The suspend state can be retained.Such
as charge-led gpio.
- panic-indicator : (optional)