LPASS IP on QCOM SOC supports both Playback and capture via I2S, but this feature is missing in existing code. This patchset aims at adding capture support to lpass IP. First few patches in this series does cleanup the driver to make easy to add capture support.
These patches are tested on DB410C with Headset Mic.
Thanks, srini
Srinivas Kandagatla (15): ASoC: qcom: use snd_dma_alloc/free* apis ASoC: qcom: add wrdma register details to lpass_variant ASoC: qcom: rename rdmactl_audif_start to dmactrl_audif_start ASoC: qcom: pass direction to dma allocation ASoC: qcom: ipq806x: add error in dma allocation. ASoC: qcom: ipq806x: add wrdma related register offsets ASoC: qcom: add mic related i2s control register defines ASoC: qcom: add wrdma dma channel start ASoC: qcom: rename rdma_ch_bit_map to dma_ch_bit_map ASoC: qcom: apq8016: add wrdma support ASoC: qcom: add wrdma register definations ASoC: qcom: add generic bit masks for RDMA and WRDMA ASoC: qcom: apq8016: set the correct max register for regmap ASoC: qcom: apq8016-sbc: add mic support ASoC: qcom: add mic support
sound/soc/qcom/apq8016_sbc.c | 10 +- sound/soc/qcom/lpass-apq8016.c | 31 +++-- sound/soc/qcom/lpass-cpu.c | 146 +++++++++++++++++------ sound/soc/qcom/lpass-ipq806x.c | 11 +- sound/soc/qcom/lpass-lpaif-reg.h | 118 +++++++++++++------ sound/soc/qcom/lpass-platform.c | 243 +++++++++++++++++++++++---------------- sound/soc/qcom/lpass.h | 10 +- 7 files changed, 392 insertions(+), 177 deletions(-)