Thread (1 message) 1 message, 1 author, 2019-03-21

[PATCH v1 leds-next 2/3] dt-bindings: leds: Document Turris 1.x LED controller binding

DORMANTno replies

From: Marek Behún <hidden>
Date: 2019-03-21 18:21:53
Subsystem: led subsystem, open firmware and flattened device tree bindings, the rest · Maintainers: Lee Jones, Pavel Machek, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Linus Torvalds

This adds device tree binding documentation for the front panel LEDs
controller of CZ.NIC's Turris 1.x router.

Signed-off-by: Marek Behún <redacted>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: devicetree@vger.kernel.org
---
 .../devicetree/bindings/leds/leds-turris.txt         | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/leds-turris.txt
diff --git a/Documentation/devicetree/bindings/leds/leds-turris.txt b/Documentation/devicetree/bindings/leds/leds-turris.txt
new file mode 100644
index 000000000000..0b7548077a06
--- /dev/null
+++ b/Documentation/devicetree/bindings/leds/leds-turris.txt
@@ -0,0 +1,12 @@
+Bindings for LEDs on CZ.NIC's Turris 1.x
+
+Required properties:
+ - compatible:		Should be "cznic,turris-leds"
+ - reg:			Should specify controller address
+
+Example:
+
+	led-controller@3,0 {
+		compatible = "cznic,turris-leds";
+		reg = <0x3 0x0 0x30>;
+	};
-- 
2.19.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help