summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/media/nokia,n900-ir
diff options
context:
space:
mode:
authorIvaylo Dimitrov2016-06-22 21:22:20 +0200
committerTony Lindgren2016-06-30 06:54:23 +0200
commitb5406176989da601736db862643d3d7ee8335815 (patch)
tree75edfe31ba45aa3dfaa22321865bb3f018ed2fd6 /Documentation/devicetree/bindings/media/nokia,n900-ir
parentir-rx51: use PWM framework instead of OMAP dmtimer (diff)
downloadkernel-qcow2-linux-b5406176989da601736db862643d3d7ee8335815.tar.gz
kernel-qcow2-linux-b5406176989da601736db862643d3d7ee8335815.tar.xz
kernel-qcow2-linux-b5406176989da601736db862643d3d7ee8335815.zip
ir-rx51: add DT support to driver
With the upcoming removal of legacy boot, lets add support to one of the last N900 drivers remaining without it. As the driver still uses omap dmtimer, add auxdata as well. Signed-off-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'Documentation/devicetree/bindings/media/nokia,n900-ir')
-rw-r--r--Documentation/devicetree/bindings/media/nokia,n900-ir20
1 files changed, 20 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/media/nokia,n900-ir b/Documentation/devicetree/bindings/media/nokia,n900-ir
new file mode 100644
index 000000000000..13a18ce37dd1
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/nokia,n900-ir
@@ -0,0 +1,20 @@
+Device-Tree bindings for LIRC TX driver for Nokia N900(RX51)
+
+Required properties:
+ - compatible: should be "nokia,n900-ir".
+ - pwms: specifies PWM used for IR signal transmission.
+
+Example node:
+
+ pwm9: dmtimer-pwm@9 {
+ compatible = "ti,omap-dmtimer-pwm";
+ ti,timers = <&timer9>;
+ ti,clock-source = <0x00>; /* timer_sys_ck */
+ #pwm-cells = <3>;
+ };
+
+ ir: n900-ir {
+ compatible = "nokia,n900-ir";
+
+ pwms = <&pwm9 0 26316 0>; /* 38000 Hz */
+ };