]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtd: spinand: winbond: Enable high-speed modes on w25n0xjw
authorMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 13 Sep 2025 15:30:48 +0000 (11:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Sep 2025 14:37:33 +0000 (16:37 +0200)
commit4fb20a449bf418bdf1c4d7f0a666b01a9d619c2a
treef19672196baa3de43d6223561087996b477c8f2c
parent589560e63ebd7135c1ce9388cef58e4417c891b3
mtd: spinand: winbond: Enable high-speed modes on w25n0xjw

[ Upstream commit f1a91175faaab02a45d1ceb313a315a5bfeb5416 ]

w25n0xjw chips have a high-speed capability hidden in a configuration
register. Once enabled, dual/quad SDR reads may be performed at a much
higher frequency.

Implement the new ->configure_chip() hook for this purpose and configure
the SR4 register accordingly.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Stable-dep-of: 4550d33e1811 ("mtd: spinand: winbond: Fix oob_layout for W25N01JW")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mtd/nand/spi/core.c
drivers/mtd/nand/spi/winbond.c
include/linux/mtd/spinand.h