diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-08 13:00:55 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-08 13:00:55 -0400 |
commit | 44d51a029f95d49c5c7ccd7808f81904c20c3abd (patch) | |
tree | 41b82695b3bfb73b4146809546c2d79d6eaa4c47 /arch/arm/mach-davinci/board-da830-evm.c | |
parent | 2d53056973079e6c2ffc0d7ae3afbdd3d4f18ae3 (diff) | |
parent | cce3dddb87e4b72b1787527eec6826a43a562e71 (diff) |
Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci
* 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci:
davinci: dm646x EVM: Specify reserved EDMA channel/slots
davinci: da8xx/omapl EVM: Specify reserved channels/slots
davinci: support for EDMA resource sharing
davinci: edma: provide ability to detect insufficient CC info data
davinci: da8xx: sparse cleanup: remove duplicate entries in irq priorities
davinci: DM365: fixed second serial port
Davinci: tnetv107x evm board initial support
Davinci: tnetv107x initial gpio support
Davinci: tnetv107x soc support
Davinci: tnetv107x decompresser uart definitions
Davinci: generalized debug macros
Diffstat (limited to 'arch/arm/mach-davinci/board-da830-evm.c')
-rw-r--r-- | arch/arm/mach-davinci/board-da830-evm.c | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/board-da830-evm.c b/arch/arm/mach-davinci/board-da830-evm.c index bc384d3561da..c3994f341e49 100644 --- a/arch/arm/mach-davinci/board-da830-evm.c +++ b/arch/arm/mach-davinci/board-da830-evm.c | |||
@@ -494,12 +494,42 @@ static struct davinci_i2c_platform_data da830_evm_i2c_0_pdata = { | |||
494 | .bus_delay = 0, /* usec */ | 494 | .bus_delay = 0, /* usec */ |
495 | }; | 495 | }; |
496 | 496 | ||
497 | /* | ||
498 | * The following EDMA channels/slots are not being used by drivers (for | ||
499 | * example: Timer, GPIO, UART events etc) on da830/omap-l137 EVM, hence | ||
500 | * they are being reserved for codecs on the DSP side. | ||
501 | */ | ||
502 | static const s16 da830_dma_rsv_chans[][2] = { | ||
503 | /* (offset, number) */ | ||
504 | { 8, 2}, | ||
505 | {12, 2}, | ||
506 | {24, 4}, | ||
507 | {30, 2}, | ||
508 | {-1, -1} | ||
509 | }; | ||
510 | |||
511 | static const s16 da830_dma_rsv_slots[][2] = { | ||
512 | /* (offset, number) */ | ||
513 | { 8, 2}, | ||
514 | {12, 2}, | ||
515 | {24, 4}, | ||
516 | {30, 26}, | ||
517 | {-1, -1} | ||
518 | }; | ||
519 | |||
520 | static struct edma_rsv_info da830_edma_rsv[] = { | ||
521 | { | ||
522 | .rsv_chans = da830_dma_rsv_chans, | ||
523 | .rsv_slots = da830_dma_rsv_slots, | ||
524 | }, | ||
525 | }; | ||
526 | |||
497 | static __init void da830_evm_init(void) | 527 | static __init void da830_evm_init(void) |
498 | { | 528 | { |
499 | struct davinci_soc_info *soc_info = &davinci_soc_info; | 529 | struct davinci_soc_info *soc_info = &davinci_soc_info; |
500 | int ret; | 530 | int ret; |
501 | 531 | ||
502 | ret = da8xx_register_edma(); | 532 | ret = da830_register_edma(da830_edma_rsv); |
503 | if (ret) | 533 | if (ret) |
504 | pr_warning("da830_evm_init: edma registration failed: %d\n", | 534 | pr_warning("da830_evm_init: edma registration failed: %d\n", |
505 | ret); | 535 | ret); |