1. 05 2月, 2015 1 次提交
  2. 28 2月, 2013 1 次提交
    • A
      dmaengine: dw_dmac: move to generic DMA binding · f9c6a655
      Arnd Bergmann 提交于
      The original device tree binding for this driver, from Viresh Kumar
      unfortunately conflicted with the generic DMA binding, and did not allow
      to completely seperate slave device configuration from the controller.
      
      This is an attempt to replace it with an implementation of the generic
      binding, but it is currently completely untested, because I do not have
      any hardware with this particular controller.
      
      The patch applies on top of the slave-dma tree, which contains both the base
      support for the generic DMA binding, as well as the earlier attempt from
      Viresh. Both of these are currently not merged upstream however.
      
      This version incorporates feedback from Viresh Kumar, Andy Shevchenko
      and Russell King.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
      Acked-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Cc: Vinod Koul <vinod.koul@linux.intel.com>
      Cc: devicetree-discuss@lists.ozlabs.org
      Cc: linux-arm-kernel@lists.infradead.org
      Signed-off-by: NVinod Koul <vinod.koul@intel.com>
      f9c6a655
  3. 08 1月, 2013 1 次提交
    • V
      dmaengine: dw_dmac: Enhance device tree support · a9ddb575
      Viresh Kumar 提交于
      dw_dmac driver already supports device tree but it used to have its platform
      data passed the non-DT way.
      
      This patch does following changes:
      - pass platform data via DT, non-DT way still takes precedence if both are used.
      - create generic filter routine
      - Earlier slave information was made available by slave specific filter routines
        in chan->private field. Now, this information would be passed from within dmac
        DT node. Slave drivers would now be required to pass bus_id (a string) as
        parameter to this generic filter(), which would be compared against the slave
        data passed from DT, by the generic filter routine.
      - Update binding document
      Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
      Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      [Fixed __devinit usage]
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      a9ddb575
  4. 11 5月, 2012 1 次提交