43 #include <linux/module.h>
57 #include "../codecs/wm9713.h"
59 #define ARRAY_AND_SIZE(x) (x), ARRAY_SIZE(x)
61 #define AC97_GPIO_PULL 0x58
104 {
"Mic Bias",
NULL,
"Front Mic"},
105 {
"MIC1",
NULL,
"Mic Bias"},
108 {
"LINEL",
NULL,
"Headset Mic"},
109 {
"LINER",
NULL,
"Headset Mic"},
112 {
"MONOIN",
NULL,
"GSM Line Out"},
113 {
"PCBEEP",
NULL,
"GSM Line Out"},
114 {
"GSM Line In",
NULL,
"MONO"},
117 {
"Headset",
NULL,
"HPL"},
118 {
"Headset",
NULL,
"HPR"},
121 {
"Front Speaker",
NULL,
"HPL"},
122 {
"Front Speaker",
NULL,
"OUT3"},
125 {
"Rear Speaker",
NULL,
"SPKL"},
126 {
"Rear Speaker",
NULL,
"SPKR"},
163 .stream_name =
"AC97 HiFi",
164 .cpu_dai_name =
"pxa2xx-ac97",
165 .codec_dai_name =
"wm9713-hifi",
166 .codec_name =
"wm9713-codec",
167 .init = mioa701_wm9713_init,
168 .platform_name =
"pxa-pcm-audio",
173 .stream_name =
"AC97 Aux",
174 .cpu_dai_name =
"pxa2xx-ac97-aux",
175 .codec_dai_name =
"wm9713-aux",
176 .codec_name =
"wm9713-codec",
177 .platform_name =
"pxa-pcm-audio",
185 .dai_link = mioa701_dai,
193 if (!machine_is_mioa701())
199 dev_warn(&pdev->
dev,
"Be warned that incorrect mixers/muxes setup will"
200 "lead to overheating and possible destruction of your device."
201 " Do not use without a good knowledge of mio's board design!\n");
214 .probe = mioa701_wm9713_probe,
217 .name =
"mioa701-wm9713",