diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2010-02-12 05:38:51 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-02-23 21:01:40 -0500 |
commit | de6985be185167d14a79695f345025c531a685d0 (patch) | |
tree | 6a111532c17d191ad419fedf3eb66015a706664e /arch/arm/plat-samsung/include | |
parent | 1f1008684a392f92c174252243d72a3297d6fa46 (diff) |
ARM: S3C64XX: Add AC97 platform resources
This patch defines the platform device and the resources: IRQ, DMA and MEM,
needed by the AC97 controller driver.
Signed-off-by: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung/include')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/audio.h | 8 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/devs.h | 3 |
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/audio.h b/arch/arm/plat-samsung/include/plat/audio.h index da561da2154f..e32f9edfd4b7 100644 --- a/arch/arm/plat-samsung/include/plat/audio.h +++ b/arch/arm/plat-samsung/include/plat/audio.h | |||
@@ -8,6 +8,14 @@ | |||
8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | /* The machine init code calls s3c*_ac97_setup_gpio with | ||
12 | * one of these defines in order to select appropriate bank | ||
13 | * of GPIO for AC97 pins | ||
14 | */ | ||
15 | #define S3C64XX_AC97_GPD 0 | ||
16 | #define S3C64XX_AC97_GPE 1 | ||
17 | extern void s3c64xx_ac97_setup_gpio(int); | ||
18 | |||
11 | /** | 19 | /** |
12 | * struct s3c_audio_pdata - common platform data for audio device drivers | 20 | * struct s3c_audio_pdata - common platform data for audio device drivers |
13 | * @cfg_gpio: Callback function to setup mux'ed pins in I2S/PCM/AC97 mode | 21 | * @cfg_gpio: Callback function to setup mux'ed pins in I2S/PCM/AC97 mode |
diff --git a/arch/arm/plat-samsung/include/plat/devs.h b/arch/arm/plat-samsung/include/plat/devs.h index 0597ffae0cfc..796d24258313 100644 --- a/arch/arm/plat-samsung/include/plat/devs.h +++ b/arch/arm/plat-samsung/include/plat/devs.h | |||
@@ -35,7 +35,10 @@ extern struct platform_device s3c64xx_device_spi1; | |||
35 | extern struct platform_device s3c64xx_device_pcm0; | 35 | extern struct platform_device s3c64xx_device_pcm0; |
36 | extern struct platform_device s3c64xx_device_pcm1; | 36 | extern struct platform_device s3c64xx_device_pcm1; |
37 | 37 | ||
38 | extern struct platform_device s3c64xx_device_ac97; | ||
39 | |||
38 | extern struct platform_device s3c_device_ts; | 40 | extern struct platform_device s3c_device_ts; |
41 | |||
39 | extern struct platform_device s3c_device_fb; | 42 | extern struct platform_device s3c_device_fb; |
40 | extern struct platform_device s3c_device_ohci; | 43 | extern struct platform_device s3c_device_ohci; |
41 | extern struct platform_device s3c_device_lcd; | 44 | extern struct platform_device s3c_device_lcd; |