diff mbox series

[v3,26/27] mtd: spinand: winbond: Add comment about naming

Message ID 20250110-winbond-6-11-rc1-quad-support-v3-26-7ab4bd56cf6e@bootlin.com (mailing list archive)
State Handled Elsewhere
Headers show
Series spi-nand/spi-mem DTR support | expand

Checks

Context Check Description
conchuod/vmtest-for-next-PR fail PR summary
conchuod/patch-26-test-1 success .github/scripts/patches/tests/build_rv32_defconfig.sh took 140.40s
conchuod/patch-26-test-2 success .github/scripts/patches/tests/build_rv64_clang_allmodconfig.sh took 1381.32s
conchuod/patch-26-test-3 success .github/scripts/patches/tests/build_rv64_gcc_allmodconfig.sh took 1610.43s
conchuod/patch-26-test-4 success .github/scripts/patches/tests/build_rv64_nommu_k210_defconfig.sh took 20.86s
conchuod/patch-26-test-5 success .github/scripts/patches/tests/build_rv64_nommu_virt_defconfig.sh took 23.07s
conchuod/patch-26-test-6 success .github/scripts/patches/tests/checkpatch.sh took 0.45s
conchuod/patch-26-test-7 success .github/scripts/patches/tests/dtb_warn_rv64.sh took 43.80s
conchuod/patch-26-test-8 success .github/scripts/patches/tests/header_inline.sh took 0.01s
conchuod/patch-26-test-9 success .github/scripts/patches/tests/kdoc.sh took 0.54s
conchuod/patch-26-test-10 success .github/scripts/patches/tests/module_param.sh took 0.01s
conchuod/patch-26-test-11 success .github/scripts/patches/tests/verify_fixes.sh took 0.00s
conchuod/patch-26-test-12 success .github/scripts/patches/tests/verify_signedoff.sh took 0.04s

Commit Message

Miquel Raynal Jan. 10, 2025, 2:45 p.m. UTC
Make the link between the core macros and the datasheet.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 drivers/mtd/nand/spi/winbond.c | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/drivers/mtd/nand/spi/winbond.c b/drivers/mtd/nand/spi/winbond.c
index 97517d495e57a6e9e616ed7e66b4a8e9fc1fe62a..51972ba0f193c7b27ece0296c1590ddfed0ac813 100644
--- a/drivers/mtd/nand/spi/winbond.c
+++ b/drivers/mtd/nand/spi/winbond.c
@@ -18,6 +18,11 @@ 
 
 #define W25N04KV_STATUS_ECC_5_8_BITFLIPS	(3 << 4)
 
+/*
+ * "X2" in the core is equivalent to "dual output" in the datasheets,
+ * "X4" in the core is equivalent to "quad output" in the datasheets.
+ */
+
 static SPINAND_OP_VARIANTS(read_cache_dtr_variants,
 		SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(0, 2, NULL, 0),
 		SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, NULL, 0),