11 #include <linux/kernel.h>
12 #include <linux/string.h>
16 #include <linux/export.h>
18 #include <mach/irqs.h>
26 static const char *rclksrc[] = {
59 static struct resource s3c64xx_iis0_resource[] = {
66 .cfg_gpio = s3c64xx_i2s_cfg_gpio,
75 .name =
"samsung-i2s",
77 .num_resources =
ARRAY_SIZE(s3c64xx_iis0_resource),
78 .resource = s3c64xx_iis0_resource,
80 .platform_data = &i2sv3_pdata,
85 static struct resource s3c64xx_iis1_resource[] = {
92 .name =
"samsung-i2s",
94 .num_resources =
ARRAY_SIZE(s3c64xx_iis1_resource),
95 .resource = s3c64xx_iis1_resource,
97 .platform_data = &i2sv3_pdata,
102 static struct resource s3c64xx_iisv4_resource[] = {
109 .cfg_gpio = s3c64xx_i2s_cfg_gpio,
119 .name =
"samsung-i2s",
121 .num_resources =
ARRAY_SIZE(s3c64xx_iisv4_resource),
122 .resource = s3c64xx_iisv4_resource,
124 .platform_data = &i2sv4_pdata,
153 static struct resource s3c64xx_pcm0_resource[] = {
160 .cfg_gpio = s3c64xx_pcm_cfg_gpio,
164 .name =
"samsung-pcm",
166 .num_resources =
ARRAY_SIZE(s3c64xx_pcm0_resource),
167 .resource = s3c64xx_pcm0_resource,
169 .platform_data = &s3c_pcm0_pdata,
174 static struct resource s3c64xx_pcm1_resource[] = {
181 .cfg_gpio = s3c64xx_pcm_cfg_gpio,
185 .name =
"samsung-pcm",
187 .num_resources =
ARRAY_SIZE(s3c64xx_pcm1_resource),
188 .resource = s3c64xx_pcm1_resource,
190 .platform_data = &s3c_pcm1_pdata,
207 static struct resource s3c64xx_ac97_resource[] = {
220 .name =
"samsung-ac97",
222 .num_resources =
ARRAY_SIZE(s3c64xx_ac97_resource),
223 .resource = s3c64xx_ac97_resource,
225 .platform_data = &s3c_ac97_pdata,
226 .dma_mask = &s3c64xx_ac97_dmamask,
235 s3c_ac97_pdata.cfg_gpio = s3c64xx_ac97_cfg_gpd;
237 s3c_ac97_pdata.cfg_gpio = s3c64xx_ac97_cfg_gpe;