]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: renesas_usbhs: add DMAEngine ID specification note
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 29 May 2012 06:31:39 +0000 (23:31 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Jun 2012 19:38:36 +0000 (12:38 -0700)
renesas_usbhs DMAEngine uses D0FIFO/D1FIFO,
but the data transfer direction should be fixed for keeping consistency.
This patch explain about it on renesas_usbhs.h

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/renesas_usbhs.h

index 547e59cc00eadfb4a9992f5238fc2b42e7646314..c5d36c65c33bfe7e77f6a984a66f7a06e1683f84 100644 (file)
@@ -132,6 +132,14 @@ struct renesas_usbhs_driver_param {
         * option:
         *
         * dma id for dmaengine
+        * The data transfer direction on D0FIFO/D1FIFO should be
+        * fixed for keeping consistency.
+        * So, the platform id settings will be..
+        *      .d0_tx_id = xx_TX,
+        *      .d1_rx_id = xx_RX,
+        * or
+        *      .d1_tx_id = xx_TX,
+        *      .d0_rx_id = xx_RX,
         */
        int d0_tx_id;
        int d0_rx_id;