linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/9] Add STM32MP25 SPI NOR support
@ 2025-01-28  8:17 patrice.chotard
  2025-01-28  8:17 ` [PATCH v2 1/9] dt-bindings: spi: Add STM32 OSPI controller patrice.chotard
                   ` (8 more replies)
  0 siblings, 9 replies; 37+ messages in thread
From: patrice.chotard @ 2025-01-28  8:17 UTC (permalink / raw)
  To: Mark Brown, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Alexandre Torgue, Philipp Zabel, Maxime Coquelin,
	Greg Kroah-Hartman, Arnd Bergmann, Catalin Marinas, Will Deacon
  Cc: linux-spi, devicetree, linux-stm32, linux-arm-kernel,
	linux-kernel, christophe.kerello, patrice.chotard

From: Patrice Chotard <patrice.chotard@foss.st.com>

This series adds SPI NOR support for STM32MP25 SoCs from STMicroelectronics,
for that it adds support for:
  - Octo Memory Manager driver.
  - Octo SPI driver.
  - yaml schema for Octo Memory Manager and Octo SPI drivers.

The device tree files adds Octo Memory Manager and associated Octo SPI instances
in stm32mp251.dtsi and adds SPI NOR support in stm32mp257f-ev1 board.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>

Changes in v2:
  - Move STM32 Octo Memory Manager controller driver and bindings from
    misc to memory-controllers.
  - Update STM32 OSPI controller bindings.
  - Update STM32 Octo Memory Manager controller bindings.
  - Update STM32 Octo Memory Manager driver to match bindings update.
  - Update DT to match bindings update.

Patrice Chotard (9):
  dt-bindings: spi: Add STM32 OSPI controller
  spi: stm32: Add OSPI driver
  dt-bindings: memory-controllers: Add STM32 Octo Memory Manager
    controller
  memory: Add STM32 Octo Memory Manager driver
  arm64: dts: st: Add OMM node on stm32mp251
  arm64: dts: st: Add ospi port1 pinctrl entries in
    stm32mp25-pinctrl.dtsi
  arm64: dts: st: Add SPI NOR flash support on stm32mp257f-ev1 board
  arm64: defconfig: Enable STM32 Octo Memory Manager driver
  arm64: defconfig: Enable STM32 OctoSPI driver

 .../memory-controllers/st,stm32-omm.yaml      |  190 +++
 .../bindings/spi/st,stm32mp25-ospi.yaml       |  102 ++
 arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi |   51 +
 arch/arm64/boot/dts/st/stm32mp251.dtsi        |   48 +
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts    |   32 +
 arch/arm64/configs/defconfig                  |    2 +
 drivers/memory/Kconfig                        |   17 +
 drivers/memory/Makefile                       |    1 +
 drivers/memory/stm32_omm.c                    |  509 ++++++++
 drivers/spi/Kconfig                           |   10 +
 drivers/spi/Makefile                          |    1 +
 drivers/spi/spi-stm32-ospi.c                  | 1064 +++++++++++++++++
 12 files changed, 2027 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/st,stm32-omm.yaml
 create mode 100644 Documentation/devicetree/bindings/spi/st,stm32mp25-ospi.yaml
 create mode 100644 drivers/memory/stm32_omm.c
 create mode 100644 drivers/spi/spi-stm32-ospi.c

-- 
2.25.1


^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2025-02-04  8:19 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-28  8:17 [PATCH v2 0/9] Add STM32MP25 SPI NOR support patrice.chotard
2025-01-28  8:17 ` [PATCH v2 1/9] dt-bindings: spi: Add STM32 OSPI controller patrice.chotard
2025-01-28 18:02   ` Conor Dooley
2025-01-29  7:40     ` Krzysztof Kozlowski
2025-01-29  7:53       ` Krzysztof Kozlowski
2025-01-30  9:48       ` Patrice CHOTARD
2025-01-29 17:40     ` Patrice CHOTARD
2025-01-29 17:53       ` Conor Dooley
2025-01-30  8:51         ` Patrice CHOTARD
2025-01-30 10:28         ` Patrice CHOTARD
2025-01-30 12:26           ` Krzysztof Kozlowski
2025-01-30 12:39             ` Patrice CHOTARD
2025-01-28  8:17 ` [PATCH v2 2/9] spi: stm32: Add OSPI driver patrice.chotard
2025-01-28 12:37   ` Mark Brown
2025-01-30  8:55     ` Patrice CHOTARD
2025-01-28  8:17 ` [PATCH v2 3/9] dt-bindings: memory-controllers: Add STM32 Octo Memory Manager controller patrice.chotard
2025-01-29  7:52   ` Krzysztof Kozlowski
2025-01-30  8:57     ` Patrice CHOTARD
2025-01-30 12:12       ` Krzysztof Kozlowski
2025-01-30 13:32         ` Patrice CHOTARD
2025-01-30 15:09           ` Krzysztof Kozlowski
2025-02-03 10:46             ` Patrice CHOTARD
2025-02-03 11:40               ` Krzysztof Kozlowski
2025-02-04  7:29                 ` Patrice CHOTARD
2025-02-04  7:50                   ` Krzysztof Kozlowski
2025-02-04  8:16                     ` Patrice CHOTARD
2025-01-28  8:17 ` [PATCH v2 4/9] memory: Add STM32 Octo Memory Manager driver patrice.chotard
2025-01-28  9:17   ` Philipp Zabel
2025-02-03  7:29     ` Patrice CHOTARD
2025-01-28  8:17 ` [PATCH v2 5/9] arm64: dts: st: Add OMM node on stm32mp251 patrice.chotard
2025-01-28  8:17 ` [PATCH v2 6/9] arm64: dts: st: Add ospi port1 pinctrl entries in stm32mp25-pinctrl.dtsi patrice.chotard
2025-01-28  8:17 ` [PATCH v2 7/9] arm64: dts: st: Add SPI NOR flash support on stm32mp257f-ev1 board patrice.chotard
2025-01-28  8:17 ` [PATCH v2 8/9] arm64: defconfig: Enable STM32 Octo Memory Manager driver patrice.chotard
2025-01-28  8:17 ` [PATCH v2 9/9] arm64: defconfig: Enable STM32 OctoSPI driver patrice.chotard
2025-01-29  9:36   ` Krzysztof Kozlowski
2025-01-29 10:30     ` Krzysztof Kozlowski
2025-01-30  8:56       ` Patrice CHOTARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).