public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Roy Spliet <r.spliet@ultimaker.com>
To: Linux MTD Mailinglist <linux-mtd@lists.infradead.org>,
	David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.com>,
	Maxime Ripard <maxime.ripard@free-electrons.com>,
	Boris Brezillon <boris.brezillon@free-electrons.com>,
	Baruch Siach <baruch@tkos.co.il>,
	Rafal Milecki <zajec5@gmail.com>
Subject: [RFC] Support custom timings for NAND chips
Date: Tue, 16 Jun 2015 11:45:01 +0200	[thread overview]
Message-ID: <1434447904-31748-1-git-send-email-r.spliet@ultimaker.com> (raw)

Hello,

Following is a fairly simple set of three patches that both implement and
demonstrate the use of custom timings for chip. This follows from the
requirement to support the Hynix H27UBG8T2BTR-BC, as shipped by Olimex on
their Allwinner-based ARM-boards.

I motivate my chosen approach as follows:
1) Requirement. The NAND chip is being used in the wild, and using the only
   supported ONFI timing (0) is significantly degrading performance.
2) Simplicity. The three patches are fairly straightforward, and do what they
   should do without compromise. Alternative approaches like sticking timings
   in the DT makes it more difficult for distribution to ship universal
   kernels and DTBs, because it's a NAND chip property and not a board
   property.

I send this out now (asap), because the only legacy that requires a change is
sunxi-nand. The longer we wait, the harder it gets. Don't let that stop you
from doing a proper review job! :-)
Comments? Ideas?
Yours,

Roy



-- 


IMAGINE IT >> MAKE IT

Meet us online at Twitter <http://twitter.com/ultimaker>, Facebook 
<http://facebook.com/ultimaker>, Google+ <http://google.com/+Ultimaker>

www.ultimaker.com

             reply	other threads:[~2015-06-16  9:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-16  9:45 Roy Spliet [this message]
2015-06-16  9:45 ` [RFC Patch 1/3] mtd: nand: Store actual timing in nand_chip Roy Spliet
2015-06-16  9:45 ` [RFC Patch 2/3] mtd: nand: Support non-ONFI timing modes Roy Spliet
2015-06-16  9:45 ` [RFC Patch 3/3] mtd: nand: Add custom timings for Hynix H27UBG8T2BTR-BC Roy Spliet
2015-10-20 10:32 ` [RFC] Support custom timings for NAND chips Boris Brezillon

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=1434447904-31748-1-git-send-email-r.spliet@ultimaker.com \
    --to=r.spliet@ultimaker.com \
    --cc=baruch@tkos.co.il \
    --cc=boris.brezillon@free-electrons.com \
    --cc=computersforpeace@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=maxime.ripard@free-electrons.com \
    --cc=zajec5@gmail.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