diff mbox series

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

Message ID 20190321182150.10453-3-marek.behun@nic.cz
State Not Applicable, archived
Headers show
Series None | expand

Checks

Context Check Description
robh/checkpatch success

Commit Message

Marek Behún March 21, 2019, 6:21 p.m. UTC
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@nic.cz>
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

Comments

Rob Herring March 31, 2019, 6:41 a.m. UTC | #1
On Thu, 21 Mar 2019 19:21:49 +0100, =?UTF-8?q?Marek=20Beh=C3=BAn?= wrote:
> 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@nic.cz>
> 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
> 

Reviewed-by: Rob Herring <robh@kernel.org>
diff mbox series

Patch

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>;
+	};