Skip to content

Commit af1fd39

Browse files
seanyoungmchehab
authored andcommitted
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: Sean Young <[email protected]> Acked-by: Rob Herring <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent db3df87 commit af1fd39

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Device tree bindings for IR LED connected through pwm pin which is used as
2+
remote controller transmitter.
3+
4+
Required properties:
5+
- compatible: should be "pwm-ir-tx".
6+
- pwms : PWM property to point to the PWM device (phandle)/port (id)
7+
and to specify the period time to be used: <&phandle id period_ns>;
8+
9+
Example:
10+
irled {
11+
compatible = "pwm-ir-tx";
12+
pwms = <&pwm0 0 10000000>;
13+
};

0 commit comments

Comments
 (0)