AnsweredAssumed Answered

APBH DMA and GPMI Interrupts

Question asked by Jay Sherritt on May 26, 2016
Latest reply on May 31, 2016 by Yuri Muhin



I'm writing a device driver for NAND Flash for the i.MX 6 (DQ), and would like to have it be fully interrupt driven.  The documentation for the APBH_DMA in the reference manual (14.5.2) states "Each channel has a dedicated interrupt vector in the vectored interrupt controller.", however, I'm unable to find these in the interrupt map, and my read of the Linux driver is that it only uses interrupts to indicate the end of transfers where the BCH encoding is enabled.


The CHxCMDCMPLT_IRQ bit(s) in the APBH_CTRL1n register are being set appropriately in accordance with my channel commands (and enabled by the CHxCMDCMPLT_IRQ_EN bits), but I haven't found any way to promulgate these back to the GIC.


How do I get an interrupt at the end of a descriptor phase when BCH encoding or decoding is not enabled?