summaryrefslogtreecommitdiff
path: root/drivers/iommu/mtk_iommu_v1.c
diff options
context:
space:
mode:
authorHonghui Zhang <honghui.zhang@mediatek.com>2016-06-08 17:50:59 +0800
committerJoerg Roedel <jroedel@suse.de>2016-06-21 11:36:19 +0200
commit3c8f4ad85c4b61fcf2c56e1d281d691ac595243a (patch)
treef60034edaa42624c7f3d6329798e390d9654ff18 /drivers/iommu/mtk_iommu_v1.c
parent9ca340c98c0dc6cb60b5ebd7847302f57648f0ba (diff)
memory/mediatek: add support for mt2701
Mediatek SMI has two generations of HW architecture, mt8173 uses the second generation of SMI HW while mt2701 uses the first generation HW of SMI. There's slight differences between the two generations, for generation 2, the register which control the iommu port access PA or IOVA is at each larb's register base. But for generation 1, the register is at smi ao base(smi always on register base). Besides that, the smi async clock should be prepared and enabled for SMI generation 1 HW to transform the smi clock into emi clock domain, but is not needed for SMI generation 2. This patch add SMI driver for mt2701 which use generation 1 SMI HW. Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/mtk_iommu_v1.c')
0 files changed, 0 insertions, 0 deletions