iommu/exynos: Add callback for initializing devices from device tree
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 19 May 2015 13:20:37 +0000 (15:20 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 29 May 2015 08:50:08 +0000 (10:50 +0200)
commitaa759fd376fbbfc34d5bf21b8f280ce68c17d064
treefa6c5cf7c86187cf7f0800e9cbb70537d5eec680
parent8ed55c812fa8c8ab790bda52dea4a1a87d94fb2b
iommu/exynos: Add callback for initializing devices from device tree

This patch adds implementation of of_xlate callback, which prepares
masters device for attaching to IOMMU. This callback is called during
creating devices from device tree.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c