mbox series

[v4,0/6] usb: gadget: udc: atmel: add usb device support for SAM9x60 SoC

Message ID 20200723184902.416705-1-cristian.birsan@microchip.com (mailing list archive)
Headers show
Series usb: gadget: udc: atmel: add usb device support for SAM9x60 SoC | expand

Message

Cristian Birsan July 23, 2020, 6:48 p.m. UTC
From: Cristian Birsan <cristian.birsan@microchip.com>

This patch set adds usb device support for SAM9x60 SoC.
The DPRAM memory for the USB High Speed Device Port (UDPHS) hardware
block was increased and the allocation method is changed. This patch
series simplifies the endpoint allocation scheme to acomodate this SoC
and the old ones.

Changes in v4:
- rebase on top of testing/next
- add pp variable to access pmc

Changes in v3:
- rebase on top of testing/next
- depends on https://lore.kernel.org/linux-arm-kernel/cover.1594231056.git.mirq-linux@rere.qmqm.pl/
- extend usba_udc_config structure with endpoint preallocaion flag
- collect acked-by tags

Changes in v2:
- drop the patch that adds reference to pmc for sam9x60
- use dt-bindings: usb prefix
- enable usb device in device tree

Claudiu Beznea (1):
  usb: gadget: udc: atmel: use of_find_matching_node_and_match

Cristian Birsan (5):
  dt-bindings: usb: atmel: Update DT bindings documentation for sam9x60
  usb: gadget: udc: atmel: simplify endpoint allocation
  usb: gadget: udc: atmel: use 1 bank endpoints for control transfers
  usb: gadget: udc: atmel: update endpoint allocation for sam9x60
  ARM: dts: at91: sam9x60ek: enable usb device

 .../devicetree/bindings/usb/atmel-usb.txt     |  1 +
 arch/arm/boot/dts/at91-sam9x60ek.dts          | 13 ++++
 arch/arm/boot/dts/sam9x60.dtsi                | 14 ++++
 drivers/usb/gadget/udc/atmel_usba_udc.c       | 68 ++++++++++++-------
 drivers/usb/gadget/udc/atmel_usba_udc.h       |  3 +-
 5 files changed, 75 insertions(+), 24 deletions(-)