xref: /linux/drivers/memory/samsung/Kconfig (revision cbac924200b838cfb8d8b1415113d788089dc50b)
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 Samsung Exynos5422 SoC DMC (Dynamic Memory
18	  Controller).  The driver provides support for Dynamic Voltage and
19	  Frequency Scaling in DMC and DRAM. It also supports changing timings
20	  of DRAM running with different frequency. The timings are calculated
21	  based on DT memory information.
22	  If unsure, say Y on devices with Samsung Exynos SoCs.
23
24config EXYNOS_SROM
25	bool "Exynos SROM controller driver" if COMPILE_TEST
26	depends on (ARM && ARCH_EXYNOS) || (COMPILE_TEST && HAS_IOMEM)
27	help
28	  This adds driver for Samsung Exynos SoC SROM controller.  The driver
29	  in basic operation mode only saves and restores SROM registers
30	  during suspend.  If however appropriate device tree configuration
31	  is provided, the driver enables support for external memory
32	  or external devices.
33	  If unsure, say Y on devices with Samsung Exynos SoCs.
34
35endif
36