]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: spinand: winbond: Clarify when to enable the HS bit
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Mar 2026 10:47:50 +0000 (11:47 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 25 Mar 2026 14:27:46 +0000 (15:27 +0100)
commit25a915fad503c2678902075565d47ddc2aa45db9
tree95e92cae2664801c66503fb6fb1b5304762befd6
parent54dcd6aa69db541529a083b31f106ef7d147fea1
mtd: spinand: winbond: Clarify when to enable the HS bit

Above 104MHz when in fast dual or quad I/O reads, the delay between
address and data cycles is too short. It is possible to reach higher
frequencies, up to 166MHz, by adding a few more dummy cycles through the
setting of the HS bit. Improve the condition for enabling this bit, and
also make sure we set it at soon as we go over 104MHz.

Fixes: f1a91175faaa ("mtd: spinand: winbond: Enable high-speed modes on w25n0xjw")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/winbond.c