[alsa-devel] [PATCH 0/35] ASoC: rsnd: add CTU/MIX prototype support

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed Jul 15 09:06:56 CEST 2015


Hi Mark, Simon

These patches add CTU/MIX prototype support on Renesas sound card driver.
It needs DPCM feature, so it is assuming to be used via rsrc-card sound card.
These CTU/MIX is still prototype support. This Mixer works well if sound A and B
are using same bit length, same sampling rate.

 1) -  2) adds audio prefix support on DT which is needed on DPCM
 3) - 29) cleanup/tidyup/workaround/prepare patches for CTU/MIX support
30) - 31) CTU/MIX support on driver
32) - 35) CTU/MIX support on SoC

Simon, This time I didn't Cc:ed to SH-ML, since 32) - 35) need
Document update (?). It is done on 30) - 31).
I can post 32) - 35) if Mark accepted 1) - 31)

Kuninori Morimoto (35):
       1) ASoC: core: add snd_soc_of_parse_audio_prefix()
       2) ASoC: rsrc-card: use snd_soc_of_parse_audio_route/prefix for routing
       3) ASoC: rsnd: remove unnecessary 'out of memory' message from SSI
       4) ASoC: rsnd: remove unnecessary 'out of memory' message from SRC
       5) ASoC: rsnd: remove unnecessary 'out of memory' message from DVC
       6) ASoC: rsnd: rename BUSIF_DALIGN to SSI_BUSIF_DALIGN
       7) ASoC: rsnd: rename INT_ENABLE to SSI_INT_ENABLE
       8) ASoC: rsnd: fixup each module counter on __rsnd_mod_call()
       9) ASoC: rsnd: add workaround for SRC sync convert + DVC
      10) ASoC: rsnd: rsnd_mod_id() return -1 if mod was NULL
      11) ASoC: rsnd: move DVC specific macro into dvc.c
      12) ASoC: rsnd: move SRC specific macro into src.c
      13) ASoC: rsnd: dvc: make sure DVC soft reset
      14) ASoC: rsnd: src: make sure SRC soft reset
      15) ASoC: rsnd: enable module multi connection
      16) ASoC: rsnd: rename rsnd_path_parse/break() into add/remove
      17) ASoC: rsnd: add rsnd_path_parse() for CTU/MIX/DVC route setting
      18) ASoC: rsnd: add rsnd_dvc_initialize_lock/unlock()
      19) ASoC: rsnd: add rsnd_src_initialize_lock/unlock()
      20) ASoC: rsnd: tidyup ADINR function name
      21) ASoC: rsnd: add rsnd_get_adinr_chan()
      22) ASoC: rsnd: tidyup data align position
      23) ASoC: rsnd: show debug message for SSI/SRC/DVC connection
      24) ASoC: rsnd: tidyup rsnd_dma_ops definition place
      25) ASoC: rsnd: check the Gen1 at the beginning of DVC probe
      26) ASoC: rsnd: dma: add DMA name on .ops
      27) ASoC: rsnd: add rsnd_io_to_mod()
      28) ASoC: rsnd: tidyup SRC position on each code
      29) ASoC: rsnd: update Audio DMA path search method
      30) ASoC: rsnd: add CTU (Channel Transfer Unit) prototype support
      31) ASoC: rsnd: add MIX (Mixer) support
      32) ARM: shmobile: r8a7790: Add Audio CTU support on DTSI
      33) ARM: shmobile: r8a7790: Add Audio MIX support on DTSI
      34) ARM: shmobile: r8a7791: Add Audio CTU support on DTSI
      35) ARM: shmobile: r8a7791: Add Audio MIX support on DTSI

 Documentation/devicetree/bindings/sound/renesas,rsnd.txt      |  22 +++++++++++
 Documentation/devicetree/bindings/sound/renesas,rsrc-card.txt |   7 ++++
 arch/arm/boot/dts/r8a7790.dtsi                                |  23 ++++++++++++
 arch/arm/boot/dts/r8a7791.dtsi                                |  23 ++++++++++++
 include/dt-bindings/clock/r8a7790-clock.h                     |   2 +
 include/dt-bindings/clock/r8a7791-clock.h                     |   2 +
 include/sound/rcar_snd.h                                      |  14 +++++++
 include/sound/soc.h                                           |   4 ++
 sound/soc/sh/rcar/Makefile                                    |   2 +-
 sound/soc/sh/rcar/core.c                                      | 194 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
 sound/soc/sh/rcar/ctu.c                                       | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sound/soc/sh/rcar/dma.c                                       | 126 ++++++++++++++++++++++++++++++++++++++++++--------------------
 sound/soc/sh/rcar/dvc.c                                       |  73 ++++++++++++++++--------------------
 sound/soc/sh/rcar/gen.c                                       |  17 ++++++++-
 sound/soc/sh/rcar/mix.c                                       | 200 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sound/soc/sh/rcar/rsnd.h                                      | 107 ++++++++++++++++++++++++++++++++++++----------------
 sound/soc/sh/rcar/rsrc-card.c                                 |  22 +++++++++--
 sound/soc/sh/rcar/src.c                                       | 117 +++++++++++++++++++++++++++++++--------------------------
 sound/soc/sh/rcar/ssi.c                                       |   4 +-
 sound/soc/soc-core.c                                          |  20 ++++++++++
 20 files changed, 952 insertions(+), 198 deletions(-)


Best regards
---
Kuninori Morimoto


More information about the Alsa-devel mailing list