| # SPDX-License-Identifier: GPL-2.0 | |
| config HAVE_MTK_MC | |
| bool "MediaTek Memory Controller support" | |
| help | |
| Support for the Memory Controller (MC) devices found on | |
| MediaTek(R) SoCs. | |
| This config enables MTK_EMI and MTK_DRAMC for EMI and | |
| DRAMC drivers. | |
| if HAVE_MTK_MC | |
| config MTK_EMI | |
| tristate "MediaTek External Memory Interface driver" | |
| depends on HAVE_MTK_MC | |
| help | |
| This selects the MediaTek(R) EMI driver. | |
| Provide the API for MPU registration, EMI MPU violation handling, | |
| the API for EMI information, the BWL golden setting, | |
| and the sysfs for EMI ISU control. | |
| config MTK_EMI_MPU_TEST | |
| tristate "MediaTek EMI MPU test" | |
| depends on HAVE_MTK_MC | |
| depends on MTK_EMI | |
| help | |
| Enable support for the test of the Mediatek(R) EMI driver. | |
| This driver is mainly for testing purposes. It creates interfaces | |
| for the self-test code of EMI MPU running in the user space. | |
| This driver should not be enabled in the release version. | |
| config MTK_DRAMC | |
| tristate "MediaTek DRAMC driver" | |
| depends on HAVE_MTK_MC | |
| help | |
| This selects the MediaTek(R) DRAMC driver. | |
| Provide the API for DRAMC low power scenario, and the interface | |
| for reporting DRAM information, e.g. DRAM mode register (MR) for | |
| DRAM vendor ID, temperature, and density. | |
| endif |