[PATCH v6 00/15] SDM660 sound card and internal MI2S support
Richard Acayan <[email protected]> Thu, 30 Jul 2026 13:43:38 -0400
| Newsgroups | gmane.linux.drivers.devicetree,gmane.linux.sound,gmane.linux.ports.arm.msm |
|---|---|
| Message-ID | <[email protected]> |
This adds support for the SDM660 (formerly "SDM660 internal") sound card and support for WCD codecs over internal MI2S (represented in APIs as LPI MI2S). Like on MSM8916 and MSM8953, some SDM660 and SDM670 devices connect to a digital and analog codec. The connection to the digital codec is through special "internal" MI2S ports. The digital and analog codecs are used on the Xiaomi Redmi Note 7 for headset (playback + capture) and earpiece, and also on the Google Pixel 3a for the headset. This series does not include devicetree patches. Changes since v5 (https://lore.kernel.org/r/20260609162255.31074-1-mailingradian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org): - add reviewed-by for LPASS ports patch (2/15) Changes since v4 (https://lore.kernel.org/r/20260501153128.8152-1-mailingradian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org): - name internal MI2S ports as LPI for public API (2/15, 6/15, 7/15, 8/15, 9/15, 10/15, 11/15, 12/15) - fix capture stream macro (11/15) - fix is_rx in q6afe port map (7/15) - use NULL pointer in place of "NULL" string (8/15) - change fallback compatible for WCD analog codec to pm8953 (4/15) - add ack tags (1/15, 3/15) Changes since v3 (https://lore.kernel.org/r/20260331193939.40636-1-mailingradian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org): - rebase onto v7.1-rc1 Changes since v2 (https://lore.kernel.org/r/20260304195815.52347-1-mailingradian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org): - add missing sign-off (1/15) - use definition of last dt-bindings dai cell for LPASS_MAX_PORT (6/15) - move sdm660 support to existing sm8250 driver (11-12/15) - import WCD codec patches for MSM8953 (3/15, 13-14/15) Changes from original (https://lore.kernel.org/r/20240731-msm8953-msm8976-asoc-v3-0-163f23c3a28d-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org): - add back empty line in WCD dt-bindings patch (3/15) - add Dmitry's review tags (13-14/15) - rebase onto q6dsp fixes - rebase onto q6dsp fixes Changes since v1 (https://lore.kernel.org/r/20260211020302.2674-1-mailingradian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org): - rename sound card to drop "internal" (1/11, 10/11) - use common headphone jack code (9/11, 10/11) - remove no-op code in sound card driver (10/11) - remove inaccurate comment about clock consumer/producer (10/11) - add review tags (3/11, 4/11) Adam Skladowski (2): ASoC: dt-bindings: pm8916-wcd-analog-codec: Document pm8950/pm8953 ASoC: msm8916-wcd-analog: add pm8950 codec Nickolay Goppen (1): ASoC: dt-bindings: qcom,sm8250: add compatible for sdm660 Richard Acayan (11): ASoC: dt-bindings: qcom: q6dsp: add support for lpi mi2s ports 5-6 ASoC: dt-bindings: pm8916-analog-codec: Add PM660L compatible ASoC: dt-bindings: msm8916-digital-codec: Add SDM660 compatible ASoC: qdsp6: q6dsp-lpass-ports: add support for lpi mi2s ports 5-6 ASoC: qdsp6: q6afe: add internal mi2s support ASoC: qdsp6: q6afe-dai: add internal mi2s support ASoC: qdsp6: q6routing: add lpi mi2s support ASoC: qdsp6: common: support headphone jacks connected to lpi mi2s ASoC: qcom: sm8250: add support for LPI_MI2S_RX_0 and LPI_MI2S_TX_3 ASoC: qcom: sm8250: add SDM660 compatible ASoC: msm8916-wcd-analog: add quirk for cajon 2.0 Vladimir Lypak (1): ASoC: msm8916-wcd-analog: add pm8953 codec .../sound/qcom,msm8916-wcd-digital-codec.yaml | 8 +- .../sound/qcom,pm8916-wcd-analog-codec.yaml | 11 +- .../sound/qcom,q6dsp-lpass-ports.yaml | 4 +- .../bindings/sound/qcom,sm8250.yaml | 1 + .../sound/qcom,q6dsp-lpass-ports.h | 4 + sound/soc/codecs/msm8916-wcd-analog.c | 144 +++++++++++++++++- sound/soc/qcom/common.c | 1 + sound/soc/qcom/common.h | 2 +- sound/soc/qcom/qdsp6/q6afe-dai.c | 48 ++++++ sound/soc/qcom/qdsp6/q6afe.c | 56 +++++++ sound/soc/qcom/qdsp6/q6dsp-lpass-ports.c | 5 + sound/soc/qcom/qdsp6/q6routing.c | 78 +++++++++- sound/soc/qcom/sm8250.c | 17 +++ 13 files changed, 367 insertions(+), 12 deletions(-) -- 2.55.0