1# SPDX-License-Identifier: GPL-2.0 2config SAMSUNG_MC 3 bool "Samsung Exynos Memory Controller support" if COMPILE_TEST 4 help 5 Support for the Memory Controller (MC) devices found on 6 Samsung Exynos SoCs. 7 8if SAMSUNG_MC 9 10config EXYNOS5422_DMC 11 tristate "Exynos5422 Dynamic Memory Controller driver" 12 depends on ARCH_EXYNOS || (COMPILE_TEST && HAS_IOMEM) 13 select DDR 14 depends on DEVFREQ_GOV_SIMPLE_ONDEMAND 15 depends on (PM_DEVFREQ && PM_DEVFREQ_EVENT) 16 help 17 This adds driver for Exynos5422 DMC (Dynamic Memory Controller). 18 The driver provides support for Dynamic Voltage and Frequency Scaling in 19 DMC and DRAM. It also supports changing timings of DRAM running with 20 different frequency. The timings are calculated based on DT memory 21 information. 22 23config EXYNOS_SROM 24 bool "Exynos SROM controller driver" if COMPILE_TEST 25 depends on (ARM && ARCH_EXYNOS) || (COMPILE_TEST && HAS_IOMEM) 26 help 27 This adds driver for Samsung Exynos SoC SROM controller. The driver 28 in basic operation mode only saves and restores SROM registers 29 during suspend. If however appropriate device tree configuration 30 is provided, the driver enables support for external memory 31 or external devices. 32 If unsure, say Y on devices with Samsung Exynos SocS. 33 34endif 35