From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wolverine02.qualcomm.com ([199.106.114.251]:56773 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755085Ab0KILSX (ORCPT ); Tue, 9 Nov 2010 06:18:23 -0500 From: Pavankumar Kondeti Subject: [PATCH v2] Add MSM USB Device Controller support Date: Tue, 9 Nov 2010 16:48:09 +0530 Message-Id: <1289301494-26150-1-git-send-email-pkondeti@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: greg@kroah.com Cc: linux-usb@vger.kernel.org, linux-arm-msm@vger.kernel.org, Pavankumar Kondeti This patch series adds basic support for USB device controller found in MSM family of SOCs. This driver is already being used in Android devices. This driver is tested with Android(ADB + Mass storage, RNDIS), ethernet, and file storage gadgets. All the USBCV Ch9 Tests and usbtest test cases are passed. Tested against v2.6.37-rc1 This driver is originally authored by Google and is available at http://android.git.kernel.org/?p=kernel/experimental.git Changelog: V1-->V2 1. Data structure comments are annotated as per kernel-doc 2. Replaced custom macros with dev_info/dev_err/dev_dbg 3. Implemented set_wedge method 4. Implemented "vbus" debugfs file to simulate cable connect and disconnect 5. Fixed a bug in remote wakeup support where remote wakeup condition is not cleared upon reset Pavankumar Kondeti (5): USB: Add MSM USB Device Controller driver USB: msm72k_udc: Add debugfs support USB: msm72k_udc: Add Remote wakeup support USB: msm72k_udc: Add Test Mode support USB: msm72k_udc: Add charging notification support drivers/usb/gadget/Kconfig | 17 + drivers/usb/gadget/Makefile | 1 + drivers/usb/gadget/gadget_chips.h | 8 + drivers/usb/gadget/msm72k_udc.c | 1978 +++++++++++++++++++++++++++++++++++++ include/linux/usb/msm_hsusb.h | 54 + include/linux/usb/msm_hsusb_hw.h | 198 ++++ 6 files changed, 2256 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