linux/drivers/usb/renesas_usbhs
Kuninori Morimoto e73a9891b3 usb: renesas_usbhs: add DMAEngine support
USB DMA was installed on "normal DMAC" when SH7724 or older SuperH,
but the "USB-DMAC" was prepared on recent SuperH.
These 2 DMAC have a little bit different behavior.

This patch add DMAEngine code for "normal DMAC",
but it is still using PIO fifo.
The DMA fifo will be formally supported in the future.

You can enable DMA fifo by local fixup
usbhs_fifo_pio_push_handler -> usbhs_fifo_dma_push_handler
usbhs_fifo_pio_pop_handler  -> usbhs_fifo_dma_pop_handler
on usbhsg_ep_enable.

This DMAEngine was tested by g_file_storage on SH7724 Ecovec board

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-06-07 09:10:10 -07:00
..
common.c usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00
common.h usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00
fifo.c usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00
fifo.h usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00
Kconfig usb: renesas_usbhs: Driver is depend on SuperH 2011-04-29 17:24:29 -07:00
Makefile usb: renesas_usbhs: fifo became independent from pipe. 2011-06-07 09:10:07 -07:00
mod_gadget.c usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00
mod.c usb: renesas_usbhs: add autonomy mode 2011-04-29 17:24:35 -07:00
mod.h usb: renesas_usbhs: add autonomy mode 2011-04-29 17:24:35 -07:00
pipe.c usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00
pipe.h usb: renesas_usbhs: add DMAEngine support 2011-06-07 09:10:10 -07:00