Quoting Srinivasa Rao Mandadapu (2021-09-06 06:27:34)Yes. based on this creating array of streams in machine driver. So to make upper limit introduced this macro.
Add header defining for lpass internal digital codecs rx,tx and vaDo we need LPASS_MAX_PORTS in the binding?
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