mtd: spi-nor: amend the rdsr dummy cycles documentation
authorMichael Walle <michael@walle.cc>
Mon, 18 Apr 2022 11:28:37 +0000 (13:28 +0200)
committerPratyush Yadav <p.yadav@ti.com>
Fri, 29 Apr 2022 06:02:12 +0000 (11:32 +0530)
The rdsr dummy cycles are only used by the 8d-8d-8d mode. Mention that
in the documentation.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Reviewed-by: Pratyush Yadav <p.yadav@ti.com>
Link: https://lore.kernel.org/r/20220418112837.2792242-1-michael@walle.cc
drivers/mtd/spi-nor/core.h

index 658ed17..80d4831 100644 (file)
@@ -345,9 +345,10 @@ struct spi_nor_otp {
  * @writesize          Minimal writable flash unit size. Defaults to 1. Set to
  *                     ECC unit size for ECC-ed flashes.
  * @page_size:         the page size of the SPI NOR flash memory.
- * @rdsr_dummy:                dummy cycles needed for Read Status Register command.
+ * @rdsr_dummy:                dummy cycles needed for Read Status Register command
+ *                     in octal DTR mode.
  * @rdsr_addr_nbytes:  dummy address bytes needed for Read Status Register
- *                     command.
+ *                     command in octal DTR mode.
  * @hwcaps:            describes the read and page program hardware
  *                     capabilities.
  * @reads:             read capabilities ordered by priority: the higher index