This patchset mainly support MTK_SMI could be modular. No other function add. The MTK_IOMMU config will be another patchset.
rebase on v5.11-rc1. Yong Wu (3): memory: mtk-smi: Use platform_register_drivers memory: mtk-smi: Add module_exit and module_license memory: mtk-smi: Switch MTK_SMI to tristate drivers/memory/Kconfig | 2 +- drivers/memory/mtk-smi.c | 33 +++++++++++++++------------------ include/soc/mediatek/smi.h | 2 +- 3 files changed, 17 insertions(+), 20 deletions(-) -- 2.18.0