From patchwork Fri Oct 9 02:49:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Chen X-Patchwork-Id: 11824883 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 49150109B for ; Fri, 9 Oct 2020 02:50:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3029D22253 for ; Fri, 9 Oct 2020 02:50:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731162AbgJICuj (ORCPT ); Thu, 8 Oct 2020 22:50:39 -0400 Received: from twspam01.aspeedtech.com ([211.20.114.71]:40909 "EHLO twspam01.aspeedtech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726547AbgJICuj (ORCPT ); Thu, 8 Oct 2020 22:50:39 -0400 Received: from mail.aspeedtech.com ([192.168.0.24]) by twspam01.aspeedtech.com with ESMTP id 0992lmTI054359; Fri, 9 Oct 2020 10:47:48 +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; Fri, 9 Oct 2020 10:49:45 +0800 From: Ryan Chen To: Joel Stanley , Andrew Jeffery , , , , , , Alan Stern CC: Ryan Chen Subject: [PATCH v2 2/3] usb: host: add uhci compatible support for ast2600-uhci Date: Fri, 9 Oct 2020 10:49:36 +0800 Message-ID: <20201009024937.11246-3-ryan_chen@aspeedtech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201009024937.11246-1-ryan_chen@aspeedtech.com> References: <20200930040823.26065-4-ryan_chen@aspeedtech.com> <20201009024937.11246-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 0992lmTI054359 Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org v2: - Fix continuation lines, align with "of_device" v1: - Add support for AST2600 SOC UHCI driver. Signed-off-by: Ryan Chen --- 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..be9e9db7cad1 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");