Skip to content
Commit dba90f5a authored by Miquel Raynal's avatar Miquel Raynal
Browse files

mtd: spinand: winbond: Prevent unsupported frequencies on dual/quad I/O variants



Dual and quad capable chips natively support dual and quad I/O variants
at up to 104MHz (1-2-2 and 1-4-4 operations). Reaching the maximum speed
of 166MHz is theoretically possible (while still unsupported in the
field) by adding a few more dummy cycles. Let's be accurate and clearly
state this limit.

Setting a maximum frequency implies adding the frequency parameter to
the macro, which is done using a variadic argument to avoid impacting
all the other drivers which already make use of this macro.

Fixes: 1ea808b4 ("mtd: spinand: winbond: Update the *JW chip definitions")
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 29384bbb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment