]> git.sur5r.net Git - u-boot/commit
usb: dwc3: gadget: add common endpoint configuration for dwc3 udc driver
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 3 Mar 2015 16:32:11 +0000 (17:32 +0100)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:48:12 +0000 (05:48 +0200)
commit16bece51c58a7758309918daecdc0c4bb45e271b
treeb1bf48a2bf5ee9d636dd16076e583ab83be5a0be
parent5dc4538bf3fea0baf4ca2e4191e0e62991fbd779
usb: dwc3: gadget: add common endpoint configuration for dwc3 udc driver

This patch adds code to select standard, commonly used usb endpoint
configuration (ep1in-bulk, ep2out-bulk, ep3in-int) to dwc3 driver. This
ensures compatibility with old userspace and windows drivers, which
expects hardcoded endpoint numbers.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
drivers/usb/gadget/epautoconf.c
drivers/usb/gadget/gadget_chips.h