u-boot/drivers/mtd/nand/raw
Yifeng Zhao b12dc5d6fa mtd: nand: NFC drivers for RK3308, RK2928 and others
This driver supports Rockchip NFC (NAND Flash Controller) found on
RK3308, RK2928, RKPX30, RV1108 and other SOCs. The driver has been
tested using 8-bit NAND interface on the ARM based RK3308 platform.

Support Rockchip SoCs and NFC versions:
- PX30 and RK3326(NFCv900).
	ECC: 16/40/60/70 bits/1KB.
	CLOCK: ahb and nfc.
- RK3308 and RV1108(NFCv800).
	ECC: 16 bits/1KB.
	CLOCK: ahb and nfc.
- RK3036 and RK3128(NFCv622).
	ECC: 16/24/40/60 bits/1KB.
	CLOCK: ahb and nfc.
- RK3066, RK3188 and RK2928(NFCv600).
	ECC: 16/24/40/60 bits/1KB.
	CLOCK: ahb.

Supported features:
- Read full page data by DMA.
- Support HW ECC(one step is 1KB).
- Support 2 - 32K page size.
- Support 8 CS(depend on SoCs)

Limitations:
- No support for the ecc step size is 512.
- Untested on some SoCs.
- No support for subpages.
- No support for the builtin randomizer.
- The original bad block mask is not supported. It is recommended to
  use  the BBT(bad block table).

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2021-06-18 14:37:20 +08:00
..
brcmnand nand: brcmnand: Don't use -EPROBE_DEFER 2021-02-03 03:38:41 -07:00
am335x_spl_bch.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
arasan_nfc.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
atmel_nand.c nand: atmel: Correct bitflips in erased pages 2021-06-07 11:01:40 +03:00
atmel_nand_ecc.h mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
cortina_nand.c mtd: rawnand: cortina_nand: missing initialization 2021-02-24 16:51:49 -05:00
cortina_nand.h mtd: rawnand: cortina_nand: Add Cortina CAxxxx SoC support 2021-01-18 15:14:34 -05:00
davinci_nand.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
denali.c mtd: nand: raw: denali: Wait for reset completion status 2020-07-11 21:30:21 +09:00
denali.h mtd: nand: raw: denali: Wait for reset completion status 2020-07-11 21:30:21 +09:00
denali_dt.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
denali_spl.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
fsl_elbc_nand.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
fsl_elbc_spl.c common: Move ARM cache operations out of common.h 2019-12-02 18:24:58 -05:00
fsl_ifc_nand.c mtd: rawnand: fsl_ifc: fix FSL NAND driver to read all ONFI parameter pages 2021-03-23 18:06:07 +05:30
fsl_ifc_spl.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
fsl_upm.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
fsmc_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
kb9202_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
Kconfig mtd: nand: NFC drivers for RK3308, RK2928 and others 2021-06-18 14:37:20 +08:00
kirkwood_nand.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
kmeter1_nand.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
lpc32xx_nand_mlc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
lpc32xx_nand_slc.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
Makefile mtd: nand: NFC drivers for RK3308, RK2928 and others 2021-06-18 14:37:20 +08:00
mxc_nand.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mxc_nand.h mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
mxc_nand_spl.c ARM: fix LTO for apf27 2021-05-24 14:21:30 -04:00
mxs_nand.c mtd: mxs_nand: Fix not calling dev_xxx with a device 2020-10-15 18:36:56 -04:00
mxs_nand_dt.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
mxs_nand_spl.c spl: fit: nand: allow for non-page-aligned elements 2021-04-08 20:29:53 +02:00
nand.c mtd: rename CONFIG_MTD_DEVICE -> CONFIG_MTD 2019-12-03 23:04:10 -05:00
nand_base.c mtd: Update fail_addr when erase fails due to bad blocks 2021-04-12 17:17:11 -04:00
nand_bbt.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
nand_bch.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
nand_ecc.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_ids.c mtd: nand: raw: Add Hynix H27UBG8T2BTR id table 2019-01-02 00:58:16 +05:30
nand_plat.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_spl_load.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_spl_loaders.c spl: fit: nand: fix fit loading in case of bad blocks 2020-07-08 17:21:46 -04:00
nand_spl_simple.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
nand_timings.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
nand_util.c mtd: nand: Fix nand write error with bad block addresses above 32-bit 2020-09-11 17:13:56 -04:00
octeontx_bch.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
octeontx_bch.h mtd: nand: Add NAND controller driver for OcteonTX 2020-10-14 07:55:56 +02:00
octeontx_bch_regs.h mtd: nand: Add NAND controller driver for OcteonTX 2020-10-14 07:55:56 +02:00
octeontx_nand.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
omap_elm.c mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
omap_gpmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
pxa3xx_nand.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
pxa3xx_nand.h mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
rockchip_nfc.c mtd: nand: NFC drivers for RK3308, RK2928 and others 2021-06-18 14:37:20 +08:00
stm32_fmc2_nand.c mtd: stm32_fmc2: migrate trace to dev and log macro 2021-01-13 09:52:58 +01:00
sunxi_nand.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
sunxi_nand_spl.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tegra_nand.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
tegra_nand.h mtd: move NAND files into a raw/ subdirectory 2018-09-20 20:10:49 +05:30
vf610_nfc.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
zynq_nand.c Xilinx changes for v2021.04 2021-01-06 07:57:33 -05:00