summaryrefslogtreecommitdiff
path: root/drivers/usb
AgeCommit message (Collapse)Author
2011-02-15Digi del-5.6 Complete2.6.31-digi-201102151558Ian Wisbon
2010-05-31ccwmx51: Do not support USB host and device mode configurationAlejandro Gonzalez
This is only supported when using the USB OTG functionality. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-31ccwmx51: Fix compiler warnings.Alejandro Gonzalez
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-28ccwmx51: USB device and host support.Alejandro Gonzalez
USB device support only through the "USB OTG" mini AB connector, and USB hos tonly support through the "USB HOST" connector. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-28ccwmx51: Fix compilation warning on USB OTG.Alejandro Gonzalez
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-26ccwmx51: Compare with FSL official L2.6.31_10.04.01 source treeAlejandro Gonzalez
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121945 Fix USB OTG pin-detect.Jun Li
In OTG mode, entering low power mode after udc probe causes otg controller can not exit from it when switch to host mode. this patch let gadget class driver handle it. Signed-off-by: Jun Li <r65092@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122437-1 Rename stmp_updater to fsl_updaterFrank Li
Rename stmp_updater to fsl_updater, as the updater will be shared across all i.MX platforms that needs MFGTool support. Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122309 iMX23 fix usb function break by 100mA patchFrank Li
Miss "break" at set configuration Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00122124 iMX23 enable USB otg pin detectFrank Li
iMX23 evk RevC using gpio as usb id. usb_id pin is conflict with mmcsd detection pin Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121497-2 MX28 USB 100mA current drawFrank Li
Add USB 100mA limitation feature for mx28 to mach usb 2.0 current requirment Signed-off-by: Frank Li <Frank.li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121497-1 MX28 USB 100mA current drawFrank Li
Add USB 100mA limitation feature for mx28 to mach usb 2.0 current requirment Signed-off-by: Frank Li <Frank.li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00120698 iMX28 add usb write register work aroundFrank Li
mx28 require read arc register before write. Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00117742-2 add usb support for mx28Albert Chen
kernel part Signed-off-by: Albert Chen <r65187@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00117742-1 add usb support for mx28Albert Chen
add usb support for mx28 include usb host and usb device Signed-off-by: Albert Chen <r65187@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121296: imx51: rename mx51 to mx5Rob Herring
Rename mx51 to mx5 for common source for MX5x family Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121029-1 MX51 Add Mfg firmware supportFrank Li
Add Mfg Firmware configuration Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00121003 Fix IRAM enabling for USB Gadget driverDinh Nguyen
In order to add IRAM to the USB Gadget driver, there are 2 kconfig options to enable. One kconfig option was for USB host and the other was for Gadget. The current SW required both kconfig to be enable which is confusing. Also need to add iram_alloc function in the Gadget driver. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-25ENGR00120957-2 restructure usb device registrationRob Herring
Clean-up USB related Kconfigs. Remove the transceiver selections as this is defined by the chip/board and is selected in platform data. Use usb device resources defined in devices.c and fix resource sharing. Use common otg transceiver functions. Remove unnecessary OTG ifdefs. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120393-4 arc usb: use iram allocator for iram work-aroundRob Herring
Convert USB iram work-around to iram allocator functions. Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120612 MX23 Mfg firmware crash when transfer big size fileFrank Li
There are out of memory when transfer big size file. There reason is kernel alloc a memory to get data from usb and put to a list, and wake up uuc to read it. The problem is that read slower than usb transfer So list become more and more till out of memory Signed-off-by: Frank Li <Frank.Li@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-05-24ENGR00120361 arc usb gadget:open usb controller clocks before open phy clock.Jun Li
When register gadget driver,open usb controller clocks before open phy clock. Signed-off-by: Li Jun <r65092@freescale.com> Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-04-07PM: Fix built error with PM disabledAlejandro Gonzalez
When the kernel was configured without Power Management support the build failed in error. Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
2010-02-12ENGR00118363 Fix SATA drive failure on Ubuntu 9.10Dinh Nguyen
Fix SATA drive failure on Ubuntu 9.10 BugLink: https://bugs.launchpad.net/bugs/431963 Signed-off-by: Dinh Nguyen <r00091@freescale.com>
2010-02-12ENGR00119024 USB OTG nobody cared IRQ when add gadget driver.Jun Li
When add usb gadget driver in OTG mode, cause nobody cared irq, this pach disable usbintr in udc driver probe. Signed-off-by: Li Jun <r65092@freescale.com>
2010-02-12ENGR00117147-2 USB clock gating and PHY low power mode.Jun Li
1. If there is no usb devices connectted or all connectted usb devices are in suspend state, usb host can suspend its whole bus, then put the PHY into low power mode and close all usb clocks. 2. close all usb clocks for usb device low power mode. (The patch is splitted 2 patches, this is FSL specific driver part.) Signed-off-by: Li Jun <r65092@freescale.com>
2010-02-12ENGR00117147-1 USB clock gating and PHY low power mode.Jun Li
If there is no usb devices connectted or all connectted usb devices are in suspend state, usb host can suspend its whole bus, then put the PHY into low power mode and close all usb clocks. (The patch is splitted 2 patches, this is common code part.) Signed-off-by: Li Jun <r65092@freescale.com>
2010-02-12ENGR00118888-1 Fix iMX23 mfg firmware usb segment faultFrank Li
Miss some configuration and wrong use put_unaligned_be32 Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-02-12ENGR00109408 mx25 usb remote wakeupAlbert Chen
Add remote wakeup feature for host mode. Signed-off-by: Albert Chen <r65187@freescale.com>
2010-02-12ENGR00117937 USB pin detct is broken on 2.6.31 branchJun Li
When register platform driver in 2.6.31 kernal, suspend and resume are not set for device driver. The patch fix this issue by using platform driver's suspend/resume rountine directly in otg driver. Signed-off-by: Li Jun <r65092@freescale.com>
2010-02-12ENGR00116558: MX233: USB pin detectRob Herring
MX233: Restructure the STMP378xxx USB Host and Gadget device structures to be similar to MXC structures. Enable fsl_otg_arc driver to work on MX233 platform. Remove FSL_USB2_DONT_REMAP requirement. Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Conflicts: arch/arm/mach-stmp3xxx/Kconfig arch/arm/mach-stmp3xxx/Makefile arch/arm/mach-stmp3xxx/devices.c arch/arm/mach-stmp3xxx/include/mach/stmp3xxx.h arch/arm/mach-stmp3xxx/stmp378x_devb.c
2010-02-12ENGR00115875 add USB gadget low power mode feature.Albert Chen
USB will enter low power mode if no vbus power supply. Only finished this feature in Mx37. 1. When enter low power mode, driver will close usb related clocks as possible as could. set usb IP to stop. Set PHY to low power suspend by setting PHCD bit of portsc. 2. This patch doesn't support low power mode in OTG mode yet. Signed-off-by: Albert Chen <r65187@freescale.com>
2010-02-12ENGR00117389 Port 5.0.0 release to 2.6.31Rob Herring
This is i.MX BSP 5.0.0 release ported to 2.6.31 Signed-off-by: Rob Herring <r.herring@freescale.com> Signed-off-by: Alan Tull <r80115@freescale.com> Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-02-12gadget: add stmp uut support to file storageFrank Li
This is gadget file storage changes needed for STMP universal updater tool (manufacturing flashing tool). Signed-off-by: Frank Li <Frank.Li@freescale.com>
2010-02-12usb: Add arc ehci driver to ehci core driverRob Herring
Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-02-12usb: imx usb buffers in iram work-aroundDinh Nguyen
Some i.MX parts (MX31, MX37) need to have usb host queue descriptors and/or buffers in on-chip IRAM in cases of heavily loaded memory system (i.e. large LCDs). Signed-off-by: Dinh Nguyen <r00091@freescale.com>
2010-02-12usb: stmp3xxx host hackRob Herring
the USBPHY of STMP3xxx SoC has bug. The usb port power is never enabled during standard ehci reset procedure if the external device once passed plug/unplug procedure. This work- around resets and reinitiates USBPHY before the ehci port reset sequence started. Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-02-12usb: add ehci otg supportDinh Nguyen
Add OTG support to ehci host controllers Signed-off-by: Dinh Nguyen <r00091@freescale.com>
2010-02-12ENGR00114795 fix usb OTG co-work with remote wakeup issue.Jun Li
This patch fix OTG pin-detect failure issue. via sysfs set power/wakeup, i.MX51 can: Put usb phy into low power mode when system enters stop or standby mode; Enable usb device remote wakeup system by Vbus and usb host remote wakeup system by device connection or disconnection. Signed-off-by: Li Jun <r65092@freescale.com>
2010-02-12gadget: gadgetfs changes for MTP supportRob Herring
MTP protocol support using gadgetfs requires the ability to cancel I/O transactions. Signed-off-by: Jun Li <r65092@freescale.com>
2009-08-07USB: fix oops on disconnect in cdc-acmOliver Neukum
This patch fixes an oops caused when during an unplug a device's table of endpoints is zeroed before the driver is notified. A pointer to the endpoint must be cached. this fixes a regression caused by commit 5186ffee2320942c3dc9745f7930e0eb15329ca6 Therefore it should go into 2.6.31 Signed-off-by: Oliver Neukum <oliver@neukum.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-07USB: storage: include Prolific Technology USB drive in unusual_devs listRogerio Brito
Add a quirk entry for the Leading Driver UD-11 usb flash drive. As Alan Stern told me, the device doesn't deal correctly with the locking media feature of the device, and this patch incorporates it. Compiled, tested, working. Signed-off-by: Rogerio Brito <rbrito@ime.usp.br> Cc: Phil Dibowitz <phil@ipom.com> Cc: Alan Stern <stern@rowland.harvard.edu> Cc: Robert Hancock <hancockrwd@gmail.com> Cc: stable <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-07USB: ftdi_sio: add product_id for Marvell OpenRD Base, ClientDhaval Vasa
reference: http://www.open-rd.org Signed-off-by: Dhaval Vasa <dhaval.vasa@einfochips.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-07USB: ftdi_sio: add vendor and product id for Bayer glucose meter serial ↵Marko Hänninen
converter cable Attached patch adds USB vendor and product IDs for Bayer's USB to serial converter cable used by Bayer blood glucose meters. It seems to be a FT232RL based device and works without any problem with ftdi_sio driver when this patch is applied. See: http://winglucofacts.com/cables/ Signed-off-by: Marko Hänninen <bugitus@gmail.com> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-07USB: EHCI: fix counting of transaction error retriesAlan Stern
This patch (as1274) simplifies the counting of transaction-error retries. Now we will count up from 0 to QH_XACTERR_MAX instead of down from QH_XACTERR_MAX to 0. The patch also fixes a small bug: qh->xacterr was not getting initialized for interrupt endpoints. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Matthijs Kooijman <matthijs@stdin.nl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-07USB: EHCI: fix two new bugs related to Clear-TT-BufferAlan Stern
This patch (as1273) fixes two(!) bugs introduced by the new Clear-TT-Buffer implementation in ehci-hcd. It is now possible for an idle QH to have some URBs on its queue -- this will happen if a Clear-TT-Buffer is pending for the QH's endpoint. Consequently we should not issue a warning when someone tries to unlink an URB from an idle QH; instead we should process the request immediately. The refcounts for QHs could get messed up, because submit_async() would increment the refcount when calling qh_link_async() and qh_link_async() would then refuse to link the QH into the schedule if a Clear-TT-Buffer was pending. Instead we should increment the refcount only when the QH actually is added to the schedule. The current code tries to be clever by leaving the refcount alone if an unlink is immediately followed by a relink; the patch changes this to an unconditional decrement and increment (although they occur in the opposite order). Signed-off-by: Alan Stern <stern@rowland.harvard.edu> CC: David Brownell <david-b@pacbell.net> Tested-by: Manuel Lauss <manuel.lauss@gmail.com> Tested-by: Matthijs Kooijman <matthijs@stdin.nl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-07USB: usbfs: fix -ENOENT error code to be -ENODEVAlan Stern
This patch (as1272) changes the error code returned when an open call for a USB device node fails to locate the corresponding device. The appropriate error code is -ENODEV, not -ENOENT. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> CC: Kay Sievers <kay.sievers@vrfy.org> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-07USB: musb: fix the nop registration for OMAP3EVMGupta, Ajay Kumar
OMAP3EVM uses ISP1504 phy which doesn't require any programming and thus has to use NOP otg transceiver. Cleanups being done: - Remove unwanted code in usb-musb.c file - Register NOP in OMAP3EVM board file using usb_nop_xceiv_register(). - Select NOP_USB_XCEIV for OMAP3EVM boards. - Don't enable TWL4030_USB in omap3_evm_defconfig Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com> Signed-off-by: Eino-Ville Talvala <talvala@stanford.edu> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-07USB: devio: Properly do access_ok() checksMichael Buesch
access_ok() checks must be done on every part of the userspace structure that is accessed. If access_ok() on one part of the struct succeeded, it does not imply it will succeed on other parts of the struct. (Does depend on the architecture implementation of access_ok()). This changes the __get_user() users to first check access_ok() on the data structure. Signed-off-by: Michael Buesch <mb@bu3sch.de> Cc: stable <stable@kernel.org> Cc: Pete Zaitcev <zaitcev@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-08-07USB: pl2303: New vendor and product idKhanh-Dang Nguyen Thu Lam
I am submitting a patch for the pl2303 driver. This patch adds support for the "Sony QN-3USB" cable (vendor=0x054c, product=0x0437). This USB cable is a so-called data cable used to connect a Sony mobile phone to a computer. Supported models are Sony CMD-J5, J6, J7, J16, J26, J70 and Z7. I have used this patch with my Sony CMD-J70 for several days and I haven't encountered any kernel/hardware issue. From: Khanh-Dang Nguyen Thu Lam <kdntl@yahoo.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>