]> git.baikalelectronics.ru Git - kernel.git/commit
iommu: provide helper function to configure an IOMMU for an of master
authorWill Deacon <will.deacon@arm.com>
Wed, 27 Aug 2014 15:20:32 +0000 (16:20 +0100)
committerWill Deacon <will.deacon@arm.com>
Mon, 1 Dec 2014 16:50:38 +0000 (16:50 +0000)
commitc950f30781d3315e77f25dcee12a82792558469d
treeace7a25c7d2aaf0e6250d60db0ee08faf55bf201
parent80c561bfa1c5d43ce13feea5a8f6a0cf0e08a791
iommu: provide helper function to configure an IOMMU for an of master

The generic IOMMU device-tree bindings can be used to add arbitrary OF
masters to an IOMMU with a compliant binding.

This patch introduces of_iommu_configure, which does exactly that.

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>
drivers/iommu/Kconfig
drivers/iommu/of_iommu.c
include/linux/of_iommu.h