kernel_samsung_a53x/drivers/mtd
Jaime Liao 562e85e2dd mtd: spinand: macronix: Add support for serial NAND flash
commit c374839f9b4475173e536d1eaddff45cb481dbdf upstream.

Macronix NAND Flash devices are available in different configurations
and densities.

MX"35" means SPI NAND
MX35"LF"/"UF" , LF means 3V and UF meands 1.8V
MX35LF"2G" , 2G means 2Gbits
MX35LF2G"E4"/"24"/"14",
E4 means internal ECC and Quad I/O(x4)
24 means 8-bit ecc requirement and Quad I/O(x4)
14 means 4-bit ecc requirement and Quad I/O(x4)

MX35LF2G14AC is 3V 2Gbit serial NAND flash device
(without on-die ECC)
https://www.mxic.com.tw/Lists/Datasheet/Attachments/7926/MX35LF2G14AC,%203V,%202Gb,%20v1.1.pdf

MX35UF4G24AD is 1.8V 4Gbit serial NAND flash device
(without on-die ECC)
https://www.mxic.com.tw/Lists/Datasheet/Attachments/7980/MX35UF4G24AD,%201.8V,%204Gb,%20v0.00.pdf

MX35UF4GE4AD/MX35UF2GE4AD are 1.8V 4G/2Gbit serial
NAND flash device with 8-bit on-die ECC
https://www.mxic.com.tw/Lists/Datasheet/Attachments/7983/MX35UF4GE4AD,%201.8V,%204Gb,%20v0.00.pdf

MX35UF2GE4AC/MX35UF1GE4AC are 1.8V 2G/1Gbit serial
NAND flash device with 8-bit on-die ECC
https://www.mxic.com.tw/Lists/Datasheet/Attachments/7974/MX35UF2GE4AC,%201.8V,%202Gb,%20v1.0.pdf

MX35UF2G14AC/MX35UF1G14AC are 1.8V 2G/1Gbit serial
NAND flash device (without on-die ECC)
https://www.mxic.com.tw/Lists/Datasheet/Attachments/7931/MX35UF2G14AC,%201.8V,%202Gb,%20v1.1.pdf

Validated via normal(default) and QUAD mode by read, erase, read back,
on Xilinx Zynq PicoZed FPGA board which included Macronix
SPI Host(drivers/spi/spi-mxic.c).

Signed-off-by: Jaime Liao <jaimeliao@mxic.com.tw>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/1621475108-22523-1-git-send-email-jaimeliao@mxic.com.tw
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 14:19:35 +01:00
..
chips mtd: cfi_cmdset_0001: Byte swap OTP info 2024-11-18 11:43:26 +01:00
devices Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hyperbus Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpddr Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
maps mtd: maps: physmap-core: fix flash size larger than 32-bit 2024-11-19 08:44:54 +01:00
nand mtd: spinand: macronix: Add support for serial NAND flash 2024-11-19 14:19:35 +01:00
parsers mtd: partitions: redboot: Added conversion of operands to a larger type 2024-11-19 14:19:32 +01:00
spi-nor Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tests Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ubi ubi: correct the calculation of fastmap size 2024-11-19 09:22:16 +01:00
ftl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inftlcore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
inftlmount.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtd_blkdevs.c mtd: Fix gluebi NULL pointer dereference caused by ftl notifier 2024-11-18 12:12:25 +01:00
mtdblock.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdblock_ro.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdchar.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdconcat.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdcore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdcore.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdoops.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdpart.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdpstore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdsuper.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtdswap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nftlcore.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nftlmount.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
rfd_ftl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sm_ftl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sm_ftl.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ssfdc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00