Add device tree binding for ImgTec Consumer Infrared block.
Signed-off-by: James Hogan <redacted>
Cc: Mauro Carvalho Chehab <redacted>
Cc: linux-media@vger.kernel.org
Cc: Rob Herring <redacted>
Cc: Pawel Moll <redacted>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Stephen Warren <redacted>
Cc: Ian Campbell <redacted>
Cc: devicetree@vger.kernel.org
Cc: Rob Landley <redacted>
Cc: linux-doc@vger.kernel.org
---
Documentation/devicetree/bindings/media/img-ir.txt | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 Documentation/devicetree/bindings/media/img-ir.txt
diff --git a/Documentation/devicetree/bindings/media/img-ir.txt b/Documentation/devicetree/bindings/media/img-ir.txt
new file mode 100644
index 000000000000..6f623b094ea6
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/img-ir.txt
@@ -0,0 +1,20 @@
+* ImgTec Infrared (IR) decoder
+
+Required properties:
+- compatible: Should be "img,ir"
+- reg: Physical base address of the controller and length of
+ memory mapped region.
+- interrupts: The interrupt specifier to the cpu.
+
+Optional properties:
+- clocks: Clock specifier for base clock.
+ Defaults to 32.768KHz if not specified.
+
+Example:
+
+ ir@02006200 {
+ compatible = "img,ir";
+ reg = <0x02006200 0x100>;
+ interrupts = <29 4>;
+ clocks = <&clk_32khz>;
+ };--
1.8.1.2