summaryrefslogtreecommitdiffstats
path: root/include/linux/of_iommu.h
diff options
context:
space:
mode:
authorWill Deacon2014-08-27 17:15:59 +0200
committerWill Deacon2014-12-01 17:50:35 +0100
commitd0f60a44f5120a8e1c48995285c7d8d1e4915b35 (patch)
treecac8578437d68c2868d23b356f0dd5027d8a400b /include/linux/of_iommu.h
parentdma-mapping: replace set_arch_dma_coherent_ops with arch_setup_dma_ops (diff)
downloadkernel-qcow2-linux-d0f60a44f5120a8e1c48995285c7d8d1e4915b35.tar.gz
kernel-qcow2-linux-d0f60a44f5120a8e1c48995285c7d8d1e4915b35.tar.xz
kernel-qcow2-linux-d0f60a44f5120a8e1c48995285c7d8d1e4915b35.zip
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 <arnd@arndb.de> Acked-by: Joerg Roedel <jroedel@suse.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>
Diffstat (limited to 'include/linux/of_iommu.h')
0 files changed, 0 insertions, 0 deletions