Searched hist:"741 d2558bf0aa8da9c0834ad43e1b9a1b16aa515" (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/usb/gadget/udc/ |
H A D | atmel_usba_udc.h | diff 741d2558bf0aa8da9c0834ad43e1b9a1b16aa515 Mon Jan 23 15:45:59 CET 2017 Cristian Birsan <cristian.birsan@microchip.com> usb: gadget: udc: atmel: Update endpoint allocation scheme
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.
Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
|
H A D | Kconfig | diff 741d2558bf0aa8da9c0834ad43e1b9a1b16aa515 Mon Jan 23 15:45:59 CET 2017 Cristian Birsan <cristian.birsan@microchip.com> usb: gadget: udc: atmel: Update endpoint allocation scheme
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.
Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
|