From: Esteban Urrutia <[email protected]>

With this, SM8475 topologies can have their own firmware folder.

Signed-off-by: Esteban Urrutia <[email protected]>
---
 sound/soc/qcom/sc8280xp.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sound/soc/qcom/sc8280xp.c b/sound/soc/qcom/sc8280xp.c
index a9304784d41e..f0f3cd8fca38 100644
--- a/sound/soc/qcom/sc8280xp.c
+++ b/sound/soc/qcom/sc8280xp.c
@@ -362,6 +362,13 @@ static const struct snd_soc_common sm8450_priv_data = {
        .wcd_jack = true,
 };
 
+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,
@@ -395,6 +402,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 },

-- 
2.55.0



Reply via email to