20 #include <mach/irqs.h>
21 #include <mach/regs-audss.h>
23 static const char *rclksrc[] = {
50 .cfg_gpio = s5pv210_cfg_i2s,
61 static struct resource s5pv210_iis0_resource[] = {
69 .name =
"samsung-i2s",
71 .num_resources =
ARRAY_SIZE(s5pv210_iis0_resource),
72 .resource = s5pv210_iis0_resource,
74 .platform_data = &i2sv5_pdata,
78 static const char *rclksrc_v3[] = {
84 .cfg_gpio = s5pv210_cfg_i2s,
87 .src_clk = rclksrc_v3,
92 static struct resource s5pv210_iis1_resource[] = {
99 .name =
"samsung-i2s",
101 .num_resources =
ARRAY_SIZE(s5pv210_iis1_resource),
102 .resource = s5pv210_iis1_resource,
104 .platform_data = &i2sv3_pdata,
108 static struct resource s5pv210_iis2_resource[] = {
115 .name =
"samsung-i2s",
117 .num_resources =
ARRAY_SIZE(s5pv210_iis2_resource),
118 .resource = s5pv210_iis2_resource,
120 .platform_data = &i2sv3_pdata,
147 .cfg_gpio = s5pv210_pcm_cfg_gpio,
150 static struct resource s5pv210_pcm0_resource[] = {
157 .name =
"samsung-pcm",
159 .num_resources =
ARRAY_SIZE(s5pv210_pcm0_resource),
160 .resource = s5pv210_pcm0_resource,
162 .platform_data = &s3c_pcm_pdata,
166 static struct resource s5pv210_pcm1_resource[] = {
173 .name =
"samsung-pcm",
175 .num_resources =
ARRAY_SIZE(s5pv210_pcm1_resource),
176 .resource = s5pv210_pcm1_resource,
178 .platform_data = &s3c_pcm_pdata,
182 static struct resource s5pv210_pcm2_resource[] = {
189 .name =
"samsung-pcm",
191 .num_resources =
ARRAY_SIZE(s5pv210_pcm2_resource),
192 .resource = s5pv210_pcm2_resource,
194 .platform_data = &s3c_pcm_pdata,
205 static struct resource s5pv210_ac97_resource[] = {
214 .cfg_gpio = s5pv210_ac97_cfg_gpio,
220 .name =
"samsung-ac97",
222 .num_resources =
ARRAY_SIZE(s5pv210_ac97_resource),
223 .resource = s5pv210_ac97_resource,
225 .platform_data = &s3c_ac97_pdata,
226 .dma_mask = &s5pv210_ac97_dmamask,
240 static struct resource s5pv210_spdif_resource[] = {
246 .cfg_gpio = s5pv210_spdif_cfg_gpio,
252 .name =
"samsung-spdif",
254 .num_resources =
ARRAY_SIZE(s5pv210_spdif_resource),
255 .resource = s5pv210_spdif_resource,
257 .platform_data = &samsung_spdif_pdata,
258 .dma_mask = &s5pv210_spdif_dmamask,