]> git.karo-electronics.de Git - linux-beck.git/commit
usb: dwc2: gadget: Add new core parameter for low speed
authorVardan Mikayelyan <mvardan@synopsys.com>
Tue, 15 Nov 2016 03:17:03 +0000 (19:17 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:50 +0000 (13:54 +0200)
commit38e9002b85672352f8693c82192c8029586dd86d
tree115f261b377c5a6aaadeac62167df603d1cb7f0f
parent552d940f0bea0c010615b45ed7c64e7b3b103e6a
usb: dwc2: gadget: Add new core parameter for low speed

Added new core param for low speed, which can be used only when SNPSID
is equal to DWC2_CORE_FS_IOT. When LS mode is enabled, we are
restricting ep types and providing to upper layer only INTR and CTRL
endpoints.

Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/hcd.c
drivers/usb/dwc2/params.c