Based on kernel version 4.10.8. Page generated on 2017-04-01 14:43 EST.
1 Hi6220 SoC ION 2 =================================================================== 3 Required properties: 4 - compatible : "hisilicon,hi6220-ion" 5 - list of the ION heaps 6 - heap name : maybe heap_sys_user@0 7 - heap id : id should be unique in the system. 8 - heap base : base ddr address of the heap,0 means that 9 it is dynamic. 10 - heap size : memory size and 0 means it is dynamic. 11 - heap type : the heap type of the heap, please also 12 see the define in ion.h(drivers/staging/android/uapi/ion.h) 13 ------------------------------------------------------------------- 14 Example: 15 hi6220-ion { 16 compatible = "hisilicon,hi6220-ion"; 17 heap_sys_user@0 { 18 heap-name = "sys_user"; 19 heap-id = <0x0>; 20 heap-base = <0x0>; 21 heap-size = <0x0>; 22 heap-type = "ion_system"; 23 }; 24 heap_sys_contig@0 { 25 heap-name = "sys_contig"; 26 heap-id = <0x1>; 27 heap-base = <0x0>; 28 heap-size = <0x0>; 29 heap-type = "ion_system_contig"; 30 }; 31 };