1. 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
  2. 29 11月, 2012 2 次提交
  3. 02 10月, 2012 1 次提交
  4. 27 9月, 2012 5 次提交
  5. 14 9月, 2012 1 次提交
  6. 26 7月, 2012 1 次提交
  7. 16 7月, 2012 2 次提交
  8. 21 6月, 2012 10 次提交
  9. 11 5月, 2012 3 次提交
  10. 21 3月, 2012 1 次提交
  11. 13 3月, 2012 6 次提交
  12. 22 2月, 2012 6 次提交
  13. 28 11月, 2011 1 次提交
    • V
      dmaengine/dw_dmac: Reconfigure interrupt and chan_cfg register on resume · 61e183f8
      Viresh Kumar 提交于
      In S2R all DMA registers are reset by hardware and thus they are required to be
      reprogrammed. The channels which aren't reprogrammed are channel configuration
      and interrupt enable registers, which are currently programmed at chan_alloc
      time.
      
      This patch creates another routine to initialize a channel. It will try to
      initialize channel on every dwc_dostart() call. If channel is already
      initialised then it simply returns, otherwise it configures registers.
      
      This routine will also initialize registers on wakeup from S2R, as we mark
      channels as uninitialized on suspend.
      Signed-off-by: NViresh Kumar <viresh.kumar@st.com>
      Signed-off-by: NVinod Koul <vinod.koul@linux.intel.com>
      61e183f8