linux/drivers/mtd/nand/spi
Miquel Raynal 135ac3b84b mtd: spinand: winbond: Fix ODTR write VCR on W35NxxJW
In most scenarios this variant is actually unused (VCR is written in
SSDR mode), but we need to provide an octal variant. The address is 24
bits but is sent over 4 bytes MSB first. This means we need to shift the
register address by one extra byte for the address to be correct.

I didn't catch this initially because the volatile register region is
256 bytes wide, so the write-then-read procedure did work with the small
register addresses I was using at that time: 0 and 1.

Fixes: 44a2f49b9b ("mtd: spinand: winbond: W35N octal DTR support")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2026-04-27 15:08:04 +02:00
..
alliancememory.c mtd: spinand: Add a frequency field to all READ_FROM_CACHE variants 2025-07-30 11:32:16 +02:00
ato.c mtd: spinand: Add a frequency field to all READ_FROM_CACHE variants 2025-07-30 11:32:16 +02:00
core.c mtd: spinand: Add support for packed read data ODTR commands 2026-04-27 15:08:04 +02:00
dosilicon.c mtd: spinand: add support for Dosilicon DS35Q1GA/DS35M1GA 2025-12-16 09:13:46 +01:00
esmt.c * MTD 2026-02-13 15:06:58 -08:00
fmsh.c Core MTD changes: 2025-12-04 11:07:46 -08:00
foresee.c mtd: spinand: add Foresee F35SQB002G flash support 2026-01-29 20:22:14 +01:00
gigadevice.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
Kconfig mtd: spinand: Use the external ECC engine logic 2020-12-10 22:37:30 +01:00
macronix.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
Makefile mtd: spinand: add support for Dosilicon DS35Q1GA/DS35M1GA 2025-12-16 09:13:46 +01:00
micron.c mtd: spinand: Make use of the operation templates through SPINAND_OP() 2026-01-29 20:21:40 +01:00
otp.c mtd: spinand: otp: add helpers functions 2025-02-10 15:52:59 +01:00
paragon.c mtd: spinand: Add a frequency field to all READ_FROM_CACHE variants 2025-07-30 11:32:16 +02:00
skyhigh.c mtd: spinand: Add a frequency field to all READ_FROM_CACHE variants 2025-07-30 11:32:16 +02:00
toshiba.c mtd: spinand: Make use of the operation templates through SPINAND_OP() 2026-01-29 20:21:40 +01:00
winbond.c mtd: spinand: winbond: Fix ODTR write VCR on W35NxxJW 2026-04-27 15:08:04 +02:00
xtx.c mtd: spinand: Add a frequency field to all READ_FROM_CACHE variants 2025-07-30 11:32:16 +02:00