diff options
author | Sean Young <sean@mess.org> | 2017-07-11 13:52:41 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-20 15:47:04 +0200 |
commit | afb24eabf9e63c99d01aaf1b4d04f1d9a458e029 (patch) | |
tree | 879af18d641c90ad21cbab5d6ee7b8b57bf28751 /Documentation/devicetree/bindings/leds | |
parent | media: dt-bindings: pwm-ir-tx: Add support for PWM IR Transmitter (diff) | |
download | linux-afb24eabf9e63c99d01aaf1b4d04f1d9a458e029.tar.xz linux-afb24eabf9e63c99d01aaf1b4d04f1d9a458e029.zip |
media: dt-bindings: gpio-ir-tx: add support for GPIO IR Transmitter
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>
Diffstat (limited to 'Documentation/devicetree/bindings/leds')
-rw-r--r-- | Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt | 14 |
1 files changed, 14 insertions, 0 deletions
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 index 000000000000..cbe8dfd29715 --- /dev/null +++ b/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt @@ -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>; + }; |