diff options
author | 2007-01-02 13:52:31 -0700 | |
---|---|---|
committer | 2007-07-13 08:06:19 -0700 | |
commit | 2492c845189a961a92d8537a44d233e8e1e45c6d (patch) | |
tree | 2c13ce489dc271d0391c468beb75e081b899f35c /arch/arm/mach-iop32x/iq31244.c | |
parent | iop13xx: surface the iop13xx adma units to the iop-adma driver (diff) | |
download | linux-2492c845189a961a92d8537a44d233e8e1e45c6d.tar.gz linux-2492c845189a961a92d8537a44d233e8e1e45c6d.tar.bz2 linux-2492c845189a961a92d8537a44d233e8e1e45c6d.zip |
iop3xx: surface the iop3xx DMA and AAU units to the iop-adma driver
Adds the platform device definitions and the architecture specific support
routines (i.e. register initialization and descriptor formats) for the
iop-adma driver.
Changelog:
* add support for > 1k zero sum buffer sizes
* added dma/aau platform devices to iq80321 and iq80332 setup
* fixed the calculation in iop_desc_is_aligned
* support xor buffer sizes larger than 16MB
* fix places where software descriptors are assumed to be contiguous, only
hardware descriptors are contiguous for up to a PAGE_SIZE buffer size
* convert to async_tx
* add interrupt support
* add platform devices for 80219 boards
* do not call platform register macros in driver code
* remove switch() statements for compatible register offsets/layouts
* change over to bitmap based capabilities
* remove unnecessary ARM assembly statement
* checkpatch.pl fixes
* gpl v2 only correction
* phys move to dma_async_tx_descriptor
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'arch/arm/mach-iop32x/iq31244.c')
-rw-r--r-- | arch/arm/mach-iop32x/iq31244.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/mach-iop32x/iq31244.c b/arch/arm/mach-iop32x/iq31244.c index d4eefbea1fe6..98cfa1cd6bdb 100644 --- a/arch/arm/mach-iop32x/iq31244.c +++ b/arch/arm/mach-iop32x/iq31244.c @@ -298,9 +298,14 @@ static void __init iq31244_init_machine(void) platform_device_register(&iop3xx_i2c1_device); platform_device_register(&iq31244_flash_device); platform_device_register(&iq31244_serial_device); + platform_device_register(&iop3xx_dma_0_channel); + platform_device_register(&iop3xx_dma_1_channel); if (is_ep80219()) pm_power_off = ep80219_power_off; + + if (!is_80219()) + platform_device_register(&iop3xx_aau_channel); } static int __init force_ep80219_setup(char *str) |