<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/mtd/nand/spi, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/mtd/nand/spi?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/mtd/nand/spi?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2022-04-21T07:34:12Z</updated>
<entry>
<title>mtd: spinand: Add support for XTX XT26G0xA</title>
<updated>2022-04-21T07:34:12Z</updated>
<author>
<name>Felix Matouschek</name>
<email>felix@matouschek.org</email>
</author>
<published>2022-04-18T13:28:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f4c5c7f9d2e5ab005d57826b740b694b042a737c'/>
<id>urn:sha1:f4c5c7f9d2e5ab005d57826b740b694b042a737c</id>
<content type='text'>
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 &lt;felix@matouschek.org&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Link: https://lore.kernel.org/linux-mtd/20220418132803.664103-1-felix@matouschek.org
</content>
</entry>
<entry>
<title>mtd: spinand: gigadevice: add support for GD5FxGM7xExxG</title>
<updated>2022-04-04T08:34:56Z</updated>
<author>
<name>Chuanhong Guo</name>
<email>gch981213@gmail.com</email>
</author>
<published>2022-03-20T10:00:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=54647cd003c08b714474a5b599a147ec6a160486'/>
<id>urn:sha1:54647cd003c08b714474a5b599a147ec6a160486</id>
<content type='text'>
Add support for:
 GD5F{1,2}GM7{U,R}ExxG
 GD5F4GM8{U,R}ExxG

These are new 27nm counterparts for the GD5FxGQ4 chips from GigaDevice
with 8b/512b on-die ECC capability.
These chips (and currently supported GD5FxGQ5 chips) have QIO DTR
instruction for reading page cache. It isn't added in this patch because
I don't have a DTR spi controller for testing.

Signed-off-by: Chuanhong Guo &lt;gch981213@gmail.com&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Link: https://lore.kernel.org/linux-mtd/20220320100001.247905-6-gch981213@gmail.com
</content>
</entry>
<entry>
<title>mtd: spinand: gigadevice: add support for GD5F{2, 4}GQ5xExxG</title>
<updated>2022-04-04T08:34:54Z</updated>
<author>
<name>Chuanhong Guo</name>
<email>gch981213@gmail.com</email>
</author>
<published>2022-03-20T10:00:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=194ec04b3a9e7fa97d1fbef296410631bc3cf1c8'/>
<id>urn:sha1:194ec04b3a9e7fa97d1fbef296410631bc3cf1c8</id>
<content type='text'>
Add support for:
 GD5F2GQ5{U,R}ExxG
 GD5F4GQ6{U,R}ExxG

These chips uses 4 dummy bytes for quad io and 2 dummy bytes for dual io.
Besides that and memory layout, they are identical to their 1G variant.

Signed-off-by: Chuanhong Guo &lt;gch981213@gmail.com&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Link: https://lore.kernel.org/linux-mtd/20220320100001.247905-5-gch981213@gmail.com
</content>
</entry>
<entry>
<title>mtd: spinand: gigadevice: add support for GD5F1GQ5RExxG</title>
<updated>2022-04-04T08:34:52Z</updated>
<author>
<name>Chuanhong Guo</name>
<email>gch981213@gmail.com</email>
</author>
<published>2022-03-20T09:59:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=620a988813403318023296b61228ee8f3fcdb8e0'/>
<id>urn:sha1:620a988813403318023296b61228ee8f3fcdb8e0</id>
<content type='text'>
This chip is the 1.8v version of GD5F1GQ5UExxG.

Signed-off-by: Chuanhong Guo &lt;gch981213@gmail.com&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Link: https://lore.kernel.org/linux-mtd/20220320100001.247905-4-gch981213@gmail.com
</content>
</entry>
<entry>
<title>mtd: spinand: gigadevice: add support for GD5FxGQ4xExxG</title>
<updated>2022-04-04T08:34:50Z</updated>
<author>
<name>Chuanhong Guo</name>
<email>gch981213@gmail.com</email>
</author>
<published>2022-03-20T09:59:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=573eec222bc82fb5e724586267fbbb1aed9ffd03'/>
<id>urn:sha1:573eec222bc82fb5e724586267fbbb1aed9ffd03</id>
<content type='text'>
Add support for:
 GD5F1GQ4RExxG
 GD5F2GQ4{U,R}ExxG

These chips differ from GD5F1GQ4UExxG only in chip ID, voltage
and capacity.

Signed-off-by: Chuanhong Guo &lt;gch981213@gmail.com&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Link: https://lore.kernel.org/linux-mtd/20220320100001.247905-3-gch981213@gmail.com
</content>
</entry>
<entry>
<title>mtd: spinand: gigadevice: fix Quad IO for GD5F1GQ5UExxG</title>
<updated>2022-04-04T08:34:48Z</updated>
<author>
<name>Chuanhong Guo</name>
<email>gch981213@gmail.com</email>
</author>
<published>2022-03-20T09:59:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a4f9dd55c5e1bb951db6f1dee20e62e0103f3438'/>
<id>urn:sha1:a4f9dd55c5e1bb951db6f1dee20e62e0103f3438</id>
<content type='text'>
Read From Cache Quad IO (EBH) uses 2 dummy bytes on this chip according
to page 23 of the datasheet[0].

