]> git.baikalelectronics.ru Git - kernel.git/commit
sh: SH7760 DMABRG support.
authorManuel Lauss <mano@roarinelk.homelinux.net>
Wed, 9 May 2007 08:36:15 +0000 (17:36 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 9 May 2007 08:36:15 +0000 (17:36 +0900)
commit6fcf33dcfaaabffe660a1e1ee75e346b5a991511
tree16b1721c800bd907207723f8031fb8601811b584
parente0fd14d812e4d769e396604a52fef055666767ed
sh: SH7760 DMABRG support.

The DMABRG is a special DMA unit within the SH7760 which does data
transfers from main memory to Audio units and USB shared memory.
It has 3 IRQ lines which generate 10 events, which have to be masked
unmasked and acked in a single 32bit register. It works independently
from the tradition SH DMAC, but blocks usage of DMAC channel 0.

This patch adds 2 functions to associate callbacks with DMABRG events
and initialization.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/Makefile
arch/sh/drivers/dma/Kconfig
arch/sh/drivers/dma/Makefile
arch/sh/drivers/dma/dmabrg.c [new file with mode: 0644]
include/asm-sh/dmabrg.h [new file with mode: 0644]