Browse Source

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 <sean@mess.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Sean Young 8 years ago
parent
commit
af1fd391a5
1 changed files with 13 additions and 0 deletions
  1. 13 0
      Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.txt

+ 13 - 0
Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.txt

@@ -0,0 +1,13 @@
+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>;
+	};