summaryrefslogtreecommitdiff
path: root/drivers/iommu/Kconfig
diff options
context:
space:
mode:
authorSimon <xxm@rock-chips.com>2015-11-23 20:21:14 +0800
committerGerrit Code Review <gerrit@rock-chips.com>2015-11-30 12:12:55 +0800
commit59d4ed13c7e29022cf1ea993ad4882158f6c8028 (patch)
tree393a3ceb3505c584a179a56cbc89dfd3ece8fc20 /drivers/iommu/Kconfig
parentab94303f9442b5fde2b385009deceeea39c03c28 (diff)
iommu/rk: support kernel version 4.4
Change-Id: I430577668f50284c1b318636ea5e1009b5e90ca5 Signed-off-by: Simon <xxm@rock-chips.com>
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r--drivers/iommu/Kconfig29
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig
index b9094e9da537..8d5dde499aa3 100644
--- a/drivers/iommu/Kconfig
+++ b/drivers/iommu/Kconfig
@@ -221,6 +221,35 @@ config ROCKCHIP_IOMMU
Say Y here if you are using a Rockchip SoC that includes an IOMMU
device.
+config RK_IOMMU
+ bool "RK IOMMU Support"
+ depends on ARCH_ROCKCHIP || COMPILE_TEST
+ select IOMMU_API
+ help
+ Support for IOMMUs found on Rockchip rk32xx,rk313x,rk33xx SOCs.
+ These IOMMUs allow virtualization of the address space used by most
+ cores within the multimedia subsystem.
+ Say Y here if you are using a Rockchip SoC that includes an IOMMU
+ device.
+
+config RK_IOVMM
+ bool "IO Virtual Memory Manager for RK IOMMUs"
+ select GENERIC_ALLOCATOR
+ depends on RK_IOMMU
+ help
+ Supporting the users of Rockchip IOMMU for allocating and mapping
+ an IO virtual memory region with a physical memory region
+ and managing the allocated virtual memory regions.
+
+config RK_IOMMU_DEBUG
+ bool "Debugging log for RK IOMMU"
+ depends on RK_IOMMU
+ help
+ Select this to see the detailed log message that shows what
+ happens in the IOMMU driver
+
+ Say N unless you need kernel log message for IOMMU debugging
+
config TEGRA_IOMMU_GART
bool "Tegra GART IOMMU Support"
depends on ARCH_TEGRA_2x_SOC