Lines Matching +full:codec +full:- +full:aif2
1 // SPDX-License-Identifier: GPL-2.0+
8 #include <sound/soc-dapm.h>
27 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[1]); in speyside_set_bias_level()
30 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level()
63 rtd = snd_soc_get_pcm_runtime(card, &card->dai_link[1]); in speyside_set_bias_level_post()
66 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level_post()
71 if (card->dapm.bias_level == SND_SOC_BIAS_STANDBY) { in speyside_set_bias_level_post()
127 /* Re-run DAPM to make sure we're using the correct mic bias */ in speyside_set_polarity()
146 struct snd_soc_component *component = dai->component; in speyside_wm8996_init()
158 speyside_hpsel_gpio = devm_gpiod_get(rtd->card->dev, in speyside_wm8996_init()
159 "hp-sel", in speyside_wm8996_init()
164 ret = snd_soc_card_jack_new_pins(rtd->card, "Headset", in speyside_wm8996_init()
180 snd_soc_dapm_ignore_suspend(&card->dapm, "Headphone"); in speyside_late_probe()
181 snd_soc_dapm_ignore_suspend(&card->dapm, "Headset Mic"); in speyside_late_probe()
182 snd_soc_dapm_ignore_suspend(&card->dapm, "Main AMIC"); in speyside_late_probe()
183 snd_soc_dapm_ignore_suspend(&card->dapm, "Main DMIC"); in speyside_late_probe()
184 snd_soc_dapm_ignore_suspend(&card->dapm, "Main Speaker"); in speyside_late_probe()
185 snd_soc_dapm_ignore_suspend(&card->dapm, "WM1250 Output"); in speyside_late_probe()
186 snd_soc_dapm_ignore_suspend(&card->dapm, "WM1250 Input"); in speyside_late_probe()
200 DAILINK_COMP_ARRAY(COMP_CPU("samsung-i2s.0")),
201 DAILINK_COMP_ARRAY(COMP_CODEC("spi0.0", "wm0010-sdi1")),
202 DAILINK_COMP_ARRAY(COMP_PLATFORM("samsung-i2s.0")));
205 DAILINK_COMP_ARRAY(COMP_CPU("wm0010-sdi2")),
206 DAILINK_COMP_ARRAY(COMP_CODEC("wm8996.1-001a", "wm8996-aif1")));
209 DAILINK_COMP_ARRAY(COMP_CPU("wm8996-aif2")),
210 DAILINK_COMP_ARRAY(COMP_CODEC("wm1250-ev1.1-0027", "wm1250-ev1")));
214 .name = "CPU-DSP",
215 .stream_name = "CPU-DSP",
222 .name = "DSP-CODEC",
223 .stream_name = "DSP-CODEC",
251 .dlc = COMP_AUX("wm9081.1-006c"),
258 .dlc = COMP_CODEC_CONF("wm9081.1-006c"),
334 /* Hardcoded device name in board file mach-crag6410.c */
340 * wm8996 codec GPIO start offset to 212, so this will
341 * be GPIO 214 - 212 = 2 on the wm8996.
343 GPIO_LOOKUP("wm8996", 2, "hp-sel", GPIO_ACTIVE_HIGH),
358 card->dev = &pdev->dev; in speyside_probe()
361 ret = devm_add_action_or_reset(&pdev->dev, speyside_gpiod_table_action, in speyside_probe()
366 ret = devm_snd_soc_register_card(&pdev->dev, card); in speyside_probe()
368 dev_err_probe(&pdev->dev, ret, "snd_soc_register_card() failed\n"); in speyside_probe()