diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2012-08-25 12:38:52 -0700 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-09-05 15:39:41 +0300 |
commit | 613065e53cb191d00d9d4fc377398b656ed05a45 (patch) | |
tree | 6dcc86c3be8f2d571f98c973fc51cbd607bac6f4 /drivers/usb/gadget/gadget_chips.h | |
parent | 84749c6dcb694a7aa793221ea8cc3d70bd46d466 (diff) | |
download | op-kernel-dev-613065e53cb191d00d9d4fc377398b656ed05a45.zip op-kernel-dev-613065e53cb191d00d9d4fc377398b656ed05a45.tar.gz |
usb: gadget: bcm63xx UDC driver
Driver for the "USB20D" / "USBD" block on BCM6328, BCM6368, BCM6816,
BCM6362, BCM3383, and others.
The hardware block was designed to support networking applications
(direct connection of a home router to a PC), and the endpoint
configuration is fixed.
[ balbi@ti.com : dropped USB_GADGET_DUALSPEED from Kconfig ]
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Acked-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/gadget_chips.h')
-rw-r--r-- | drivers/usb/gadget/gadget_chips.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/gadget_chips.h b/drivers/usb/gadget/gadget_chips.h index b8b3a34..0ccca58 100644 --- a/drivers/usb/gadget/gadget_chips.h +++ b/drivers/usb/gadget/gadget_chips.h @@ -28,6 +28,7 @@ #define gadget_is_amd5536udc(g) (!strcmp("amd5536udc", (g)->name)) #define gadget_is_at91(g) (!strcmp("at91_udc", (g)->name)) #define gadget_is_atmel_usba(g) (!strcmp("atmel_usba_udc", (g)->name)) +#define gadget_is_bcm63xx(g) (!strcmp("bcm63xx_udc", (g)->name)) #define gadget_is_ci13xxx_msm(g) (!strcmp("ci13xxx_msm", (g)->name)) #define gadget_is_ci13xxx_pci(g) (!strcmp("ci13xxx_pci", (g)->name)) #define gadget_is_dummy(g) (!strcmp("dummy_udc", (g)->name)) @@ -121,6 +122,8 @@ static inline int usb_gadget_controller_number(struct usb_gadget *gadget) return 0x32; else if (gadget_is_lpc32xx(gadget)) return 0x33; + else if (gadget_is_bcm63xx(gadget)) + return 0x34; return -ENOENT; } |