[PATCH linux-next v2 1/1] usb: gadget: udc: atmel: Update endpoint allocation scheme
Felipe Balbi
balbi at kernel.org
Fri Jan 27 01:07:53 PST 2017
Nicolas Ferre <nicolas.ferre at atmel.com> writes:
> Le 23/01/2017 à 15:45, cristian.birsan at microchip.com a écrit :
>> From: Cristian Birsan <cristian.birsan at microchip.com>
>>
>> Update atmel udc driver with a new enpoint allocation scheme. The data
>> sheet requires that all endpoints are allocated in order.
>
> Pieces of information from the cover letter could have been added here.
yup, that's what I did:
commit 741d2558bf0aa8da9c0834ad43e1b9a1b16aa515
Author: Cristian Birsan <cristian.birsan at microchip.com>
Date: Mon Jan 23 16:45:59 2017 +0200
usb: gadget: udc: atmel: Update endpoint allocation scheme
This patch updates the usb endpoint allocation scheme for atmel usba
driver to make sure all endpoints are allocated in order. This
requirement comes from the datasheet of the controller.
The allocation scheme is decided by fifo_mode parameter. For fifo_mode =
0 the driver tries to autoconfigure the endpoints fifo size. All other
modes contain fixed configurations optimized for different purposes. The
idea is somehow similar with the approach used on musb driver.
Signed-off-by: Cristian Birsan <cristian.birsan at microchip.com>
Signed-off-by: Felipe Balbi <felipe.balbi at linux.intel.com>
But seems like we will need a fixup patch during v4.11-rc?
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170127/2e9ab65b/attachment.sig>
More information about the linux-arm-kernel
mailing list