17 #include <linux/module.h>
25 #include "../codecs/wm8350.h"
93 for (i = 0; i <
ARRAY_SIZE(wm8350_audio); i++) {
94 if (rate == wm8350_audio[i].rate &&
95 format == wm8350_audio[i].format &&
96 channels == wm8350_audio[i].channels) {
134 wm8350_audio[i].bclkdiv);
153 .hw_params = wm1133_ev1_hw_params,
172 {
"IN1LN",
NULL,
"Mic Bias" },
173 {
"Mic Bias",
NULL,
"SiMIC" },
177 {
"IN1LN",
NULL,
"Mic Bias" },
178 {
"IN1LP",
NULL,
"Mic1 Jack" },
179 {
"Mic Bias",
NULL,
"Mic1 Jack" },
182 {
"IN1RN",
NULL,
"Mic Bias" },
183 {
"IN1RP",
NULL,
"Mic2 Jack" },
184 {
"Mic Bias",
NULL,
"Mic2 Jack" },
187 {
"IN3R",
NULL,
"Line In Jack" },
188 {
"IN3L",
NULL,
"Line In Jack" },
191 {
"Headphone Jack",
NULL,
"OUT1R" },
192 {
"Headphone Jack",
NULL,
"OUT1L" },
195 {
"Line Out Jack",
NULL,
"OUT2R" },
196 {
"Line Out Jack",
NULL,
"OUT2L" },
244 .name =
"WM1133-EV1",
245 .stream_name =
"Audio",
246 .cpu_dai_name =
"imx-ssi.0",
247 .codec_dai_name =
"wm8350-hifi",
248 .platform_name =
"imx-fiq-pcm-audio.0",
249 .codec_name =
"wm8350-codec.0-0x1a",
250 .init = wm1133_ev1_init,
251 .ops = &wm1133_ev1_ops,
252 .symmetric_rates = 1,
256 .name =
"WM1133-EV1",
258 .dai_link = &wm1133_ev1_dai,
264 static int __init wm1133_ev1_audio_init(
void)
267 unsigned int ptcr, pdcr;
283 if (!wm1133_ev1_snd_device)
286 platform_set_drvdata(wm1133_ev1_snd_device, &wm1133_ev1);
296 static void __exit wm1133_ev1_audio_exit(
void)