All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH linux-next v2 0/1] usb: gadget: udc: atmel: Update endpoint allocation scheme
@ 2017-01-23 14:45 ` cristian.birsan
  0 siblings, 0 replies; 14+ messages in thread
From: cristian.birsan at microchip.com @ 2017-01-23 14:45 UTC (permalink / raw)
  To: linux-arm-kernel

From: Cristian Birsan <cristian.birsan@microchip.com>

Hi,

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.

Please let me know if you have any comments or suggestions.

Changes since v1:
	- Minor reworks based on received fedback


Kind regards,
Cristian

Cristian Birsan (1):
  usb: gadget: udc: atmel: Update endpoint allocation scheme

 drivers/usb/gadget/udc/Kconfig          |  14 ++
 drivers/usb/gadget/udc/atmel_usba_udc.c | 236 +++++++++++++++++++++++++++-----
 drivers/usb/gadget/udc/atmel_usba_udc.h |  10 +-
 3 files changed, 227 insertions(+), 33 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-01-27 15:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-23 14:45 [PATCH linux-next v2 0/1] usb: gadget: udc: atmel: Update endpoint allocation scheme cristian.birsan at microchip.com
2017-01-23 14:45 ` cristian.birsan
2017-01-23 14:45 ` [PATCH linux-next v2 1/1] " cristian.birsan at microchip.com
2017-01-23 14:45   ` cristian.birsan
2017-01-26 15:02   ` Nicolas Ferre
2017-01-26 15:02     ` Nicolas Ferre
2017-01-27  9:07     ` Felipe Balbi
2017-01-27  9:07       ` Felipe Balbi
2017-01-27 13:47     ` Cristian Birsan
2017-01-27 13:47       ` Cristian Birsan
2017-01-27 14:56       ` Nicolas Ferre
2017-01-27 14:56         ` Nicolas Ferre
2017-01-27 15:01       ` Felipe Balbi
2017-01-27 15:01         ` Felipe Balbi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.