[media] rc: Add DT bindings for hix5hd2
authorGuoxiong Yan <yanguoxiong@huawei.com>
Sun, 31 Aug 2014 02:39:09 +0000 (23:39 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Sep 2014 19:13:51 +0000 (16:13 -0300)
Signed-off-by: Guoxiong Yan <yanguoxiong@huawei.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/devicetree/bindings/media/hix5hd2-ir.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/media/hix5hd2-ir.txt b/Documentation/devicetree/bindings/media/hix5hd2-ir.txt
new file mode 100644 (file)
index 0000000..fb5e760
--- /dev/null
@@ -0,0 +1,25 @@
+Device-Tree bindings for hix5hd2 ir IP
+
+Required properties:
+       - compatible: Should contain "hisilicon,hix5hd2-ir".
+       - reg: Base physical address of the controller and length of memory
+         mapped region.
+       - interrupts: interrupt-specifier for the sole interrupt generated by
+         the device. The interrupt specifier format depends on the interrupt
+         controller parent.
+       - clocks: clock phandle and specifier pair.
+       - hisilicon,power-syscon: phandle of syscon used to control power.
+
+Optional properties:
+       - linux,rc-map-name : Remote control map name.
+
+Example node:
+
+       ir: ir@f8001000 {
+               compatible = "hisilicon,hix5hd2-ir";
+               reg = <0xf8001000 0x1000>;
+               interrupts = <0 47 4>;
+               clocks = <&clock HIX5HD2_FIXED_24M>;
+               hisilicon,power-syscon = <&sysctrl>;
+               linux,rc-map-name = "rc-tivo";
+       };