Lines Matching +full:codec +full:- +full:aif1
1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <sound/soc-acpi.h>
30 /* CODEC BE connections */
31 {"SSP0 CODEC IN", NULL, "AIF1 Capture"},
32 {"AIF1 Playback", NULL, "SSP0 CODEC OUT"},
44 rate->min = rate->max = 48000; in haswell_ssp0_fixup()
45 channels->min = channels->max = 2; in haswell_ssp0_fixup()
63 dev_err(rtd->dev, "can't set codec sysclk configuration\n"); in haswell_rt5640_hw_params()
67 /* set correct codec filter for DAI format and clock config */ in haswell_rt5640_hw_params()
68 snd_soc_component_update_bits(codec_dai->component, 0x83, 0xffff, 0x8000); in haswell_rt5640_hw_params()
92 SND_SOC_DAILINK_DEF(codec,
93 DAILINK_COMP_ARRAY(COMP_CODEC("i2c-INT33CA:00", "rt5640-aif1")));
96 DAILINK_COMP_ARRAY(COMP_PLATFORM("haswell-pcm-audio")));
99 DAILINK_COMP_ARRAY(COMP_CPU("ssp0-port")));
143 /* SSP0 - Codec */
144 .name = "Codec",
154 SND_SOC_DAILINK_REG(ssp0_port, codec, platform),
160 .name = "haswell-rt5640",
176 haswell_rt5640.dev = &pdev->dev; in haswell_audio_probe()
179 mach = pdev->dev.platform_data; in haswell_audio_probe()
181 mach->mach_params.platform); in haswell_audio_probe()
185 return devm_snd_soc_register_card(&pdev->dev, &haswell_rt5640); in haswell_audio_probe()
191 .name = "haswell-audio",
202 MODULE_ALIAS("platform:haswell-audio");