diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2016-02-11 07:17:23 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-02-19 11:20:18 -0500 |
commit | ffc1325e1d3bb809dbd8c0b7f9682a22e51a69c3 (patch) | |
tree | 44f47fd9991e24172e80d7c63d8eb8ad522e4ba3 | |
parent | 144a98835d2b4fc8a732628eaa5c98c573d58baf (diff) |
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>
-rw-r--r-- | sound/soc/qcom/lpass.h | 4 |
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 { | |||
71 | u32 rdma_reg_base; | 71 | u32 rdma_reg_base; |
72 | u32 rdma_reg_stride; | 72 | u32 rdma_reg_stride; |
73 | u32 rdma_channels; | 73 | u32 rdma_channels; |
74 | u32 wrdma_reg_base; | ||
75 | u32 wrdma_reg_stride; | ||
76 | u32 wrdma_channels; | ||
74 | 77 | ||
75 | /** | 78 | /** |
76 | * on SOCs like APQ8016 the channel control bits start | 79 | * on SOCs like APQ8016 the channel control bits start |
77 | * at different offset to ipq806x | 80 | * at different offset to ipq806x |
78 | **/ | 81 | **/ |
79 | u32 rdmactl_audif_start; | 82 | u32 rdmactl_audif_start; |
83 | u32 wrdma_channel_start; | ||
80 | /* SOC specific intialization like clocks */ | 84 | /* SOC specific intialization like clocks */ |
81 | int (*init)(struct platform_device *pdev); | 85 | int (*init)(struct platform_device *pdev); |
82 | int (*exit)(struct platform_device *pdev); | 86 | int (*exit)(struct platform_device *pdev); |