Lines Matching +full:codec +full:- +full:aif1
1 // SPDX-License-Identifier: GPL-2.0+
11 * SMDKV310: CFG5-1000, CFG7-111111
15 * Configure audio route as :-
19 * $ amixer sset 'DAC1R Mixer AIF1.1' on
20 * $ amixer sset 'DAC1L Mixer AIF1.1' on
72 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in smdk_wm8994_init_paiftx()
93 SND_SOC_DAILINK_DEFS(aif1,
94 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s.0")),
95 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")),
96 DAILINK_COMP_ARRAY(COMP_PLATFORM("samsung-i2s.0")));
99 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s-sec")),
100 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")),
101 DAILINK_COMP_ARRAY(COMP_PLATFORM("samsung-i2s-sec")));
105 .name = "WM8994 AIF1",
111 SND_SOC_DAILINK_REG(aif1),
123 .name = "SMDK-I2S",
130 { .compatible = "samsung,smdk-wm8994" },
138 struct device_node *np = pdev->dev.of_node; in smdk_audio_probe()
141 card->dev = &pdev->dev; in smdk_audio_probe()
144 smdk_dai[0].cpus->dai_name = NULL; in smdk_audio_probe()
145 smdk_dai[0].cpus->of_node = of_parse_phandle(np, in smdk_audio_probe()
146 "samsung,i2s-controller", 0); in smdk_audio_probe()
147 if (!smdk_dai[0].cpus->of_node) { in smdk_audio_probe()
148 dev_err(&pdev->dev, in smdk_audio_probe()
149 "Property 'samsung,i2s-controller' missing or invalid\n"); in smdk_audio_probe()
150 ret = -EINVAL; in smdk_audio_probe()
154 smdk_dai[0].platforms->name = NULL; in smdk_audio_probe()
155 smdk_dai[0].platforms->of_node = smdk_dai[0].cpus->of_node; in smdk_audio_probe()
158 ret = devm_snd_soc_register_card(&pdev->dev, card); in smdk_audio_probe()
161 dev_err_probe(&pdev->dev, ret, "snd_soc_register_card() failed\n"); in smdk_audio_probe()
168 .name = "smdk-audio-wm8994",
179 MODULE_ALIAS("platform:smdk-audio-wm8994");