1. 13 3月, 2012 2 次提交
  2. 28 12月, 2011 1 次提交
  3. 24 12月, 2011 1 次提交
    • S
      dmaengine: add DMA_TRANS_NONE to dma_transfer_direction · 62268ce9
      Shawn Guo 提交于
      Before dma_transfer_direction was introduced to replace
      dma_data_direction, some dmaengine device uses DMA_NONE of
      dma_data_direction for some talk with its client drivers.
      The mxs-dma and its clients mxs-mmc and gpmi-nand are such case.
      
      This patch adds DMA_TRANS_NONE to dma_transfer_direction and
      migrate the DMA_NONE use in mxs-dma to it.
      
      It also fixes the compile warning below.
      
      CC      drivers/dma/mxs-dma.o
      drivers/dma/mxs-dma.c: In function ‘mxs_dma_prep_slave_sg’:
      drivers/dma/mxs-dma.c:420:16: warning: comparison between ‘enum dma_transfer_direction’ and ‘enum dma_data_direction’
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      62268ce9
  4. 23 12月, 2011 4 次提交
  5. 27 10月, 2011 1 次提交
  6. 16 8月, 2011 1 次提交
  7. 26 7月, 2011 2 次提交
  8. 14 7月, 2011 1 次提交
    • S
      dmaengine: mxs-dma: skip request_irq for NO_IRQ · 95bfea16
      Shawn Guo 提交于
      In general, the mxs-dma users get separate irq for each channel,
      but gpmi is special one which has only one irq shared by all gpmi
      channels.  It causes mxs_dma channel allocation function fail for
      all other gpmi channels except the first one calling into the
      function.
      
      The patch gets request_irq call skipped for NO_IRQ case, and leaves
      this gpmi specific quirk to gpmi driver to sort out.  It will fix
      above problem if gpmi driver sets chan_irq as gpmi irq for only one
      channel and NO_IRQ for all the rest channels.
      Signed-off-by: NShawn Guo <shawn.guo@linaro.org>
      Cc: Vinod Koul <vinod.koul@intel.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      95bfea16
  9. 02 3月, 2011 1 次提交
    • S
      dmaengine: mxs-dma: add dma support for i.MX23/28 · a580b8c5
      Shawn Guo 提交于
      This patch adds dma support for Freescale MXS-based SoC i.MX23/28,
      including apbh-dma and apbx-dma.
      
      * apbh-dma and apbx-dma are supported in the driver as two mxs-dma
        instances.
      
      * apbh-dma is different between mx23 and mx28, hardware version
        register is used to differentiate.
      
      * mxs-dma supports pio function besides data transfer.  The driver
        uses dma_data_direction DMA_NONE to identify the pio mode, and
        steals sgl and sg_len to get pio words and numbers from clients.
      
      * mxs dmaengine has some very specific features, like sense function
        and the special NAND support (nand_lock, nand_wait4ready).  These
        are too specific to implemented in generic dmaengine driver.
      
      * The driver refers to imx-sdma and only a single descriptor is
        statically assigned to each channel.
      Signed-off-by: NShawn Guo <shawn.guo@freescale.com>
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      a580b8c5