drivers: dma-contiguous: add initialization from device tree
authorMarek Szyprowski <[email protected]>
Mon, 13 Oct 2014 22:51:09 +0000 (15:51 -0700)
committerLinus Torvalds <[email protected]>
Tue, 14 Oct 2014 00:18:12 +0000 (02:18 +0200)
commitde9e14eebf33a60712a52a0bc6e08c043c0aba53
tree7b681bf9d5cb6a7909c8d9090aaa868d3e22ccf2
parent7bfa5ab6fa1b18f53fb94f922e107e6fbdc5e485
drivers: dma-contiguous: add initialization from device tree

Add a function to create CMA region from previously reserved memory and
add support for handling 'shared-dma-pool' reserved-memory device tree
nodes.

Based on previous code provided by Josh Cartwright <[email protected]>

Signed-off-by: Marek Szyprowski <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Michal Nazarewicz <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: Laura Abbott <[email protected]>
Cc: Josh Cartwright <[email protected]>
Cc: Joonsoo Kim <[email protected]>
Cc: Kyungmin Park <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/base/dma-contiguous.c
include/linux/cma.h
mm/cma.c