mtd: spinand: Use more specific naming for the write enable/disable op
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 3 Apr 2025 09:19:12 +0000 (11:19 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 29 Apr 2025 09:00:56 +0000 (11:00 +0200)
commitd54e34c58aa224bdd0b9ea0f429c5a90d91db2c7
tree0003ee3eb111596580ff2a1adf5e74199e9c18ab
parentb15d97139ff14beb7c300f261e11d22d5a996941
mtd: spinand: Use more specific naming for the write enable/disable op

SPI operations have been initially described through macros implicitly
implying the use of a single SPI SDR bus. Macros for supporting dual and
quad I/O transfers have been added on top, generally inspired by vendor
naming, followed by DTR operations. Soon we might see octal
and even octal DTR operations as well (including the opcode byte).

Let's clarify what the macro really means by describing the expected bus
topology in the write enable/disable macro names.

Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
[Miquel: Fixed conflicts with -next by updating esmt and micron drivers]
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/core.c
drivers/mtd/nand/spi/esmt.c
drivers/mtd/nand/spi/micron.c
include/linux/mtd/spinand.h