From: boris.brezillon@bootlin.com (Boris Brezillon)
To: linux-arm-kernel@lists.infradead.org
Subject: Clock configuration for the SAMA5D2 NAND controller
Date: Wed, 17 Oct 2018 15:54:40 +0200 [thread overview]
Message-ID: <20181017155440.10d34743@bbrezillon> (raw)
In-Reply-To: <CAGkQfmNdp+Si9FseRjjRG4r272kRtu=7MqwHD6OUoRKCinXO-g@mail.gmail.com>
On Wed, 17 Oct 2018 15:36:17 +0200
Romain Izard <romain.izard.pro@gmail.com> wrote:
> Le mer. 17 oct. 2018 ? 15:03, Boris Brezillon <boris.brezillon@bootlin.com>
> a ?crit :
> >
> > On Wed, 17 Oct 2018 14:49:27 +0200 Romain Izard
> > <romain.izard.pro@gmail.com> wrote:
> >
> > > Le mer. 17 oct. 2018 ? 14:38, Boris Brezillon
> > > <boris.brezillon@bootlin.com> a ?crit :
> > > >
> [...]
> > > >
> > > > Is it 2 times slower or 2 times faster with the new approach? Is the
> > > > new calculation providing a working solution, or do you have data
> > > > corruption because of that? Is your NAND ONFI compliant?
> > > >
> > > - The number of clock cycles for each configured timing is larger, so
> > > the access times are slower.
> >
> > Okay. When calculating the timings by hand, what was reference freq you
> > used? Did you compare it to the clk freq we have when the NAND controller
> > driver tweaks the timings?
> >
> I know that I did the calculations with a 83 MHz clock, but that the kernel
> code used a 166 MHz clock instead. The only question is to know whether it
> is me or the existing code that is right.
Actually, if you have a test point on the RE pin, there's an easy way
to know who's right: check the freq on RE and compare it to what you
expect it to be.
next prev parent reply other threads:[~2018-10-17 13:54 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-10 17:05 Clock configuration for the SAMA5D2 NAND controller Romain Izard
2018-10-17 10:42 ` Romain Izard
2018-10-17 10:42 ` Romain Izard
2018-10-30 9:49 ` Miquel Raynal
2018-10-30 9:49 ` Miquel Raynal
2018-10-17 12:38 ` Boris Brezillon
2018-10-17 12:49 ` Romain Izard
2018-10-17 13:03 ` Boris Brezillon
2018-10-17 13:36 ` Romain Izard
2018-10-17 13:54 ` Boris Brezillon [this message]
2018-11-14 13:45 ` Tudor.Ambarus at microchip.com
2018-11-20 11:28 ` Tudor.Ambarus at microchip.com
2018-11-20 15:26 ` Romain Izard
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=20181017155440.10d34743@bbrezillon \
--to=boris.brezillon@bootlin.com \
--cc=linux-arm-kernel@lists.infradead.org \
/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.