Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9c0e6c1 authored by Chen Feng's avatar Chen Feng Committed by Greg Kroah-Hartman
Browse files

docs: dts: Add documentation for hi6220 SoC ION node



Documentation for hi6220 SoC ION node

Signed-off-by: default avatarChen Feng <puck.chen@hisilicon.com>
Signed-off-by: default avatarYu Dongbin <yudongbin@hisilicon.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 608b0515
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
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";
		};
	};