public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V1 1/3] docs: dts: Add documentation for hi6220 SoC ION node
@ 2015-10-10  6:48 Chen Feng
  2015-10-10  6:48 ` [PATCH V1 2/3] taging: android: ion: Add ion driver for Hi6220 SoC platform Chen Feng
  2015-10-10  6:48 ` [PATCH V1 3/3] arm64: dts: Add dts files to enable ION on Hi6220 SoC Chen Feng
  0 siblings, 2 replies; 5+ messages in thread
From: Chen Feng @ 2015-10-10  6:48 UTC (permalink / raw)
  To: gregkh, arve, riandrews, tranmanphong, mitchelh, tapaswenipathak,
	sumit.semwal, paul.gortmaker, gioh.kim, devel, linux-kernel,
	puck.chen, yudongbin, saberlily.xia, suzhuangluan,
	kong.kongxinwei, xuyiping, z.liuxinliang, weidong2, w.f,
	dan.carpenter
  Cc: qijiwen, peter.panshilin, dan.zhao, linuxarm

Documentation for hi6220 SoC ION node

Signed-off-by: Chen Feng <puck.chen@hisilicon.com>
Signed-off-by: Yu Dongbin <yudongbin@hisilicon.com>
---
 .../devicetree/bindings/staging/ion/hi6220-ion.txt | 31 ++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt

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 0000000..97ba233
--- /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";
+		};
+	};
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-12  1:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-10  6:48 [PATCH V1 1/3] docs: dts: Add documentation for hi6220 SoC ION node Chen Feng
2015-10-10  6:48 ` [PATCH V1 2/3] taging: android: ion: Add ion driver for Hi6220 SoC platform Chen Feng
2015-10-10 15:00   ` Dan Carpenter
2015-10-12  1:15     ` chenfeng
2015-10-10  6:48 ` [PATCH V1 3/3] arm64: dts: Add dts files to enable ION on Hi6220 SoC Chen Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox