diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2016-08-16 21:41:36 +0200 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2016-08-19 21:05:39 +0200 |
commit | 1d1a77ddc8acfa3d506f1958e09a12085e71fc69 (patch) | |
tree | 9da585d17ceb3afc0dac10a99de709c647577d2f /Documentation/devicetree/bindings/leds/leds-gpio.txt | |
parent | leds: add PM8058 LEDs driver (diff) | |
download | linux-1d1a77ddc8acfa3d506f1958e09a12085e71fc69.tar.xz linux-1d1a77ddc8acfa3d506f1958e09a12085e71fc69.zip |
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.txt | 9 |
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) |