Watch
1
0
Fork
You've already forked kernel_a52xq
0
mirror of https://github.com/a52xq-dev/kernel.git synced 2026-11-23 02:16:59 +07:00
kernel_a52xq/drivers/mtd/nand/raw/gpmi-nand
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Miquel Raynal 76e1a0086a mtd: rawnand: gpmi: support ->setup_data_interface()
Until now the GPMI driver had its own timings logic while the core
already handles that and request the NAND controller drivers to support
the ->setup_data_interface() hook. Implement that hook by reusing the
already existing function. No real glue is necessary between core timing
delays and GPMI registers because the driver already translates the
ONFI timing modes into register values.

Make use of the core's tREA, tRLOH and tRHOH values that allow computing
more precise timings for mode [0-3] and get significantly better values
(+20% with an i.MX6 Sabre Auto board). Otherwise use the existing logic.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Tested-by: Han Xu <han.xu@nxp.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
2018-03-20 12:00:00 +01:00
..
bch-regs.h mtd: nand: move raw NAND related code to the raw/ subdir 2018-02-16 10:09:34 +01:00
gpmi-lib.c mtd: rawnand: gpmi: support ->setup_data_interface() 2018-03-20 12:00:00 +01:00
gpmi-nand.c mtd: rawnand: gpmi: support ->setup_data_interface() 2018-03-20 12:00:00 +01:00
gpmi-nand.h mtd: rawnand: gpmi: support ->setup_data_interface() 2018-03-20 12:00:00 +01:00
gpmi-regs.h mtd: nand: move raw NAND related code to the raw/ subdir 2018-02-16 10:09:34 +01:00
Makefile mtd: nand: move raw NAND related code to the raw/ subdir 2018-02-16 10:09:34 +01:00