Skip to content

Commit 66b8173

Browse files
Christophe Kerellomiquelraynal
authored andcommitted
memory: stm32-fmc2-ebi: add STM32 FMC2 EBI controller driver
The driver adds the support for the STMicroelectronics FMC2 EBI controller found on STM32MP SOCs. Signed-off-by: Christophe Kerello <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent 1ab2f86 commit 66b8173

File tree

3 files changed

+1217
-0
lines changed

3 files changed

+1217
-0
lines changed

drivers/memory/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,16 @@ config PL353_SMC
174174
This driver is for the ARM PL351/PL353 Static Memory
175175
Controller(SMC) module.
176176

177+
config STM32_FMC2_EBI
178+
tristate "Support for FMC2 External Bus Interface on STM32MP SoCs"
179+
depends on MACH_STM32MP157 || COMPILE_TEST
180+
select MFD_SYSCON
181+
help
182+
Select this option to enable the STM32 FMC2 External Bus Interface
183+
controller. This driver configures the transactions with external
184+
devices (like SRAM, ethernet adapters, FPGAs, LCD displays, ...) on
185+
SOCs containing the FMC2 External Bus Interface.
186+
177187
source "drivers/memory/samsung/Kconfig"
178188
source "drivers/memory/tegra/Kconfig"
179189

drivers/memory/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ obj-$(CONFIG_JZ4780_NEMC) += jz4780-nemc.o
2222
obj-$(CONFIG_MTK_SMI) += mtk-smi.o
2323
obj-$(CONFIG_DA8XX_DDRCTL) += da8xx-ddrctl.o
2424
obj-$(CONFIG_PL353_SMC) += pl353-smc.o
25+
obj-$(CONFIG_STM32_FMC2_EBI) += stm32-fmc2-ebi.o
2526

2627
obj-$(CONFIG_SAMSUNG_MC) += samsung/
2728
obj-$(CONFIG_TEGRA_MC) += tegra/

0 commit comments

Comments
 (0)