From patchwork Tue Nov 5 05:31:09 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alistair Popple X-Patchwork-Id: 288385 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id AF1592C0827 for ; Tue, 5 Nov 2013 16:34:04 +1100 (EST) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:4]) by ozlabs.org (Postfix) with ESMTP id 25C9C2C0446 for ; Tue, 5 Nov 2013 16:32:03 +1100 (EST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqIEAHqBeFKl5H4J/2dsb2JhbABZhkO9C4E/dIImAQV5EAhJVxmIAb5Cj0sHFoQYA5gKkgmDOig Received: from ibmaus65.lnk.telstra.net (HELO localhost) ([165.228.126.9]) by ipmail04.adl6.internode.on.net with ESMTP; 05 Nov 2013 16:02:02 +1030 From: Alistair Popple To: linuxppc-dev@lists.ozlabs.org Subject: [PATCH 5/7] IBM Akebono: Add support to the EHCI platform driver for Akebono Date: Tue, 5 Nov 2013 16:31:09 +1100 Message-Id: <1383629471-16979-5-git-send-email-alistair@popple.id.au> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1383629471-16979-1-git-send-email-alistair@popple.id.au> References: <1383629471-16979-1-git-send-email-alistair@popple.id.au> Cc: Alistair Popple , linux-usb@vger.kernel.org, Alan Stern X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.16rc2 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" The IBM Akebono board has an EHCI compliant USB host interface. This patch adds support for it to the EHCI platform driver. Signed-off-by: Alistair Popple Cc: Alan Stern Cc: linux-usb@vger.kernel.org Acked-by: Alan Stern --- drivers/usb/host/ehci-platform.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index f6b790c..0a67616 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c @@ -203,9 +203,10 @@ static int ehci_platform_resume(struct device *dev) #define ehci_platform_resume NULL #endif /* CONFIG_PM */ -static const struct of_device_id vt8500_ehci_ids[] = { +static const struct of_device_id ehci_platform_ids[] = { { .compatible = "via,vt8500-ehci", }, { .compatible = "wm,prizm-ehci", }, + { .compatible = "ibm,akebono-ehci", }, {} }; @@ -229,7 +230,7 @@ static struct platform_driver ehci_platform_driver = { .owner = THIS_MODULE, .name = "ehci-platform", .pm = &ehci_platform_pm_ops, - .of_match_table = vt8500_ehci_ids, + .of_match_table = ehci_platform_ids, } };