From: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
To: Boris Brezillon <boris.brezillon@free-electrons.com>,
David Woodhouse <dwmw2@infradead.org>,
Brian Norris <computersforpeace@gmail.com>,
<linux-mtd@lists.infradead.org>,
Richard Weinberger <richard@nod.at>
Subject: Re: [PATCH 0/2] mtd: nand: Enforce tCCS wait time after a column change
Date: Tue, 25 Oct 2016 14:31:47 +0200 [thread overview]
Message-ID: <580F50B3.1070702@sigmadesigns.com> (raw)
In-Reply-To: <1475310243-32625-1-git-send-email-boris.brezillon@free-electrons.com>
On 01/10/2016 10:24, Boris Brezillon wrote:
> Marc recently struggled with the RNDIN/RNDOUT commands when trying to
> add support for the Tango NAND controller.
> After some investigation it appeared that nothing in the
> nand_command_lp() code waits tCCS, which is required to make sure the
> NAND chip is ready to receive/send data on the bus after a column
> change.
>
> This series adds some more timings to the nand_sdr_timings struct
> (including tCCS) and try to extract them from the ONFI parameter table
> (if available).
>
> It then adds a new flags to ask the core to enforce the tCCS
> constraint.
> As noted in the commit message, this is an opt-in flag to avoid perf
> regressions on existing implementations (adding an ndelay() might be
> useless if the controller IP or driver already takes care of that),
> but it might appear that some implementations are actually broken and
> needs this flag as well.
>
> Regards,
>
> Boris
>
> Boris Brezillon (2):
> mtd: nand: Add a few more timings to nand_sdr_timings
> mtd: nand: Wait tCCS after a column change
>
> drivers/mtd/nand/nand_base.c | 26 +++++++++++++++++++++++++-
> drivers/mtd/nand/nand_timings.c | 26 +++++++++++++++++++++++++-
> include/linux/mtd/nand.h | 18 ++++++++++++++++++
> 3 files changed, 68 insertions(+), 2 deletions(-)
Tested-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Regards.
next prev parent reply other threads:[~2016-10-25 12:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-01 8:24 [PATCH 0/2] mtd: nand: Enforce tCCS wait time after a column change Boris Brezillon
2016-10-01 8:24 ` [PATCH 1/2] mtd: nand: Add a few more timings to nand_sdr_timings Boris Brezillon
2016-10-01 8:24 ` [PATCH 2/2] mtd: nand: Wait tCCS after a column change Boris Brezillon
2016-10-25 12:31 ` Marc Gonzalez [this message]
2016-10-28 8:54 ` [PATCH 0/2] mtd: nand: Enforce tCCS wait time " 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=580F50B3.1070702@sigmadesigns.com \
--to=marc_gonzalez@sigmadesigns.com \
--cc=boris.brezillon@free-electrons.com \
--cc=computersforpeace@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.