[PATCH v2 0/5] stm32mp2: Add SPI flashes support

Patrice Chotard patrice.chotard at foss.st.com
Thu Sep 11 08:59:39 CEST 2025


This series introduces 2 new drivers:
  _ STM32 Octo Memory Manager driver
  _ STM32 OSPI driver

It adds resource check helpers which are used by OMM driver.
It adds and enables OMM and OSPI driver support for stm32mp257f-ev1 board


Changes in v2:
  - Add stm32-omm.c in MAINTAINERS file
  - Add stm32_ospi.c in MAINTAINERS file
  - Collected reviewed-by from Patrick

Patrice Chotard (5):
  ioport: Add resource check helpers
  memory: Add STM32 Octo Memory Manager driver
  spi: Add STM32MP2 Octo-SPI driver support
  configs: stm32mp25: Enable configs flags related to SPI flashes.
  ARM: dts: Add flash0 partitions for stm32mp257f-ev1-u-boot

 MAINTAINERS                              |   2 +
 arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi |  41 ++
 configs/stm32mp25_defconfig              |  15 +-
 drivers/memory/Kconfig                   |  17 +
 drivers/memory/Makefile                  |   1 +
 drivers/memory/stm32_omm.c               | 421 +++++++++++++++
 drivers/spi/Kconfig                      |   8 +
 drivers/spi/Makefile                     |   1 +
 drivers/spi/stm32_ospi.c                 | 623 +++++++++++++++++++++++
 include/linux/ioport.h                   |  16 +
 10 files changed, 1144 insertions(+), 1 deletion(-)
 create mode 100644 drivers/memory/stm32_omm.c
 create mode 100644 drivers/spi/stm32_ospi.c

-- 
2.25.1

base-commit: 4a41a331efc4c6937cf4d2723282ca4d136cfb2b
branch: upstream_OSPI_v2


More information about the U-Boot mailing list