kernel-brax3-ubuntu-touch/drivers/memory/mediatek/Kconfig
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

41 lines
1.2 KiB
Text

# 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