ASoC: rsnd: add MIX (Mixer) support
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 15 Jul 2015 07:17:36 +0000 (07:17 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 17 Jul 2015 18:26:06 +0000 (19:26 +0100)
commit70fb10529f61c31c26397a02091177bedd23217d
tree73cf4ee3132165250814949798b481237b25dff4
parent9269e3c3cfac277a49b485e27ac6850f9a11a259
ASoC: rsnd: add MIX (Mixer) support

This patch adds MIX (Mixer) initial support for rsnd driver.
It is assuming that this MIX is used via DPCM.

This is sample code for playback.

CPU0  : [MEM] -> [SRC1] -> [CTU02] -+
    |
    +-> [MIX0] -> [DVC0] -> [SSI0]
                                    |
CPU1  : [MEM] -> [SRC2] -> [CTU03] -+

sound {
compatible = "renesas,rsrc-card";

...

cpu@0 {
sound-dai = <&rcar_sound 0>;
};

cpu@1 {
sound-dai = <&rcar_sound 1>;
};

codec {
...
};
};

rcar_sound {

...

rcar_sound,dai {
dai0 {
playback = <&src1 &ctu02 &mix0 &dvc0 &ssi0>;
};
dai1 {
playback = <&src2 &ctu03 &mix0 &dvc0 &ssi0>;
};
};
};

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/renesas,rsnd.txt
include/sound/rcar_snd.h
sound/soc/sh/rcar/Makefile
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/dma.c
sound/soc/sh/rcar/gen.c
sound/soc/sh/rcar/mix.c [new file with mode: 0644]
sound/soc/sh/rcar/rsnd.h
This page took 0.027166 seconds and 5 git commands to generate.