xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDevice tree bindings for IR LED connected through pwm pin which is used as
2*4882a593Smuzhiyunremote controller transmitter.
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun	- compatible: should be "pwm-ir-tx".
6*4882a593Smuzhiyun	- pwms : PWM property to point to the PWM device (phandle)/port (id)
7*4882a593Smuzhiyun	  and to specify the period time to be used: <&phandle id period_ns>;
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunExample:
10*4882a593Smuzhiyun	irled {
11*4882a593Smuzhiyun		compatible = "pwm-ir-tx";
12*4882a593Smuzhiyun		pwms = <&pwm0 0 10000000>;
13*4882a593Smuzhiyun	};
14