Message ID | 20190321182150.10453-3-marek.behun@nic.cz |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | None | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | success |
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 --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>; + };
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