[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220123152306.529424-1-miquel.raynal@bootlin.com>
Date: Sun, 23 Jan 2022 16:23:06 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Dario Binacchi <dario.binacchi@...rulasolutions.com>,
linux-kernel@...r.kernel.org
Cc: Miquel Raynal <miquel.raynal@...tlin.com>,
Michael Trimarchi <michael@...rulasolutions.com>,
Sascha Hauer <s.hauer@...gutronix.de>,
Boris Brezillon <bbrezillon@...nel.org>,
Han Xu <han.xu@....com>, Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
linux-mtd@...ts.infradead.org
Subject: Re: [PATCH 2/4] mtd: rawnand: gpmi: fix controller timings setting
On Tue, 2022-01-18 at 09:54:32 UTC, Dario Binacchi wrote:
> Set the controller registers according to the real clock rate. The
> controller registers configuration (setup, hold, timeout, ... cycles)
> depends on the clock rate of the GPMI. Using the real rate instead of
> the ideal one, avoids that this inaccuracy (required_rate - real_rate)
> affects the registers setting.
>
> This patch has been tested on two custom boards with i.MX28 and i.MX6
> SOCs:
> - i.MX28:
> required rate 100MHz, real rate 99.3MHz
> - i.MX6
> required rate 100MHz, real rate 99MHz
>
> Fixes: b1206122069a ("mtd: rawnand: gpmi: use core timings instead of an empirical derivation")
> Co-developed-by: Michael Trimarchi <michael@...rulasolutions.com>
> Signed-off-by: Michael Trimarchi <michael@...rulasolutions.com>
> Signed-off-by: Dario Binacchi <dario.binacchi@...rulasolutions.com>
> Tested-by: Sascha Hauer <s.hauer@...gutronix.de>
> Reviewed-by: Sascha Hauer <s.hauer@...gutronix.de>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
Powered by blists - more mailing lists