Skip to content

dw_dmac: introduce autoconfiguration

Andy Shevchenko lkml 2 versions – Applied

Status from this message: Applied all, Thanks

Get series with b4
b4 am 1348229149-29040-1-git-send-email-andriy.shevchenko@linux.intel.com

Versions newest first · linked by author and title

  1. v2 Latest6 patches 8 repliesApplied
  2. v17 patches 25 repliesSuperseded

Changes in v2 from the cover letter

- addressed all Viresh's comments.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/6dw_dmac: mark dwc_dump_chan_regs as inlinedrivers/dma/dw_dmac.c+1 -10 replies
2/6dw_dmac: fill optional encoded parameters in register structuredrivers/dma/dw_dmac_regs.h+30 -01 reply
3/6dw_dmac: get number of channels from hardware if possibledrivers/dma/dw_dmac.c+23 -101 reply
4/6dw_dmac: autoconfigure block_size or use platform dataarch/arm/mach-spear13xx/spear13xx.c arch/avr32/mach-at32ap/at32ap700x.c drivers/dma/dw_dmac.c +2 more+28 -163 replies
5/6dw_dmac: autoconfigure data_width or get it via platform dataarch/arm/mach-spear13xx/spear13xx.c arch/avr32/mach-at32ap/at32ap700x.c drivers/dma/dw_dmac.c +2 more+56 -611 replies
6/6dw_dmac: introduce software emulation of LLP transfersdrivers/dma/dw_dmac.c drivers/dma/dw_dmac_regs.h+101 -41 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchViresh Kumar
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 0/6] dw_dmac: introduce autoconfiguration

Here is a patchset that allows to adapt the driver to the hardware configuration during probe time. The hardware should have the specific optional parameters enabled. Otherwise the driver will consider values stored in the platform data.

Additionally it brings support of the software LLP transfers. It means that normal linked list transfer is substituted by set of single block transfers transparently to the user.

Since v1:
- addressed all Viresh's comments.

Andy Shevchenko (6):
dw_dmac: mark dwc_dump_chan_regs as inline
dw_dmac: fill optional encoded parameters in register structure
dw_dmac: get number of channels from hardware if possible
dw_dmac: autoconfigure block_size or use platform data
dw_dmac: autoconfigure data_width or get it via platform data
dw_dmac: introduce software emulation of LLP transfers

 arch/arm/mach-spear13xx/spear13xx.c |    3 +
 arch/avr32/mach-at32ap/at32ap700x.c |    3 +
 drivers/dma/dw_dmac.c               |  209 +++++++++++++++++++++++++++++------
 drivers/dma/dw_dmac_regs.h          |   46 ++++++++
 include/linux/dw_dmac.h             |    7 ++
 5 files changed, 235 insertions(+), 33 deletions(-)
Signature · 1 line
1.7.10.4