On 11/25/2014 12:52 AM, Tony Lindgren wrote:
* Apelete Seketeli <apelete@xxxxxxxxxxxx> [141124 15:40]:
Hi Tony,
Thanks for the patch.
On Mon, Nov-24-2014 at 11:05:03 AM -0800, Tony Lindgren wrote:
This allows the endpoints to work when multiple MUSB glue
layers are built in.
Applied on top of 3.18-rc6 mainline and tested successfully on JZ4740.
Been able to use ethernet-over-usb to access the internet on
device. No issue as far as I'm concerned.
Great that's good to hear and thanks for testing.
Doing the DMA patches here right now.. For the DMA, I've set up
JZ4740 to use the MUSB_DMA_INVENTRA option by default, is that OK
or do you have some other DMA hardware on it?
If MUSB_DMA_INVENTRA does not work, and you don't have other DMA
hardware on it, we can pass MUSB_DMA_INVENTRA and leave the DMA
function pointers empty, and then the driver will bail out during
init unless the option for CONFIG_MUSB_PIO_ONLY is set.
Yea... so according to the datasheet there is no DMA support, or at least it
is not documented in the datasheet's description of the USB core. There is a
vendor driver for the core which has ifdefs to enable DMA which looks like
MUSB_DMA_INVENTRA, but I think we never really go that to work too well. So
the current configuration is to use only PIO.
- Lars
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html