summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/staging
diff options
context:
space:
mode:
authorChen Feng <puck.chen@hisilicon.com>2015-10-12 15:00:15 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-21 13:36:01 -0800
commitd9c0e6c10dfed44bb35d6db4293b18af51e752ac (patch)
tree82af7b34806c55c18b041736be7e23072e647da7 /Documentation/devicetree/bindings/staging
parent608b0515b75292a3f890356f976849050c519d6a (diff)
docs: dts: Add documentation for hi6220 SoC ION node
Documentation for hi6220 SoC ION node Signed-off-by: Chen Feng <puck.chen@hisilicon.com> Signed-off-by: Yu Dongbin <yudongbin@hisilicon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/staging')
-rw-r--r--Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt b/Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt
new file mode 100644
index 000000000000..c59e27c632c1
--- /dev/null
+++ b/Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt
@@ -0,0 +1,31 @@
+Hi6220 SoC ION
+===================================================================
+Required properties:
+- compatible : "hisilicon,hi6220-ion"
+- list of the ION heaps
+ - heap name : maybe heap_sys_user@0
+ - heap id : id should be unique in the system.
+ - heap base : base ddr address of the heap,0 means that
+ it is dynamic.
+ - heap size : memory size and 0 means it is dynamic.
+ - heap type : the heap type of the heap, please also
+ see the define in ion.h(drivers/staging/android/uapi/ion.h)
+-------------------------------------------------------------------
+Example:
+ hi6220-ion {
+ compatible = "hisilicon,hi6220-ion";
+ heap_sys_user@0 {
+ heap-name = "sys_user";
+ heap-id = <0x0>;
+ heap-base = <0x0>;
+ heap-size = <0x0>;
+ heap-type = "ion_system";
+ };
+ heap_sys_contig@0 {
+ heap-name = "sys_contig";
+ heap-id = <0x1>;
+ heap-base = <0x0>;
+ heap-size = <0x0>;
+ heap-type = "ion_system_contig";
+ };
+ };