mtd: rawnand: atmel: set pmecc data setup time
authorZixun LI <admin@hifiphile.com>
Fri, 7 Nov 2025 15:02:23 +0000 (16:02 +0100)
committerEugen Hristev <eugen.hristev@linaro.org>
Fri, 21 Nov 2025 08:36:11 +0000 (10:36 +0200)
commitee5053adcb30f03b20dfe03456be1f0a524a4d9a
tree02693b264e5127d2177ecdf8cf1e20602513c1f3
parentb10c055d4e1b5153a331a61ef82a5b01b5bb4c45
mtd: rawnand: atmel: set pmecc data setup time

Setup the pmecc data setup time as 3 clock cycles for 133MHz as
recommended by the datasheet.

Backported from Linux: f55f552a7c7e0a1 ("mtd: rawnand: atmel: set pmecc
data setup time")

Fixes: a490e1b7c017c ("nand: atmel: Add pmecc driver")

Signed-off-by: Zixun LI <admin@hifiphile.com>
Tested-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Eugen Hristev <eugen.hristev@linaro.org>
drivers/mtd/nand/raw/atmel/pmecc.c