From patchwork Wed Sep 30 04:08:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Chen X-Patchwork-Id: 11807817 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4CADD618 for ; Wed, 30 Sep 2020 04:19:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2623320872 for ; Wed, 30 Sep 2020 04:19:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725440AbgI3ET1 (ORCPT ); Wed, 30 Sep 2020 00:19:27 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:36348 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725306AbgI3ET1 (ORCPT ); Wed, 30 Sep 2020 00:19:27 -0400 X-Greylist: delayed 615 seconds by postgrey-1.27 at vger.kernel.org; Wed, 30 Sep 2020 00:19:26 EDT Received: from twspam01.aspeedtech.com (localhost [127.0.0.2] (may be forged)) by twspam01.aspeedtech.com with ESMTP id 08U3nom6071801 for ; Wed, 30 Sep 2020 11:49:51 +0800 (GMT-8) (envelope-from ryan_chen@aspeedtech.com) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 08U3n7Vx071703; Wed, 30 Sep 2020 11:49:07 +0800 (GMT-8) (envelope-from ryan_chen@aspeedtech.com) Received: from localhost.localdomain (192.168.10.9) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 30 Sep 2020 12:08:30 +0800 From: Ryan Chen To: Joel Stanley , Andrew Jeffery , , , , , CC: Ryan Chen Subject: [PATCH 1/3] configs: aspeed: enable UHCI driver in defconfig Date: Wed, 30 Sep 2020 12:08:21 +0800 Message-ID: <20200930040823.26065-2-ryan_chen@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200930040823.26065-1-ryan_chen@aspeedtech.com> References: <20200930040823.26065-1-ryan_chen@aspeedtech.com> MIME-Version: 1.0 X-Originating-IP: [192.168.10.9] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 08U3n7Vx071703 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Enable UHCI driver in aspeed_g5_defconfig. Signed-off-by: Ryan Chen Reviewed-by: Tao Ren Reviewed-by: Joel Stanley --- arch/arm/configs/aspeed_g5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/aspeed_g5_defconfig b/arch/arm/configs/aspeed_g5_defconfig index 2bacd8c90f4b..a57009d1a3b8 100644 --- a/arch/arm/configs/aspeed_g5_defconfig +++ b/arch/arm/configs/aspeed_g5_defconfig @@ -212,6 +212,7 @@ CONFIG_USB_DYNAMIC_MINORS=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_HCD_PLATFORM=y +CONFIG_USB_UHCI_HCD=y CONFIG_USB_GADGET=y CONFIG_USB_ASPEED_VHUB=y CONFIG_USB_CONFIGFS=y From patchwork Wed Sep 30 04:08:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Chen X-Patchwork-Id: 11807819 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 4FF48618 for ; Wed, 30 Sep 2020 04:19:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3EEE220872 for ; Wed, 30 Sep 2020 04:19:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725554AbgI3ET3 (ORCPT ); Wed, 30 Sep 2020 00:19:29 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:36350 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725306AbgI3ET3 (ORCPT ); Wed, 30 Sep 2020 00:19:29 -0400 Received: from twspam01.aspeedtech.com (localhost [127.0.0.2] (may be forged)) by twspam01.aspeedtech.com with ESMTP id 08U3noPm071802 for ; Wed, 30 Sep 2020 11:49:51 +0800 (GMT-8) (envelope-from ryan_chen@aspeedtech.com) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 08U3n8PD071704; Wed, 30 Sep 2020 11:49:08 +0800 (GMT-8) (envelope-from ryan_chen@aspeedtech.com) Received: from localhost.localdomain (192.168.10.9) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 30 Sep 2020 12:08:31 +0800 From: Ryan Chen To: Joel Stanley , Andrew Jeffery , , , , , CC: Ryan Chen Subject: [PATCH 2/3] usb: host: add uhci compatible support for ast2600-uhci Date: Wed, 30 Sep 2020 12:08:22 +0800 Message-ID: <20200930040823.26065-3-ryan_chen@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200930040823.26065-1-ryan_chen@aspeedtech.com> References: <20200930040823.26065-1-ryan_chen@aspeedtech.com> MIME-Version: 1.0 X-Originating-IP: [192.168.10.9] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 08U3n8PD071704 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add support for AST2600 SOC UHCI driver. Signed-off-by: Ryan Chen Reviewed-by: Tao Ren Reviewed-by: Joel Stanley Acked-by: Alan Stern --- drivers/usb/host/uhci-platform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/uhci-platform.c b/drivers/usb/host/uhci-platform.c index 70dbd95c3f06..fa40fe125c2a 100644 --- a/drivers/usb/host/uhci-platform.c +++ b/drivers/usb/host/uhci-platform.c @@ -113,7 +113,8 @@ static int uhci_hcd_platform_probe(struct platform_device *pdev) num_ports); } if (of_device_is_compatible(np, "aspeed,ast2400-uhci") || - of_device_is_compatible(np, "aspeed,ast2500-uhci")) { + of_device_is_compatible(np, "aspeed,ast2500-uhci") || + of_device_is_compatible(np, "aspeed,ast2600-uhci")) { uhci->is_aspeed = 1; dev_info(&pdev->dev, "Enabled Aspeed implementation workarounds\n"); From patchwork Wed Sep 30 04:08:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Chen X-Patchwork-Id: 11807823 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EBB2A618 for ; Wed, 30 Sep 2020 04:19:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id DC4DA20872 for ; Wed, 30 Sep 2020 04:19:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725830AbgI3ETd (ORCPT ); Wed, 30 Sep 2020 00:19:33 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:36357 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725306AbgI3ETd (ORCPT ); Wed, 30 Sep 2020 00:19:33 -0400 Received: from twspam01.aspeedtech.com (localhost [127.0.0.2] (may be forged)) by twspam01.aspeedtech.com with ESMTP id 08U3nqAf071804 for ; Wed, 30 Sep 2020 11:49:52 +0800 (GMT-8) (envelope-from ryan_chen@aspeedtech.com) Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 08U3n9Ur071705; Wed, 30 Sep 2020 11:49:09 +0800 (GMT-8) (envelope-from ryan_chen@aspeedtech.com) Received: from localhost.localdomain (192.168.10.9) by TWMBX02.aspeed.com (192.168.0.24) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 30 Sep 2020 12:08:32 +0800 From: Ryan Chen To: Joel Stanley , Andrew Jeffery , , , , , CC: Ryan Chen Subject: [PATCH 3/3] ARM: dts: add ehci uhci enable in evb dts Date: Wed, 30 Sep 2020 12:08:23 +0800 Message-ID: <20200930040823.26065-4-ryan_chen@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200930040823.26065-1-ryan_chen@aspeedtech.com> References: <20200930040823.26065-1-ryan_chen@aspeedtech.com> MIME-Version: 1.0 X-Originating-IP: [192.168.10.9] X-ClientProxiedBy: TWMBX02.aspeed.com (192.168.0.24) To TWMBX02.aspeed.com (192.168.0.24) X-DNSRBL: X-MAIL: twspam01.aspeedtech.com 08U3n9Ur071705 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org Add EHCI UHCI enable build in aspeed-ast2600-evb.dts Signed-off-by: Ryan Chen Reviewed-by: Tao Ren Reviewed-by: Joel Stanley --- arch/arm/boot/dts/aspeed-ast2600-evb.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/aspeed-ast2600-evb.dts b/arch/arm/boot/dts/aspeed-ast2600-evb.dts index 89be13197780..2772796e215e 100644 --- a/arch/arm/boot/dts/aspeed-ast2600-evb.dts +++ b/arch/arm/boot/dts/aspeed-ast2600-evb.dts @@ -237,3 +237,11 @@ &fsim0 { status = "okay"; }; + +&ehci1 { + status = "okay"; +}; + +&uhci { + status = "okay"; +};