[RFC PATCH v3 0/4] Fix and improve gpmi nand on mx28
From: Dario Binacchi
Date: Mon Jan 17 2022 - 11:18:15 EST
Starting from [1], the series fixes the timings setting of the gpmi
controller for the mx28 architecture, also adding support for fast
edo mode timings. The whole series has been heavily tested with the
mtd kernel test modules, and with repeated write cycles on nand.
[1] https://lore.kernel.org/r/20210702065350.209646-5-ebiggers@xxxxxxxxxx
Changes in v3:
- Remove the "mtd: rawnand: gpmi: use a table to get EDO mode setup" patch.
- Simplify the validation logic (suggested by Sascha Hauer <sha@xxxxxxxxxxxxxx>).
Changes in v2:
- Reparent by device tree instead of code (drivers/clk/mxs/clk-imx28.c).
Suggested by Stephen Boyd.
- Improve the commit description.
- give examples of frequencies on my setup.
- Fix commit description.
- Add an example to the commit description to better understand the
problem solved by the patch.
- Split the patch.
- Improve the commit message.
- Move the patch to the end of the series.
Dario Binacchi (4):
ARM: dts: imx28: reparent gpmi clock to ref_gpmi
mtd: rawnand: gpmi: fix controller timings setting
mtd: rawnand: gpmi: validate controller clock rate
mtd: rawnand: gpmi: support fast edo timings for mx28
arch/arm/boot/dts/imx28.dtsi | 2 ++
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c | 27 ++++++++++++++++++----
2 files changed, 24 insertions(+), 5 deletions(-)
--
2.32.0