]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: spinand: Add support for XTX XT26G0xA
authorFelix Matouschek <felix@matouschek.org>
Mon, 18 Apr 2022 13:28:03 +0000 (15:28 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 21 Apr 2022 07:34:12 +0000 (09:34 +0200)
commit80e6f597e0994ab11e44bc341923d14ea3f6b985
tree725a3f4a1c303c032a8db9f41b5a0a7e4daab992
parent18d9ecee70031becf4be25740f7a19e48e4d0bf7
mtd: spinand: Add support for XTX XT26G0xA

Add support for XTX Technology XT26G01AXXXXX, XTX26G02AXXXXX and
XTX26G04AXXXXX SPI NAND.

These are 3V, 1G/2G/4Gbit serial SLC NAND flash devices with on-die ECC
(8bit strength per 512bytes).

Tested on Teltonika RUTX10 flashed with OpenWrt.

Links:
  - http://www.xtxtech.com/download/?AId=225
  - https://datasheet.lcsc.com/szlcsc/2005251034_XTX-XT26G01AWSEGA_C558841.pdf
Signed-off-by: Felix Matouschek <felix@matouschek.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220418132803.664103-1-felix@matouschek.org
drivers/mtd/nand/spi/Makefile
drivers/mtd/nand/spi/core.c
drivers/mtd/nand/spi/xtx.c [new file with mode: 0644]
include/linux/mtd/spinand.h