^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # MediaTek SoC drivers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) menu "MediaTek SoC drivers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) depends on ARCH_MEDIATEK || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) config MTK_CMDQ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) tristate "MediaTek CMDQ Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) depends on ARCH_MEDIATEK || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) select MAILBOX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) select MTK_CMDQ_MBOX
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) select MTK_INFRACFG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) Say yes here to add support for the MediaTek Command Queue (CMDQ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) driver. The CMDQ is used to help read/write registers with critical
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) time limitation, such as updating display configuration during the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) vblank.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) config MTK_INFRACFG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) bool "MediaTek INFRACFG Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) select REGMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Say yes here to add support for the MediaTek INFRACFG controller. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) INFRACFG controller contains various infrastructure registers not
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) directly associated to any device.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) config MTK_PMIC_WRAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) tristate "MediaTek PMIC Wrapper Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) depends on RESET_CONTROLLER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) select REGMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) Say yes here to add support for MediaTek PMIC Wrapper found
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) on different MediaTek SoCs. The PMIC wrapper is a proprietary
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) hardware to connect the PMIC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) config MTK_SCPSYS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) bool "MediaTek SCPSYS Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) default ARCH_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) select REGMAP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) select MTK_INFRACFG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) select PM_GENERIC_DOMAINS if PM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) Say yes here to add support for the MediaTek SCPSYS power domain
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) config MTK_MMSYS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) bool "MediaTek MMSYS Support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) default ARCH_MEDIATEK
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) Say yes here to add support for the MediaTek Multimedia
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) Subsystem (MMSYS).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) endmenu