[media] media: rc: meson: document device tree bindings
authorBeniamino Galvani <b.galvani@gmail.com>
Tue, 18 Nov 2014 20:22:33 +0000 (17:22 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 26 Nov 2014 15:28:43 +0000 (13:28 -0200)
This adds binding documentation for the infrared remote control
receiver available in Amlogic Meson SoCs.

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/devicetree/bindings/media/meson-ir.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/media/meson-ir.txt b/Documentation/devicetree/bindings/media/meson-ir.txt
new file mode 100644 (file)
index 0000000..407848e
--- /dev/null
@@ -0,0 +1,14 @@
+* Amlogic Meson IR remote control receiver
+
+Required properties:
+ - compatible  : should be "amlogic,meson6-ir"
+ - reg         : physical base address and length of the device registers
+ - interrupts  : a single specifier for the interrupt from the device
+
+Example:
+
+       ir-receiver@c8100480 {
+               compatible= "amlogic,meson6-ir";
+               reg = <0xc8100480 0x20>;
+               interrupts = <0 15 1>;
+       };