mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
52660e5685
The mmsys driver supports only MT8173 device for now, but like other system controllers is an important piece for other Mediatek devices. Actually it depends on the mt8173 clock specific driver but that dependency is not real as it can build without the clock driver. Instead of depends on a specific model, make the driver depends on the generic ARCH_MEDIATEK and enable by default so other Mediatek devices can start using it without flood the Kconfig. Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com> Tested-by: Hsin-Yi Wang <hsinyi@chromium.org> Link: https://lore.kernel.org/r/20200401201736.2980433-1-enric.balletbo@collabora.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
55 lines
1.4 KiB
Plaintext
55 lines
1.4 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"
|
|
default ARCH_MEDIATEK
|
|
help
|
|
Say yes here to add support for the MediaTek Multimedia
|
|
Subsystem (MMSYS).
|
|
|
|
endmenu
|