Skip to content

Connect the SPI devices to Xilinx's ZynqMP.

Alistair Francis qemu-devel 6 versions – Applied

Status from this message: Applied to target-arm.next (with added g_free calls in patches 5,6), thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest5 of 6 patches 6 repliesApplied
  2. v56 patches 13 repliesSuperseded
  3. v45 patches 4 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v35 patches14 repliesSuperseded
v24 of 5 patches5 repliesSuperseded
v12 of 3 patches10 repliesSuperseded

V6 (From Peter C) from the cover letter

- Allow use of QOM paths for referencing qbusses
- Use Alias to implement bus pinout.

5 of 6 patches are in this archive. The cover letter announces 6.

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/6qdev: get_child_bus(): Use QOM lookup if availablehw/core/qdev.c+6 -02 replies
2/6m25p80.c: Add sst25wf080 SPI flash devicehw/block/m25p80.c+1 -00 replies
3/6ssi: Move ssi.h into a separate directoryhw/arm/pxa2xx.c hw/arm/spitz.c hw/arm/stellaris.c +15 more+23 -210 replies
4/6xilinx_spips: Separate the state struct into a headerhw/ssi/xilinx_spips.c include/hw/ssi/xilinx_spips.h+76 -420 replies
6/6xlnx-ep108: Connect the SPI Flashhw/arm/xlnx-ep108.c+15 -02 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchAlistair FrancisPeter Crosthwaite
1/6A-b
2/6R-b
3/6R-b
4/6R-b
6/6R-b

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

Read the v7 thread

Cover letter [Qemu-devel] [PATCH v7 0/6] Connect the SPI devices to Xilinx's ZynqMP.

I also need to make some changes to the actual SPI device to improve the functionality, but for the time being this works.

V7
- Use g_strdup_printf() for the bus names
V6 (From Peter C):
- Allow use of QOM paths for referencing qbusses
- Use Alias to implement bus pinout.
V5:
- Fix a typo
- Use a qdev API to rename the SPI bus
V4:
- Rebase
- Rename the SPI busses so that they can all be accessed from the SoC
- Only create one SPI flash device
V3:
- Don't reach into the SoC to get the SPI Bus
V2:
- Connect the SPI flash in the board code
- Update git patches to properly indicate rename
- Add sst25wf080 as a SPI flash

Alistair Francis (5):
m25p80.c: Add sst25wf080 SPI flash device
ssi: Move ssi.h into a separate directory
xilinx_spips: Separate the state struct into a header
xlnx-zynqmp: Connect the SPI devices
xlnx-ep108: Connect the SPI Flash

Peter Crosthwaite (1):
qdev: get_child_bus(): Use QOM lookup if available

 hw/arm/pxa2xx.c                     |  2 +-
 hw/arm/spitz.c                      |  2 +-
 hw/arm/stellaris.c                  |  2 +-
 hw/arm/strongarm.c                  |  2 +-
 hw/arm/tosa.c                       |  2 +-
 hw/arm/xilinx_zynq.c                |  2 +-
 hw/arm/xlnx-ep108.c                 | 15 ++++++++
 hw/arm/xlnx-zynqmp.c                | 30 ++++++++++++++++
 hw/arm/z2.c                         |  2 +-
 hw/block/m25p80.c                   |  3 +-
 hw/core/qdev.c                      |  6 ++++
 hw/display/ads7846.c                |  2 +-
 hw/display/ssd0323.c                |  2 +-
 hw/microblaze/petalogix_ml605_mmu.c |  2 +-
 hw/misc/max111x.c                   |  2 +-
 hw/sd/ssi-sd.c                      |  2 +-
 hw/ssi/pl022.c                      |  2 +-
 hw/ssi/ssi.c                        |  2 +-
 hw/ssi/xilinx_spi.c                 |  2 +-
 hw/ssi/xilinx_spips.c               | 48 +++----------------------
 include/hw/arm/xlnx-zynqmp.h        |  3 ++
 include/hw/{ => ssi}/ssi.h          | 10 +++---
 include/hw/ssi/xilinx_spips.h       | 72 +++++++++++++++++++++++++++++++++++++
 23 files changed, 154 insertions(+), 63 deletions(-)
 rename include/hw/{ => ssi}/ssi.h (96%)
 create mode 100644 include/hw/ssi/xilinx_spips.h
Signature · 1 line
2.5.0