Skip to content

Add support for i.MX SPI Controller

Jean-Christophe Dubois qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 6 repliesIn review
  2. v13 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4FIFO: Add a FIFO32 implementationinclude/qemu/fifo32.h+206 -01 reply
2/4i.MX: Add the Freescale SPI Controllerhw/ssi/Makefile.objs hw/ssi/imx_spi.c include/hw/ssi/imx_spi.h+564 -01 reply
3/4i.MX: Add SPI controllers to i.MX6 SOChw/arm/fsl-imx6.c include/hw/arm/fsl-imx6.h+35 -01 reply
4/4i.MX: Add SPI NOR FLASH memory to sabrelite board.hw/arm/sabrelite.c+9 -03 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchPeter Maydell
1/4
2/4
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/4] Add support for i.MX SPI Controller

This patch serie adds support for the i.MX SPI controller.

The controller is then added to the i.MX6 SOC implementation to avoid Linux hang during boot because there is no support for the SPI controller and it is waiting for some SPI device response.

We also add a NOR FLASH SPI memory to the sabrelite board to test the SPI implementation.

This patch also adds a FIFO32 implementation as it is part of the i.MX SPI controller basic mechanisms. The FIFO32 is build on top of the existing FIFO8.

Jean-Christophe Dubois (4):
FIFO: Add a FIFO32 implementation
i.MX: Add the Freescale SPI Controller i.MX: Add SPI controllers to i.MX6 SOC i.MX: Add SPI NOR FLASH memory to sabrelite board.

 hw/arm/fsl-imx6.c         |  32 ++++
 hw/arm/sabrelite.c        |   9 +
 hw/ssi/Makefile.objs      |   1 +
 hw/ssi/imx_spi.c          | 459 ++++++++++++++++++++++++++++++++++++++++++++++
 include/hw/arm/fsl-imx6.h |   3 +
 include/hw/ssi/imx_spi.h  | 104 +++++++++++
 include/qemu/fifo32.h     | 206 +++++++++++++++++++++
 7 files changed, 814 insertions(+)
 create mode 100644 hw/ssi/imx_spi.c
 create mode 100644 include/hw/ssi/imx_spi.h
 create mode 100644 include/qemu/fifo32.h
Signature · 1 line
2.5.0