[PATCH 1/2] [media] rc: Add DT bindings for hix5hd2

Zhangfei Gao zhangfei.gao at linaro.org
Wed Aug 13 02:03:25 PDT 2014


From: Guoxiong Yan <yanguoxiong at huawei.com>

Signed-off-by: Guoxiong Yan <yanguoxiong at huawei.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao at linaro.org>
---
 .../devicetree/bindings/media/hix5hd2-ir.txt       |   21 ++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/hix5hd2-ir.txt

diff --git a/Documentation/devicetree/bindings/media/hix5hd2-ir.txt b/Documentation/devicetree/bindings/media/hix5hd2-ir.txt
new file mode 100644
index 000000000000..324048435b64
--- /dev/null
+++ b/Documentation/devicetree/bindings/media/hix5hd2-ir.txt
@@ -0,0 +1,21 @@
+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.
+
+Example node:
+
+	ir: ir at f8001000 {
+		compatible = "hisilicon,hix5hd2-ir";
+		reg = <0xf8001000 0x1000>;
+		interrupts = <0 47 4>;
+		clocks = <&clock HIX5HD2_FIXED_24M>;
+		hisilicon,power-syscon = <&sctrl>;
+	};
-- 
1.7.9.5




More information about the linux-arm-kernel mailing list