]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
media: dt-bindings: pwm-ir-tx: Add support for PWM IR Transmitter
authorSean Young <sean@mess.org>
Fri, 7 Jul 2017 09:52:04 +0000 (05:52 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 13:46:46 +0000 (09:46 -0400)
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>
Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.txt b/Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.txt
new file mode 100644 (file)
index 0000000..66e5672
--- /dev/null
@@ -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>;
+       };