Tested with a board containing LPC3250 SOC and STOTG04 PHY by using
serial gadget.
Needed patch "[PATCH] usb: gadget: udc: lpc32xx: allocate descriptor
with GFP_ATOMIC" also.
Tested-by: James Grant <jamesg@xxxxxxxxxx>
Regards,
James Grant.
On 09/04/2019 14:09, Alexandre Belloni Wrote:
Hi,
This series starts to clean up the lpc32xx udc driver and also repairs
interrupt handling so hotplugging actually works. The design I tested
that on uses an stotg04 instead of the usual isp1301 so support for that
is also added.
A bit more work is needed to get the RNDIS gadget driver to work.
Alexandre Belloni (5):
usb: gadget: udc: lpc32xx: simplify probe
usb: gadget: udc: lpc32xx: simplify vbus handling
usb: gadget: udc: lpc32xx: properly setup phy interrupts
usb: gadget: udc: lpc32xx: add support for stotg04 phy
usb: gadget: udc: lpc32xx: rework interrupt handling
drivers/usb/gadget/udc/lpc32xx_udc.c | 167 +++++++++++----------------
1 file changed, 66 insertions(+), 101 deletions(-)