From patchwork Sat Oct 21 21:54:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francisco Iglesias X-Patchwork-Id: 828978 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ABazQ6+F"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yKM760XGkz9t2M for ; Sun, 22 Oct 2017 12:16:16 +1100 (AEDT) Received: from localhost ([::1]:59705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e64sA-0005I8-6b for incoming@patchwork.ozlabs.org; Sat, 21 Oct 2017 21:16:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e61ix-0000Nv-Tt for qemu-devel@nongnu.org; Sat, 21 Oct 2017 17:54:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e61is-000228-Vk for qemu-devel@nongnu.org; Sat, 21 Oct 2017 17:54:31 -0400 Received: from mail-lf0-x243.google.com ([2a00:1450:4010:c07::243]:50226) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e61is-0001sp-Ma for qemu-devel@nongnu.org; Sat, 21 Oct 2017 17:54:26 -0400 Received: by mail-lf0-x243.google.com with SMTP id a132so16433112lfa.7 for ; Sat, 21 Oct 2017 14:54:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=wq1fdHuXw4Z9svIsycKuuAgf/Ggo7tycz4R+WPBekAo=; b=ABazQ6+FxVeE2DssEHopGOVPwYG9tckMarUsZJ3ga4vIbobrkxHPVaK8XVJbRiiOPU Bd+ENCF5OYAhE5l7xrX/jJCBxHctqh73hnxJ5vxuD0+mDjPzDixGlmxWAGhmUgYdug58 IeuEmu2qUm+6uLg8RqiQ3FM1CW892PyKqwZYhMHMRz7Gf1xIq8SnN2vg12MYiBGi45gg eqqXNh31G7AlMLwFoLVGU2ElmdHoIfjBpglpc6TePjZV9K9/B3lOZLltWVkMxcOrYV5h jkLz1W9v50PebZT6lWK+mli3sc7x+25KRG6NWQma5cml0IQ+8gWYfw7Mm2WA6npm+e+0 iKsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wq1fdHuXw4Z9svIsycKuuAgf/Ggo7tycz4R+WPBekAo=; b=p/18zrn1IVRp3FaxFddoiONSZTeolmptKAikbd41A7s/lg0qbCy1KRYESQ1KUMsCKj RQ8Mdoe4abXt7lcbgJXbhIvbiVbjcV+/kdKBkD1B4nb3LVs7TS64sRf1ypTM1WBeKMSL pbghaNXoNBXpm95z7vVLbvKIeI2IpaPpPAkk90gczKdRY3ujH4qMX4nH7LpPjGuvWVf1 H2fkXeiZy8C68o32TSxMYNNrTS9DWoo/BPEZbpnF6onXSfng4QUU2fNx5l843qRGcS9C UMMlSmSSb5b81UFAACM2myBuY2yyHMbEbNGM+zX6Et0/7PU6Zd470PLXqHs6O+jexKmn reig== X-Gm-Message-State: AMCzsaWYlir+3A4sDZS1dwrPCIRON7e6bsAnxjklkpGO7qvRWuvvFmqe dx2N9kHInmRtEQn7O8zHfNqmqrZk X-Google-Smtp-Source: ABhQp+RRC4D709OxylGeWQN3O66ex+P5Kcgi64KQu5nCQnASS74n1EfImbtpK8h4sI5IOPSJsaLvTQ== X-Received: by 10.46.82.14 with SMTP id g14mr3500759ljb.118.1508622863469; Sat, 21 Oct 2017 14:54:23 -0700 (PDT) Received: from localhost.localdomain (c83-254-152-225.bredband.comhem.se. [83.254.152.225]) by smtp.gmail.com with ESMTPSA id q87sm731173lfg.35.2017.10.21.14.54.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Oct 2017 14:54:22 -0700 (PDT) From: Francisco Iglesias To: qemu-devel@nongnu.org Date: Sat, 21 Oct 2017 23:54:08 +0200 Message-Id: <20171021215420.19787-1-frasse.iglesias@gmail.com> X-Mailer: git-send-email 2.9.3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::243 X-Mailman-Approved-At: Sat, 21 Oct 2017 21:15:25 -0400 Subject: [Qemu-devel] [PATCH v2 00/12] Add support for the ZynqMP Generic QSPI X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: edgari@xilinx.com, alistai@xilinx.com, francisco.iglesias@feimtech.se Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Hi, This patch series starts by adding support in m25p80 for continous read out of status registers, SST flash READ ID commands, bank address register accesses, bulk erase (0x60) and two Numonyx flashes (n25q512a11 and n25q512a13). Thereafter it updates the striping behaviour to be bit big endiann in the Xilinx QSPI model and adds support for RX discard, endiannes configuration of TX/RX registers, zero pumping according tranfer register and 4 byte LQSPI addresses. Finally it adds support for the ZynqMP Generic QSPI and adds the ZynqMP QSPI to the xlnx-zcu102 board. Best regards, Francisco Iglesias Changelog: v1 -> v2 * Reset author on commits (due to mailing issues). Francisco Iglesias (12): m25p80: Add support for continuous read out of RDSR and READ_FSR m25p80: Add support for SST READ ID 0x90/0xAB commands m25p80: Add support for BRRD/BRWR and BULK_ERASE (0x60) m25p80: Add support for n25q512a11 and n25q512a13 xilinx_spips: Move FlashCMD, XilinxQSPIPS and XilinxSPIPSClass xilinx_spips: Update striping to be big-endian bit order xilinx_spips: Add support for RX discard and RX drain xilinx_spips: Support configured endiannes of TX/RX registers xilinx_spips: Add support for zero pumping xilinx_spips: Add support for 4 byte addresses in the LQSPI xilinx_spips: Add support for the ZynqMP Generic QSPI xlnx-zcu102: Add support for the ZynqMP QSPI default-configs/arm-softmmu.mak | 1 + hw/arm/xlnx-zcu102.c | 23 ++ hw/arm/xlnx-zynqmp.c | 24 ++ hw/block/m25p80.c | 50 ++- hw/ssi/xilinx_spips.c | 834 +++++++++++++++++++++++++++++++++------- include/hw/arm/xlnx-zynqmp.h | 5 + include/hw/ssi/xilinx_spips.h | 72 +++- 7 files changed, 871 insertions(+), 138 deletions(-)