Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1253721ybv; Thu, 20 Feb 2020 16:27:43 -0800 (PST) X-Google-Smtp-Source: APXvYqxh3teSp91EQghFYb46kGzpR0KVoRLr5dCNaRzWgDt4SrMMWOBv92Y9PDkS2zBteO+Pg81y X-Received: by 2002:a9d:6b06:: with SMTP id g6mr25748848otp.93.1582244863770; Thu, 20 Feb 2020 16:27:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582244863; cv=none; d=google.com; s=arc-20160816; b=eTpoNIBZzjbdrjBsxZgC2mElYEjT8IwYtkk0X0kPS9omHpxQ/eOSLyodLRIEyhMSxa W9NFTl0jU3yornfn+T8F160TdcyZZx9s+BgQwfTLWWl2/nRYLcmoRnPOZUNUeFgGnxE5 6QF0rrpqNDCsZv1g/ZLNH5PE0KsJblF5/VlsBdvll0iTtW3+0zjHEcGkfLVACpUq3Rsn Lh2WO2mPdpdxgD3uqqlVCud+f1HITt/rVg4GhMJUp4cbylwIN7PgKJKKFzbpAmMhKwwI KUG2Wms6BZCX3OZB+S52QH1jJCfigU4HKlCZuMf4d9dAEALcCDYv4+ewwC/J8rNKh5PH EybA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:dkim-signature; bh=vlf9e8PCxMy8eGHAA66JnCJwWWqoU2+bIGR18Xk5wUE=; b=q5dw0Y2Q8gdtlRNxaN+pJPdAmiR0b6TMfpGb/wVQPfO8t8AwDZg3HR5R/yEh6X/k6+ XuN8knZC3Jpc8UQch8WMijQaBcpjo96haYf5z7VFn5zjSGOuQRSUQwXhPglKaFZGV6q3 aWg5BCUcW8ZR1z1zTIlYctz4uXEYL8MQ9aqWdf8eQfseSvKDLvysJ223Iv7mUq6SwuvF CB1santQCEcgHTjshM3fYbyKHgFLlqhQ5Cl5ZJUuGiCS4+PG0DS7fijDWTk0KuTfOymG OF7JgToFf/P9Sr+AfLB6axh/Q1bewxtw5ixgSEbsZ1sZsgXLYZSC3ZoGUku+H7sr/4Gi ufWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mk0CLeyD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a17si536285otp.236.2020.02.20.16.27.30; Thu, 20 Feb 2020 16:27:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mk0CLeyD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729475AbgBUA1W (ORCPT + 99 others); Thu, 20 Feb 2020 19:27:22 -0500 Received: from mail-pf1-f195.google.com ([209.85.210.195]:40882 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729413AbgBUA1V (ORCPT ); Thu, 20 Feb 2020 19:27:21 -0500 Received: by mail-pf1-f195.google.com with SMTP id b185so261108pfb.7; Thu, 20 Feb 2020 16:27:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=vlf9e8PCxMy8eGHAA66JnCJwWWqoU2+bIGR18Xk5wUE=; b=Mk0CLeyDzct1sX63axT7hMDuzVKps8CcPRH1gOBCgnC7dn6oGylada1Aq+d2q80tY0 IsrTO0zoWHUIkV7J+5At6YZmXgmlXtk7b3/Atb4YkT3gjxHVOJD4X11a9gW3J9xogMmC yZBgYo6tX7Y4rEeYV94pJ3gMaQvTCMue/PkSOzNkDi3wVYc0Imdo+gDWx9lys6yorXP2 d6/f8BRHjs4lhqKHRWX2KYa9vABy7PeVZWqGP83q3chVv32+JaUjuUhP7LbrHgI0eWz2 lb7i9Cbef+4fPYScbvO2rLsq4RJVaRPY/sle1TzfSAEKVlNCVpgcPl4xE/r0AtBWBNaB ZYDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vlf9e8PCxMy8eGHAA66JnCJwWWqoU2+bIGR18Xk5wUE=; b=Nk2/ybu+6izzY2zR5NHxdKXrcY2xuFVkg/68YqGlgpZBqvXEMVvFFK8pI2gHMVFUkT Bv3dOg5Z2ThENioVD6Xu/jL5HI1m3qqH1J0z9YKW3NwYGUJPD8bb25lx/9OTNMPdmxkS rPgrzZwBjAbEJ3KOH1t7x8zc83m+IJT3gEud1KYNGDgYzZs8b7kbDWzpO4ZtA9+FLvHS Dt8/npKCguk8+6i1NLamh00e8G4bz00GFJJVaUlvlx5bk4uWuoPhxYTdK2pYO2kIOEeP 5lT5iRbL0Z5DmRWyFqMmM+gSaviaYgwuNbCGtVQYKZM/JnHl7p0+BJb79nCWX2hfJZaf Jnmw== X-Gm-Message-State: APjAAAVp/hKqhosmzIJv/F1HFUdn7kb4wyB3WXoFU6hn/8W/bjGlc0JR 2IomjlgCAdZjwkDH4JWmalk= X-Received: by 2002:a62:1883:: with SMTP id 125mr33901467pfy.166.1582244839582; Thu, 20 Feb 2020 16:27:19 -0800 (PST) Received: from taoren-ubuntu-R90MNF91 ([2620:10d:c090:500::6:8f30]) by smtp.gmail.com with ESMTPSA id fh24sm535479pjb.24.2020.02.20.16.27.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 20 Feb 2020 16:27:19 -0800 (PST) Date: Thu, 20 Feb 2020 16:27:16 -0800 From: Tao Ren To: Felipe Balbi , Greg Kroah-Hartman , Joel Stanley , Andrew Jeffery , Benjamin Herrenschmidt , Chunfeng Yun , Colin Ian King , Stephen Boyd , Rob Herring , Mark Rutland , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, taoren@fb.com Subject: Re: [PATCH v3 0/5] aspeed-g6: enable usb support Message-ID: <20200221002715.GC7815@taoren-ubuntu-R90MNF91> References: <20200218031315.562-1-rentao.bupt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200218031315.562-1-rentao.bupt@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ben, Could you provide some comments on this patch series while I'm working on the other patch set (for vhub descriptors and DT binding document)? Cheers, Tao On Mon, Feb 17, 2020 at 07:13:10PM -0800, rentao.bupt@gmail.com wrote: > From: Tao Ren > > The patch series aims at enabling USB Host and Gadget support on AST2600 > platforms. > > Patch #1 replaces hardcoded vhub port/endpoint number with device tree > properties, so that it's more convenient to add support for ast2600-vhub > which provides more downstream ports and endpoints. > > Patch #2 enables ast2600 support in aspeed-vhub usb gadget driver. > > Patch #3 adds USB devices and according pin groups in aspeed-g6 dtsi. > > Patch #4 and #5 add vhub port/endpoint properties into aspeed-g4 and > aspeed-g5 dtsi. > > Tao Ren (5): > usb: gadget: aspeed: read vhub properties from device tree > usb: gadget: aspeed: add ast2600 vhub support > ARM: dts: aspeed-g6: add usb functions > ARM: dts: aspeed-g5: add vhub port and endpoint properties > ARM: dts: aspeed-g4: add vhub port and endpoint properties > > arch/arm/boot/dts/aspeed-g4.dtsi | 2 + > arch/arm/boot/dts/aspeed-g5.dtsi | 2 + > arch/arm/boot/dts/aspeed-g6-pinctrl.dtsi | 25 +++++++ > arch/arm/boot/dts/aspeed-g6.dtsi | 45 ++++++++++++ > drivers/usb/gadget/udc/aspeed-vhub/Kconfig | 4 +- > drivers/usb/gadget/udc/aspeed-vhub/core.c | 79 +++++++++++++++------- > drivers/usb/gadget/udc/aspeed-vhub/dev.c | 30 +++++--- > drivers/usb/gadget/udc/aspeed-vhub/epn.c | 4 +- > drivers/usb/gadget/udc/aspeed-vhub/hub.c | 26 ++++--- > drivers/usb/gadget/udc/aspeed-vhub/vhub.h | 23 +++---- > 10 files changed, 178 insertions(+), 62 deletions(-) > > -- > 2.17.1 >