linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Richard Weinberger <richard@nod.at>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Tudor Ambarus <Tudor.Ambarus@microchip.com>,
	<linux-mtd@lists.infradead.org>
Cc: Naga Sureshkumar Relli <nagasure@xilinx.com>,
	Michal Simek <monstr@monstr.eu>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Miquel Raynal <miquel.raynal@bootlin.com>
Subject: [RFC PATCH 00/16] mtd: rawnand: NV-DDR support
Date: Fri,  2 Apr 2021 11:51:29 +0200	[thread overview]
Message-ID: <20210402095145.254867-1-miquel.raynal@bootlin.com> (raw)

Hello,

After almost 20 years of exclusive SDR support in the Linux kernel and
thanks to the major updates recently done in the NAND subsystem, here is
the final series attempting to bring NV-DDR support to raw NAND
devices.

As always, first patches are here to prepare the field for the second
half which actually brings NV-DDR support bits per bits to make it more
readable and easier to review.

This series is only compile-tested for now, but shows the principles of
my approach. Comments are welcome!

Cheers,
Miquèl

Miquel Raynal (16):
  mtd: rawnand: Add a helper to clarify the interface configuration
  mtd: rawnand: arasan: Check the proposed data interface is supported
  mtd: rawnand: atmel: Check the proposed data interface is supported
  mtd: rawnand: onfi: Use the BIT() macro when possible
  mtd: rawnand: Update dead URL
  mtd: rawnand: Use more recent ONFI specification wording
  mtd: rawnand: Clarify the NV-DDR entries in the ONFI structure
  mtd: rawnand: Add NV-DDR timings
  mtd: rawnand: Retrieve NV-DDR timing modes from the ONFI parameter
    page
  mtd: rawnand: Add an indirection on onfi_fill_interface_config()
  mtd: rawnand: Add onfi_fill_nvddr_interface_config() helper
  mtd: rawnand: Avoid accessing NV-DDR timings from legacy code
  mtd: rawnand: Access SDR and NV-DDR timings through a common macro
  mtd: rawnand: Add a helper to find the closest ONFI NV-DDR mode
  mtd: rawnand: Choose the best timings, NV-DDR included
  mtd: rawnand: arasan: Support NV-DDR interface

 drivers/mtd/nand/raw/arasan-nand-controller.c |  26 +-
 drivers/mtd/nand/raw/atmel/nand-controller.c  |   7 +-
 .../mtd/nand/raw/cadence-nand-controller.c    |   6 +-
 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.h    |   2 +-
 drivers/mtd/nand/raw/internals.h              |   5 +
 drivers/mtd/nand/raw/nand_base.c              | 228 +++++++---
 drivers/mtd/nand/raw/nand_legacy.c            |   2 +-
 drivers/mtd/nand/raw/nand_onfi.c              |   5 +-
 drivers/mtd/nand/raw/nand_timings.c           | 402 ++++++++++++++++--
 include/linux/mtd/onfi.h                      |  36 +-
 include/linux/mtd/rawnand.h                   | 155 ++++++-
 11 files changed, 757 insertions(+), 117 deletions(-)

-- 
2.27.0


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

             reply	other threads:[~2021-04-02  9:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02  9:51 Miquel Raynal [this message]
2021-04-02  9:51 ` [RFC PATCH 01/16] mtd: rawnand: Add a helper to clarify the interface configuration Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 02/16] mtd: rawnand: arasan: Check the proposed data interface is supported Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 03/16] mtd: rawnand: atmel: " Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 04/16] mtd: rawnand: onfi: Use the BIT() macro when possible Miquel Raynal
2021-04-07  7:38   ` Alexander Dahl
2021-04-02  9:51 ` [RFC PATCH 05/16] mtd: rawnand: Update dead URL Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 06/16] mtd: rawnand: Use more recent ONFI specification wording Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 07/16] mtd: rawnand: Clarify the NV-DDR entries in the ONFI structure Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 08/16] mtd: rawnand: Add NV-DDR timings Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 09/16] mtd: rawnand: Retrieve NV-DDR timing modes from the ONFI parameter page Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 10/16] mtd: rawnand: Add an indirection on onfi_fill_interface_config() Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 11/16] mtd: rawnand: Add onfi_fill_nvddr_interface_config() helper Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 12/16] mtd: rawnand: Avoid accessing NV-DDR timings from legacy code Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 13/16] mtd: rawnand: Access SDR and NV-DDR timings through a common macro Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 14/16] mtd: rawnand: Add a helper to find the closest ONFI NV-DDR mode Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 15/16] mtd: rawnand: Choose the best timings, NV-DDR included Miquel Raynal
2021-04-02  9:51 ` [RFC PATCH 16/16] mtd: rawnand: arasan: Support NV-DDR interface Miquel Raynal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210402095145.254867-1-miquel.raynal@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=Tudor.Ambarus@microchip.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=monstr@monstr.eu \
    --cc=nagasure@xilinx.com \
    --cc=richard@nod.at \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).