diff options
author | Yong Wu <yong.wu@mediatek.com> | 2019-08-24 11:02:00 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2019-08-30 15:57:27 +0200 |
commit | 2b326d8b1d2b443c3dad96f54c6b279559f87751 (patch) | |
tree | d4266cd071a34f218584ca8bc9a7e108227cfbaf /drivers/iommu/mtk_iommu.h | |
parent | 50822b0b948fabfc8bcee9a89d031c276b135506 (diff) | |
download | linux-stable-2b326d8b1d2b443c3dad96f54c6b279559f87751.tar.gz linux-stable-2b326d8b1d2b443c3dad96f54c6b279559f87751.tar.bz2 linux-stable-2b326d8b1d2b443c3dad96f54c6b279559f87751.zip |
iommu/mediatek: Move vld_pa_rng into plat_data
Both mt8173 and mt8183 don't have this vld_pa_rng(valid physical address
range) register while mt2712 have. Move it into the plat_data.
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/mtk_iommu.h')
-rw-r--r-- | drivers/iommu/mtk_iommu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iommu/mtk_iommu.h b/drivers/iommu/mtk_iommu.h index 8d3b525b8752..973d6e077e43 100644 --- a/drivers/iommu/mtk_iommu.h +++ b/drivers/iommu/mtk_iommu.h @@ -38,6 +38,7 @@ struct mtk_iommu_plat_data { /* HW will use the EMI clock if there isn't the "bclk". */ bool has_bclk; + bool has_vld_pa_rng; bool reset_axi; unsigned char larbid_remap[MTK_LARB_NR_MAX]; }; |