xref: /linux-6.15/drivers/memory/Kconfig (revision ec8f24b7)
1*ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
27ec94453SAneesh V#
37ec94453SAneesh V# Memory devices
47ec94453SAneesh V#
57ec94453SAneesh V
67ec94453SAneesh Vmenuconfig MEMORY
77ec94453SAneesh V	bool "Memory Controller drivers"
87ec94453SAneesh V
97ec94453SAneesh Vif MEMORY
107ec94453SAneesh V
1117c50b70SJoachim Eastwoodconfig ARM_PL172_MPMC
1217c50b70SJoachim Eastwood	tristate "ARM PL172 MPMC driver"
1317c50b70SJoachim Eastwood	depends on ARM_AMBA && OF
1417c50b70SJoachim Eastwood	help
1517c50b70SJoachim Eastwood	  This selects the ARM PrimeCell PL172 MultiPort Memory Controller.
1617c50b70SJoachim Eastwood	  If you have an embedded system with an AMBA bus and a PL172
1717c50b70SJoachim Eastwood	  controller, say Y or M here.
1817c50b70SJoachim Eastwood
19e81b6abeSAlexandre Belloniconfig ATMEL_SDRAMC
20e81b6abeSAlexandre Belloni	bool "Atmel (Multi-port DDR-)SDRAM Controller"
21e81b6abeSAlexandre Belloni	default y
22e81b6abeSAlexandre Belloni	depends on ARCH_AT91 && OF
23e81b6abeSAlexandre Belloni	help
24e81b6abeSAlexandre Belloni	  This driver is for Atmel SDRAM Controller or Atmel Multi-port
25e81b6abeSAlexandre Belloni	  DDR-SDRAM Controller available on Atmel AT91SAM9 and SAMA5 SoCs.
26e81b6abeSAlexandre Belloni	  Starting with the at91sam9g45, this controller supports SDR, DDR and
27e81b6abeSAlexandre Belloni	  LP-DDR memories.
28e81b6abeSAlexandre Belloni
296a4ec4cdSBoris Brezillonconfig ATMEL_EBI
306a4ec4cdSBoris Brezillon	bool "Atmel EBI driver"
316a4ec4cdSBoris Brezillon	default y
326a4ec4cdSBoris Brezillon	depends on ARCH_AT91 && OF
336a4ec4cdSBoris Brezillon	select MFD_SYSCON
348eb8c7d8SBoris Brezillon	select MFD_ATMEL_SMC
356a4ec4cdSBoris Brezillon	help
366a4ec4cdSBoris Brezillon	  Driver for Atmel EBI controller.
376a4ec4cdSBoris Brezillon	  Used to configure the EBI (external bus interface) when the device-
386a4ec4cdSBoris Brezillon	  tree is used. This bus supports NANDs, external ethernet controller,
396a4ec4cdSBoris Brezillon	  SRAMs, ATA devices, etc.
406a4ec4cdSBoris Brezillon
415a7c8154SIvan Khoronzhukconfig TI_AEMIF
425a7c8154SIvan Khoronzhuk	tristate "Texas Instruments AEMIF driver"
435a7c8154SIvan Khoronzhuk	depends on (ARCH_DAVINCI || ARCH_KEYSTONE) && OF
445a7c8154SIvan Khoronzhuk	help
455a7c8154SIvan Khoronzhuk	  This driver is for the AEMIF module available in Texas Instruments
465a7c8154SIvan Khoronzhuk	  SoCs. AEMIF stands for Asynchronous External Memory Interface and
475a7c8154SIvan Khoronzhuk	  is intended to provide a glue-less interface to a variety of
485a7c8154SIvan Khoronzhuk	  asynchronuous memory devices like ASRAM, NOR and NAND memory. A total
495a7c8154SIvan Khoronzhuk	  of 256M bytes of any of these memories can be accessed at a given
505a7c8154SIvan Khoronzhuk	  time via four chip selects with 64M byte access per chip select.
515a7c8154SIvan Khoronzhuk
527ec94453SAneesh Vconfig TI_EMIF
537ec94453SAneesh V	tristate "Texas Instruments EMIF driver"
5418e9a971SSantosh Shilimkar	depends on ARCH_OMAP2PLUS
557ec94453SAneesh V	select DDR
567ec94453SAneesh V	help
577ec94453SAneesh V	  This driver is for the EMIF module available in Texas Instruments
587ec94453SAneesh V	  SoCs. EMIF is an SDRAM controller that, based on its revision,
597ec94453SAneesh V	  supports one or more of DDR2, DDR3, and LPDDR2 SDRAM protocols.
607ec94453SAneesh V	  This driver takes care of only LPDDR2 memories presently. The
617ec94453SAneesh V	  functions of the driver includes re-configuring AC timing
627ec94453SAneesh V	  parameters and other settings during frequency, voltage and
637ec94453SAneesh V	  temperature changes
647ec94453SAneesh V
6518640193STony Lindgrenconfig OMAP_GPMC
6618640193STony Lindgren	bool
67d2d00862SRoger Quadros	select GPIOLIB
6818640193STony Lindgren	help
6918640193STony Lindgren	  This driver is for the General Purpose Memory Controller (GPMC)
7018640193STony Lindgren	  present on Texas Instruments SoCs (e.g. OMAP2+). GPMC allows
7118640193STony Lindgren	  interfacing to a variety of asynchronous as well as synchronous
7218640193STony Lindgren	  memory drives like NOR, NAND, OneNAND, SRAM.
7318640193STony Lindgren
7463aa945bSTony Lindgrenconfig OMAP_GPMC_DEBUG
75be59b619STony Lindgren	bool "Enable GPMC debug output and skip reset of GPMC during init"
7663aa945bSTony Lindgren	depends on OMAP_GPMC
7763aa945bSTony Lindgren	help
7863aa945bSTony Lindgren	  Enables verbose debugging mostly to decode the bootloader provided
79be59b619STony Lindgren	  timings. To preserve the bootloader provided timings, the reset
80be59b619STony Lindgren	  of GPMC is skipped during init. Enable this during development to
81be59b619STony Lindgren	  configure devices connected to the GPMC bus.
82be59b619STony Lindgren
83be59b619STony Lindgren	  NOTE: In addition to matching the register setup with the bootloader
84be59b619STony Lindgren	  you also need to match the GPMC FCLK frequency used by the
85be59b619STony Lindgren	  bootloader or else the GPMC timings won't be identical with the
86be59b619STony Lindgren	  bootloader timings.
8763aa945bSTony Lindgren
888428e5adSDave Gerlachconfig TI_EMIF_SRAM
898428e5adSDave Gerlach	tristate "Texas Instruments EMIF SRAM driver"
908428e5adSDave Gerlach	depends on (SOC_AM33XX || SOC_AM43XX) && SRAM
918428e5adSDave Gerlach	help
928428e5adSDave Gerlach	  This driver is for the EMIF module available on Texas Instruments
938428e5adSDave Gerlach	  AM33XX and AM43XX SoCs and is required for PM. Certain parts of
948428e5adSDave Gerlach	  the EMIF PM code must run from on-chip SRAM late in the suspend
958428e5adSDave Gerlach	  sequence so this driver provides several relocatable PM functions
968428e5adSDave Gerlach	  for the SoC PM code to use.
978428e5adSDave Gerlach
983edad321SEzequiel Garciaconfig MVEBU_DEVBUS
993edad321SEzequiel Garcia	bool "Marvell EBU Device Bus Controller"
1003edad321SEzequiel Garcia	default y
1013edad321SEzequiel Garcia	depends on PLAT_ORION && OF
1023edad321SEzequiel Garcia	help
1033edad321SEzequiel Garcia	  This driver is for the Device Bus controller available in some
1043edad321SEzequiel Garcia	  Marvell EBU SoCs such as Discovery (mv78xx0), Orion (88f5xxx) and
1053edad321SEzequiel Garcia	  Armada 370 and Armada XP. This controller allows to handle flash
1063edad321SEzequiel Garcia	  devices such as NOR, NAND, SRAM, and FPGA.
1073edad321SEzequiel Garcia
10854afbec0SScott Woodconfig FSL_CORENET_CF
10954afbec0SScott Wood	tristate "Freescale CoreNet Error Reporting"
11054afbec0SScott Wood	depends on FSL_SOC_BOOKE
11154afbec0SScott Wood	help
11254afbec0SScott Wood	  Say Y for reporting of errors from the Freescale CoreNet
11354afbec0SScott Wood	  Coherency Fabric.  Errors reported include accesses to
11454afbec0SScott Wood	  physical addresses that mapped by no local access window
11554afbec0SScott Wood	  (LAW) or an invalid LAW, as well as bad cache state that
11654afbec0SScott Wood	  represents a coherency violation.
11754afbec0SScott Wood
11842d87b18SPaul Gortmakerconfig FSL_IFC
11942d87b18SPaul Gortmaker	bool
120b30a2bd4SBoris Brezillon	depends on FSL_SOC || ARCH_LAYERSCAPE || SOC_LS1021A || COMPILE_TEST
121b30a2bd4SBoris Brezillon	depends on HAS_IOMEM
12242d87b18SPaul Gortmaker
123911a8882SAlex Smithconfig JZ4780_NEMC
124911a8882SAlex Smith	bool "Ingenic JZ4780 SoC NEMC driver"
125911a8882SAlex Smith	default y
126ab99e110SBoris Brezillon	depends on MACH_JZ4780 || COMPILE_TEST
12716909c81SAnders Roxell	depends on HAS_IOMEM && OF
128911a8882SAlex Smith	help
129911a8882SAlex Smith	  This driver is for the NAND/External Memory Controller (NEMC) in
130911a8882SAlex Smith	  the Ingenic JZ4780. This controller is used to handle external
131911a8882SAlex Smith	  memory devices such as NAND and SRAM.
132911a8882SAlex Smith
133cc8bbe1aSYong Wuconfig MTK_SMI
134cc8bbe1aSYong Wu	bool
135cc8bbe1aSYong Wu	depends on ARCH_MEDIATEK || COMPILE_TEST
136cc8bbe1aSYong Wu	help
137cc8bbe1aSYong Wu	  This driver is for the Memory Controller module in MediaTek SoCs,
138cc8bbe1aSYong Wu	  mainly help enable/disable iommu and control the power domain and
139cc8bbe1aSYong Wu	  clocks for each local arbiter.
140cc8bbe1aSYong Wu
14162a8a739SBartosz Golaszewskiconfig DA8XX_DDRCTL
14262a8a739SBartosz Golaszewski	bool "Texas Instruments da8xx DDR2/mDDR driver"
14362a8a739SBartosz Golaszewski	depends on ARCH_DAVINCI_DA8XX
14462a8a739SBartosz Golaszewski	help
14562a8a739SBartosz Golaszewski	  This driver is for the DDR2/mDDR Memory Controller present on
14662a8a739SBartosz Golaszewski	  Texas Instruments da8xx SoCs. It's used to tweak various memory
14762a8a739SBartosz Golaszewski	  controller configuration options.
14862a8a739SBartosz Golaszewski
149fee10bd2SNaga Sureshkumar Relliconfig PL353_SMC
150fee10bd2SNaga Sureshkumar Relli	tristate "ARM PL35X Static Memory Controller(SMC) driver"
151fee10bd2SNaga Sureshkumar Relli	default y
152fee10bd2SNaga Sureshkumar Relli	depends on ARM
153fee10bd2SNaga Sureshkumar Relli	depends on ARM_AMBA
154fee10bd2SNaga Sureshkumar Relli	help
155fee10bd2SNaga Sureshkumar Relli	  This driver is for the ARM PL351/PL353 Static Memory
156fee10bd2SNaga Sureshkumar Relli	  Controller(SMC) module.
157fee10bd2SNaga Sureshkumar Relli
158a8aabb91SPankaj Dubeysource "drivers/memory/samsung/Kconfig"
15989184651SThierry Redingsource "drivers/memory/tegra/Kconfig"
16089184651SThierry Reding
1617ec94453SAneesh Vendif
162