xref: /freebsd/sys/contrib/device-tree/Bindings/leds/irled/pwm-ir-tx.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotDevice tree bindings for IR LED connected through pwm pin which is used as
2*c66ec88fSEmmanuel Vadotremote controller transmitter.
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot	- compatible: should be "pwm-ir-tx".
6*c66ec88fSEmmanuel Vadot	- pwms : PWM property to point to the PWM device (phandle)/port (id)
7*c66ec88fSEmmanuel Vadot	  and to specify the period time to be used: <&phandle id period_ns>;
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotExample:
10*c66ec88fSEmmanuel Vadot	irled {
11*c66ec88fSEmmanuel Vadot		compatible = "pwm-ir-tx";
12*c66ec88fSEmmanuel Vadot		pwms = <&pwm0 0 10000000>;
13*c66ec88fSEmmanuel Vadot	};
14