SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH 0/19] ASoC: rsnd: move 2nd DMAC from DMAEngine to rsnd driver
@ 2015-02-19  3:50 Kuninori Morimoto
  2015-02-19  3:50 ` [PATCH 01/19] ASoC: rsnd: remove SH-DMA-BASE specific implementation Kuninori Morimoto
                   ` (19 more replies)
  0 siblings, 20 replies; 24+ messages in thread
From: Kuninori Morimoto @ 2015-02-19  3:50 UTC (permalink / raw)
  To: Vinod Koul, Mark Brown, Arnd Bergmann
  Cc: Simon, Linux-SH, Linux-ALSA, Liam Girdwood, Laurent


Hi Mark, Arnd, Vinod
Cc: Laurent, SH-ML

Renesas R-Car sound (= rsnd) needs 2 DMAC which are called as
Audio DMAC (= 1st DMAC) and Audio DMAC peri peri (2nd DMAC).
And rsnd had assumed that 1st / 2nd DMACs are implemented as DMAEngine.
But, in result of DMA ML long term discussion, 2nd DMAC was concluded
that it is not a general purpose DMAC (2nd DMAC is for Device to Device
inside sound system). Additionally, current DMAEngine can't support Device
to Device, and we don't have correct DT bindings for it at this point.
So the easiest solution for it is that move it from DMAEngine to rsnd
driver.
http://thread.gmane.org/gmane.linux.ports.sh.devel/41063/focusC829

These patches add Audio DMAC peri peri implementation in rsnd driver.
I will remove current DMAEngine side Audio DMAC peri peri implement
if these are accepted.

Arnd, Vinod

I'm happy if you can send Ack for these patches


  1) -  5) are cleanup / tidyup rsnd driver
  6) - 11) adds Audio DMAC peri peri implementation in rsnd driver
 12)       change dma-names for 1st DMAC on DT
 13) - 14) cleanup. these are no longer needed now
 15) - 19) DT bindings text update

12) changes dma-names for 1st DMAC. It was assumed that 1st / 2nd
DMAC are used as DMAEngine. dma-names had same naming rule for
both DMAC to avoid complex DT mapping issue,
But now, 2nd DMAC is no longer DMAEngine, we don't need to use
this naming rule anymore.
Now, no SoC/platform is using DMA for rsnd driver yet in upstream.
I believe 12) is no problem for DT.

Kuninori Morimoto (19):
       1) ASoC: rsnd: remove SH-DMA-BASE specific implementation
       2) ASoC: rsnd: remove un-needed parameter from rsnd_dma_init()
       3) ASoC: rsnd: remove unused rsnd_dma_available()
       4) ASoC: rsnd: remove un-needed parameter from rsnd_dma_quit()
       5) ASoC: rsnd: tidyup rsnd_dma_to_mod() macro declaration position
       6) ASoC: rsnd: enable to get resource by name
       7) ASoC: rsnd: add rsnd_gen_get_phy_addr() to get physical address
       8) ASoC: rsnd: add dma.c for Audio DMAC / Audio DMAC peri peri
       9) ASoC: rsnd: move rsnd_gen_dma_addr() from gen.c to dma.c
      10) ASoC: rsnd: enable to care 1st / 2nd DMAC on rsnd_dma_xxx()
      11) ASoC: rsnd: add Audio DMAC peri peri support rework
      12) ASoC: rsnd: dma-names cares 1st DMAC only
      13) ASoC: rsnd: remove rsnd_dma::addr
      14) ASoC: rsnd: remove rsnd_dma::dir
      15) ASoC: rsnd: tidyup rcar_sound,ssi sample code
      16) ASoC: rsnd: add sample code of rcar_sound,src irq
      17) ASoC: rsnd: add sample code of reg-names
      18) ASoC: rsnd: add sample code of missing clocks
      19) ASoC: rsnd: add sample code of dma entry

 .../devicetree/bindings/sound/renesas,rsnd.txt     |  131 +++--
 sound/soc/sh/rcar/Makefile                         |    2 +-
 sound/soc/sh/rcar/core.c                           |  224 +-------
 sound/soc/sh/rcar/dma.c                            |  583 ++++++++++++++++++++
 sound/soc/sh/rcar/gen.c                            |  145 +----
 sound/soc/sh/rcar/rsnd.h                           |   50 +-
 sound/soc/sh/rcar/src.c                            |    5 +-
 sound/soc/sh/rcar/ssi.c                            |    5 +-
 8 files changed, 725 insertions(+), 420 deletions(-)



