usb: add support for R8A66597 usb controller
PATCH v2 1/1 usb: add support for R8A66597 usb controller
add support for Renesas R8A66597 usb controller.
This patch supports USB Host mode.
Signed-off-by Yoshihiro Shimoda <[email protected]>
---
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
@@ -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
@@ -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