16 #include <linux/module.h>
18 #include "../codecs/wm5100.h"
19 #include "../codecs/wm9081.h"
21 #define MCLK1_RATE (44100 * 512)
22 #define CLKOUT_RATE (44100 * 256)
47 pr_err(
"Failed to set SYSCLK clock source: %d\n", ret);
55 pr_err(
"Failed to set OPCLK rate: %d\n", ret);
68 lowland_headset_pins);
100 .cpu_dai_name =
"samsung-i2s.0",
101 .codec_dai_name =
"wm5100-aif1",
102 .platform_name =
"samsung-audio",
103 .codec_name =
"wm5100.1-001a",
106 .init = lowland_wm5100_init,
110 .stream_name =
"Baseband",
111 .cpu_dai_name =
"wm5100-aif2",
112 .codec_dai_name =
"wm1250-ev1",
113 .codec_name =
"wm1250-ev1.1-0027",
119 .name =
"Sub Speaker",
120 .stream_name =
"Sub Speaker",
121 .cpu_dai_name =
"wm5100-aif3",
122 .codec_dai_name =
"wm9081-hifi",
123 .codec_name =
"wm9081.1-006c",
127 .params = &sub_params,
128 .init = lowland_wm9081_init,
134 .dev_name =
"wm9081.1-006c",
135 .name_prefix =
"Sub",
159 {
"Sub IN1",
NULL,
"HPOUT2L" },
160 {
"Sub IN2",
NULL,
"HPOUT2R" },
162 {
"Main Speaker",
NULL,
"Sub SPKN" },
163 {
"Main Speaker",
NULL,
"Sub SPKP" },
164 {
"Main Speaker",
NULL,
"SPKDAT1" },
170 .dai_link = lowland_dai,
172 .codec_conf = lowland_codec_conf,
173 .num_configs =
ARRAY_SIZE(lowland_codec_conf),
179 .dapm_routes = audio_paths,
192 dev_err(&pdev->
dev,
"snd_soc_register_card() failed: %d\n",
215 .probe = lowland_probe,