|
|
Log in / Subscribe / Register

Altera ASMI Parallel II IP Core

From:  matthew.gerlach-AT-linux.intel.com
To:  vndao-AT-altera.com, dwmw2-AT-infradead.org, computersforpeace-AT-gmail.com, boris.brezillon-AT-free-electrons.com, marek.vasut-AT-gmail.com, richard-AT-nod.at, cyrille.pitchen-AT-wedev4u.fr, robh+dt-AT-kernel.org, mark.rutland-AT-arm.com, linux-mtd-AT-lists.infradead.org, devicetree-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, gregkh-AT-linuxfoundation.org, davem-AT-davemloft.net, mchehab-AT-kernel.org, linux-fpga-AT-vger.kernel.org, tien.hock.loh-AT-intel.com, hean.loong.ong-AT-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>
Cc:  Matthew Gerlach <matthew.gerlach-AT-linux.intel.com>

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.

Patch 3 contains a work around for some non-standard behavior of EPCQ flash.

Matthew Gerlach (3):
  dt-bindings: mtd: Altera ASMI Parallel II IP Core
  mtd: spi-nor: Altera ASMI Parallel II IP Core
  mtd: spi-nor: add flag for reading dummy cycles from nv cfg reg

 .../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                | 478 +++++++++++++++++++++
 include/linux/mtd/altera-asmip2.h                  |  27 ++
 6 files changed, 534 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

-- 
2.7.4



Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds