ASoC: qdsp6: q6adm: Add q6adm driver
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Fri, 18 May 2018 12:56:00 +0000 (13:56 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 21 May 2018 15:40:24 +0000 (16:40 +0100)
commit7b20b2be51e1a9c250535e1a4df42e1cd20c7ecf
treec73ce0661ded54945f1b2acf77ea349f3519820a
parentccfbb4f5723736bb6f548a319ab97e4c4f8ff2b4
ASoC: qdsp6: q6adm: Add q6adm driver

This patch adds support to Q6ADM (Audio Device Manager) module in
q6dsp. ADM performs routing between audio streams and AFE ports.
It does Rate matching for streams going to devices driven by
different clocks, it handles volume ramping, Mixing with channel
and bit-width. ADM creates and destroys dynamic COPP services
for device-related audio processing as needed.

This patch adds basic support to ADM.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-and-tested-by: Rohit kumar <rohitkr@codeaurora.org>
Reviewed-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/Kconfig
sound/soc/qcom/qdsp6/Makefile
sound/soc/qcom/qdsp6/q6adm.c [new file with mode: 0644]
sound/soc/qcom/qdsp6/q6adm.h [new file with mode: 0644]