{"id":816392,"url":"http://patchwork.ozlabs.org/api/covers/816392/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-mtd/cover/1505932139-2905-1-git-send-email-matthew.gerlach@linux.intel.com/","project":{"id":3,"url":"http://patchwork.ozlabs.org/api/projects/3/?format=json","name":"Linux MTD development","link_name":"linux-mtd","list_id":"linux-mtd.lists.infradead.org","list_email":"linux-mtd@lists.infradead.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1505932139-2905-1-git-send-email-matthew.gerlach@linux.intel.com>","list_archive_url":null,"date":"2017-09-20T18:28:56","name":"[v2,0/3] Altera ASMI Parallel II IP Core","submitter":{"id":70992,"url":"http://patchwork.ozlabs.org/api/people/70992/?format=json","name":"Matthew Gerlach","email":"matthew.gerlach@linux.intel.com"},"mbox":"http://patchwork.ozlabs.org/project/linux-mtd/cover/1505932139-2905-1-git-send-email-matthew.gerlach@linux.intel.com/mbox/","series":[{"id":4190,"url":"http://patchwork.ozlabs.org/api/series/4190/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-mtd/list/?series=4190","date":"2017-09-20T18:28:57","name":"Altera ASMI Parallel II IP Core","version":2,"mbox":"http://patchwork.ozlabs.org/series/4190/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/816392/comments/","headers":{"Return-Path":"<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"i6gWxyKi\"; \n\tdkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xy7ZX2qNkz9s7v\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 04:29:56 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dujkn-0002JX-T2; Wed, 20 Sep 2017 18:29:45 +0000","from mga09.intel.com ([134.134.136.24])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dujkW-00024Y-JZ\n\tfor linux-mtd@lists.infradead.org; Wed, 20 Sep 2017 18:29:30 +0000","from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t20 Sep 2017 11:29:06 -0700","from mgerlach-mobl.amr.corp.intel.com (HELO\n\tmgerlach-VirtualBox.amr.corp.intel.com) ([10.254.74.152])\n\tby orsmga002.jf.intel.com with ESMTP; 20 Sep 2017 11:29:05 -0700"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=KHDCptFzkfQc1GTjJgTE7jQ/ml7X5YFypJDcJepBro8=;\n\tb=i6g\n\tWxyKiydk0UiHgFwqEkT3hlMKjz3FL4mNeNBWDR9ex0Pr5+zzwDD9ybrijMYqB8rBJwcZMSX5zwoSw\n\tKQU+OSCf1Pd+fu6fE6aakptVECCIGQC+o37lGuGyyg00EtO8pRPQngcUdyFNwSJVmxaPJfM8h+h7O\n\t4WP/NBmrJ8qBHc8TRdJU0hNgEfCEa/ijWKFUK7Dzu6jglkjG4PN4xXOknG5LPf8xLITvG6RmWPVsK\n\tuJnlObrBrazdSJgFm6CLJO3GQ9Ih0yYp1xD+i8kwqBR9NMO5s8Sj01YN3FQtKSWQ1mZ4HCCpe0yhj\n\tsvvkaJorG6bzZukQpuH5AKo7jGPVxQA==;","X-ExtLoop1":"1","X-IronPort-AV":"E=Sophos;i=\"5.42,422,1500966000\"; d=\"scan'208\";a=\"137603164\"","From":"matthew.gerlach@linux.intel.com","To":"vndao@altera.com, dwmw2@infradead.org, computersforpeace@gmail.com,\n\tboris.brezillon@free-electrons.com, marek.vasut@gmail.com,\n\trichard@nod.at, \n\tcyrille.pitchen@wedev4u.fr, robh+dt@kernel.org, mark.rutland@arm.com, \n\tlinux-mtd@lists.infradead.org, devicetree@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org, gregkh@linuxfoundation.org,\n\tdavem@davemloft.net, mchehab@kernel.org, linux-fpga@vger.kernel.org, \n\ttien.hock.loh@intel.com, hean.loong.ong@intel.com","Subject":"[PATCH v2 0/3] Altera ASMI Parallel II IP Core","Date":"Wed, 20 Sep 2017 11:28:56 -0700","Message-Id":"<1505932139-2905-1-git-send-email-matthew.gerlach@linux.intel.com>","X-Mailer":"git-send-email 2.7.4","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170920_112928_704968_C309BAE1 ","X-CRM114-Status":"GOOD (  10.20  )","X-Spam-Score":"-6.9 (------)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-6.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/,\n\thigh trust [134.134.136.24 listed in list.dnswl.org]\n\t-0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)\n\t[134.134.136.24 listed in wl.mailspike.net]\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders","X-BeenThere":"linux-mtd@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/linux-mtd/>","List-Post":"<mailto:linux-mtd@lists.infradead.org>","List-Help":"<mailto:linux-mtd-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>","Cc":"Matthew Gerlach <matthew.gerlach@linux.intel.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>","Errors-To":"linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"},"content":"From: Matthew Gerlach <matthew.gerlach@linux.intel.com>\n\nThis patch set adds a spi-nor flash driver for the Altera ASMI Parallel II \nIP Core.  This driver was created based on feedback from Marek Vasut,\nCyrill Pitchen, and Michal Suchanek regarding Version 2 of the Altera\nQuadspi Controller: https://lkml.org/lkml/2017/6/26/518\n\nThe overall problem with Version 2 of the Altera Quadspi Controller and \nits driver was the fact that there was much duplication of code and logic\nwith the spi-nor framework.  This new combination of fpga hardware and \nsoftware \"gets out of the way\" of the spi-nor framework.  The result is a\nmuch simpler driver with the spi-nor framework performing the bulk of the work.\n\nPatch 1 contains the device tree bindings for the driver for\nthe Altera ASMI-Parallel II IP Core.\n\nPatch 2 contains the driver code for the Altera ASMI-Parallel II IP Core.\nThis driver supports being configured via a device tree or with platform\ndata.  In the later case, the memory for the registers has been remapped.\n\nPatch 3 contains a work around for some non-standard behavior of EPCQ flash.\n\nMatthew Gerlach (3):\n  dt-bindings: mtd: Altera ASMI Parallel II IP Core\n  mtd: spi-nor: Altera ASMI Parallel II IP Core\n  mtd: spi-nor: add flag for reading dummy cycles from nv cfg reg\n\n .../devicetree/bindings/mtd/altera-asmip2.txt      |  15 +\n MAINTAINERS                                        |   7 +\n drivers/mtd/spi-nor/Kconfig                        |   6 +\n drivers/mtd/spi-nor/Makefile                       |   1 +\n drivers/mtd/spi-nor/altera-asmip2.c                | 478 +++++++++++++++++++++\n include/linux/mtd/altera-asmip2.h                  |  27 ++\n 6 files changed, 534 insertions(+)\n create mode 100644 Documentation/devicetree/bindings/mtd/altera-asmip2.txt\n create mode 100644 drivers/mtd/spi-nor/altera-asmip2.c\n create mode 100644 include/linux/mtd/altera-asmip2.h"}