2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-03-17 18:14:34 +08:00
|
|
|
#
|
|
|
|
# MediaTek SoC drivers
|
|
|
|
#
|
2017-10-05 11:17:49 +08:00
|
|
|
menu "MediaTek SoC drivers"
|
|
|
|
depends on ARCH_MEDIATEK || COMPILE_TEST
|
|
|
|
|
2018-11-29 11:37:09 +08:00
|
|
|
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.
|
|
|
|
|
2015-06-24 14:17:02 +08:00
|
|
|
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.
|
|
|
|
|
2015-03-17 18:14:34 +08:00
|
|
|
config MTK_PMIC_WRAP
|
|
|
|
tristate "MediaTek PMIC Wrapper Support"
|
2015-05-27 20:20:55 +08:00
|
|
|
depends on RESET_CONTROLLER
|
2015-03-17 18:14:34 +08:00
|
|
|
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.
|
2015-06-24 14:17:04 +08:00
|
|
|
|
|
|
|
config MTK_SCPSYS
|
|
|
|
bool "MediaTek SCPSYS Support"
|
2016-10-20 16:56:38 +08:00
|
|
|
default ARCH_MEDIATEK
|
2015-06-24 14:17:04 +08:00
|
|
|
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.
|
2017-10-05 11:17:49 +08:00
|
|
|
|
|
|
|
endmenu
|