iommu: rk-iovmm: change compatible name to a unified name
authorSimon <xxm@rock-chips.com>
Tue, 22 Mar 2016 01:40:40 +0000 (09:40 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Wed, 23 Mar 2016 06:29:32 +0000 (14:29 +0800)
To make android platform iommu work well, we need a unified compatible
name to match the new iommu definition in dtsi

Change-Id: Ied581653e1261fd0a21577f4e9ce3b915af135cd
Signed-off-by: Simon <xxm@rock-chips.com>
include/linux/rockchip-iovmm.h

index ab7f8bb61f0fe9df5202b315d2354c5f5c70d54e..8f2dd07474841947c8c3a6a0a83030d6ff3f0ba1 100644 (file)
 #include <linux/atomic.h>
 #include <linux/spinlock.h>
 
-#define IEP_IOMMU_COMPATIBLE_NAME "rockchip,iep_mmu"
-#define VIP_IOMMU_COMPATIBLE_NAME "rockchip,vip_mmu"
-#define ISP_IOMMU_COMPATIBLE_NAME "rockchip,isp_mmu"
-#define VOPB_IOMMU_COMPATIBLE_NAME "rockchip,vopb_mmu"
-#define VOPL_IOMMU_COMPATIBLE_NAME "rockchip,vopl_mmu"
-#define VOP_IOMMU_COMPATIBLE_NAME      "rockchip,vop_mmu"
-#define HEVC_IOMMU_COMPATIBLE_NAME "rockchip,hevc_mmu"
-#define VPU_IOMMU_COMPATIBLE_NAME "rockchip,vpu_mmu"
-#define VDEC_IOMMU_COMPATIBLE_NAME "rockchip,vdec_mmu"
+#define IEP_IOMMU_COMPATIBLE_NAME "rockchip,iommu"
+#define VIP_IOMMU_COMPATIBLE_NAME "rockchip,iommu"
+#define ISP_IOMMU_COMPATIBLE_NAME "rockchip,iommu"
+#define VOPB_IOMMU_COMPATIBLE_NAME "rockchip,iommu"
+#define VOPL_IOMMU_COMPATIBLE_NAME "rockchip,iommu"
+#define VOP_IOMMU_COMPATIBLE_NAME      "rockchip,iommu"
+#define HEVC_IOMMU_COMPATIBLE_NAME "rockchip,iommu"
+#define VPU_IOMMU_COMPATIBLE_NAME "rockchip,iommu"
+#define VDEC_IOMMU_COMPATIBLE_NAME "rockchip,iommu"
 
 enum rk_iommu_inttype {
        IOMMU_PAGEFAULT,