Skip to contentSkip to conversation

usb: add support for R8A66597 usb controller

PATCH New Yoshihiro Shimoda 1 participant 1 message Jul 16, 2008 USB

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 usb: add support for R8A66597 usb controller

add support for Renesas R8A66597 usb controller.
This patch supports USB Host mode.

---

PATCH v2 :
- CONFIG_USB_R8A66597_HCD move to the Makefile.
- using debug() instead of R8A66597_DPRINT.

 drivers/usb/Makefile       |    1 +
 drivers/usb/r8a66597-hcd.c |  914 ++++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/r8a66597.h     |  663 ++++++++++++++++++++++++++++++++
 include/usb.h              |    2 +-
 4 files changed, 1579 insertions(+), 1 deletions(-)
 create mode 100644 drivers/usb/r8a66597-hcd.c
 create mode 100644 drivers/usb/r8a66597.h
drivers/usb/Makefile +1 -0
index 252b00e..5c87ae4 100644
@@ -28,6 +28,7 @@ LIB	:= $(obj)libusb.a
 COBJS-y += isp116x-hcd.o
 COBJS-y += sl811_usb.o
 COBJS-y += usb_ohci.o
+COBJS-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
 COBJS-y += usbdcore.o
 COBJS-y += usbdcore_ep0.o
 COBJS-y += usbdcore_mpc8xx.o
drivers/usb/r8a66597-hcd.c new file +914 -0

914 lines not on this page · raw message

drivers/usb/r8a66597.h new file +663 -0

663 lines not on this page · raw message

include/usb.h +1 -1
index 5a6ffdd..e68e98e 100644
@@ -171,7 +171,7 @@ struct usb_device {
 
 #if defined(CONFIG_USB_UHCI) || defined(CONFIG_USB_OHCI) || \
 	defined(CONFIG_USB_OHCI_NEW) || defined (CONFIG_USB_SL811HS) || \
-	defined(CONFIG_USB_ISP116X_HCD)
+	defined(CONFIG_USB_ISP116X_HCD) || defined(CONFIG_USB_R8A66597_HCD)
 
 int usb_lowlevel_init(void);
 int usb_lowlevel_stop(void);
Signature · 1 line
1.5.5