aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/qcom
diff options
context:
space:
mode:
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>2016-02-11 12:17:23 +0000
committerMark Brown <broonie@kernel.org>2016-02-20 01:20:18 +0900
commitffc1325e1d3bb809dbd8c0b7f9682a22e51a69c3 (patch)
tree44f47fd9991e24172e80d7c63d8eb8ad522e4ba3 /sound/soc/qcom
parentASoC: qcom: use snd_dma_alloc/free* apis (diff)
downloadlinux-dev-ffc1325e1d3bb809dbd8c0b7f9682a22e51a69c3.tar.xz
linux-dev-ffc1325e1d3bb809dbd8c0b7f9682a22e51a69c3.zip
ASoC: qcom: add wrdma register details to lpass_variant
This patch adds wrdma related register offsets, wrdma channel start and shifts into lpass variant structure. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Acked-by: Kenneth Westfield <kwestfie@codeaurora.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom')
-rw-r--r--sound/soc/qcom/lpass.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/qcom/lpass.h b/sound/soc/qcom/lpass.h
index 0b63e2e5bcc9..024a771be4dc 100644
--- a/sound/soc/qcom/lpass.h
+++ b/sound/soc/qcom/lpass.h
@@ -71,12 +71,16 @@ struct lpass_variant {
u32 rdma_reg_base;
u32 rdma_reg_stride;
u32 rdma_channels;
+ u32 wrdma_reg_base;
+ u32 wrdma_reg_stride;
+ u32 wrdma_channels;
/**
* on SOCs like APQ8016 the channel control bits start
* at different offset to ipq806x
**/
u32 rdmactl_audif_start;
+ u32 wrdma_channel_start;
/* SOC specific intialization like clocks */
int (*init)(struct platform_device *pdev);
int (*exit)(struct platform_device *pdev);