doc: dt: add dt-bindings for rockchip ion driver
authorXu Jianqun <jay.xu@rock-chips.com>
Thu, 21 Jan 2016 07:17:25 +0000 (15:17 +0800)
committerXu Jianqun <jay.xu@rock-chips.com>
Thu, 21 Jan 2016 07:18:20 +0000 (15:18 +0800)
Change-Id: Ia2ec4985ead6ee986dce9bdb6ac910373ec1cd18
Signed-off-by: Xu Jianqun <jay.xu@rock-chips.com>
Documentation/devicetree/bindings/staging/ion/rockchip-ion.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/staging/ion/rockchip-ion.txt b/Documentation/devicetree/bindings/staging/ion/rockchip-ion.txt
new file mode 100644 (file)
index 0000000..50bca0e
--- /dev/null
@@ -0,0 +1,25 @@
+* Rockchip Ion driver
+
+Required properties:
+- compatible: Should be "rockchip,ion"
+
+Optional properties:
+- cma-heap: Allocate continous physicall region.
+  Should define reg with two u32 values:
+    - reg0: base address of cma region
+    - reg1: size of cma region
+- system-heap: Allocate continous virtual region
+
+Examples:
+       ion {
+               compatible = "rockchip,ion";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               cma-heap {
+                       reg = <0x00000000 0x02000000>;
+               };
+
+               system-heap {
+               };
+       };