All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v5 00/15] Ehnahced SSI bus support + M25P80 SPI flash + Xilinx SPI controller
@ 2012-08-06  2:16 Peter A. G. Crosthwaite
  2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 01/15] ssi: Support for multiple attached devices Peter A. G. Crosthwaite
                   ` (14 more replies)
  0 siblings, 15 replies; 39+ messages in thread
From: Peter A. G. Crosthwaite @ 2012-08-06  2:16 UTC (permalink / raw)
  To: qemu-devel, paul, edgar.iglesias, peter.maydell, stefanha
  Cc: peter.crosthwaite, i.mitsyanko, john.williams

This series reworks the SSI bus framework for SPI and add some new SPI controllers and devices:

Patches 1-5 reworks SSI to add chip-select support to SPI devices and allow for multiple SPI devices attach
ed to the same bus.

Patches 6-7 fix the SPI setup in the stellaris machine model.

Patch 8 is a trivial cleanup I did along the way.

Patch 9 is a general FIFO helper API used by the upcomming patches.

Patch 10 is a device model for the m25p80 SPI flash family.

Patches 11 & 13 are the Xilinx SPI flash controller devices

Patches 12 & 14 add SPI controllers to the ML605 and Zynq machine models.

Patch 15 is Maintainerships.

CHANGELOG:
changed from v4 (Major changes):
Completely reworked SPI refactor. Please re-review from scratch.
Added Zynq SPI flash.
Factored out FIFO functionality from SPI flash controller.
changed from v3:
addressed reviewer comments from P Maydell and S Hajnoczi
added patch 5 (re Paul Brooks request)
changed from v2:
folded former SPI bus functionality into existing SSI infrastructure (suggested - Paul Brook) (all patches)
made m25p80 use async io (suggested - Stefan Hajnoczi) (2/4)
instantiated two spi flashes instead of one in ml605 ref design (4/4)
changed from v1:
minor sylistic changes (1/4)
converted spi api to modified txrx style (1-3/4)
heavily refactored m25p80 model (2/4)

Peter A. G. Crosthwaite (15):
  ssi: Support for multiple attached devices
  ssi: Added VMSD stub
  ssi: Implemented CS behaviour
  ssi: Added create_slave_no_init()
  qdev: allow multiple qdev_init_gpio_in() calls
  hw/stellaris: Removed gpio_out init array.
  stellaris: Removed SSI mux
  ssd0323: abort() instead of exit(1) on error.
  hw: Added generic FIFO API.
  m25p80: Initial implementation of SPI flash device
  xilinx_spi: Initial impl. of Xilinx SPI controller
  petalogix-ml605: added SPI controller with n25q128
  xilinx_spips: Xilinx Zynq SPI cntrlr device model
  xilinx_zynq: Added SPI controllers + flashes
  MAINTAINERS: Added maintainerships for SSI

 MAINTAINERS                              |    8 +
 default-configs/arm-softmmu.mak          |    1 +
 default-configs/microblaze-softmmu.mak   |    2 +
 default-configs/microblazeel-softmmu.mak |    2 +
 hw/Makefile.objs                         |    2 +
 hw/ads7846.c                             |    1 +
 hw/arm/Makefile.objs                     |    1 +
 hw/fifo.c                                |   79 ++++
 hw/fifo.h                                |   47 +++
 hw/m25p80.c                              |  572 ++++++++++++++++++++++++++++++
 hw/max111x.c                             |    1 +
 hw/microblaze/Makefile.objs              |    1 +
 hw/petalogix_ml605_mmu.c                 |   28 ++-
 hw/qdev.c                                |   16 +-
 hw/spitz.c                               |    2 +
 hw/ssd0323.c                             |   11 +-
 hw/ssi-sd.c                              |    7 +
 hw/ssi.c                                 |   76 ++++-
 hw/ssi.h                                 |   38 ++
 hw/stellaris.c                           |  111 ++-----
 hw/xilinx_spi.c                          |  390 ++++++++++++++++++++
 hw/xilinx_spips.c                        |  352 ++++++++++++++++++
 hw/xilinx_zynq.c                         |   34 ++
 hw/z2.c                                  |    1 +
 24 files changed, 1675 insertions(+), 108 deletions(-)
 create mode 100644 hw/fifo.c
 create mode 100644 hw/fifo.h
 create mode 100644 hw/m25p80.c
 create mode 100644 hw/xilinx_spi.c
 create mode 100644 hw/xilinx_spips.c

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

end of thread, other threads:[~2012-08-11 19:01 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-06  2:16 [Qemu-devel] [PATCH v5 00/15] Ehnahced SSI bus support + M25P80 SPI flash + Xilinx SPI controller Peter A. G. Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 01/15] ssi: Support for multiple attached devices Peter A. G. Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 02/15] ssi: Added VMSD stub Peter A. G. Crosthwaite
2012-08-06  9:13   ` Peter Maydell
2012-08-06  9:15     ` Peter Maydell
2012-08-10  4:19     ` Peter Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 03/15] ssi: Implemented CS behaviour Peter A. G. Crosthwaite
2012-08-06  9:25   ` Peter Maydell
2012-08-07  5:17     ` Peter Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 04/15] ssi: Added create_slave_no_init() Peter A. G. Crosthwaite
2012-08-06  9:29   ` Peter Maydell
2012-08-07  0:04     ` Peter Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 05/15] qdev: allow multiple qdev_init_gpio_in() calls Peter A. G. Crosthwaite
2012-08-06  9:38   ` Peter Maydell
2012-08-07  0:12     ` Peter Crosthwaite
2012-08-07  8:03       ` Peter Maydell
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 06/15] hw/stellaris: Removed gpio_out init array Peter A. G. Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 07/15] stellaris: Removed SSI mux Peter A. G. Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 08/15] ssd0323: abort() instead of exit(1) on error Peter A. G. Crosthwaite
2012-08-06  9:41   ` Peter Maydell
2012-08-10 23:31     ` Peter Crosthwaite
2012-08-11 19:01       ` Peter Maydell
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 09/15] hw: Added generic FIFO API Peter A. G. Crosthwaite
2012-08-06  9:40   ` Igor Mitsyanko
2012-08-06  9:48   ` Peter Maydell
2012-08-06 12:42     ` Igor Mitsyanko
2012-08-07  6:05     ` Peter Crosthwaite
2012-08-06  9:52   ` Igor Mitsyanko
2012-08-07  6:10     ` Peter Crosthwaite
2012-08-07  6:28       ` Igor Mitsyanko
2012-08-07  6:42         ` Peter Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 10/15] m25p80: Initial implementation of SPI flash device Peter A. G. Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 11/15] xilinx_spi: Initial impl. of Xilinx SPI controller Peter A. G. Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 12/15] petalogix-ml605: added SPI controller with n25q128 Peter A. G. Crosthwaite
2012-08-06  9:50   ` Peter Maydell
2012-08-07  5:24     ` Peter Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 13/15] xilinx_spips: Xilinx Zynq SPI cntrlr device model Peter A. G. Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 14/15] xilinx_zynq: Added SPI controllers + flashes Peter A. G. Crosthwaite
2012-08-06  2:16 ` [Qemu-devel] [PATCH v5 15/15] MAINTAINERS: Added maintainerships for SSI Peter A. G. Crosthwaite

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.