Merge branches 'arm/exynos', 'arm/renesas', 'arm/rockchip', 'arm/omap', 'arm/mediatek...
[platform/kernel/linux-starfive.git] / drivers / iommu / Kconfig
index c5d80fe..49bd2ab 100644 (file)
@@ -76,6 +76,8 @@ config IOMMU_DMA
 
 config FSL_PAMU
        bool "Freescale IOMMU support"
+       depends on PCI
+       depends on PHYS_64BIT
        depends on PPC_E500MC || (COMPILE_TEST && PPC)
        select IOMMU_API
        select GENERIC_ALLOCATOR
@@ -368,4 +370,14 @@ config MTK_IOMMU_V1
 
          if unsure, say N here.
 
+config QCOM_IOMMU
+       # Note: iommu drivers cannot (yet?) be built as modules
+       bool "Qualcomm IOMMU Support"
+       depends on ARCH_QCOM || COMPILE_TEST
+       select IOMMU_API
+       select IOMMU_IO_PGTABLE_LPAE
+       select ARM_DMA_USE_IOMMU
+       help
+         Support for IOMMU on certain Qualcomm SoCs.
+
 endif # IOMMU_SUPPORT