summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/leds/register-bit-led.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/register-bit-led.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/register-bit-led.txt')
-rw-r--r--Documentation/devicetree/bindings/leds/register-bit-led.txt9
1 files changed, 2 insertions, 7 deletions
diff --git a/Documentation/devicetree/bindings/leds/register-bit-led.txt b/Documentation/devicetree/bindings/leds/register-bit-led.txt
index 379cefdc0bda..59b56365f648 100644
--- a/Documentation/devicetree/bindings/leds/register-bit-led.txt
+++ b/Documentation/devicetree/bindings/leds/register-bit-led.txt
@@ -23,13 +23,8 @@ Optional 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
Example: