Commit ffc1325e authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Mark Brown

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: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: default avatarKenneth Westfield <kwestfie@codeaurora.org>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 144a9883
...@@ -71,12 +71,16 @@ struct lpass_variant { ...@@ -71,12 +71,16 @@ struct lpass_variant {
u32 rdma_reg_base; u32 rdma_reg_base;
u32 rdma_reg_stride; u32 rdma_reg_stride;
u32 rdma_channels; u32 rdma_channels;
u32 wrdma_reg_base;
u32 wrdma_reg_stride;
u32 wrdma_channels;
/** /**
* on SOCs like APQ8016 the channel control bits start * on SOCs like APQ8016 the channel control bits start
* at different offset to ipq806x * at different offset to ipq806x
**/ **/
u32 rdmactl_audif_start; u32 rdmactl_audif_start;
u32 wrdma_channel_start;
/* SOC specific intialization like clocks */ /* SOC specific intialization like clocks */
int (*init)(struct platform_device *pdev); int (*init)(struct platform_device *pdev);
int (*exit)(struct platform_device *pdev); int (*exit)(struct platform_device *pdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment