]> git.baikalelectronics.ru Git - kernel.git/commit
dma-mapping: detect and configure IOMMU in of_dma_configure
authorWill Deacon <will.deacon@arm.com>
Wed, 27 Aug 2014 15:24:20 +0000 (16:24 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 1 Dec 2014 16:50:45 +0000 (16:50 +0000)
commitdb41de61f93536bd09ca8f9700482a59f7eff951
treefce6fcfd86ad149adfdae5c04245cc75342d2608
parentf447e119d9f8fd3b1bd3914215ca9e46610c79eb
dma-mapping: detect and configure IOMMU in of_dma_configure

This patch extends of_dma_configure so that it sets up the IOMMU for a
device, as well as the coherent/non-coherent DMA mapping ops.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/dma-mapping.h
drivers/of/platform.c
include/linux/dma-mapping.h