2022-04-19 18:12:19

by Michael Walle

[permalink] [raw]
Subject: [PATCH] mtd: spi-nor: amend the rdsr dummy cycles documentation

The rdsr dummy cycles are only used by the 8d-8d-8d mode. Mention that
in the documentation.

Signed-off-by: Michael Walle <[email protected]>
---
drivers/mtd/spi-nor/core.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/mtd/spi-nor/core.h b/drivers/mtd/spi-nor/core.h
index e355457a8555..beb622ae2779 100644
--- a/drivers/mtd/spi-nor/core.h
+++ b/drivers/mtd/spi-nor/core.h
@@ -236,9 +236,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
--
2.30.2


2022-04-20 12:06:44

by Pratyush Yadav

[permalink] [raw]
Subject: Re: [PATCH] mtd: spi-nor: amend the rdsr dummy cycles documentation

On 18/04/22 01:28PM, Michael Walle wrote:
> The rdsr dummy cycles are only used by the 8d-8d-8d mode. Mention that
> in the documentation.
>
> Signed-off-by: Michael Walle <[email protected]>

Reviewed-by: Pratyush Yadav <[email protected]>

--
Regards,
Pratyush Yadav
Texas Instruments Inc.

2022-05-02 14:12:53

by Pratyush Yadav

[permalink] [raw]
Subject: Re: [PATCH] mtd: spi-nor: amend the rdsr dummy cycles documentation

On Mon, 18 Apr 2022 13:28:37 +0200, Michael Walle wrote:
> The rdsr dummy cycles are only used by the 8d-8d-8d mode. Mention that
> in the documentation.
>
>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-nor/next, thanks!
[1/1] mtd: spi-nor: amend the rdsr dummy cycles documentation
https://git.kernel.org/mtd/c/5ad784d990

--
Regards,
Pratyush Yadav
Texas Instruments Inc.