omap: iommu: migrate to the generic IOMMU API
authorOhad Ben-Cohen <ohad@wizery.com>
Wed, 1 Jun 2011 22:46:12 +0000 (01:46 +0300)
committerJoerg Roedel <joerg.roedel@amd.com>
Fri, 26 Aug 2011 09:46:00 +0000 (11:46 +0200)
commitf626b52d4a568d4315cd152123ef2d1ea406def2
tree3592dfe99e9fd2713609cef9fbb8d0dfc8653a52
parentfcb8ce5cfe30ca9ca5c9a79cdfe26d1993e65e0c
omap: iommu: migrate to the generic IOMMU API

Migrate OMAP's iommu driver to the generic IOMMU API, so users can stay
generic, and any generic IOMMU functionality can be developed once
in the generic framework.

Migrate omap's iovmm (virtual memory manager) to the generic IOMMU API,
and adapt omap3isp as needed, so the latter won't break.

The plan is to eventually remove iovmm completely by replacing it
with the (upcoming) IOMMU-based DMA-API.

Tested on OMAP3 (with omap3isp) and OMAP4 (with rpmsg/remoteproc).

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hiroshi DOYU <Hiroshi.DOYU@nokia.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
arch/arm/plat-omap/Kconfig
arch/arm/plat-omap/include/plat/iommu.h
arch/arm/plat-omap/include/plat/iovmm.h
arch/arm/plat-omap/iommu.c
arch/arm/plat-omap/iopgtable.h
arch/arm/plat-omap/iovmm.c
drivers/media/video/omap3isp/isp.c
drivers/media/video/omap3isp/isp.h
drivers/media/video/omap3isp/ispccdc.c
drivers/media/video/omap3isp/ispstat.c
drivers/media/video/omap3isp/ispvideo.c