On Tue, Nov 09, 2010 at 12:18:10PM +0100, ext Pavankumar Kondeti wrote: > This patch adds the basic support for the USB Device Controller on Qualcomm > MSM family of SOCs. The controller supports upto 16 endpoints including the > default endpoint (ep0). All the data transfers are driven by DMA. > > VBUS line is also connected to PMIC chip. The module controlling PMIC chip > notifies about cable connect/disconnect events. Hence, PHY comparators > are turned off in low power mode. > > This driver was originally developed by Google and is available at > http://android.git.kernel.org/?p=kernel/experimental.git. > > CC: Mike Lockwood <lockwood@xxxxxxxxxxx> > CC: Brian Swetland <swetland@xxxxxxxxxx> > Signed-off-by: Pavankumar Kondeti <pkondeti@xxxxxxxxxxxxxx> > --- > drivers/usb/gadget/Kconfig | 17 + > drivers/usb/gadget/Makefile | 1 + > drivers/usb/gadget/gadget_chips.h | 8 + > drivers/usb/gadget/msm72k_udc.c | 1685 +++++++++++++++++++++++++++++++++++++ > include/linux/usb/msm_hsusb.h | 38 + > include/linux/usb/msm_hsusb_hw.h | 184 ++++ > 6 files changed, 1933 insertions(+), 0 deletions(-) > create mode 100644 drivers/usb/gadget/msm72k_udc.c > create mode 100644 include/linux/usb/msm_hsusb.h > create mode 100644 include/linux/usb/msm_hsusb_hw.h <snip> > +#define ULPI_DEBUG_REG (0x15) > +#define ULPI_SCRATCH_REG (0x16) > + > +#define ULPI_FUNC_CTRL_CLR (0x06) > +#define ULPI_FUNC_SUSPENDM (1 << 6) No more redefinitions of ulpi regs. Just include usb/ulpi.h. -- heikki -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html