Message ID | 1508451290-26426-1-git-send-email-matthew.gerlach@linux.intel.com |
---|---|
Headers | show
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) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="l6O3qjcq"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3yJ3Fl0TkWz9t6n for <incoming@patchwork.ozlabs.org>; Fri, 20 Oct 2017 09:17:31 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=zZgb35rWKv6Dd2KqAh7oJj8KzLOquLgCOH5Nfb0Avjs=; b=l6O 3qjcqeFMiVqglDqEKXJEZrWXqnFF+FQfubH2eBVc1Aul1jKMaPnXLjby4IgG6pAHUYNSH/k01r7Se jzDTfkD8+x3R3EwMezpYnaqT6UMqlXHg7275eIZMTfY6aHV7pFArZQKn+PqXqmFsp9yl5Lpj+Q5Ba MwYu7DcXKlMPRttGUbreFTRS/A8kmCNoB8MzNnSNtZZ0epu7RoSPzsqKiDf9xv93vMvsk1EmdEVGP Y2Sxlx6Jh/OY3ZaPw3lYA/Mpwxc7qrbP26O8wox9EhCtpOp+R7b5PS68OyDjsIV+0x0yemcdE5QHi gOwVNvzPybd/RNOZAnGTXnFCWzqdHmw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e5J82-00042r-Ne; Thu, 19 Oct 2017 22:17:26 +0000 Received: from mga09.intel.com ([134.134.136.24]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e5J7z-0001Jz-Ib for linux-mtd@lists.infradead.org; Thu, 19 Oct 2017 22:17:25 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Oct 2017 15:15:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.43,403,1503385200"; d="scan'208"; a="1207801220" Received: from mgerlach-mobl.amr.corp.intel.com (HELO mgerlach-VirtualBox.amr.corp.intel.com) ([10.254.234.211]) by fmsmga001.fm.intel.com with ESMTP; 19 Oct 2017 15:14:55 -0700 From: matthew.gerlach@linux.intel.com To: vndao@altera.com, dwmw2@infradead.org, computersforpeace@gmail.com, boris.brezillon@free-electrons.com, marek.vasut@gmail.com, richard@nod.at, cyrille.pitchen@wedev4u.fr, robh+dt@kernel.org, mark.rutland@arm.com, linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, davem@davemloft.net, mchehab@kernel.org, linux-fpga@vger.kernel.org, tien.hock.loh@intel.com, hean.loong.ong@intel.com Subject: [PATCH v3 0/2] Altera ASMI Parallel II IP Core Date: Thu, 19 Oct 2017 15:14:48 -0700 Message-Id: <1508451290-26426-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-20171019_151723_699878_424E6783 X-CRM114-Status: GOOD ( 10.65 ) X-Spam-Score: -6.9 (------) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-6.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [134.134.136.24 listed in list.dnswl.org] -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [134.134.136.24 listed in wl.mailspike.net] -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>, <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>, <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 |
Series |
Altera ASMI Parallel II IP Core
|
expand
|
From: Matthew Gerlach <matthew.gerlach@linux.intel.com> This patch set adds a spi-nor flash driver for the Altera ASMI Parallel II IP Core. This driver was created based on feedback from Marek Vasut, Cyrill Pitchen, and Michal Suchanek regarding Version 2 of the Altera Quadspi Controller: https://lkml.org/lkml/2017/6/26/518 The overall problem with Version 2 of the Altera Quadspi Controller and its driver was the fact that there was much duplication of code and logic with the spi-nor framework. This new combination of fpga hardware and software "gets out of the way" of the spi-nor framework. The result is a much simpler driver with the spi-nor framework performing the bulk of the work. Patch 1 contains the device tree bindings for the driver for the Altera ASMI-Parallel II IP Core. Patch 2 contains the driver code for the Altera ASMI-Parallel II IP Core. This driver supports being configured via a device tree or with platform data. In the later case, the memory for the registers has been remapped. Matthew Gerlach (2): dt-bindings: mtd: Altera ASMI Parallel II IP Core mtd: spi-nor: Altera ASMI Parallel II IP Core .../devicetree/bindings/mtd/altera-asmip2.txt | 15 + MAINTAINERS | 7 + drivers/mtd/spi-nor/Kconfig | 6 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/altera-asmip2.c | 494 +++++++++++++++++++++ include/linux/mtd/altera-asmip2.h | 25 ++ 6 files changed, 548 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/altera-asmip2.txt create mode 100644 drivers/mtd/spi-nor/altera-asmip2.c create mode 100644 include/linux/mtd/altera-asmip2.h