public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Boris Brezillon <boris.brezillon@free-electrons.com>
To: David Woodhouse <dwmw2@infradead.org>,
	Brian Norris <computersforpeace@gmail.com>,
	linux-mtd@lists.infradead.org,
	Boris Brezillon <boris.brezillon@free-electrons.com>,
	Richard Weinberger <richard@nod.at>
Cc: linux-kernel@vger.kernel.org,
	Ezequiel Garcia <ezequiel.garcia@free-electrons.com>,
	Robert Jarzmik <robert.jarzmik@free.fr>
Subject: Re: [PATCH 1/2] mtd: nand: timings: Fix tADL_min for ONFI 4.0 chips
Date: Mon, 15 Aug 2016 17:17:42 +0200	[thread overview]
Message-ID: <20160815171742.3b5d1fb6@bbrezillon> (raw)
In-Reply-To: <1465914067-29736-1-git-send-email-boris.brezillon@free-electrons.com>

On Tue, 14 Jun 2016 16:21:06 +0200
Boris Brezillon <boris.brezillon@free-electrons.com> wrote:

> ONFI 4.0 spec defines different values for the tADL_min timing.
> Since we don't want to have different timings depending on the ONFI
> version, we just set tADL_min to the maximum value (the one specified
> in the ONFI 4.0 spec).

Applied both.

> 
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
>  drivers/mtd/nand/nand_timings.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/mtd/nand/nand_timings.c b/drivers/mtd/nand/nand_timings.c
> index e81470a..c0941d5 100644
> --- a/drivers/mtd/nand/nand_timings.c
> +++ b/drivers/mtd/nand/nand_timings.c
> @@ -16,7 +16,7 @@
>  static const struct nand_sdr_timings onfi_sdr_timings[] = {
>  	/* Mode 0 */
>  	{
> -		.tADL_min = 200000,
> +		.tADL_min = 400000,
>  		.tALH_min = 20000,
>  		.tALS_min = 50000,
>  		.tAR_min = 25000,
> @@ -53,7 +53,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
>  	},
>  	/* Mode 1 */
>  	{
> -		.tADL_min = 100000,
> +		.tADL_min = 400000,
>  		.tALH_min = 10000,
>  		.tALS_min = 25000,
>  		.tAR_min = 10000,
> @@ -90,7 +90,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
>  	},
>  	/* Mode 2 */
>  	{
> -		.tADL_min = 100000,
> +		.tADL_min = 400000,
>  		.tALH_min = 10000,
>  		.tALS_min = 15000,
>  		.tAR_min = 10000,
> @@ -127,7 +127,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
>  	},
>  	/* Mode 3 */
>  	{
> -		.tADL_min = 100000,
> +		.tADL_min = 400000,
>  		.tALH_min = 5000,
>  		.tALS_min = 10000,
>  		.tAR_min = 10000,
> @@ -164,7 +164,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
>  	},
>  	/* Mode 4 */
>  	{
> -		.tADL_min = 70000,
> +		.tADL_min = 400000,
>  		.tALH_min = 5000,
>  		.tALS_min = 10000,
>  		.tAR_min = 10000,
> @@ -201,7 +201,7 @@ static const struct nand_sdr_timings onfi_sdr_timings[] = {
>  	},
>  	/* Mode 5 */
>  	{
> -		.tADL_min = 70000,
> +		.tADL_min = 400000,
>  		.tALH_min = 5000,
>  		.tALS_min = 10000,
>  		.tAR_min = 10000,

      parent reply	other threads:[~2016-08-15 15:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14 14:21 [PATCH 1/2] mtd: nand: timings: Fix tADL_min for ONFI 4.0 chips Boris Brezillon
2016-06-14 14:21 ` [PATCH 2/2] mtd: nand: timings: Reorder tRR_min def in mode 0 Boris Brezillon
2016-08-15 15:17 ` Boris Brezillon [this message]

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=20160815171742.3b5d1fb6@bbrezillon \
    --to=boris.brezillon@free-electrons.com \
    --cc=computersforpeace@gmail.com \
    --cc=dwmw2@infradead.org \
    --cc=ezequiel.garcia@free-electrons.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    --cc=robert.jarzmik@free.fr \
    /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