Skip to content

usb: musb: cppi41: Add a way to manage DMA irq

Alexandre Bailon linux-omap 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 4 repliesIn review
  2. v33 patches 7 repliesSuperseded

Changes in v5 from the cover letter

- Clean up patch 4 and 5

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6usb: musb: dma: Add a DMA completion platform callbackdrivers/usb/musb/musb_cppi41.c drivers/usb/musb/musb_dma.h+10 -20 replies
2/6usb: musb: cppi41: Detect aborted transfers in cppi41_dma_callback()drivers/usb/musb/musb_cppi41.c+9 -40 replies
3/6usb: musb: cppi_dma: Clean up cppi structuredrivers/usb/musb/cppi_dma.c drivers/usb/musb/cppi_dma.h+13 -140 replies
4/6usb: musb: cppi_dma: Clean up cppi41_dma_controller structuredrivers/usb/musb/musb_cppi41.c+13 -160 replies
5/6usb: musb: cppi_dma: Clean up tusb_omap_dma structuredrivers/usb/musb/tusb6010_omap.c+3 -42 replies
6/6usb: musb: dsps: Manage CPPI 4.1 DMA interrupt in DSPSdrivers/dma/cppi41.c drivers/usb/musb/musb_dsps.c+86 -231 reply

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchVinod Koul
1/6
2/6
3/6
4/6
5/6
6/6A-b

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

Read the v5 thread

Cover letter [PATCH v5 0/6] usb: musb: cppi41: Add a way to manage DMA irq

This series was "dmaengine: cppi41: Make the driver more generic". I have tried to separate as munch I could CPPI 4.1 MUSB driver changes.

Currently, the DMA interrupt is managed by the CPPI 4.1 driver. The issue here is the CPPI 4.1 driver must access to MUSB glue registers to manage its interrupt.
In order to move the interrupts management from CPPI 4.1 driver to MUSB (and then make it more generic), update the MUSB CPPI 4.1 driver with changes that will help to manage DMA interrupt from MUSB driver.

Changes in v5:
- Clean up patch 4 and 5

Changes in v4:
- Remove musb pointer from struct cppi, cppi41_dma_controller and tusb_omap_dma.

Changes in v3:
- Move a patch from another series to this one to avoid build error report from kbuild test robot
- Instead of adding and exporting function, add one callback and a pointer to musb in struct dma_controller
- Surround the DMA function introduced in musb_dsps with #ifdef / #endif.

Changes in v2:
- Fix some typo in commit messages
- Add more explanation about some changes made by patch 2 in commit message

Alexandre Bailon (6):
usb: musb: dma: Add a DMA completion platform callback
usb: musb: cppi41: Detect aborted transfers in cppi41_dma_callback()
usb: musb: cppi_dma: Clean up cppi structure
usb: musb: cppi_dma: Clean up cppi41_dma_controller structure
usb: musb: cppi_dma: Clean up tusb_omap_dma structure
usb: musb: dsps: Manage CPPI 4.1 DMA interrupt in DSPS

 drivers/dma/cppi41.c             | 28 ++++----------
 drivers/usb/musb/cppi_dma.c      | 26 ++++++-------
 drivers/usb/musb/cppi_dma.h      |  1 -
 drivers/usb/musb/musb_cppi41.c   | 49 +++++++++++++-----------
 drivers/usb/musb/musb_dma.h      |  5 +++
 drivers/usb/musb/musb_dsps.c     | 81 +++++++++++++++++++++++++++++++++++++++-
 drivers/usb/musb/tusb6010_omap.c |  7 ++--
 7 files changed, 134 insertions(+), 63 deletions(-)
Signature · 6 lines
2.10.2

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html