0001 # SPDX-License-Identifier: GPL-2.0
0002 config SAMSUNG_MC
0003 bool "Samsung Exynos Memory Controller support" if COMPILE_TEST
0004 help
0005 Support for the Memory Controller (MC) devices found on
0006 Samsung Exynos SoCs.
0007
0008 if SAMSUNG_MC
0009
0010 config EXYNOS5422_DMC
0011 tristate "Exynos5422 Dynamic Memory Controller driver"
0012 depends on ARCH_EXYNOS || (COMPILE_TEST && HAS_IOMEM)
0013 select DDR
0014 depends on DEVFREQ_GOV_SIMPLE_ONDEMAND
0015 depends on (PM_DEVFREQ && PM_DEVFREQ_EVENT)
0016 help
0017 This adds driver for Samsung Exynos5422 SoC DMC (Dynamic Memory
0018 Controller). The driver provides support for Dynamic Voltage and
0019 Frequency Scaling in DMC and DRAM. It also supports changing timings
0020 of DRAM running with different frequency. The timings are calculated
0021 based on DT memory information.
0022 If unsure, say Y on devices with Samsung Exynos SoCs.
0023
0024 config EXYNOS_SROM
0025 bool "Exynos SROM controller driver" if COMPILE_TEST
0026 depends on (ARM && ARCH_EXYNOS) || (COMPILE_TEST && HAS_IOMEM)
0027 help
0028 This adds driver for Samsung Exynos SoC SROM controller. The driver
0029 in basic operation mode only saves and restores SROM registers
0030 during suspend. If however appropriate device tree configuration
0031 is provided, the driver enables support for external memory
0032 or external devices.
0033 If unsure, say Y on devices with Samsung Exynos SoCs.
0034
0035 endif