OSDN Git Service

iommu/rockchip: Use IOMMU device for dma mapping operations
authorJeffy Chen <jeffy.chen@rock-chips.com>
Fri, 23 Mar 2018 07:38:10 +0000 (15:38 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 29 Mar 2018 10:22:27 +0000 (12:22 +0200)
commit9176a303d971dc0fb35469c531c0d263667d2277
tree33b6b7b1988061c4b96923c56c5eef4b0a50e20d
parent8fa9eb39c614acbabaecefd5507a426b45fa4704
iommu/rockchip: Use IOMMU device for dma mapping operations

Use the first registered IOMMU device for dma mapping operations, and
drop the domain platform device.

This is similar to exynos iommu driver.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/rockchip-iommu.c