mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
memory: Add STM32 Octo Memory Manager driver
Octo Memory Manager driver (OMM) manages:
- the muxing between 2 OSPI busses and 2 output ports.
There are 4 possible muxing configurations:
- direct mode (no multiplexing): OSPI1 output is on port 1 and OSPI2
output is on port 2
- OSPI1 and OSPI2 are multiplexed over the same output port 1
- swapped mode (no multiplexing), OSPI1 output is on port 2,
OSPI2 output is on port 1
- OSPI1 and OSPI2 are multiplexed over the same output port 2
- the split of the memory area shared between the 2 OSPI instances.
- chip select selection override.
- the time between 2 transactions in multiplexed mode.
- check firewall access.
Signed-off-by: Christophe Kerello <christophe.kerello@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20250428-upstream_ospi_v6-v11-2-1548736fd9d2@foss.st.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
committed by
Krzysztof Kozlowski
parent
4a98ec836a
commit
8181d061dc
@@ -225,6 +225,23 @@ config STM32_FMC2_EBI
|
||||
devices (like SRAM, ethernet adapters, FPGAs, LCD displays, ...) on
|
||||
SOCs containing the FMC2 External Bus Interface.
|
||||
|
||||
config STM32_OMM
|
||||
tristate "STM32 Octo Memory Manager"
|
||||
depends on SPI_STM32_OSPI || COMPILE_TEST
|
||||
help
|
||||
This driver manages the muxing between the 2 OSPI busses and
|
||||
the 2 output ports. There are 4 possible muxing configurations:
|
||||
- direct mode (no multiplexing): OSPI1 output is on port 1 and OSPI2
|
||||
output is on port 2
|
||||
- OSPI1 and OSPI2 are multiplexed over the same output port 1
|
||||
- swapped mode (no multiplexing), OSPI1 output is on port 2,
|
||||
OSPI2 output is on port 1
|
||||
- OSPI1 and OSPI2 are multiplexed over the same output port 2
|
||||
It also manages :
|
||||
- the split of the memory area shared between the 2 OSPI instances.
|
||||
- chip select selection override.
|
||||
- the time between 2 transactions in multiplexed mode.
|
||||
|
||||
source "drivers/memory/samsung/Kconfig"
|
||||
source "drivers/memory/tegra/Kconfig"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user