From: "Peter A. G. Crosthwaite" <peter.crosthwaite@petalogix.com>
To: qemu-devel@nongnu.org, paul@codesourcery.com,
edgar.iglesias@gmail.com, peter.maydell@linaro.org,
stefanha@gmail.com
Cc: peter.crosthwaite@petalogix.com, john.williams@petalogix.com
Subject: [Qemu-devel] [PATCH V4 0/5] Ehnahced SSI bus support + M25P80 SPI flash + Xilinx SPI controller
Date: Mon, 4 Jun 2012 18:08:19 +1000 [thread overview]
Message-ID: <cover.1338796049.git.peter.crosthwaite@petalogix.com> (raw)
Patch 1 Enhances SSI bus support to properly support multiple attached devices. An api is provided for SSI/SPI masters to select a particular device attached to the bus.
Patch 2 is a device model for the m25p80 style SPI flash chip.
Patch 3 is the Xilinx XPS SPI contoller. Its a sysbus device that instantiates a ssi bus, and interfaces the two (as per the controllers functionality)
Patch 4 instantiates the XPS SPI controller in the petalogix ML605 reference platform and connects two m25p80s to it.
Patch 5 updates the stellaris machine model to use the multi slave SSI support
CHANGELOG:
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 (5):
SSI: Built in multiple device support
m25p80: initial verion
xilinx_spi: initial version
petalogix-ml605: added spi controller with m25p80
stellaris: Updated spi bus implementation
Makefile.target | 2 +
default-configs/microblaze-softmmu.mak | 1 +
default-configs/microblazeel-softmmu.mak | 1 +
hw/m25p80.c | 557 ++++++++++++++++++++++++++++++
hw/petalogix_ml605_mmu.c | 23 ++
hw/spitz.c | 8 +-
hw/ssi.c | 107 +++++-
hw/ssi.h | 28 ++-
hw/stellaris.c | 21 +-
hw/tosa.c | 2 +-
hw/xilinx_spi.c | 481 ++++++++++++++++++++++++++
hw/z2.c | 2 +-
12 files changed, 1196 insertions(+), 37 deletions(-)
create mode 100644 hw/m25p80.c
create mode 100644 hw/xilinx_spi.c
--
1.7.3.2
next reply other threads:[~2012-06-04 8:08 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-04 8:08 Peter A. G. Crosthwaite [this message]
2012-06-04 8:08 ` [Qemu-devel] [PATCH V4 1/5] SSI: Built in multiple device support Peter A. G. Crosthwaite
2012-06-04 8:08 ` [Qemu-devel] [PATCH V4 2/5] m25p80: initial verion Peter A. G. Crosthwaite
2012-06-04 8:08 ` [Qemu-devel] [PATCH V4 3/5] xilinx_spi: initial version Peter A. G. Crosthwaite
2012-06-04 8:08 ` [Qemu-devel] [PATCH V4 4/5] petalogix-ml605: added spi controller with m25p80 Peter A. G. Crosthwaite
2012-06-04 8:08 ` [Qemu-devel] [PATCH V4 5/5] stellaris: Updated spi bus implementation Peter A. G. Crosthwaite
2012-06-04 8:14 ` Peter Crosthwaite
2012-06-05 1:34 ` [Qemu-devel] [PATCH V4 0/5] Ehnahced SSI bus support + M25P80 SPI flash + Xilinx SPI controller Paul Brook
2012-06-05 1:54 ` Peter Crosthwaite
2012-06-06 13:37 ` Paul Brook
2012-06-05 2:51 ` John Williams
2012-06-06 13:18 ` Paul Brook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1338796049.git.peter.crosthwaite@petalogix.com \
--to=peter.crosthwaite@petalogix.com \
--cc=edgar.iglesias@gmail.com \
--cc=john.williams@petalogix.com \
--cc=paul@codesourcery.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.