From: Will Deacon Date: Wed, 27 Aug 2014 15:15:59 +0000 (+0100) Subject: iommu: add new iommu_ops callback for adding an OF device X-Git-Tag: omap-for-v3.20/drop-legacy-3517~60^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0f60a44f5120a8e1c48995285c7d8d1e4915b35;p=pandora-kernel.git iommu: add new iommu_ops callback for adding an OF device This patch adds a new function to the iommu_ops structure to allow an OF device to be added to a specific IOMMU instance using the recently merged generic devicetree binding for IOMMUs. The callback (of_xlate) takes a struct device representing the master and an of_phandle_args representing the IOMMU and the correspondong IDs for the new master. Acked-by: Arnd Bergmann Acked-by: Joerg Roedel Acked-by: Marek Szyprowski Tested-by: Robin Murphy Signed-off-by: Will Deacon --- Reading git-diff-tree failed