From patchwork Tue Apr 9 12:09:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Belloni X-Patchwork-Id: 10891179 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B64C11515 for ; Tue, 9 Apr 2019 12:09:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A1754274A3 for ; Tue, 9 Apr 2019 12:09:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 95AF128585; Tue, 9 Apr 2019 12:09:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3BE33274A3 for ; Tue, 9 Apr 2019 12:09:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726535AbfDIMJT (ORCPT ); Tue, 9 Apr 2019 08:09:19 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:37393 "EHLO relay8-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726387AbfDIMJT (ORCPT ); Tue, 9 Apr 2019 08:09:19 -0400 X-Originating-IP: 109.213.33.177 Received: from localhost (alyon-652-1-42-177.w109-213.abo.wanadoo.fr [109.213.33.177]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id 313861BF214; Tue, 9 Apr 2019 12:09:12 +0000 (UTC) From: Alexandre Belloni To: Felipe Balbi , Vladimir Zapolskiy Cc: Greg Kroah-Hartman , Sylvain Lemieux , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Belloni Subject: [PATCH 0/5] usb: gadget: udc: lpc32xx: add stotg04 phy support Date: Tue, 9 Apr 2019 14:09:03 +0200 Message-Id: <20190409120908.12079-1-alexandre.belloni@bootlin.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) Tested-by: James Grant Acked-by: Sylvain Lemieux