]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtd: spinand: Define octal operations
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 3 Apr 2025 09:19:25 +0000 (11:19 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Apr 2025 09:05:34 +0000 (11:05 +0200)
commit51b252cce172cbfb21dfd5e544dcbefc649f3daa
tree6917cc0ea62a8ff9d3b899d38f8cfb362e67d82a
parentac3a4b17e03b079c00eb61456364bcdbf65f3436
mtd: spinand: Define octal operations

SPI NAND chips may support octal "read from cache" and "program load"
transfers. List the opcodes by defining the relevant macros describing
these operations.

However, due to the hardware available I had, 0x82 and 0xc2 are
untested and given as reference, only 0xc4 could be (successfully)
tested.

Controllers supporting operations mixing SDR and DTR operations might
even leverage octal DTR data I/O transfers.

Acked-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
include/linux/mtd/spinand.h