diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-23 11:55:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-23 11:55:56 -0400 |
commit | f3344c54cee4c446a39d046e47707ed9d259f72c (patch) | |
tree | a7a3f1012ee00f22ef5b93b675651f9263dcc6f6 /include/asm-avr32 | |
parent | ba1c28a94322865457ad59f80474615156065123 (diff) | |
parent | 2298a1dd819213802b8a7f955f9b382f5e92127a (diff) |
Merge branch 'for-linus' of ssh://master.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6
* 'for-linus' of ssh://master.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6:
[AVR32] ARRAY_SIZE() cleanup
[AVR32] Implement at32_add_device_cf()
[AVR32] Implement more at32_add_device_foo() functions
[AVR32] Fix a couple of sparse warnings
[AVR32] Wire up AT73C213 sound driver on ATSTK1000 board
[AVR32] Platform code for pata_at32
Diffstat (limited to 'include/asm-avr32')
-rw-r--r-- | include/asm-avr32/arch-at32ap/board.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/asm-avr32/arch-at32ap/board.h b/include/asm-avr32/arch-at32ap/board.h index 7dbd603c38cc..d6993a6b6473 100644 --- a/include/asm-avr32/arch-at32ap/board.h +++ b/include/asm-avr32/arch-at32ap/board.h | |||
@@ -44,6 +44,13 @@ struct usba_platform_data { | |||
44 | struct platform_device * | 44 | struct platform_device * |
45 | at32_add_device_usba(unsigned int id, struct usba_platform_data *data); | 45 | at32_add_device_usba(unsigned int id, struct usba_platform_data *data); |
46 | 46 | ||
47 | struct ide_platform_data { | ||
48 | u8 cs; | ||
49 | }; | ||
50 | struct platform_device * | ||
51 | at32_add_device_ide(unsigned int id, unsigned int extint, | ||
52 | struct ide_platform_data *data); | ||
53 | |||
47 | /* depending on what's hooked up, not all SSC pins will be used */ | 54 | /* depending on what's hooked up, not all SSC pins will be used */ |
48 | #define ATMEL_SSC_TK 0x01 | 55 | #define ATMEL_SSC_TK 0x01 |
49 | #define ATMEL_SSC_TF 0x02 | 56 | #define ATMEL_SSC_TF 0x02 |
@@ -58,4 +65,20 @@ at32_add_device_usba(unsigned int id, struct usba_platform_data *data); | |||
58 | struct platform_device * | 65 | struct platform_device * |
59 | at32_add_device_ssc(unsigned int id, unsigned int flags); | 66 | at32_add_device_ssc(unsigned int id, unsigned int flags); |
60 | 67 | ||
68 | struct platform_device *at32_add_device_twi(unsigned int id); | ||
69 | struct platform_device *at32_add_device_mci(unsigned int id); | ||
70 | struct platform_device *at32_add_device_ac97c(unsigned int id); | ||
71 | struct platform_device *at32_add_device_abdac(unsigned int id); | ||
72 | |||
73 | struct cf_platform_data { | ||
74 | int detect_pin; | ||
75 | int reset_pin; | ||
76 | int vcc_pin; | ||
77 | int ready_pin; | ||
78 | u8 cs; | ||
79 | }; | ||
80 | struct platform_device * | ||
81 | at32_add_device_cf(unsigned int id, unsigned int extint, | ||
82 | struct cf_platform_data *data); | ||
83 | |||
61 | #endif /* __ASM_ARCH_BOARD_H */ | 84 | #endif /* __ASM_ARCH_BOARD_H */ |