Skip to content

Commit afb24ea

Browse files
seanyoungmchehab
authored andcommitted
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 <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent af1fd39 commit afb24ea

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Device tree bindings for IR LED connected through gpio pin which is used as
2+
remote controller transmitter.
3+
4+
Required properties:
5+
- compatible: should be "gpio-ir-tx".
6+
- gpios : Should specify the IR LED GPIO, see "gpios property" in
7+
Documentation/devicetree/bindings/gpio/gpio.txt. Active low LEDs
8+
should be indicated using flags in the GPIO specifier.
9+
10+
Example:
11+
irled@0 {
12+
compatible = "gpio-ir-tx";
13+
gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
14+
};

0 commit comments

Comments
 (0)