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

staging/android/ion: remove useless document file

After commit 9828282e33a0 ("staging: android: ion: Remove old platform
support"), the document about devicetree of ion is no need anymore, so
just remove it.

Signed-off-by: Yisheng Xie <xieyisheng1@huawei.com>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Yisheng Xie and committed by
Greg Kroah-Hartman
849ff819 2ea659a9

-83
-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 - };
-1
MAINTAINERS
··· 846 846 M: Sumit Semwal <sumit.semwal@linaro.org> 847 847 L: devel@driverdev.osuosl.org 848 848 S: Supported 849 - F: Documentation/devicetree/bindings/staging/ion/ 850 849 F: drivers/staging/android/ion 851 850 F: drivers/staging/android/uapi/ion.h 852 851 F: drivers/staging/android/uapi/ion_test.h
-51
drivers/staging/android/ion/devicetree.txt
··· 1 - Ion Memory Manager 2 - 3 - Ion is a memory manager that allows for sharing of buffers via dma-buf. 4 - Ion allows for different types of allocation via an abstraction called 5 - a 'heap'. A heap represents a specific type of memory. Each heap has 6 - a different type. There can be multiple instances of the same heap 7 - type. 8 - 9 - Specific heap instances are tied to heap IDs. Heap IDs are not to be specified 10 - in the devicetree. 11 - 12 - Required properties for Ion 13 - 14 - - compatible: "linux,ion" PLUS a compatible property for the device 15 - 16 - All child nodes of a linux,ion node are interpreted as heaps 17 - 18 - required properties for heaps 19 - 20 - - compatible: compatible string for a heap type PLUS a compatible property 21 - for the specific instance of the heap. Current heap types 22 - -- linux,ion-heap-system 23 - -- linux,ion-heap-system-contig 24 - -- linux,ion-heap-carveout 25 - -- linux,ion-heap-chunk 26 - -- linux,ion-heap-dma 27 - -- linux,ion-heap-custom 28 - 29 - Optional properties 30 - - memory-region: A phandle to a memory region. Required for DMA heap type 31 - (see reserved-memory.txt for details on the reservation) 32 - 33 - Example: 34 - 35 - ion { 36 - compatbile = "hisilicon,ion", "linux,ion"; 37 - 38 - ion-system-heap { 39 - compatbile = "hisilicon,system-heap", "linux,ion-heap-system" 40 - }; 41 - 42 - ion-camera-region { 43 - compatible = "hisilicon,camera-heap", "linux,ion-heap-dma" 44 - memory-region = <&camera_region>; 45 - }; 46 - 47 - ion-fb-region { 48 - compatbile = "hisilicon,fb-heap", "linux,ion-heap-dma" 49 - memory-region = <&fb_region>; 50 - }; 51 - }