ASoC: SM8475 sndcard support

Esteban Urrutia <esteuwu@proton.me> says:

Add the required bindings and driver support for supporting the sound
card found in the SM8475 SoC.

Link: https://patch.msgid.link/20260729-sm8475-asoc-v1-0-3edad8aa7628@proton.me
This commit is contained in:
Mark Brown 2026-07-30 19:57:52 +01:00
commit c1d0a877c7
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
2 changed files with 9 additions and 0 deletions

View File

@ -26,6 +26,7 @@ properties:
- qcom,eliza-sndcard
- qcom,hawi-sndcard
- qcom,kaanapali-sndcard
- qcom,sm8475-sndcard
- qcom,sm8550-sndcard
- qcom,sm8650-sndcard
- qcom,sm8750-sndcard

View File

@ -368,6 +368,13 @@ static const struct snd_soc_common sm8450_priv_data = {
SND_SOC_DAIFMT_I2S,
};
static const struct snd_soc_common sm8475_priv_data = {
.driver_name = "sm8475",
.dapm_widgets = sc8280xp_dapm_widgets,
.num_dapm_widgets = ARRAY_SIZE(sc8280xp_dapm_widgets),
.wcd_jack = true,
};
static const struct snd_soc_common sm8550_priv_data = {
.driver_name = "sm8550",
.dapm_widgets = sc8280xp_dapm_widgets,
@ -413,6 +420,7 @@ static const struct of_device_id snd_sc8280xp_dt_match[] = {
{ .compatible = "qcom,qcs9100-sndcard", .data = &qcs9100_priv_data },
{ .compatible = "qcom,sc8280xp-sndcard", .data = &sc8280xp_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 },
{ .compatible = "qcom,sm8650-sndcard", .data = &sm8650_priv_data },
{ .compatible = "qcom,sm8750-sndcard", .data = &sm8750_priv_data },