xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/irled/gpio-ir-tx.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDevice tree bindings for IR LED connected through gpio pin which is used as
2*4882a593Smuzhiyunremote controller transmitter.
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun	- compatible: should be "gpio-ir-tx".
6*4882a593Smuzhiyun	- gpios :  Should specify the IR LED GPIO, see "gpios property" in
7*4882a593Smuzhiyun	  Documentation/devicetree/bindings/gpio/gpio.txt.  Active low LEDs
8*4882a593Smuzhiyun	  should be indicated using flags in the GPIO specifier.
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunExample:
11*4882a593Smuzhiyun	irled@0 {
12*4882a593Smuzhiyun		compatible = "gpio-ir-tx";
13*4882a593Smuzhiyun		gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
14*4882a593Smuzhiyun	};
15