X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=Documentation%2Fdevicetree%2Fbindings%2Fleds%2Fcommon.txt;fp=Documentation%2Fdevicetree%2Fbindings%2Fleds%2Fcommon.txt;h=696be57926257817e061e5e21657ab4939f38345;hb=1d1a77ddc8acfa3d506f1958e09a12085e71fc69;hp=93ef6e6e43b5cb08c7d586dd76a22eb2a35e9c35;hpb=7f866986e7052197396d8a663fa009209af18aee;p=cascardo%2Flinux.git diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt index 93ef6e6e43b5..696be5792625 100644 --- a/Documentation/devicetree/bindings/leds/common.txt +++ b/Documentation/devicetree/bindings/leds/common.txt @@ -19,6 +19,13 @@ Optional properties for child nodes: a device, i.e. no other LED class device can be assigned the same label. +- default-state : 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. + - linux,default-trigger : This parameter, if present, is a string defining the trigger assigned to the LED. Current triggers are: "backlight" - LED will act as a back-light, controlled by the framebuffer