media: dt-bindings: gpio-ir-tx: add support for GPIO IR Transmitter
authorSean Young <sean@mess.org>
Tue, 11 Jul 2017 11:52:41 +0000 (07:52 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 13:47:04 +0000 (09:47 -0400)
Document the device tree bindings for the GPIO IR Bit Banging
Transmitter.

Signed-off-by: Sean Young <sean@mess.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt b/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt
new file mode 100644 (file)
index 0000000..cbe8dfd
--- /dev/null
@@ -0,0 +1,14 @@
+Device tree bindings for IR LED connected through gpio pin which is used as
+remote controller transmitter.
+
+Required properties:
+       - compatible: should be "gpio-ir-tx".
+       - gpios :  Should specify the IR LED GPIO, see "gpios property" in
+         Documentation/devicetree/bindings/gpio/gpio.txt.  Active low LEDs
+         should be indicated using flags in the GPIO specifier.
+
+Example:
+       irled@0 {
+               compatible = "gpio-ir-tx";
+               gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+       };