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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <marek.behun@xxxxxx>
Cc: Rob Herring <robh+dt@xxxxxxxxxx>
Cc: devicetree@xxxxxxxxxxxxxxx
---
 .../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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux