xref: /openbmc/linux/drivers/memory/samsung/Kconfig (revision aa5b395b)
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
27endif
28