summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/leds
diff options
context:
space:
mode:
authorSean Young <sean@mess.org>2017-07-07 05:52:04 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-20 09:46:46 -0400
commitaf1fd391a5118449aecda26792e40f9e8ab24123 (patch)
treeb94d97e352e903262148fc3d9c0d3dcfcfcf021f /Documentation/devicetree/bindings/leds
parentdb3df8765e38db994d602435e578f6e1b41e7a87 (diff)
downloadblackbird-obmc-linux-af1fd391a5118449aecda26792e40f9e8ab24123.tar.gz
blackbird-obmc-linux-af1fd391a5118449aecda26792e40f9e8ab24123.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/leds')
-rw-r--r--Documentation/devicetree/bindings/leds/irled/pwm-ir-tx.txt13
1 files changed, 13 insertions, 0 deletions
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
index 000000000000..66e5672c2e3d
--- /dev/null
+++ b/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>;
+ };
OpenPOWER on IntegriCloud