summaryrefslogtreecommitdiffstats
path: root/drivers/soc/mediatek/Makefile
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2020-03-25 18:31:21 +0100
committerMatthias Brugger <matthias.bgg@gmail.com>2020-04-13 13:01:16 +0200
commit13032709e2328553970f0002df5edce6aac69425 (patch)
treebd8ec629457e0b72979495681930d65854428531 /drivers/soc/mediatek/Makefile
parent1a680aa888d6ff39507d09a022bde20ef7e809dd (diff)
downloadlinux-13032709e2328553970f0002df5edce6aac69425.tar.bz2
clk / soc: mediatek: Move mt8173 MMSYS to platform driver
There is no strong reason for this to use CLK_OF_DECLARE instead of being a platform driver. Plus, MMSYS provides clocks but also a shared register space for the mediatek-drm and the mediatek-mdp driver. So move the MMSYS clocks to a new platform driver and also create a new MMSYS platform driver in drivers/soc/mediatek that instantiates the clock driver. Signed-off-by: Matthias Brugger <mbrugger@suse.com> Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Reviewed-by: CK Hu <ck.hu@mediatek.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'drivers/soc/mediatek/Makefile')
-rw-r--r--drivers/soc/mediatek/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/Makefile b/drivers/soc/mediatek/Makefile
index b01733074ad6..01f9f873634a 100644
--- a/drivers/soc/mediatek/Makefile
+++ b/drivers/soc/mediatek/Makefile
@@ -3,3 +3,4 @@ obj-$(CONFIG_MTK_CMDQ) += mtk-cmdq-helper.o
obj-$(CONFIG_MTK_INFRACFG) += mtk-infracfg.o
obj-$(CONFIG_MTK_PMIC_WRAP) += mtk-pmic-wrap.o
obj-$(CONFIG_MTK_SCPSYS) += mtk-scpsys.o
+obj-$(CONFIG_MTK_MMSYS) += mtk-mmsys.o