Re: [PATCH] ASoC: dt-bindings: lpass: add binding headers for digital codecs

From: Srinivasa Rao Mandadapu
Date: Wed Sep 08 2021 - 00:39:05 EST


Thanks For Review Stephen!!!

On 9/8/2021 1:54 AM, Stephen Boyd wrote:
Quoting Srinivasa Rao Mandadapu (2021-09-06 06:27:34)
Add header defining for lpass internal digital codecs rx,tx and va
dai node id's.

Signed-off-by: Srinivasa Rao Mandadapu <srivasam@xxxxxxxxxxxxxx>
---
include/dt-bindings/sound/qcom,lpass.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/include/dt-bindings/sound/qcom,lpass.h b/include/dt-bindings/sound/qcom,lpass.h
index 7b0b80b..187af45 100644
--- a/include/dt-bindings/sound/qcom,lpass.h
+++ b/include/dt-bindings/sound/qcom,lpass.h
@@ -10,6 +10,11 @@

#define LPASS_DP_RX 5

+#define LPASS_CDC_DMA_RX0 6
+#define LPASS_CDC_DMA_TX3 7
+#define LPASS_CDC_DMA_VA0 8
+#define LPASS_MAX_PORTS 9
Do we need LPASS_MAX_PORTS in the binding?
Yes.  based on this creating array of streams in machine driver. So to make upper limit introduced this macro.

--
Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc.,
is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.