Lines Matching +full:codec +full:- +full:aif1
1 // SPDX-License-Identifier: GPL-2.0+
13 #include <sound/soc-dapm.h>
75 * samsung/clk-exynos5250.c for list of available EPLL rates). in arndale_wm1811_hw_params()
76 * The CODEC uses clk API and the value will be rounded hence the MCLK1 in arndale_wm1811_hw_params()
89 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "rt5631-aif1")),
106 DAILINK_COMP_ARRAY(COMP_CODEC(NULL, "wm8994-aif1")),
141 of_node_put(dai_link->cpus->of_node); in arndale_put_of_nodes()
142 of_node_put(dai_link->codecs->of_node); in arndale_put_of_nodes()
148 struct device_node *np = pdev->dev.of_node; in arndale_audio_probe()
153 card = (struct snd_soc_card *)of_device_get_match_data(&pdev->dev); in arndale_audio_probe()
154 card->dev = &pdev->dev; in arndale_audio_probe()
155 dai_link = card->dai_link; in arndale_audio_probe()
157 dai_link->cpus->of_node = of_parse_phandle(np, "samsung,audio-cpu", 0); in arndale_audio_probe()
158 if (!dai_link->cpus->of_node) { in arndale_audio_probe()
159 dev_err(&pdev->dev, in arndale_audio_probe()
160 "Property 'samsung,audio-cpu' missing or invalid\n"); in arndale_audio_probe()
161 return -EINVAL; in arndale_audio_probe()
164 if (!dai_link->platforms->name) in arndale_audio_probe()
165 dai_link->platforms->of_node = dai_link->cpus->of_node; in arndale_audio_probe()
167 dai_link->codecs->of_node = of_parse_phandle(np, "samsung,audio-codec", 0); in arndale_audio_probe()
168 if (!dai_link->codecs->of_node) { in arndale_audio_probe()
169 dev_err(&pdev->dev, in arndale_audio_probe()
170 "Property 'samsung,audio-codec' missing or invalid\n"); in arndale_audio_probe()
171 ret = -EINVAL; in arndale_audio_probe()
175 ret = devm_snd_soc_register_card(card->dev, card); in arndale_audio_probe()
177 dev_err_probe(&pdev->dev, ret, in arndale_audio_probe()
196 { .compatible = "samsung,arndale-rt5631", .data = &arndale_rt5631 },
197 { .compatible = "samsung,arndale-alc5631", .data = &arndale_rt5631 },
198 { .compatible = "samsung,arndale-wm1811", .data = &arndale_wm1811 },
205 .name = "arndale-audio",