0038-USB-add-OHCI-EHCI-OF-binding.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. From ffb27de4760595c356ef619c97f25722c8db28e7 Mon Sep 17 00:00:00 2001
  2. From: John Crispin <blogic@openwrt.org>
  3. Date: Sun, 27 Jul 2014 09:49:07 +0100
  4. Subject: [PATCH 38/57] USB: add OHCI/EHCI OF binding
  5. based on f3bc64d6d1f21c1b92d75f233a37b75d77af6963
  6. Signed-off-by: John Crispin <blogic@openwrt.org>
  7. ---
  8. drivers/usb/Makefile | 3 ++-
  9. drivers/usb/host/ehci-platform.c | 21 +++++++++++++++++----
  10. drivers/usb/host/ohci-platform.c | 37 +++++++++++++++++++++++++++++++------
  11. 3 files changed, 50 insertions(+), 11 deletions(-)
  12. --- a/drivers/usb/host/ehci-platform.c
  13. +++ b/drivers/usb/host/ehci-platform.c
  14. @@ -359,6 +359,7 @@ static int ehci_platform_resume(struct d
  15. static const struct of_device_id vt8500_ehci_ids[] = {
  16. { .compatible = "via,vt8500-ehci", },
  17. { .compatible = "wm,prizm-ehci", },
  18. + { .compatible = "ralink,rt3xxx-ehci", },
  19. { .compatible = "generic-ehci", },
  20. {}
  21. };
  22. --- a/drivers/usb/host/ohci-platform.c
  23. +++ b/drivers/usb/host/ohci-platform.c
  24. @@ -342,6 +342,7 @@ static int ohci_platform_resume(struct d
  25. #endif /* CONFIG_PM */
  26. static const struct of_device_id ohci_platform_ids[] = {
  27. + { .compatible = "ralink,rt3xxx-ohci", },
  28. { .compatible = "generic-ohci", },
  29. { }
  30. };