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