1 # SPDX-License-Identifier: GPL-2.0-only
7 bool "Memory Controller drivers"
9 This option allows to enable specific memory controller drivers,
10 useful mostly on embedded systems. These could be controllers
11 for DRAM (SDR, DDR), ROM, SRAM and others. The drivers features
12 vary from memory tuning and frequency scaling to enabling
13 access to attached peripherals through memory bus.
20 Data from JEDEC specs for DDR SDRAM memories,
21 particularly the AC timing parameters and addressing
22 information. This data is useful for drivers handling
23 DDR SDRAM controllers.
26 tristate "ARM PL172 MPMC driver"
27 depends on ARM_AMBA && OF
29 This selects the ARM PrimeCell PL172 MultiPort Memory Controller.
30 If you have an embedded system with an AMBA bus and a PL172
31 controller, say Y or M here.
34 bool "Atmel (Multi-port DDR-)SDRAM Controller"
35 default y if ARCH_AT91
36 depends on ARCH_AT91 || COMPILE_TEST
39 This driver is for Atmel SDRAM Controller or Atmel Multi-port
40 DDR-SDRAM Controller available on Atmel AT91SAM9 and SAMA5 SoCs.
41 Starting with the at91sam9g45, this controller supports SDR, DDR and
45 bool "Atmel EBI driver"
46 default y if ARCH_AT91
47 depends on ARCH_AT91 || COMPILE_TEST
52 Driver for Atmel EBI controller.
53 Used to configure the EBI (external bus interface) when the device-
54 tree is used. This bus supports NANDs, external ethernet controller,
55 SRAMs, ATA devices, etc.
58 tristate "Broadcom STB DPFE driver"
60 depends on ARCH_BRCMSTB || COMPILE_TEST
62 This driver provides access to the DPFE interface of Broadcom
63 STB SoCs. The firmware running on the DCPU inside the DDR PHY can
64 provide current information about the system's RAM, for instance
65 the DRAM refresh rate. This can be used as an indirect indicator
66 for the DRAM's temperature. Slower refresh rate means cooler RAM,
67 higher refresh rate means hotter RAM.
70 bool "Baikal-T1 CM2 L2-RAM Cache Control Block"
71 depends on MIPS_BAIKAL_T1 || COMPILE_TEST
74 Baikal-T1 CPU is based on the MIPS P5600 Warrior IP-core. The CPU
75 resides Coherency Manager v2 with embedded 1MB L2-cache. It's
76 possible to tune the L2 cache performance up by setting the data,
77 tags and way-select latencies of RAM access. This driver provides a
78 dt properties-based and sysfs interface for it.
81 tristate "Texas Instruments AEMIF driver"
82 depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST
85 This driver is for the AEMIF module available in Texas Instruments
86 SoCs. AEMIF stands for Asynchronous External Memory Interface and
87 is intended to provide a glue-less interface to a variety of
88 asynchronuous memory devices like ASRAM, NOR and NAND memory. A total
89 of 256M bytes of any of these memories can be accessed at a given
90 time via four chip selects with 64M byte access per chip select.
93 tristate "Texas Instruments EMIF driver"
94 depends on ARCH_OMAP2PLUS || COMPILE_TEST
97 This driver is for the EMIF module available in Texas Instruments
98 SoCs. EMIF is an SDRAM controller that, based on its revision,
99 supports one or more of DDR2, DDR3, and LPDDR2 SDRAM protocols.
100 This driver takes care of only LPDDR2 memories presently. The
101 functions of the driver includes re-configuring AC timing
102 parameters and other settings during frequency, voltage and
106 tristate "Texas Instruments OMAP SoC GPMC driver"
107 depends on OF_ADDRESS
108 depends on ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
111 This driver is for the General Purpose Memory Controller (GPMC)
112 present on Texas Instruments SoCs (e.g. OMAP2+). GPMC allows
113 interfacing to a variety of asynchronous as well as synchronous
114 memory drives like NOR, NAND, OneNAND, SRAM.
116 config OMAP_GPMC_DEBUG
117 bool "Enable GPMC debug output and skip reset of GPMC during init"
120 Enables verbose debugging mostly to decode the bootloader provided
121 timings. To preserve the bootloader provided timings, the reset
122 of GPMC is skipped during init. Enable this during development to
123 configure devices connected to the GPMC bus.
125 NOTE: In addition to matching the register setup with the bootloader
126 you also need to match the GPMC FCLK frequency used by the
127 bootloader or else the GPMC timings won't be identical with the
131 tristate "Texas Instruments EMIF SRAM driver"
132 depends on SOC_AM33XX || SOC_AM43XX || (ARM && CPU_V7 && COMPILE_TEST)
135 This driver is for the EMIF module available on Texas Instruments
136 AM33XX and AM43XX SoCs and is required for PM. Certain parts of
137 the EMIF PM code must run from on-chip SRAM late in the suspend
138 sequence so this driver provides several relocatable PM functions
139 for the SoC PM code to use.
142 tristate "FPGA DFL EMIF Driver"
143 depends on FPGA_DFL && HAS_IOMEM
145 This driver is for the EMIF private feature implemented under
146 FPGA Device Feature List (DFL) framework. It is used to expose
147 memory interface status information as well as memory clearing
151 bool "Marvell EBU Device Bus Controller"
152 default y if PLAT_ORION
153 depends on PLAT_ORION || COMPILE_TEST
156 This driver is for the Device Bus controller available in some
157 Marvell EBU SoCs such as Discovery (mv78xx0), Orion (88f5xxx) and
158 Armada 370 and Armada XP. This controller allows to handle flash
159 devices such as NOR, NAND, SRAM, and FPGA.
161 config FSL_CORENET_CF
162 tristate "Freescale CoreNet Error Reporting"
163 depends on FSL_SOC_BOOKE || COMPILE_TEST
165 Say Y for reporting of errors from the Freescale CoreNet
166 Coherency Fabric. Errors reported include accesses to
167 physical addresses that mapped by no local access window
168 (LAW) or an invalid LAW, as well as bad cache state that
169 represents a coherency violation.
172 bool "Freescale IFC driver" if COMPILE_TEST
173 depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
177 bool "Ingenic JZ4780 SoC NEMC driver"
178 depends on MIPS || COMPILE_TEST
179 depends on HAS_IOMEM && OF
181 This driver is for the NAND/External Memory Controller (NEMC) in
182 the Ingenic JZ4780. This controller is used to handle external
183 memory devices such as NAND and SRAM.
186 tristate "MediaTek SoC Memory Controller driver" if COMPILE_TEST
187 depends on ARCH_MEDIATEK || COMPILE_TEST
189 This driver is for the Memory Controller module in MediaTek SoCs,
190 mainly help enable/disable iommu and control the power domain and
191 clocks for each local arbiter.
194 bool "Texas Instruments da8xx DDR2/mDDR driver"
195 depends on ARCH_DAVINCI_DA8XX || COMPILE_TEST
197 This driver is for the DDR2/mDDR Memory Controller present on
198 Texas Instruments da8xx SoCs. It's used to tweak various memory
199 controller configuration options.
202 tristate "ARM PL35X Static Memory Controller(SMC) driver"
204 depends on ARM || COMPILE_TEST
207 This driver is for the ARM PL351/PL353 Static Memory
208 Controller(SMC) module.
211 tristate "Renesas RPC-IF driver"
212 depends on ARCH_RENESAS || COMPILE_TEST
214 select RESET_CONTROLLER
216 This supports Renesas R-Car Gen3 or RZ/G2 RPC-IF which provides
217 either SPI host or HyperFlash. You'll have to select individual
218 components under the corresponding menu.
220 config STM32_FMC2_EBI
221 tristate "Support for FMC2 External Bus Interface on STM32MP SoCs"
222 depends on MACH_STM32MP157 || COMPILE_TEST
225 Select this option to enable the STM32 FMC2 External Bus Interface
226 controller. This driver configures the transactions with external
227 devices (like SRAM, ethernet adapters, FPGAs, LCD displays, ...) on
228 SOCs containing the FMC2 External Bus Interface.
230 source "drivers/memory/samsung/Kconfig"
231 source "drivers/memory/tegra/Kconfig"