mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
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:
commit
c1d0a877c7
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user