| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | # |
| 2 | # MediaTek SoC drivers |
| 3 | # |
| 4 | menu "MediaTek SoC drivers" |
| 5 | depends on ARCH_MEDIATEK || COMPILE_TEST |
| 6 | |
| 7 | config MTK_CMDQ |
| 8 | tristate "MediaTek CMDQ Support" |
| 9 | depends on ARCH_MEDIATEK || COMPILE_TEST |
| 10 | select MAILBOX |
| 11 | select MTK_CMDQ_MBOX |
| 12 | select MTK_INFRACFG |
| 13 | help |
| 14 | Say yes here to add support for the MediaTek Command Queue (CMDQ) |
| 15 | driver. The CMDQ is used to help read/write registers with critical |
| 16 | time limitation, such as updating display configuration during the |
| 17 | vblank. |
| 18 | |
| 19 | config MTK_INFRACFG |
| 20 | bool "MediaTek INFRACFG Support" |
| 21 | select REGMAP |
| 22 | help |
| 23 | Say yes here to add support for the MediaTek INFRACFG controller. The |
| 24 | INFRACFG controller contains various infrastructure registers not |
| 25 | directly associated to any device. |
| 26 | |
| 27 | config MTK_DVFSRC |
| 28 | tristate "MediaTek DVFSRC Support" |
| 29 | depends on ARCH_MEDIATEK |
| 30 | default ARCH_MEDIATEK |
| 31 | help |
| 32 | Say yes here to add support for the MediaTek DVFSRC (dynamic voltage |
| 33 | and frequency scaling resource collector) found |
| 34 | on different MediaTek SoCs. The DVFSRC is a proprietary |
| 35 | hardware which is used to collect all the requests from |
| 36 | system and turn into the decision of minimum Vcore voltage |
| 37 | and minimum DRAM frequency to fulfill those requests. |
| 38 | |
| 39 | config MTK_PMIC_WRAP |
| 40 | tristate "MediaTek PMIC Wrapper Support" |
| 41 | select RESET_CONTROLLER |
| 42 | select REGMAP |
| 43 | help |
| 44 | Say yes here to add support for MediaTek PMIC Wrapper found |
| 45 | on different MediaTek SoCs. The PMIC wrapper is a proprietary |
| 46 | hardware to connect the PMIC. |
| 47 | |
| 48 | config MTK_SCPSYS |
| 49 | bool "MediaTek SCPSYS Support" |
| 50 | default ARCH_MEDIATEK |
| 51 | select REGMAP |
| 52 | select MTK_INFRACFG |
| 53 | select PM_GENERIC_DOMAINS if PM |
| 54 | help |
| 55 | Say yes here to add support for the MediaTek SCPSYS power domain |
| 56 | driver. |
| 57 | |
| 58 | config MTK_SCPSYS_BRINGUP |
| 59 | bool "MediaTek SCPSYS bring Up Support" |
| 60 | depends on MTK_SCPSYS |
| 61 | help |
| 62 | Say yes here to support for MediaTek SCPSYS power domain power on |
| 63 | for chip bring up early stage. |
| 64 | This driver is used to turn on the specific power domain for chip |
| 65 | bringing up stage. |
| 66 | |
| 67 | config MTK_MMDVFS |
| 68 | tristate "MediaTek MMDVFS Support" |
| 69 | depends on ARCH_MEDIATEK || COMPILE_TEST |
| 70 | depends on REGULATOR_MTK_DVFSRC |
| 71 | help |
| 72 | Say yes here to add support for the MediaTek Multimedia DVFS (MMDVFS) |
| 73 | driver. The MMDVFS is used to set clk for Mediatek multimedia hardwares |
| 74 | , such as display, camera, mdp and video codec. Say no if your device |
| 75 | does not need to do DVFS for Multimedia hardwares. |
| 76 | |
| 77 | config MTK_LPM |
| 78 | bool "MediaTek Low Power Manager" |
| 79 | depends on ARCH_MEDIATEK |
| 80 | help |
| 81 | Say yes here to add support for the MediaTek Low Power Manager |
| 82 | driver. The mtk-lpm will handle the mtk low power module then |
| 83 | platform could enter deeper sleep mode when cpu preparing to |
| 84 | power down if it have sufficient time between warmboot. |
| 85 | |
| rjw | 3d6a50e | 2023-02-20 13:35:42 +0800 | [diff] [blame] | 86 | #Typethree@2023.2.01 modify for TCXO hw version start |
| 87 | |
| 88 | #Typethree@2023.2.01 modify for TCXO hw version end |
| 89 | |
| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 90 | config MTK_IPI |
| 91 | tristate "MediaTek IPI Support" |
| 92 | depends on RPMSG_MTK |
| 93 | help |
| 94 | Say yes here to add support for the MediaTek IPI between tinysys. |
| 95 | MTK IPI consists of APIs to do Linux to/from uP/DSP communication |
| 96 | based on rpmsg. Synchronization among tasks is also handled by |
| 97 | this layer. If uP/DSP drivers handle by themselves, they can use |
| 98 | rpmsg directly. |
| 99 | |
| 100 | config MTK_MBOX |
| 101 | tristate "MediaTek Mbox Support" |
| 102 | help |
| 103 | Say yes here to add support for the MediaTek Mbox driver. |
| 104 | MTK MBOX is a physical H/W which consists of configurable 128 |
| 105 | or 256 bytes SRAM and 32 bit irq. The driver does read/write |
| 106 | SRAM and IRQ handling. |
| 107 | |
| 108 | menu "Security" |
| 109 | |
| 110 | source "drivers/soc/mediatek/devapc/Kconfig" |
| 111 | |
| 112 | endmenu # Security |
| 113 | |
| 114 | endmenu |