[PATCH v3 3/5] ASoC: qcom: sc8280xp: Add shikra-cqm-evk compatible support

From: Mohammad Rafi Shaik

Date: Sun Nov 22 2026 - 14:41:35 EST


From: Ajay Kumar Nandam <ajay.nandam@xxxxxxxxxxxxxxxx>

Add machine driver support for the Qualcomm Shikra CQM EVK board. The
Shikra CQM platform uses an I2S-based audio path with WSA885x
amplifiers and PM4125/Rouleur codec components.

Configure the CQM QAIF TDM speaker backend with DSP_A framing using
per-DAI board data.

Reviewed-by: Prasad Kumpatla <prasad.kumpatla@xxxxxxxxxxxxxxxx>
Signed-off-by: Ajay Kumar Nandam <ajay.nandam@xxxxxxxxxxxxxxxx>
Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@xxxxxxxxxxxxxxxx>
---
sound/soc/qcom/sc8280xp.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)

diff --git a/sound/soc/qcom/sc8280xp.c b/sound/soc/qcom/sc8280xp.c
index ff8ccd3065eb..e1d701a1b1dd 100644
--- a/sound/soc/qcom/sc8280xp.c
+++ b/sound/soc/qcom/sc8280xp.c
@@ -727,6 +727,21 @@ static const struct qcom_snd_soc_common sc8280xp_priv_data = {
.wcd_jack = true,
};

+static const struct qcom_snd_soc_common shikra_cqm_priv_data = {
+ .driver_name = "shikra",
+ .dapm_widgets = sc8280xp_dapm_widgets,
+ .num_dapm_widgets = ARRAY_SIZE(sc8280xp_dapm_widgets),
+ .codec_link_be_ops = true,
+ .wcd_jack = true,
+ SC8280XP_DAI_DATA({
+ .id = AIF_TDM_RX_2,
+ .cpu_dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_BP_FP,
+ .codec_sysclk_set = true,
+ .mi2s_bclk_enable = true,
+ }
+ ),
+};
+
static const struct qcom_snd_soc_common sm8450_priv_data = {
.driver_name = "sm8450",
.dapm_widgets = sc8280xp_dapm_widgets,
@@ -796,6 +811,7 @@ static const struct of_device_id snd_sc8280xp_dt_match[] = {
{ .compatible = "qcom,qcs9075-sndcard", .data = &qcs9100_priv_data },
{ .compatible = "qcom,qcs9100-sndcard", .data = &qcs9100_priv_data },
{ .compatible = "qcom,sc8280xp-sndcard", .data = &sc8280xp_priv_data },
+ { .compatible = "qcom,shikra-cqm-sndcard", .data = &shikra_cqm_priv_data },
{ .compatible = "qcom,sm8450-sndcard", .data = &sm8450_priv_data },
{ .compatible = "qcom,sm8475-sndcard", .data = &sm8475_priv_data },
{ .compatible = "qcom,sm8550-sndcard", .data = &sm8550_priv_data },

--
2.34.1