[0]: https://www.gigadevice.com/datasheet/gd5f1gq5xexxg/

Fixes: 469b99248985 ("mtd: spinand: gigadevice: Support GD5F1GQ5UExxG")
Signed-off-by: Chuanhong Guo &lt;gch981213@gmail.com&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Link: https://lore.kernel.org/linux-mtd/20220320100001.247905-2-gch981213@gmail.com
</content>
</entry>
<entry>
<title>mtd: spinand: Create direct mapping descriptors for ECC operations</title>
<updated>2022-02-10T08:32:30Z</updated>
<author>
<name>Miquel Raynal</name>
<email>miquel.raynal@bootlin.com</email>
</author>
<published>2022-01-27T09:18:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=f9d7c7265bcff7d9a17425a8cddf702e8fe159c2'/>
<id>urn:sha1:f9d7c7265bcff7d9a17425a8cddf702e8fe159c2</id>
<content type='text'>
In order for pipelined ECC engines to be able to enable/disable the ECC
engine only when needed and avoid races when future parallel-operations
will be supported, we need to provide the information about the use of
the ECC engine in the direct mapping hooks. As direct mapping
configurations are meant to be static, it is best to create two new
mappings: one for regular 'raw' accesses and one for accesses involving
correction. It is up to the driver to use or not the new ECC enable
boolean contained in the spi-mem operation.

As dirmaps are not free (they consume a few pages of MMIO address space)
and because these extra entries are only meant to be used by pipelined
engines, let's limit their use to this specific type of engine and save
a bit of memory with all the other setups.

Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: Boris Brezillon &lt;boris.brezillon@collabora.com&gt;
Link: https://lore.kernel.org/linux-mtd/20220127091808.1043392-9-miquel.raynal@bootlin.com
</content>
</entry>
<entry>
<title>mtd: spinand: Delay a little bit the dirmap creation</title>
<updated>2022-02-10T08:32:30Z</updated>
<author>
<name>Miquel Raynal</name>
<email>miquel.raynal@bootlin.com</email>
</author>
<published>2022-01-27T09:18:02Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=dc4c2cbf0be2d4a8e2a65013ea2815bb2c8ba949'/>
<id>urn:sha1:dc4c2cbf0be2d4a8e2a65013ea2815bb2c8ba949</id>
<content type='text'>
As we will soon tweak the dirmap creation to act a little bit
differently depending on the picked ECC engine, we need to initialize
dirmaps after ECC engines. This should not have any effect as dirmaps
are not yet used at this point.

Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: Boris Brezillon &lt;boris.brezillon@collabora.com&gt;
Link: https://lore.kernel.org/linux-mtd/20220127091808.1043392-8-miquel.raynal@bootlin.com
</content>
</entry>
<entry>
<title>mtd: spinand: macronix: Use random program load</title>
<updated>2022-01-23T11:36:22Z</updated>
<author>
<name>Mason Yang</name>
<email>masonccyang@mxic.com.tw</email>
</author>
<published>2021-12-16T11:16:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=1d46963d453770ac68d954e61f094eba6e42744f'/>
<id>urn:sha1:1d46963d453770ac68d954e61f094eba6e42744f</id>
<content type='text'>
Macronix SPI-NAND chips might benefit from an external ECC
engine. Such an engine might need to access random columns, thus needing
to use random commands (0x84 instead of 0x02).

Signed-off-by: Mason Yang &lt;masonccyang@mxic.com.tw&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Link: https://lore.kernel.org/linux-mtd/20211216111654.238086-12-miquel.raynal@bootlin.com
</content>
</entry>
<entry>
<title>mtd: spinand: macronix: Add Quad support for serial NAND flash</title>
<updated>2021-08-17T08:42:00Z</updated>
<author>
<name>Jaime Liao</name>
<email>jaimeliao@mxic.com.tw</email>
</author>
<published>2021-08-09T01:27:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6f802696c2faf0119781fc3b7977a4eedf9ab239'/>
<id>urn:sha1:6f802696c2faf0119781fc3b7977a4eedf9ab239</id>
<content type='text'>
Adding FLAG "SPINAND_HAS_QE_BIT" for Quad mode support on Macronix
Serial Flash.
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 &lt;jaimeliao@mxic.com.tw&gt;
Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Link: https://lore.kernel.org/linux-mtd/1628472472-32008-1-git-send-email-jaimeliao@mxic.com.tw
</content>
</entry>
</feed>
