diff options
author | Will Deacon <[email protected]> | 2014-08-27 16:15:59 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2014-12-01 16:50:35 +0000 |
commit | d0f60a44f5120a8e1c48995285c7d8d1e4915b35 (patch) | |
tree | cac8578437d68c2868d23b356f0dd5027d8a400b /lib/mpi/mpiutil.c | |
parent | a3a60f81ee6f8fa65a57fa186b395bcd1f1bb097 (diff) |
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 <[email protected]>
Acked-by: Joerg Roedel <[email protected]>
Acked-by: Marek Szyprowski <[email protected]>
Tested-by: Robin Murphy <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions