diff options
Diffstat (limited to 'drivers/iommu/mtk_iommu.h')
| -rw-r--r-- | drivers/iommu/mtk_iommu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/iommu/mtk_iommu.h b/drivers/iommu/mtk_iommu.h index c06cc91b5d9a..462e593b7d71 100644 --- a/drivers/iommu/mtk_iommu.h +++ b/drivers/iommu/mtk_iommu.h | |||
| @@ -34,6 +34,12 @@ struct mtk_iommu_suspend_reg { | |||
| 34 | u32 int_main_control; | 34 | u32 int_main_control; |
| 35 | }; | 35 | }; |
| 36 | 36 | ||
| 37 | enum mtk_iommu_plat { | ||
| 38 | M4U_MT2701, | ||
| 39 | M4U_MT2712, | ||
| 40 | M4U_MT8173, | ||
| 41 | }; | ||
| 42 | |||
| 37 | struct mtk_iommu_domain; | 43 | struct mtk_iommu_domain; |
| 38 | 44 | ||
| 39 | struct mtk_iommu_data { | 45 | struct mtk_iommu_data { |
| @@ -50,6 +56,7 @@ struct mtk_iommu_data { | |||
| 50 | bool tlb_flush_active; | 56 | bool tlb_flush_active; |
| 51 | 57 | ||
| 52 | struct iommu_device iommu; | 58 | struct iommu_device iommu; |
| 59 | enum mtk_iommu_plat m4u_plat; | ||
| 53 | }; | 60 | }; |
| 54 | 61 | ||
| 55 | static inline int compare_of(struct device *dev, void *data) | 62 | static inline int compare_of(struct device *dev, void *data) |
