On Tue, Aug 13, 2013 at 2:21 PM, Felipe Balbi <ba...@ti.com> wrote:
> On Tue, Aug 13, 2013 at 01:11:47PM -0500, Bin Liu wrote:
>> Sebastian,
>>
>> On Tue, Aug 13, 2013 at 12:38 PM, Sebastian Andrzej Siewior
>> <bige...@linutronix.de> wrote:
>> > Since the musb-gadget code now calls the dma engine properly it is
>> > possible to enable it for the TX path in device mode.
>> > AM335x Advisory 1.0.13 says that we may lose the toggle bit on multiple
>> > RX transfers. There is a workaround in host mode but none in device mode
>> > and therefore RX transfers are disabled.
>> 1.0.13 only presents in PG1.0. It has been fixed in PG2.x. Maybe we
>> should check for silicon rev here?
>
> it would be quite difficult to check PG revision from this driver. It
> would have to be passed as a flag through DT or something similar.

To make the code logic simple, I would think to ignore the rev check
and enable CPPI for RX in device mode. I think in theory the
controller in device mode will never hit on this hw bug.

Regards,
-Bin.

>
> --
> balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to