Best regards
---
Kuninori Morimoto

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2015-02-19  9:11 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-19  3:50 [PATCH 0/19] ASoC: rsnd: move 2nd DMAC from DMAEngine to rsnd driver Kuninori Morimoto
2015-02-19  3:50 ` [PATCH 01/19] ASoC: rsnd: remove SH-DMA-BASE specific implementation Kuninori Morimoto
2015-02-19  3:50 ` [PATCH 02/19] ASoC: rsnd: remove un-needed parameter from rsnd_dma_init() Kuninori Morimoto
2015-02-19  3:51 ` [PATCH 03/19] ASoC: rsnd: remove unused rsnd_dma_available() Kuninori Morimoto
2015-02-19  3:51 ` [PATCH 04/19] ASoC: rsnd: remove un-needed parameter from rsnd_dma_quit() Kuninori Morimoto
2015-02-19  3:51 ` [PATCH 05/19] ASoC: rsnd: tidyup rsnd_dma_to_mod() macro declaration position Kuninori Morimoto
2015-02-19  3:51 ` [PATCH 06/19] ASoC: rsnd: enable to get resource by name Kuninori Morimoto
2015-02-19  3:51 ` [PATCH 07/19] ASoC: rsnd: add rsnd_gen_get_phy_addr() to get physical address Kuninori Morimoto
2015-02-19  3:51 ` [PATCH 08/19] ASoC: rsnd: add dma.c for Audio DMAC / Audio DMAC peri peri Kuninori Morimoto
2015-02-19  3:52 ` [PATCH 09/19] ASoC: rsnd: move rsnd_gen_dma_addr() from gen.c to dma.c Kuninori Morimoto
2015-02-19  3:52 ` [PATCH 10/19] ASoC: rsnd: enable to care 1st / 2nd DMAC on rsnd_dma_xxx() Kuninori Morimoto
2015-02-19  3:52 ` [PATCH 11/19] ASoC: rsnd: add Audio DMAC peri peri support rework Kuninori Morimoto
2015-02-19  3:52 ` [PATCH 12/19] ASoC: rsnd: dma-names cares 1st DMAC only Kuninori Morimoto
2015-02-19  3:52 ` [PATCH 13/19] ASoC: rsnd: remove rsnd_dma::addr Kuninori Morimoto
2015-02-19  3:53 ` [PATCH 14/19] ASoC: rsnd: remove rsnd_dma::dir Kuninori Morimoto
2015-02-19  3:53 ` [PATCH 15/19] ASoC: rsnd: tidyup rcar_sound,ssi sample code Kuninori Morimoto
2015-02-19  3:53 ` [PATCH 16/19] ASoC: rsnd: add sample code of rcar_sound,src irq Kuninori Morimoto
2015-02-19  3:53 ` [PATCH 17/19] ASoC: rsnd: add sample code of reg-names Kuninori Morimoto
2015-02-19  3:53 ` [PATCH 18/19] ASoC: rsnd: add sample code of missing clocks Kuninori Morimoto
2015-02-19  3:53 ` [PATCH 19/19] ASoC: rsnd: add sample code of dma entry Kuninori Morimoto
2015-02-19  8:19 ` [PATCH 0/19] ASoC: rsnd: move 2nd DMAC from DMAEngine to rsnd driver Arnd Bergmann
2015-02-19  8:44   ` Kuninori Morimoto
2015-02-19  8:51     ` Arnd Bergmann
2015-02-19  9:11       ` Kuninori Morimoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox