Hi Mark
These patches adds CTU (= Channel Transfer Unit) support to Renesas R-Car sound driver. It can exchange channel order ex) channel {0,1,2,3} -> channel {3,2,1,0} And it can add/reduce each channels sound ex) (input 0th ch x 0.5) + (input 2nd ch x 0.5) = output 1st ch You need to check R-Car datasheet for each detail settings, or check 6) patch
Kuninori Morimoto (6): 1) ASoC: rsnd: don't call update callback if it was NULL 2) ASoC: rsrc-card: add convert channels support 3) ASoC: rsnd: tidyup rsnd_ssiu_init_gen2() 4) ASoC: rsnd: add CTU basic support 5) ASoC: rsnd: add rsnd_runtime_channel_xxx() 6) ASoC: rsnd: add CTU support
Documentation/devicetree/bindings/sound/renesas,rsrc-card.txt | 1 + sound/soc/sh/rcar/core.c | 71 ++++++++++++++---------- sound/soc/sh/rcar/ctu.c | 287 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-------------- sound/soc/sh/rcar/dvc.c | 2 +- sound/soc/sh/rcar/mix.c | 2 +- sound/soc/sh/rcar/rsnd.h | 9 +++- sound/soc/sh/rcar/rsrc-card.c | 22 +++++--- sound/soc/sh/rcar/src.c | 2 +- sound/soc/sh/rcar/ssi.c | 15 +++--- sound/soc/sh/rcar/ssiu.c | 11 ++-- 10 files changed, 330 insertions(+), 92 deletions(-)
Best regards --- Kuninori Morimoto