mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-19 07:36:37 +07:00
13032709e2
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>
56 lines
1.5 KiB
Plaintext
56 lines
1.5 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# MediaTek SoC drivers
|
|
#
|
|
menu "MediaTek SoC drivers"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
|
|
config MTK_CMDQ
|
|
tristate "MediaTek CMDQ Support"
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
select MAILBOX
|
|
select MTK_CMDQ_MBOX
|
|
select MTK_INFRACFG
|
|
help
|
|
Say yes here to add support for the MediaTek Command Queue (CMDQ)
|
|
driver. The CMDQ is used to help read/write registers with critical
|
|
time limitation, such as updating display configuration during the
|
|
vblank.
|
|
|
|
config MTK_INFRACFG
|
|
bool "MediaTek INFRACFG Support"
|
|
select REGMAP
|
|
help
|
|
Say yes here to add support for the MediaTek INFRACFG controller. The
|
|
INFRACFG controller contains various infrastructure registers not
|
|
directly associated to any device.
|
|
|
|
config MTK_PMIC_WRAP
|
|
tristate "MediaTek PMIC Wrapper Support"
|
|
depends on RESET_CONTROLLER
|
|
select REGMAP
|
|
help
|
|
Say yes here to add support for MediaTek PMIC Wrapper found
|
|
on different MediaTek SoCs. The PMIC wrapper is a proprietary
|
|
hardware to connect the PMIC.
|
|
|
|
config MTK_SCPSYS
|
|
bool "MediaTek SCPSYS Support"
|
|
default ARCH_MEDIATEK
|
|
select REGMAP
|
|
select MTK_INFRACFG
|
|
select PM_GENERIC_DOMAINS if PM
|
|
help
|
|
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
|