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

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

media: dt-bindings: pwm-ir-tx: Add support for PWM IR Transmitter



Document the device tree bindings for the PWM IR 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 db3df876
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
Device tree bindings for IR LED connected through pwm pin which is used as
remote controller transmitter.

Required properties:
	- compatible: should be "pwm-ir-tx".
	- pwms : PWM property to point to the PWM device (phandle)/port (id)
	  and to specify the period time to be used: <&phandle id period_ns>;

Example:
	irled {
		compatible = "pwm-ir-tx";
		pwms = <&pwm0 0 10000000>;
	};