iommu/pamu: Add support for generic iommu-device
authorJoerg Roedel <jroedel@suse.de>
Wed, 9 Aug 2017 14:36:00 +0000 (16:36 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 15 Aug 2017 11:59:34 +0000 (13:59 +0200)
commit68a17f0be6feb8de1f5e26b93f49791031374c4c
treefa1f306ea49d1dd9542575fca68921bd5fae8cae
parent07eb6fdf4933336098c3e955961071e85d3dff9f
iommu/pamu: Add support for generic iommu-device

This patch adds a global iommu-handle to the pamu driver and
initializes it at probe time. Also link devices added to the
iommu to this handle.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/fsl_pamu.c
drivers/iommu/fsl_pamu.h
drivers/iommu/fsl_pamu_domain.c
drivers/iommu/fsl_pamu_domain.h