summaryrefslogtreecommitdiff
path: root/drivers/soc/mediatek/Kconfig
diff options
context:
space:
mode:
authorMatthias Brugger <mbrugger@suse.com>2020-03-25 20:31:21 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2020-04-13 14:01:16 +0300
commit13032709e2328553970f0002df5edce6aac69425 (patch)
treebd8ec629457e0b72979495681930d65854428531 /drivers/soc/mediatek/Kconfig
parent1a680aa888d6ff39507d09a022bde20ef7e809dd (diff)
downloadlinux-13032709e2328553970f0002df5edce6aac69425.tar.xz
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/Kconfig')
-rw-r--r--drivers/soc/mediatek/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soc/mediatek/Kconfig b/drivers/soc/mediatek/Kconfig
index 2114b563478c..e84513318725 100644
--- a/drivers/soc/mediatek/Kconfig
+++ b/drivers/soc/mediatek/Kconfig
@@ -44,4 +44,12 @@ config MTK_SCPSYS
Say yes here to add support for the MediaTek SCPSYS power domain
driver.
+config MTK_MMSYS
+ bool "MediaTek MMSYS Support"
+ depends on COMMON_CLK_MT8173_MMSYS
+ default COMMON_CLK_MT8173_MMSYS
+ help
+ Say yes here to add support for the MediaTek Multimedia
+ Subsystem (MMSYS).
+
endmenu