From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9Jux-0001Az-MM for qemu-devel@nongnu.org; Wed, 16 Dec 2015 16:47:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9Jus-0001Ei-Kp for qemu-devel@nongnu.org; Wed, 16 Dec 2015 16:47:27 -0500 Received: from mail-cys01nam02on0088.outbound.protection.outlook.com ([104.47.37.88]:65248 helo=NAM02-CY1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9Jus-0001Ee-CL for qemu-devel@nongnu.org; Wed, 16 Dec 2015 16:47:22 -0500 From: Alistair Francis Date: Wed, 16 Dec 2015 13:44:59 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v5 0/6] Connect the SPI devices to ZynqMP List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, crosthwaitepeter@gmail.com, alistair.francis@xilinx.com Connect the SPI devices to Xilinx's ZynqMP. I also need to make some changes to the actual SPI device to imporove the fuctionality, but for the time being this works. 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 (6): m25p80.c: Add sst25wf080 SPI flash device ssi: Move ssi.h into a separate directory xilinx_spips: Separate the state struct into a header qdev: Add a function to rename busses xlnx-zynqmp: Connect the SPI devices xlnx-ep108: Connect the SPI Flash 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 | 16 +++++++++ hw/arm/xlnx-zynqmp.c | 38 ++++++++++++++++++++ hw/arm/z2.c | 2 +- hw/block/m25p80.c | 3 +- hw/core/qdev.c | 5 +++ 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/qdev-core.h | 2 ++ include/hw/{ => ssi}/ssi.h | 10 +++--- include/hw/ssi/xilinx_spips.h | 72 +++++++++++++++++++++++++++++++++++++ 24 files changed, 164 insertions(+), 63 deletions(-) rename include/hw/{ => ssi}/ssi.h (96%) create mode 100644 include/hw/ssi/xilinx_spips.h -- 2.5.0