[PATCH v2] ASoC: qcom: sc8280xp: support Senary MI2S
From: Jorijn van der Graaf
Date: Sat Jul 04 2026 - 23:38:13 EST
Extend the clock-provider DAI fmt setup to Senary MI2S; without it
q6i2s_set_fmt() is never called, ws_src remains external and the DSP
does not drive the I2S clocks.
On the Fairphone (Gen. 6) the speaker amplifiers sit on this
interface; the board DTS enabling it is headed upstream separately
via linux-arm-msm.
Assisted-by: Claude:claude-fable-5
Signed-off-by: Jorijn van der Graaf <jorijnvdgraaf@xxxxxxxxxxxxx>
---
v2:
- Drop the S32 BE fixup: as Val Packett pointed out, since commit
1b92b0673d5e ("ASoC: codecs: aw88261: support changing sample rate
and bit width") the amplifier follows the negotiated stream format,
so this interface runs at the default S16 like the other MI2S
ports.
- Link to v1: https://lore.kernel.org/linux-sound/20260704192830.88134-1-jorijnvdgraaf@xxxxxxxxxxxxx/
sound/soc/qcom/sc8280xp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/qcom/sc8280xp.c b/sound/soc/qcom/sc8280xp.c
index 7925aa3f63ba..6093ed50de79 100644
--- a/sound/soc/qcom/sc8280xp.c
+++ b/sound/soc/qcom/sc8280xp.c
@@ -34,6 +34,7 @@ static int sc8280xp_snd_init(struct snd_soc_pcm_runtime *rtd)
switch (cpu_dai->id) {
case PRIMARY_MI2S_RX...QUATERNARY_MI2S_TX:
case QUINARY_MI2S_RX...QUINARY_MI2S_TX:
+ case SENARY_MI2S_RX...SENARY_MI2S_TX:
snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_BP_FP);
break;
case WSA_CODEC_DMA_RX_0:
base-commit: be44d21728b6646189779923b841ad3a46d694e5
--
2.55.0