Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afb24eab authored by Sean Young's avatar Sean Young Committed by Mauro Carvalho Chehab
Browse files

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: default avatarSean Young <sean@mess.org>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent af1fd391
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
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>;
	};