diff options
author | Jassi Brar <jassi.brar@samsung.com> | 2010-02-12 10:38:51 +0000 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-02-24 02:01:40 +0000 |
commit | de6985be185167d14a79695f345025c531a685d0 (patch) | |
tree | 6a111532c17d191ad419fedf3eb66015a706664e /arch/arm/plat-samsung/include/plat/audio.h | |
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/plat/audio.h')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/audio.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/audio.h b/arch/arm/plat-samsung/include/plat/audio.h index da561da2154..e32f9edfd4b 100644 --- a/arch/arm/plat-samsung/include/plat/audio.h +++ b/arch/arm/plat-samsung/include/plat/audio.h @@ -8,6 +8,14 @@ * published by the Free Software Foundation. */ +/* The machine init code calls s3c*_ac97_setup_gpio with + * one of these defines in order to select appropriate bank + * of GPIO for AC97 pins + */ +#define S3C64XX_AC97_GPD 0 +#define S3C64XX_AC97_GPE 1 +extern void s3c64xx_ac97_setup_gpio(int); + /** * struct s3c_audio_pdata - common platform data for audio device drivers * @cfg_gpio: Callback function to setup mux'ed pins in I2S/PCM/AC97 mode |