From patchwork Fri May 20 09:06:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neal Liu X-Patchwork-Id: 12857499 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 94764C433F5 for ; Fri, 20 May 2022 21:42:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=QFpqhUo5smwJ1RYNqhVP9mC7jFjfN+RoXtSunpZyEEM=; b=xbgFYogLb8AdVV StS6Necise/zgCNpaML053Pzz0Cjj9rf4RegxOxPXRPGdQ9O5ZbNQBmUfDG0Hh6js4NRv6ulbKmC1 wVuBdQ5D01SkdPcxe/D70EsVB0jEnJgV5S9x7p465fqQ613NLqWjIXtTDYjEz9R53btrzMxDVWEZk 9nUIgtbVt9JrGutZxSnWpUjFWiwp0dQuqmGh0ZGSE8/kcQcj8rGZGEaAsv73MOj/Q7Bur/L2hJsim pWeUvbPYhIVGSoGFVVhS7odEcE9FjRavXi1yiQGvXzc8d0Hj/L0HFcr2aUWSldrONxSWZGhu9CDU+ TkT6mJkH9DLRcGSdbgtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nsANT-00EdGC-8R; Fri, 20 May 2022 21:41:43 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nsANE-00EdDX-LS for linux-arm-kernel@bombadil.infradead.org; Fri, 20 May 2022 21:41:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To:Content-ID: Content-Description:In-Reply-To:References; bh=WdFTJHN9OxzjTW27Ft5MLT+yIW4dwt0lLHGJPd0+LYg=; b=U/u7gWfoLkBM9+uGvSsIAeQToP 9EeeA0s+/TLf/WmVW3FniDR7gM3vVq1WSuOD3NM67uORCB3guIT822ljOA2B4FniTVf1+txLw6/u8 SaP3loAhc/5li0X209p3Jhl0s1NA9ijkqx+WTIR92ljrKtqUqGPNmxruxTi7oUZudx8e/CCrHdNHo bXiDPJL+jItQ6zH+J3FqxJcUb8kRbfVk+zy2h049eS5fwJANtyxfwy7GquSTBHFFRTFOCCRRLPHvu yHn+IJPSB2JGUMOqSbvBoHUVXuz/bGsPph2Q44vVPWr6pLsmMtszCcNJzaplVM1roJQg3L7hotgUP CfAJKVfQ==; Received: from twspam01.aspeedtech.com ([211.20.114.71]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nrybW-002HXT-Dz for linux-arm-kernel@lists.infradead.org; Fri, 20 May 2022 09:07:30 +0000 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 24K8qYLq003708; Fri, 20 May 2022 16:52:34 +0800 (GMT-8) (envelope-from neal_liu@aspeedtech.com) Received: from localhost.localdomain (192.168.10.10) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 20 May 2022 17:06:21 +0800 From: Neal Liu To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Joel Stanley , "Andrew Jeffery" , Felipe Balbi , Sumit Semwal , =?utf-8?q?Christian_K=C3=B6nig?= , Geert Uytterhoeven , "Li Yang" CC: Neal Liu , , , , , , , , Subject: [PATCH v4 0/3] add Aspeed udc driver for ast2600 Date: Fri, 20 May 2022 17:06:14 +0800 Message-ID: <20220520090617.2225080-1-neal_liu@aspeedtech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [192.168.10.10] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 24K8qYLq003708 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220520_100727_130214_C424C9B0 X-CRM114-Status: GOOD ( 11.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series aim to add Aspeed USB 2.0 Device Controller (udc) driver, including driver itself, device tree node and documentation. Change since v3: - Remove kernel test robot tag since it's a new driver. Change since v2: - Rename device tree nodes. - Fix unusual indentation. Change since v1: - Fix build test warning reported by kernel test robot. - Rename proper name for dt-bindings document. Neal Liu (3): usb: gadget: add Aspeed ast2600 udc driver ARM: dts: aspeed: Add USB2.0 device controller node dt-bindings: usb: add documentation for aspeed udc .../bindings/usb/aspeed,ast2600-udc.yaml | 52 + MAINTAINERS | 7 + arch/arm/boot/dts/aspeed-g6.dtsi | 10 + drivers/usb/gadget/udc/Kconfig | 13 + drivers/usb/gadget/udc/Makefile | 1 + drivers/usb/gadget/udc/aspeed_udc.c | 1601 +++++++++++++++++ 6 files changed, 1684 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/aspeed,ast2600-udc.yaml create mode 100644 drivers/usb/gadget/udc/aspeed_udc.c