All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] dt-bindings: leds: Add bindings for lltc,lt3593
@ 2018-06-17 11:49 Daniel Mack
  2018-06-17 11:49 ` [PATCH 2/5] leds: lt3593: merge functions and clean up code Daniel Mack
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Daniel Mack @ 2018-06-17 11:49 UTC (permalink / raw)
  To: jacek.anaszewski, robh+dt; +Cc: linux-leds, devicetree, Daniel Mack

Signed-off-by: Daniel Mack <daniel@zonque.org>
---
 .../devicetree/bindings/leds/leds-lt3593.txt  | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-lt3593.txt

diff --git a/Documentation/devicetree/bindings/leds/leds-lt3593.txt b/Documentation/devicetree/bindings/leds/leds-lt3593.txt
new file mode 100644
index 000000000000..0a7035acda8f
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/leds-lt3593.txt
@@ -0,0 +1,25 @@
+Bindings for Linear Technologies LT3593 LED controller
+
+Required properties:
+- compatible : should be "lltc,lt3593".
+- label: A label for the LED.
+
+Optional properties:
+- linux,default-trigger :  (optional)
+  see Documentation/devicetree/bindings/leds/common.txt
+- default-state:  (optional) The initial state of the LED.
+  see Documentation/devicetree/bindings/leds/common.txt
+
+The controller only suports one LED, hence the properties are all set
+in the root node of the device. If multiple chips of this kind are
+found in a design, each one needs to be handled by its own device node.
+
+Example:
+
+led-controller {
+	compatible = "lltc,lt3593";
+	label = "led-stripe";
+	gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
+	linux,default-trigger = "heartbeat";
+};
+
-- 
2.17.1

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-06-17 20:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-17 11:49 [PATCH 1/5] dt-bindings: leds: Add bindings for lltc,lt3593 Daniel Mack
2018-06-17 11:49 ` [PATCH 2/5] leds: lt3593: merge functions and clean up code Daniel Mack
2018-06-17 11:49 ` [PATCH 3/5] leds: lt3593: switch to gpiod interface Daniel Mack
2018-06-17 11:49 ` [PATCH 4/5] leds: lt3593: Add device tree probing glue Daniel Mack
2018-06-17 11:49 ` [PATCH 5/5] leds: lt3593: update email address Daniel Mack
2018-06-17 19:39 ` [PATCH 1/5] dt-bindings: leds: Add bindings for lltc,lt3593 Jacek Anaszewski
2018-06-17 19:52   ` Daniel Mack
2018-06-17 20:08     ` Daniel Mack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.