qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] b4a76e: ssi: Support for multiple attached de


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] b4a76e: ssi: Support for multiple attached devices
Date: Tue, 09 Oct 2012 19:00:11 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: b4a76e84f4997392c9d2eb6f4373dc376d2ffd82
      
https://github.com/qemu/qemu/commit/b4a76e84f4997392c9d2eb6f4373dc376d2ffd82
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/ssi.c

  Log Message:
  -----------
  ssi: Support for multiple attached devices

Removed assertion that only one device is attached to the SSI bus.

When multiple devices are attached, all slaves have their transfer function
called for transfers. Each device is responsible for knowing whether or not its
CS is active, and if not returning 0. The returned data is the logical or of
all responses from the (mulitple) devices.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
Acked-by: Peter Maydell <address@hidden>


  Commit: 66530953319427d7c67a723076acd68075dc7db2
      
https://github.com/qemu/qemu/commit/66530953319427d7c67a723076acd68075dc7db2
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/ads7846.c
    M hw/max111x.c
    M hw/spitz.c
    M hw/ssd0323.c
    M hw/ssi-sd.c
    M hw/ssi.c
    M hw/ssi.h
    M hw/stellaris.c
    M hw/z2.c

  Log Message:
  -----------
  ssi: Implemented CS behaviour

Added default CS behaviour for SSI slaves. SSI devices can set a property
to enable CS behaviour which will create a GPIO on the device which is the
CS. Tristating of the bus on SSI transfers is implemented.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
Acked-by: Peter Maydell <address@hidden>


  Commit: 74687e40b0406a0863234ca011c3cba7720864b0
      
https://github.com/qemu/qemu/commit/74687e40b0406a0863234ca011c3cba7720864b0
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/ssi.c
    M hw/ssi.h

  Log Message:
  -----------
  ssi: Added create_slave_no_init()

Slave creation function that can be used to create an SSI slave without
qdev_init() being called. This give machine models a chance to set properties.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
Acked-by: Peter Maydell <address@hidden>


  Commit: 1e5b31e6bd4fa8a9c679a18388d2219feece275a
      
https://github.com/qemu/qemu/commit/1e5b31e6bd4fa8a9c679a18388d2219feece275a
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/irq.c
    M hw/irq.h
    M hw/qdev.c

  Log Message:
  -----------
  qdev: allow multiple qdev_init_gpio_in() calls

Allow multiple qdev_init_gpio_in() calls for the one device. The first call will
define GPIOs 0-N-1, the next GPIOs N- ... . Allows different GPIOs to be handled
with different handlers. Needed when two levels of the QOM class heirachy both
define GPIO functionality, as a single GPIO handler with an index selecter is
not possible.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>


  Commit: 8120e7144b4007d26531835c7b6bc2b40a736cd2
      
https://github.com/qemu/qemu/commit/8120e7144b4007d26531835c7b6bc2b40a736cd2
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/ssd0323.c
    M hw/ssi-sd.c
    M hw/stellaris.c

  Log Message:
  -----------
  stellaris: Removed SSI mux

Removed the explicit SSI mux and wired the CS line directly up to the SSI
devices.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>


  Commit: a3578d4a51250365fb7f048e8154942a2659cc4a
      
https://github.com/qemu/qemu/commit/a3578d4a51250365fb7f048e8154942a2659cc4a
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/Makefile.objs
    A hw/fifo.c
    A hw/fifo.h

  Log Message:
  -----------
  hw: Added generic FIFO API.

Added a FIFO API that can be used to create and operate byte FIFOs.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>


  Commit: 82a2499011a73bcafab723e1bab4127e55a64844
      
https://github.com/qemu/qemu/commit/82a2499011a73bcafab723e1bab4127e55a64844
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M default-configs/arm-softmmu.mak
    M default-configs/microblaze-softmmu.mak
    M default-configs/microblazeel-softmmu.mak
    M hw/Makefile.objs
    A hw/m25p80.c

  Log Message:
  -----------
  m25p80: Initial implementation of SPI flash device

Added device model for m25p80 style SPI flash family.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>


  Commit: 929d1b52c43327b8a9e5a19f916ad6c9d1e6de5d
      
https://github.com/qemu/qemu/commit/929d1b52c43327b8a9e5a19f916ad6c9d1e6de5d
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/microblaze/Makefile.objs
    A hw/xilinx_spi.c

  Log Message:
  -----------
  xilinx_spi: Initial impl. of Xilinx SPI controller

Device model for xilinx XPS SPI controller (v2.0)

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>


  Commit: acd3b6be325a66f8f10f0eed19ed5261ced411cf
      
https://github.com/qemu/qemu/commit/acd3b6be325a66f8f10f0eed19ed5261ced411cf
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/petalogix_ml605_mmu.c

  Log Message:
  -----------
  petalogix-ml605: added SPI controller with n25q128

Added SPI controller to the reference design, with two n25q128 spi-flashes
connected.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
Acked-by: Peter Maydell <address@hidden>


  Commit: 94befa454d430655fc863a7a855302b80f7a4812
      
https://github.com/qemu/qemu/commit/94befa454d430655fc863a7a855302b80f7a4812
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/arm/Makefile.objs
    A hw/xilinx_spips.c

  Log Message:
  -----------
  xilinx_spips: Xilinx Zynq SPI cntrlr device model

Added device model for the Xilinx Zynq SPI controller (SPIPS).

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
Acked-by: Peter Maydell <address@hidden>


  Commit: 559d489f137a696920d89ad2e3225b869c52b745
      
https://github.com/qemu/qemu/commit/559d489f137a696920d89ad2e3225b869c52b745
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/xilinx_zynq.c

  Log Message:
  -----------
  xilinx_zynq: Added SPI controllers + flashes

Added the two SPI controllers to the zynq machine model. Attached two SPI flash
devices to each controller.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
Acked-by: Peter Maydell <address@hidden>


  Commit: fcb5629d3eb208d84c0fe9aa1ef64a6af7de0139
      
https://github.com/qemu/qemu/commit/fcb5629d3eb208d84c0fe9aa1ef64a6af7de0139
  Author: Peter A. G. Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: Added maintainerships for SSI

Added maintainership for SSI, M25P80 and the Xilinx SPI controllers.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
Acked-by: Peter Maydell <address@hidden>


  Commit: b4ae3cfa57b8c1bdbbd7b7d420971e9171203ade
      
https://github.com/qemu/qemu/commit/b4ae3cfa57b8c1bdbbd7b7d420971e9171203ade
  Author: Peter Crosthwaite <address@hidden>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

  Changed paths:
    M hw/ssi.c
    M hw/ssi.h
    M hw/xilinx_spi.c
    M hw/xilinx_spips.c

  Log Message:
  -----------
  ssi: Add slave autoconnect helper

Added helper function to automatically connect SPI slaves based on the QOM child
nodes of a device. A SSI master device can call this routine to automatically
hook-up all child nodes to its SPI bus.

Signed-off-by: Peter Crosthwaite <address@hidden>
Acked-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/4bb26682f70a...b4ae3cfa57b8

reply via email to

[Prev in Thread] Current Thread [Next in Thread]