23 #include <mach/irqs.h>
24 #include <mach/regs-audss.h>
26 static const char *rclksrc[] = {
53 .cfg_gpio = exynos4_cfg_i2s,
64 static struct resource exynos4_i2s0_resource[] = {
72 .name =
"samsung-i2s",
74 .num_resources =
ARRAY_SIZE(exynos4_i2s0_resource),
75 .resource = exynos4_i2s0_resource,
77 .platform_data = &i2sv5_pdata,
81 static const char *rclksrc_v3[] = {
83 [1] =
"no_such_clock",
87 .cfg_gpio = exynos4_cfg_i2s,
91 .src_clk = rclksrc_v3,
96 static struct resource exynos4_i2s1_resource[] = {
103 .name =
"samsung-i2s",
105 .num_resources =
ARRAY_SIZE(exynos4_i2s1_resource),
106 .resource = exynos4_i2s1_resource,
108 .platform_data = &i2sv3_pdata,
112 static struct resource exynos4_i2s2_resource[] = {
119 .name =
"samsung-i2s",
121 .num_resources =
ARRAY_SIZE(exynos4_i2s2_resource),
122 .resource = exynos4_i2s2_resource,
124 .platform_data = &i2sv3_pdata,
151 .cfg_gpio = exynos4_pcm_cfg_gpio,
154 static struct resource exynos4_pcm0_resource[] = {
161 .name =
"samsung-pcm",
163 .num_resources =
ARRAY_SIZE(exynos4_pcm0_resource),
164 .resource = exynos4_pcm0_resource,
166 .platform_data = &s3c_pcm_pdata,
170 static struct resource exynos4_pcm1_resource[] = {
177 .name =
"samsung-pcm",
179 .num_resources =
ARRAY_SIZE(exynos4_pcm1_resource),
180 .resource = exynos4_pcm1_resource,
182 .platform_data = &s3c_pcm_pdata,
186 static struct resource exynos4_pcm2_resource[] = {
193 .name =
"samsung-pcm",
195 .num_resources =
ARRAY_SIZE(exynos4_pcm2_resource),
196 .resource = exynos4_pcm2_resource,
198 .platform_data = &s3c_pcm_pdata,
209 static struct resource exynos4_ac97_resource[] = {
218 .cfg_gpio = exynos4_ac97_cfg_gpio,
224 .name =
"samsung-ac97",
226 .num_resources =
ARRAY_SIZE(exynos4_ac97_resource),
227 .resource = exynos4_ac97_resource,
229 .platform_data = &s3c_ac97_pdata,
230 .dma_mask = &exynos4_ac97_dmamask,
244 static struct resource exynos4_spdif_resource[] = {
250 .cfg_gpio = exynos4_spdif_cfg_gpio,
256 .name =
"samsung-spdif",
258 .num_resources =
ARRAY_SIZE(exynos4_spdif_resource),
259 .resource = exynos4_spdif_resource,
261 .platform_data = &samsung_spdif_pdata,
262 .dma_mask = &exynos4_spdif_dmamask,