Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Chen Feng and committed by
Greg Kroah-Hartman
d9c0e6c1 608b0515

+31
+31
Documentation/devicetree/bindings/staging/ion/hi6220-ion.txt
··· 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 + };