linux/drivers/mtd/nand
Boris Brezillon f88fc122cc mtd: nand: Cleanup/rework the atmel_nand driver
This is a complete rewrite of the driver whose main purpose is to
support the new DT representation where the NAND controller node is now
really visible in the DT and appears under the EBI bus. With this new
representation, we can add other devices under the EBI bus without
risking pinmuxing conflicts (the NAND controller is under the EBI
bus logic and as such, share some of its pins with other devices
connected on this bus).

Even though the goal of this rework was not necessarily to add new
features, the new driver has been designed with this in mind. With a
clearer separation between the different blocks and different IP
revisions, adding new functionalities should be easier (we already
have plans to support SMC timing configuration so that we no longer
have to rely on the configuration done by the bootloader/bootstrap).

Also note that we no longer have a custom ->cmdfunc() implementation,
which means we can now benefit from new features added in the core
implementation for free (support for new NAND operations for example).

The last thing that we gain with this rework is support for multi-chips
and multi-dies chips, thanks to the clean NAND controller <-> NAND
devices representation.

During this transition we also dropped support for AVR32 SoCs which
should soon disappear from mainline (removal of the AVR32 arch is
planned for 4.12).

This new driver has been tested on several platforms (at91sam9261,
at91sam9g45, at91sam9x5, sama5d3 and sama5d4) to make sure it did not
introduce regressions, and it's worth mentioning that old bindings are
still supported (which partly explain the positive diffstat).

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
2017-04-25 14:18:29 +02:00
..
atmel mtd: nand: Cleanup/rework the atmel_nand driver 2017-04-25 14:18:29 +02:00
bcm47xxnflash
brcmnand
gpmi-nand sched/headers: Prepare for new header dependencies before moving code to <linux/sched/task_stack.h> 2017-03-02 08:42:36 +01:00
ams-delta.c
au1550nd.c
bf5xx_nand.c
cafe_nand.c
cmx270_nand.c
cs553x_nand.c
davinci_nand.c
denali_dt.c mtd: nand: denali: introduce capability flag 2017-03-24 09:51:38 +01:00
denali_pci.c
denali.c mtd: nand: denali: remove unnecessary writes to ECC_CORRECTION 2017-03-28 14:24:46 +02:00
denali.h mtd: nand: denali: remove unnecessary writes to ECC_CORRECTION 2017-03-28 14:24:46 +02:00
diskonchip.c
docg4.c
fsl_elbc_nand.c
fsl_ifc_nand.c mtd: nand: ifc: Fix location of eccstat registers for IFC V1.0 2017-02-06 08:54:01 +01:00
fsl_upm.c
fsmc_nand.c mtd: nand: fsmc: remove CONFIG_OF conditional 2017-03-23 11:11:44 +01:00
gpio.c mtd: nand: gpio: make nCE GPIO optional 2017-03-16 10:34:27 +01:00
hisi504_nand.c
jz4740_nand.c
jz4780_bch.c
jz4780_bch.h
jz4780_nand.c
Kconfig mtd: nand: Cleanup/rework the atmel_nand driver 2017-04-25 14:18:29 +02:00
lpc32xx_mlc.c
lpc32xx_slc.c
Makefile mtd: nand: Cleanup/rework the atmel_nand driver 2017-04-25 14:18:29 +02:00
mpc5121_nfc.c
mtk_ecc.c
mtk_ecc.h
mtk_nand.c
mxc_nand.c
nand_amd.c mtd: nand: Move AMD/Spansion specific init/detection logic in nand_amd.c 2017-03-08 23:21:22 +01:00
nand_base.c mtd: nand: do not check R/B# for CMD_SET_FEATURES in nand_command(_lp) 2017-03-24 10:07:40 +01:00
nand_bbt.c
nand_bch.c
nand_ecc.c
nand_hynix.c mtd: nand: hynix: Fix an error code in init 2017-03-23 10:44:02 +01:00
nand_ids.c mtd: nand: Move Macronix specific initialization in nand_macronix.c 2017-03-08 23:21:23 +01:00
nand_macronix.c mtd: nand: Move Macronix specific initialization in nand_macronix.c 2017-03-08 23:21:23 +01:00
nand_micron.c mtd: nand: Move Micron specific init logic in nand_micron.c 2017-03-08 23:21:21 +01:00
nand_samsung.c mtd: nand: samsung: Retrieve ECC requirements from extended ID 2017-03-08 23:21:23 +01:00
nand_timings.c
nand_toshiba.c mtd: nand: Move Toshiba specific init/detection logic in nand_toshiba.c 2017-03-08 23:21:21 +01:00
nandsim.c mtd: nand: nandsim: fix spelling mistake: "weakpagess" -> "weakpages" 2017-03-16 10:23:38 +01:00
ndfc.c
nuc900_nand.c
omap2.c
omap_elm.c
orion_nand.c mtd: nand: orion: improve handling of optional clock 2017-03-29 17:05:37 +02:00
oxnas_nand.c
pasemi_nand.c
plat_nand.c
pxa3xx_nand.c
qcom_nandc.c
r852.c
r852.h
s3c2410.c
sh_flctl.c
sharpsl.c
sm_common.c
sm_common.h
socrates_nand.c
sunxi_nand.c mtd: nand: sunxi: simplify optional reset handling 2017-03-16 09:53:59 +01:00
tango_nand.c mtd: nand: tango: Enforce DMA direction type 2017-03-16 10:26:23 +01:00
tmio_nand.c
txx9ndfmc.c
vf610_nfc.c
xway_nand.c mtd: update my email address 2017-02-08 12:49:27 -08:00