18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ciconfig SAMSUNG_MC
38c2ecf20Sopenharmony_ci	bool "Samsung Exynos Memory Controller support" if COMPILE_TEST
48c2ecf20Sopenharmony_ci	help
58c2ecf20Sopenharmony_ci	  Support for the Memory Controller (MC) devices found on
68c2ecf20Sopenharmony_ci	  Samsung Exynos SoCs.
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciif SAMSUNG_MC
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ciconfig EXYNOS5422_DMC
118c2ecf20Sopenharmony_ci	tristate "Exynos5422 Dynamic Memory Controller driver"
128c2ecf20Sopenharmony_ci	depends on ARCH_EXYNOS || (COMPILE_TEST && HAS_IOMEM)
138c2ecf20Sopenharmony_ci	select DDR
148c2ecf20Sopenharmony_ci	depends on DEVFREQ_GOV_SIMPLE_ONDEMAND
158c2ecf20Sopenharmony_ci	depends on (PM_DEVFREQ && PM_DEVFREQ_EVENT)
168c2ecf20Sopenharmony_ci	help
178c2ecf20Sopenharmony_ci	  This adds driver for Exynos5422 DMC (Dynamic Memory Controller).
188c2ecf20Sopenharmony_ci	  The driver provides support for Dynamic Voltage and Frequency Scaling in
198c2ecf20Sopenharmony_ci	  DMC and DRAM. It also supports changing timings of DRAM running with
208c2ecf20Sopenharmony_ci	  different frequency. The timings are calculated based on DT memory
218c2ecf20Sopenharmony_ci	  information.
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciconfig EXYNOS_SROM
248c2ecf20Sopenharmony_ci	bool "Exynos SROM controller driver" if COMPILE_TEST
258c2ecf20Sopenharmony_ci	depends on (ARM && ARCH_EXYNOS) || (COMPILE_TEST && HAS_IOMEM)
268c2ecf20Sopenharmony_ci	help
278c2ecf20Sopenharmony_ci	  This adds driver for Samsung Exynos SoC SROM controller.  The driver
288c2ecf20Sopenharmony_ci	  in basic operation mode only saves and restores SROM registers
298c2ecf20Sopenharmony_ci	  during suspend.  If however appropriate device tree configuration
308c2ecf20Sopenharmony_ci	  is provided, the driver enables support for external memory
318c2ecf20Sopenharmony_ci	  or external devices.
328c2ecf20Sopenharmony_ci	  If unsure, say Y on devices with Samsung Exynos SocS.
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ciendif
35