aboutsummaryrefslogtreecommitdiffstats
path: root/arch/avr32/mach-at32ap/include
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2009-03-24 08:59:22 -0400
committerHaavard Skinnemoen <haavard.skinnemoen@atmel.com>2009-03-27 11:15:39 -0400
commit6b0c9351426bdedcbe8fb81149a072de96991666 (patch)
tree48b4a924fe375adc3366160a8ca58a73984d5e7c /arch/avr32/mach-at32ap/include
parentb92efa9abffc4a634cd2e7a0f81f8aa6310d67c9 (diff)
avr32: at32ap700x: setup DMA for ABDAC in the machine code
This patch will adjust the setup the DMA controller for the Audio Bistream DAC in the at32ap700x machine code. This setup matches the new ALSA driver for the ABDAC. Tested on ATSTK1006 + ATSTK1000. This patch will setup the needed platform data for the Audio Bistream DAC used by the Favr-32 board. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> [haavard.skinnemoen@atmel.com: fold board code update] Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/mach-at32ap/include')
-rw-r--r--arch/avr32/mach-at32ap/include/mach/board.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/avr32/mach-at32ap/include/mach/board.h b/arch/avr32/mach-at32ap/include/mach/board.h
index cff8e84f78f2..63ec4008b253 100644
--- a/arch/avr32/mach-at32ap/include/mach/board.h
+++ b/arch/avr32/mach-at32ap/include/mach/board.h
@@ -13,7 +13,7 @@
13 * in this array is chip-dependent. 13 * in this array is chip-dependent.
14 */ 14 */
15extern unsigned long at32_board_osc_rates[]; 15extern unsigned long at32_board_osc_rates[];
16 16
17/* 17/*
18 * This used to add essential system devices, but this is now done 18 * This used to add essential system devices, but this is now done
19 * automatically. Please don't use it in new board code. 19 * automatically. Please don't use it in new board code.
@@ -97,7 +97,10 @@ struct ac97c_platform_data {
97struct platform_device * 97struct platform_device *
98at32_add_device_ac97c(unsigned int id, struct ac97c_platform_data *data); 98at32_add_device_ac97c(unsigned int id, struct ac97c_platform_data *data);
99 99
100struct platform_device *at32_add_device_abdac(unsigned int id); 100struct atmel_abdac_pdata;
101struct platform_device *
102at32_add_device_abdac(unsigned int id, struct atmel_abdac_pdata *data);
103
101struct platform_device *at32_add_device_psif(unsigned int id); 104struct platform_device *at32_add_device_psif(unsigned int id);
102 105
103struct cf_platform_data { 106struct cf_platform_data {