[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1544185974-5932-3-git-send-email-krzk@kernel.org>
Date: Fri, 7 Dec 2018 13:32:53 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Jacek Anaszewski <jacek.anaszewski@...il.com>,
Pavel Machek <pavel@....cz>, Rob Herring <robh+dt@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Baolin Wang <baolin.wang@...aro.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Raphael Teysseyre <rteysseyre@...il.com>,
linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 3/4] dt-bindings: leds: Add pattern initialization from Device Tree
Document new linux,trigger-pattern property for initialization of LED
pattern trigger.
Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
---
Documentation/devicetree/bindings/leds/common.txt | 7 +++++++
1 file changed, 7 insertions(+)
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
--
2.7.4
Powered by blists - more mailing lists