mtd: rawnand: toshiba: Choose the interface configuration for TH58NVG2S3HBAI4
authorRickard x Andersson <rickaran@axis.com>
Fri, 29 May 2020 11:13:20 +0000 (13:13 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 26 Jun 2020 06:35:08 +0000 (08:35 +0200)
commit6d469f863772946e9ebd26068f7c9a609ab128d3
tree96f046f568128dadeffe7ece677ccf7ad4ac078e
parent246a06ff13277349a09ea4dd46f516185e13d01d
mtd: rawnand: toshiba: Choose the interface configuration for TH58NVG2S3HBAI4

The Kioxia/Toshiba TH58NVG2S3HBAI4 NAND memory is not ONFI compliant.
The timings of the NAND chip memory are quite close to ONFI mode 4 but
is breaking that spec.

By providing our own set of timings, erase block read speed is increased
from 6910 kiB/s to 13490 kiB/s and erase block write speed is increased
from 3350 kiB/s to 4410 kiB/s.

Tested on IMX6SX which has a NAND controller supporting EDO mode.

Signed-off-by: Rickard x Andersson <rickaran@axis.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-mtd/20200529111322.7184-27-miquel.raynal@bootlin.com
drivers/mtd/nand/raw/nand_ids.c
drivers/mtd/nand/raw/nand_toshiba.c