[PATCH v3 02/15] ASoC: dt-bindings: qcom: q6dsp: add internal mi2s support

Richard Acayan
2026-03-31T19:39:04Z

The internal MI2S ports are found on devices with the internal sound
card for Snapdragon 660. Add support for them.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
---
.../bindings/sound/qcom,q6dsp-lpass-ports.yaml | 4 ++--
include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h | 14 ++++++++++++++
2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml
index 2b27d6c8f58f..d8271f1d9a34 100644
--- a/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml
+++ b/Documentation/devicetree/bindings/sound/qcom,q6dsp-lpass-ports.yaml
@@ -127,7 +127,7 @@ patternProperties:
contains:
# MI2S DAI ID range PRIMARY_MI2S_RX - QUATERNARY_MI2S_TX and
# QUINARY_MI2S_RX - QUINARY_MI2S_TX and
- # LPI_MI2S_RX_0 - SENARY_MI2S_TX
+ # LPI_MI2S_RX_0 - INT6_MI2S_TX
items:
oneOf:
- minimum: 16
@@ -135,7 +135,7 @@ patternProperties:
- minimum: 127
maximum: 128
- minimum: 137
- maximum: 148
+ maximum: 162
then:
required:
- qcom,sd-lines
diff --git a/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h b/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h
index 45850f2d4342..059f2ea1bd23 100644
--- a/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h
+++ b/include/dt-bindings/sound/qcom,q6dsp-lpass-ports.h
@@ -152,6 +152,20 @@
#define LPI_MI2S_TX_4 146
#define SENARY_MI2S_RX 147
#define SENARY_MI2S_TX 148
+#define INT0_MI2S_RX 149
+#define INT0_MI2S_TX 150
+#define INT1_MI2S_RX 151
+#define INT1_MI2S_TX 152
+#define INT2_MI2S_RX 153
+#define INT2_MI2S_TX 154
+#define INT3_MI2S_RX 155
+#define INT3_MI2S_TX 156
+#define INT4_MI2S_RX 157
+#define INT4_MI2S_TX 158
+#define INT5_MI2S_RX 159
+#define INT5_MI2S_TX 160
+#define INT6_MI2S_RX 161
+#define INT6_MI2S_TX 162

#define LPASS_CLK_ID_PRI_MI2S_IBIT 1
#define LPASS_CLK_ID_PRI_MI2S_EBIT 2
--
2.53.0