ar71xx: enable UART function for early_printk/console
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-3.2 / 012-USB-ehci-ath79-Add-device_id-entry-for-the-AR933X-So.patch
1 From 7191a2673adbddbbb5aea3489892119e698e77b6 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Mon, 20 Jun 2011 21:26:09 +0200
4 Subject: [PATCH 12/27] USB: ehci-ath79: Add device_id entry for the AR933X SoCs
5
6 Also make the USB_EHCI_ATH79 selectable for the AR933X SoCs.
7
8 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
9 Cc: linux-mips@linux-mips.org
10 Cc: Kathy Giori <kgiori@qca.qualcomm.com>
11 Cc: "Luis R. Rodriguez" <rodrigue@qca.qualcomm.com>
12 Cc: Greg Kroah-Hartman <gregkh@suse.de>
13 Cc: Alan Stern <stern@rowland.harvard.edu>
14 Cc: linux-usb@vger.kernel.org
15 Patchwork: https://patchwork.linux-mips.org/patch/2529/
16 Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
17 ---
18 drivers/usb/host/Kconfig | 2 +-
19 drivers/usb/host/ehci-ath79.c | 4 ++++
20 2 files changed, 5 insertions(+), 1 deletions(-)
21
22 --- a/drivers/usb/host/Kconfig
23 +++ b/drivers/usb/host/Kconfig
24 @@ -210,7 +210,7 @@ config USB_CNS3XXX_EHCI
25
26 config USB_EHCI_ATH79
27 bool "EHCI support for AR7XXX/AR9XXX SoCs"
28 - depends on USB_EHCI_HCD && (SOC_AR71XX || SOC_AR724X || SOC_AR913X)
29 + depends on USB_EHCI_HCD && (SOC_AR71XX || SOC_AR724X || SOC_AR913X || SOC_AR933X)
30 select USB_EHCI_ROOT_HUB_TT
31 default y
32 ---help---
33 --- a/drivers/usb/host/ehci-ath79.c
34 +++ b/drivers/usb/host/ehci-ath79.c
35 @@ -33,6 +33,10 @@ static const struct platform_device_id e
36 .driver_data = EHCI_ATH79_IP_V2,
37 },
38 {
39 + .name = "ar933x-ehci",
40 + .driver_data = EHCI_ATH79_IP_V2,
41 + },
42 + {
43 /* terminating entry */
44 },
45 };