From patchwork Mon May 23 03:01:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neal Liu X-Patchwork-Id: 12859002 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 E387AC433F5 for ; Mon, 23 May 2022 12:22:05 +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=jKiZozfEruitvEb2Om26GQItwGOt6g7Zbe4RRtTAyKw=; b=Lovoh9purbFPKo 1ErqEvEKrHGseRT+IIgWd5OqtFbcAC2ZEuZn8kace6KJU+U+WxC/PBh6Lmf7pWJZ6fmtewNUbni06 ZUUUNo35EfxHvyv6pGRU9LtT3WODNrIEBeNHKmP54A08EUi6Z8Nn98uKXTKsz0FBoCPuQ92RPKOfG dneZeDkalDac0WNLvUxi/jvggHxKQlPltai8+TjWCZ85koAifEcnCTbTYrPQl3J7/uAn1LgZCq8iI BpP9TCRVLU2xaxLr5AntkVRgCKViFjItfNxeZf73yuHFkDuf4Oy+iuIG3qt+dL4dmB/hf0CLxYypL wIUra6qxRU9ULUpqx0Bg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nt730-0044YX-Hc; Mon, 23 May 2022 12:20:31 +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 1nt6RH-003nLN-CD for linux-arm-kernel@bombadil.infradead.org; Mon, 23 May 2022 11:41:31 +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=wMftnoDoLBNCtaAHpQYoyl5asg8aa3W0YUIudBEAjUg=; b=Pz2+T7Mh4LABUWi9w9L6+VJYFh PMp+/k+pmhaPjULxKbdznhNjXAQm1vx5whww+ibK8aUgdGhHeY7W/BpjrKuS5YHjsw1Pa5k2v5W5O z+IhEXcPXW1jbdrdQurP1V3+GbcCyjz8QSTExBrmn/1mU+QayM5NXrRbgLj4xsJ3mOHclw98ZYxlK G2npnCYUwBczUfTOatKQk9/kd704qV9YA3panQJ3Yh94MUSHdTzBg+QnDv1LBjwTLnuc5C/gzHbyG E02YtOgHu6jrN/kteSKPknFM/ki42y0B3HrJa9OV0PCHkkJtIZWjQWS5YxqOoikLAJy7cpmTx6n68 4vRwqwVA==; Received: from twspam01.aspeedtech.com ([211.20.114.71]) by desiato.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nsyMP-000mgg-QT for linux-arm-kernel@lists.infradead.org; Mon, 23 May 2022 03:04:00 +0000 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 24N2lgvN078066; Mon, 23 May 2022 10:47:42 +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; Mon, 23 May 2022 11:01:39 +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 v5 0/3] add Aspeed udc driver for ast2600 Date: Mon, 23 May 2022 11:01:31 +0800 Message-ID: <20220523030134.2977116-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 24N2lgvN078066 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220523_040358_755014_80069C4A X-CRM114-Status: GOOD ( 11.16 ) 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 v4: - Fix build test warning reported by kernel test robot, including Wtautological-pointer-compare, Wuninitialized, and Wsometimes-uninitialized. 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 | 1596 +++++++++++++++++ 6 files changed, 1679 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/aspeed,ast2600-udc.yaml create mode 100644 drivers/usb/gadget/udc/aspeed_udc.c