All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH qemu 0/3] hw/arm: Add STM32L496G-DISCO QuadSPI support
@ 2026-11-12 15:03 ~mohammadodeh
  2026-09-27  7:08 ` [PATCH qemu 1/3] hw/block: Add Macronix MX25R6435F flash ~mohammadodeh
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: ~mohammadodeh @ 2026-11-12 15:03 UTC (permalink / raw)
  To: qemu-devel
  Cc: Alexandre Iooss, Pierrick Bouvier, Peter Maydell, Paolo Bonzini,
	Samuel Tardieu, Alistair Francis, Kevin Wolf, Hanna Reitz,
	Fabiano Rosas, Laurent Vivier, Philippe Mathieu-Daudé,
	Markus Armbruster, Cédric Le Goater, Bernhard Beschow,
	Gaurav Sharma, Jan Kiszka, Bin Meng, Shameer Kolothum, Jamin Lin,
	Marc-André Lureau, qemu-arm, qemu-block

Add initial QEMU support for the STM32L496G-DISCO Discovery kit and
its MX25R6435F QuadSPI flash.

The series adds the flash model, the shared STM32L4x5 QuadSPI
controller, and the STM32L496xG SoC and board definitions.

The controller supports indirect reads and writes with a 16-byte FIFO,
enable and abort handling, address bounds checks, undefined-length
transfers, partial register accesses, and migration state restoration.

The board qtest has 21 passing cases covering identification, SFDP,
program/read transfers, FIFO behavior, single/dual/quad read frames,
error handling, and migration.

Transfer timing, automatic polling, memory-mapped mode, DMA, DDR,
SIOO, and dual-flash operation are not implemented.

Mohammad Odeh (3):
  hw/block: Add Macronix MX25R6435F flash
  hw/ssi: Add STM32L4x5 QuadSPI controller
  hw/arm: Add STM32L496G-DISCO machine

 MAINTAINERS                          |   9 +
 docs/system/arm/stm32.rst            |   1 +
 docs/system/arm/stm32l496g-disco.rst |  43 ++
 docs/system/target-arm.rst           |   1 +
 hw/arm/Kconfig                       |   8 +
 hw/arm/meson.build                   |   1 +
 hw/arm/stm32l496g-disco.c            |  95 ++++
 hw/arm/stm32l4x5_soc.c               |  42 +-
 hw/block/m25p80.c                    |   5 +
 hw/block/m25p80_sfdp.c               |  20 +
 hw/block/m25p80_sfdp.h               |   1 +
 hw/ssi/Kconfig                       |   4 +
 hw/ssi/meson.build                   |   1 +
 hw/ssi/stm32l4x5_quadspi.c           | 680 ++++++++++++++++++++++++++
 include/hw/arm/stm32l4x5_soc.h       |   5 +
 include/hw/ssi/stm32l4x5_quadspi.h   |  51 ++
 tests/qtest/meson.build              |   1 +
 tests/qtest/stm32l496g-disco-test.c  | 693 +++++++++++++++++++++++++++
 18 files changed, 1657 insertions(+), 4 deletions(-)
 create mode 100644 docs/system/arm/stm32l496g-disco.rst
 create mode 100644 hw/arm/stm32l496g-disco.c
 create mode 100644 hw/ssi/stm32l4x5_quadspi.c
 create mode 100644 include/hw/ssi/stm32l4x5_quadspi.h
 create mode 100644 tests/qtest/stm32l496g-disco-test.c

-- 
2.49.1


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

end of thread, other threads:[~2026-11-14 10:51 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-12 15:03 [PATCH qemu 0/3] hw/arm: Add STM32L496G-DISCO QuadSPI support ~mohammadodeh
2026-09-27  7:08 ` [PATCH qemu 1/3] hw/block: Add Macronix MX25R6435F flash ~mohammadodeh
2026-11-14 10:20   ` Samuel Tardieu
2026-09-27  7:09 ` [PATCH qemu 2/3] hw/ssi: Add STM32L4x5 QuadSPI controller ~mohammadodeh
2026-09-27  7:32 ` [PATCH qemu 3/3] hw/arm: Add STM32L496G-DISCO machine ~mohammadodeh
2026-11-14 10:40   ` Samuel Tardieu
2026-11-14 10:49   ` Peter Maydell
2026-11-14 10:22 ` [PATCH qemu 0/3] hw/arm: Add STM32L496G-DISCO QuadSPI support Samuel Tardieu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.