Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1565012 > unrolled thread

[PATCH linux-next v2 0/1] usb: gadget: udc: atmel: Update endpoint allocation scheme

Started by<cristian.birsan@microchip.com>
First post2017-01-23 15:50 +0100
Last post2017-01-23 15:50 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH linux-next v2 0/1] usb: gadget: udc: atmel: Update endpoint allocation scheme <cristian.birsan@microchip.com> - 2017-01-23 15:50 +0100

#1565012 — [PATCH linux-next v2 0/1] usb: gadget: udc: atmel: Update endpoint allocation scheme

From<cristian.birsan@microchip.com>
Date2017-01-23 15:50 +0100
Subject[PATCH linux-next v2 0/1] usb: gadget: udc: atmel: Update endpoint allocation scheme
Message-ID<t2O6u-7EI-7@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web