Skip to content
Commit 5ddc7bd4 authored by Romain Izard's avatar Romain Izard Committed by Brian Norris
Browse files

mtd: atmel_nand: Support variable RB_EDGE interrupts



The NFC controller used to accelerate the NAND transfers on SAMA5 chips
can use either RB_EDGE0 or RB_EDGE3 as its ready/busy interrupt bit.

Use the controller's compatible string to select the correct bit.

For the binding:
Acked-by: default avatarRob Herring <robh@kernel.org>

Reviewed-by: default avatarWenyou Yang <Wenyou.yang@atmel.com>
Tested-by: default avatarWenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarRomain Izard <romain.izard.pro@gmail.com>
Signed-off-by: default avatarBrian Norris <computersforpeace@gmail.com>
parent ed4eeba7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment