[3/4] dt-bindings: leds: Add pattern initialization from Device Tree
diff mbox series

Message ID 1544185974-5932-3-git-send-email-krzk@kernel.org
State New
Headers show
  • [1/4] leds: pwm: Simplify with resource-managed devm_led_classdev_register()
Related show

Commit Message

Krzysztof Kozlowski Dec. 7, 2018, 12:32 p.m. UTC
Document new linux,trigger-pattern property for initialization of LED
pattern trigger.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
 Documentation/devicetree/bindings/leds/common.txt | 7 +++++++
 1 file changed, 7 insertions(+)

diff mbox series

diff --git a/Documentation/devicetree/bindings/leds/common.txt b/Documentation/devicetree/bindings/leds/common.txt
index aa1399814a2a..4c65e854bb91 100644
--- a/Documentation/devicetree/bindings/leds/common.txt
+++ b/Documentation/devicetree/bindings/leds/common.txt
@@ -37,6 +37,13 @@  Optional properties for child nodes:
      "ide-disk" - LED indicates IDE disk activity (deprecated),
                   in new implementations use "disk-activity"
      "timer" - LED flashes at a fixed, configurable rate
+     "pattern" - LED alters the brightness for the specified duration with one
+                 software timer (see
+                 Documentation/ABI/testing/sysfs-class-led-trigger-pattern)
+- linux,trigger-pattern : Default pattern for "pattern" trigger (see
+                          Documentation/ABI/testing/sysfs-class-led-trigger-pattern
+                          for description of format)
 - led-max-microamp : Maximum LED supply current in microamperes. This property
                      can be made mandatory for the board configurations