162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciconfig SAMSUNG_MC
362306a36Sopenharmony_ci	bool "Samsung Exynos Memory Controller support" if COMPILE_TEST
462306a36Sopenharmony_ci	help
562306a36Sopenharmony_ci	  Support for the Memory Controller (MC) devices found on
662306a36Sopenharmony_ci	  Samsung Exynos SoCs.
762306a36Sopenharmony_ci
862306a36Sopenharmony_ciif SAMSUNG_MC
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciconfig EXYNOS5422_DMC
1162306a36Sopenharmony_ci	tristate "Exynos5422 Dynamic Memory Controller driver"
1262306a36Sopenharmony_ci	depends on ARCH_EXYNOS || (COMPILE_TEST && HAS_IOMEM)
1362306a36Sopenharmony_ci	select DDR
1462306a36Sopenharmony_ci	depends on DEVFREQ_GOV_SIMPLE_ONDEMAND
1562306a36Sopenharmony_ci	depends on (PM_DEVFREQ && PM_DEVFREQ_EVENT)
1662306a36Sopenharmony_ci	help
1762306a36Sopenharmony_ci	  This adds driver for Samsung Exynos5422 SoC DMC (Dynamic Memory
1862306a36Sopenharmony_ci	  Controller).  The driver provides support for Dynamic Voltage and
1962306a36Sopenharmony_ci	  Frequency Scaling in DMC and DRAM. It also supports changing timings
2062306a36Sopenharmony_ci	  of DRAM running with different frequency. The timings are calculated
2162306a36Sopenharmony_ci	  based on DT memory information.
2262306a36Sopenharmony_ci	  If unsure, say Y on devices with Samsung Exynos SoCs.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciconfig EXYNOS_SROM
2562306a36Sopenharmony_ci	bool "Exynos SROM controller driver" if COMPILE_TEST
2662306a36Sopenharmony_ci	depends on (ARM && ARCH_EXYNOS) || (COMPILE_TEST && HAS_IOMEM)
2762306a36Sopenharmony_ci	help
2862306a36Sopenharmony_ci	  This adds driver for Samsung Exynos SoC SROM controller.  The driver
2962306a36Sopenharmony_ci	  in basic operation mode only saves and restores SROM registers
3062306a36Sopenharmony_ci	  during suspend.  If however appropriate device tree configuration
3162306a36Sopenharmony_ci	  is provided, the driver enables support for external memory
3262306a36Sopenharmony_ci	  or external devices.
3362306a36Sopenharmony_ci	  If unsure, say Y on devices with Samsung Exynos SoCs.
3462306a36Sopenharmony_ci
3562306a36Sopenharmony_ciendif
36