diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-14 20:48:14 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-14 20:48:14 -0400 |
commit | 2ca7d674d7ab2220707b2ada0b690c0e7c95e7ac (patch) | |
tree | 9c0927ed1d540e5fd704c1f82689870786514655 /arch/arm/mach-omap2/mcbsp.c | |
parent | 2195d2818c37bdf263865f1e9effccdd9fc5f9d4 (diff) | |
parent | 87d721ad7a37b7650dd710c88dd5c6a5bf9fe996 (diff) |
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (257 commits)
[ARM] Update mach-types
ARM: 5636/1: Move vendor enum to AMBA include
ARM: Fix pfn_valid() for sparse memory
[ARM] orion5x: Add LaCie NAS 2Big Network support
[ARM] pxa/sharpsl_pm: zaurus c3000 aka spitz: fix resume
ARM: 5686/1: at91: Correct AC97 reset line in at91sam9263ek board
ARM: 5640/1: This patch modifies the support of AC97 on the at91sam9263 ek board
ARM: 5689/1: Update default config of HP Jornada 700-series machines
ARM: 5691/1: fix cache aliasing issues between kmap() and kmap_atomic() with highmem
ARM: 5688/1: ks8695_serial: disable_irq() lockup
ARM: 5687/1: fix an oops with highmem
ARM: 5684/1: Add nuc960 platform to w90x900
ARM: 5683/1: Add nuc950 platform to w90x900
ARM: 5682/1: Add cpu.c and dev.c and modify some files of w90p910 platform
ARM: 5626/1: add suspend/resume functions to amba-pl011 serial driver
ARM: 5625/1: fix hard coded 4K resource size in amba bus detection
MMC: MMCI: convert realview MMC to use gpiolib
ARM: 5685/1: Make MMCI driver compile without gpiolib
ARM: implement highpte
ARM: Show FIQ in /proc/interrupts on CONFIG_FIQ
...
Fix up trivial conflict in arch/arm/kernel/signal.c.
It was due to the TIF_NOTIFY_RESUME addition in commit d0420c83f ("KEYS:
Extend TIF_NOTIFY_RESUME to (almost) all architectures") and follow-ups.
Diffstat (limited to 'arch/arm/mach-omap2/mcbsp.c')
-rw-r--r-- | arch/arm/mach-omap2/mcbsp.c | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/mcbsp.c b/arch/arm/mach-omap2/mcbsp.c index 0447d26d454b..a846aa1ebb4d 100644 --- a/arch/arm/mach-omap2/mcbsp.c +++ b/arch/arm/mach-omap2/mcbsp.c | |||
@@ -173,6 +173,42 @@ static struct omap_mcbsp_platform_data omap34xx_mcbsp_pdata[] = { | |||
173 | #define OMAP34XX_MCBSP_PDATA_SZ 0 | 173 | #define OMAP34XX_MCBSP_PDATA_SZ 0 |
174 | #endif | 174 | #endif |
175 | 175 | ||
176 | static struct omap_mcbsp_platform_data omap44xx_mcbsp_pdata[] = { | ||
177 | { | ||
178 | .phys_base = OMAP44XX_MCBSP1_BASE, | ||
179 | .dma_rx_sync = OMAP44XX_DMA_MCBSP1_RX, | ||
180 | .dma_tx_sync = OMAP44XX_DMA_MCBSP1_TX, | ||
181 | .rx_irq = INT_24XX_MCBSP1_IRQ_RX, | ||
182 | .tx_irq = INT_24XX_MCBSP1_IRQ_TX, | ||
183 | .ops = &omap2_mcbsp_ops, | ||
184 | }, | ||
185 | { | ||
186 | .phys_base = OMAP44XX_MCBSP2_BASE, | ||
187 | .dma_rx_sync = OMAP44XX_DMA_MCBSP2_RX, | ||
188 | .dma_tx_sync = OMAP44XX_DMA_MCBSP2_TX, | ||
189 | .rx_irq = INT_24XX_MCBSP2_IRQ_RX, | ||
190 | .tx_irq = INT_24XX_MCBSP2_IRQ_TX, | ||
191 | .ops = &omap2_mcbsp_ops, | ||
192 | }, | ||
193 | { | ||
194 | .phys_base = OMAP44XX_MCBSP3_BASE, | ||
195 | .dma_rx_sync = OMAP44XX_DMA_MCBSP3_RX, | ||
196 | .dma_tx_sync = OMAP44XX_DMA_MCBSP3_TX, | ||
197 | .rx_irq = INT_24XX_MCBSP3_IRQ_RX, | ||
198 | .tx_irq = INT_24XX_MCBSP3_IRQ_TX, | ||
199 | .ops = &omap2_mcbsp_ops, | ||
200 | }, | ||
201 | { | ||
202 | .phys_base = OMAP44XX_MCBSP4_BASE, | ||
203 | .dma_rx_sync = OMAP44XX_DMA_MCBSP4_RX, | ||
204 | .dma_tx_sync = OMAP44XX_DMA_MCBSP4_TX, | ||
205 | .rx_irq = INT_24XX_MCBSP4_IRQ_RX, | ||
206 | .tx_irq = INT_24XX_MCBSP4_IRQ_TX, | ||
207 | .ops = &omap2_mcbsp_ops, | ||
208 | }, | ||
209 | }; | ||
210 | #define OMAP44XX_MCBSP_PDATA_SZ ARRAY_SIZE(omap44xx_mcbsp_pdata) | ||
211 | |||
176 | static int __init omap2_mcbsp_init(void) | 212 | static int __init omap2_mcbsp_init(void) |
177 | { | 213 | { |
178 | if (cpu_is_omap2420()) | 214 | if (cpu_is_omap2420()) |
@@ -181,6 +217,8 @@ static int __init omap2_mcbsp_init(void) | |||
181 | omap_mcbsp_count = OMAP2430_MCBSP_PDATA_SZ; | 217 | omap_mcbsp_count = OMAP2430_MCBSP_PDATA_SZ; |
182 | if (cpu_is_omap34xx()) | 218 | if (cpu_is_omap34xx()) |
183 | omap_mcbsp_count = OMAP34XX_MCBSP_PDATA_SZ; | 219 | omap_mcbsp_count = OMAP34XX_MCBSP_PDATA_SZ; |
220 | if (cpu_is_omap44xx()) | ||
221 | omap_mcbsp_count = OMAP44XX_MCBSP_PDATA_SZ; | ||
184 | 222 | ||
185 | mcbsp_ptr = kzalloc(omap_mcbsp_count * sizeof(struct omap_mcbsp *), | 223 | mcbsp_ptr = kzalloc(omap_mcbsp_count * sizeof(struct omap_mcbsp *), |
186 | GFP_KERNEL); | 224 | GFP_KERNEL); |
@@ -196,6 +234,9 @@ static int __init omap2_mcbsp_init(void) | |||
196 | if (cpu_is_omap34xx()) | 234 | if (cpu_is_omap34xx()) |
197 | omap_mcbsp_register_board_cfg(omap34xx_mcbsp_pdata, | 235 | omap_mcbsp_register_board_cfg(omap34xx_mcbsp_pdata, |
198 | OMAP34XX_MCBSP_PDATA_SZ); | 236 | OMAP34XX_MCBSP_PDATA_SZ); |
237 | if (cpu_is_omap44xx()) | ||
238 | omap_mcbsp_register_board_cfg(omap44xx_mcbsp_pdata, | ||
239 | OMAP44XX_MCBSP_PDATA_SZ); | ||
199 | 240 | ||
200 | return omap_mcbsp_init(); | 241 | return omap_mcbsp_init(); |
201 | } | 242 | } |