13 #include <linux/module.h>
18 #include "../codecs/adav80x.h"
26 {
"Line Out",
NULL,
"VOUTL" },
27 {
"Line Out",
NULL,
"VOUTR" },
29 {
"VINL",
NULL,
"Line In" },
30 {
"VINR",
NULL,
"Line In" },
68 .hw_params = bfin_eval_adav80x_hw_params,
74 .stream_name =
"ADAV80x HiFi",
75 .cpu_dai_name =
"bfin-i2s.0",
76 .codec_dai_name =
"adav80x-hifi",
77 .platform_name =
"bfin-i2s-pcm-audio",
78 .init = bfin_eval_adav80x_codec_init,
79 .ops = &bfin_eval_adav80x_ops,
86 .name =
"bfin-eval-adav80x",
88 .dai_link = bfin_eval_adav80x_dais,
89 .num_links =
ARRAY_SIZE(bfin_eval_adav80x_dais),
91 .dapm_widgets = bfin_eval_adav80x_dapm_widgets,
92 .num_dapm_widgets =
ARRAY_SIZE(bfin_eval_adav80x_dapm_widgets),
93 .dapm_routes = bfin_eval_adav80x_dapm_routes,
94 .num_dapm_routes =
ARRAY_SIZE(bfin_eval_adav80x_dapm_routes),
105 const char *codec_name;
109 codec_name =
"spi0.1";
112 codec_name =
"adav803.0-0034";
118 bfin_eval_adav80x_dais[0].
codec_name = codec_name;
143 .name =
"bfin-eval-adav80x",
147 .probe = bfin_eval_adav80x_probe,
149 .id_table = bfin_eval_adav80x_ids,