| 1 | From cbf8930fe259777fb746f0387bf821729061c122 Mon Sep 17 00:00:00 2001 |
| 2 | From: Gabor Juhos <juhosg@openwrt.org> |
| 3 | Date: Sun, 11 Dec 2011 22:09:20 +0100 |
| 4 | Subject: [PATCH 35/35] USB: ehci-ath79: add device_id entry for the AR934X SoCs |
| 5 | |
| 6 | Also make the USB_EHCI_ATH79 selectable for the AR934X SoCs. |
| 7 | |
| 8 | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> |
| 9 | Acked-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com> |
| 10 | Cc: Alan Stern <stern@rowland.harvard.edu> |
| 11 | Cc: Greg Kroah-Hartman <gregkh@suse.de> |
| 12 | Cc: linux-usb@vger.kernel.org |
| 13 | --- |
| 14 | drivers/usb/host/Kconfig | 2 +- |
| 15 | drivers/usb/host/ehci-ath79.c | 4 ++++ |
| 16 | 2 files changed, 5 insertions(+), 1 deletions(-) |
| 17 | |
| 18 | --- a/drivers/usb/host/Kconfig |
| 19 | +++ b/drivers/usb/host/Kconfig |
| 20 | @@ -210,7 +210,7 @@ config USB_CNS3XXX_EHCI |
| 21 | |
| 22 | config USB_EHCI_ATH79 |
| 23 | bool "EHCI support for AR7XXX/AR9XXX SoCs" |
| 24 | - depends on USB_EHCI_HCD && (SOC_AR71XX || SOC_AR724X || SOC_AR913X || SOC_AR933X) |
| 25 | + depends on USB_EHCI_HCD && (SOC_AR71XX || SOC_AR724X || SOC_AR913X || SOC_AR933X || SOC_AR934X) |
| 26 | select USB_EHCI_ROOT_HUB_TT |
| 27 | default y |
| 28 | ---help--- |
| 29 | --- a/drivers/usb/host/ehci-ath79.c |
| 30 | +++ b/drivers/usb/host/ehci-ath79.c |
| 31 | @@ -37,6 +37,10 @@ static const struct platform_device_id e |
| 32 | .driver_data = EHCI_ATH79_IP_V2, |
| 33 | }, |
| 34 | { |
| 35 | + .name = "ar934x-ehci", |
| 36 | + .driver_data = EHCI_ATH79_IP_V2, |
| 37 | + }, |
| 38 | + { |
| 39 | /* terminating entry */ |
| 40 | }, |
| 41 | }; |
| 42 | |