summaryrefslogtreecommitdiff
path: root/drivers/usb
AgeCommit message (Collapse)Author
2013-04-18USB: option: add Novatel E362 and Dell Wireless 5800 USB IDsDan Williams
The Dell 5800 appears to be a simple rebrand of the Novatel E362. Signed-off-by: Dan Williams <dcbw@redhat.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-18USB: option: Add USB ID for Novatel Ovation MC551Forest Bond
This device is also known as the Verizon USB551L. Signed-off-by: Forest Bond <forest.bond@rapidrollout.com> Acked-by: Dan Williams <dcbw@redhat.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-03Conflicts:Marcel Ziswiler
arch/arm/mach-tegra/common.c drivers/ata/ahci-tegra.c
2013-01-14usb: gadget: tegra:change condition for vbus checkRakesh Bodla
Changing the condition for vbus check. VBUS will be present when OTG cable is connected, hence vbus status will be reflected wrong. Correct status is tracked through vbus_active variable. Bug 1158853 Bug 1214802 Change-Id: Ic904beb5919ddafef5becf39ddac1767cdda79cd Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/145148 (cherry picked from commit 00777683b05af76f15daa0152fb014183a32fa28) Reviewed-on: http://git-master/r/190673 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Preetham Chandru <pchandru@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2013-01-07usb: otg: tegra: Do not free platform data twicePreetham Chandru R
when platform device is unregistered, the call to platform_device_release() will kfree the platform data. Hence do not free the platform data again. Bug 1209618 Change-Id: Ied67f550223ec199da4bc8e38a12e7ee94c2d98a Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/187806 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Kiran Adduri <kadduri@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-12-07usb: tegra: conditionally set wake enablePreetham Chandru R
Set wake enable only if remote wakeup is supported by the platform Bug 1039143 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Change-Id: I805dd773cdbb5639f59b2f5ba4bcb2e14be74d5b Reviewed-on: http://git-master/r/147462 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-12-05tegra: udc: fix spurious whitespace in log messageMarcel Ziswiler
Fix spurious whitespace in Tegra's UDC driver log message.
2012-11-20colibri_t20: USB: fix building device controller driver as moduleMarcel Ziswiler
Trying to build USB device controller driver as a module failed as follows: ERROR: "g_usb_high_speed" [drivers/usb/gadget/tegra_udc.ko] undefined! This is due to a missing export of above mentioned global variable.
2012-11-20colibri_t20: USB: allow forcing full speed onlyMarcel Ziswiler
Allow limiting externally accessible USB OTG and host port to full speed only in order to be compatible with older carrier boards (e.g. old Colibri Evaluation Board v2.1c, Orchid or Protea). The following kernel argument can be set to either 0 meaning false or 1 meaning true: usb_high_speed
2012-11-19USB: ehci: tegra: fix USB1 port reset issueJim Lin
Tegra USB1 port needs to issue Port Reset twice internally, otherwise it fails to enumerate devices attached to it Signed-off-by: Jim Lin <jilin@nvidia.com> Signed-off-by: Olof Johansson <olofj@chromium.org> [ squash two patches into one and minor style cleanups ] Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2012-11-14usb: otg: colibri_t20: notify USB events to otg coreMarcel Ziswiler
Notify USB connection events to otg core. These notifications will be used by drivers (e.g. otg wakelock driver) who registered for the events. See a4c597152f0b69ba1172b3d52d4e9d39ea3bbd53.
2012-11-12Merge branch 'l4t/l4t-r16-r2' into colibriMarcel Ziswiler
Conflicts: arch/arm/mach-tegra/tegra3_usb_phy.c arch/arm/mach-tegra/usb_phy.c drivers/usb/gadget/tegra_udc.c drivers/usb/otg/Makefile drivers/video/tegra/fb.c sound/soc/tegra/tegra_pcm.c
2012-10-24USB: gadget: fix Android RNDISMarcel Ziswiler
Fix building of Android RNDIS Ethernet gadget.
2012-10-01usb: colibri-otg: remove tegra_gpio_enableMarcel Ziswiler
Removing tegra_gpio_enable calls as they are supported through set direction calls in the driver.
2012-09-12usb: gadget: tegra: check vbus before run bit setRohith Seelaboyina
Adding the check for vbus before setting the run bit. Bug 1046443 Change-Id: If71748f0fe9c942061ca871034ad4298a58efc23 Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com> Reviewed-on: http://git-master/r/131733 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-09-10Merge branch 'l4t/l4t-r16' into colibriMarcel Ziswiler
Merge with latest NVIDIA L4T R16. Only real conflict concerning inverted VBUS gpio support.
2012-09-07usb: gadget: f_rndis: Set rndis vendor parametersBenoit Goby
Add a variant of rndis_bind_config to let gadget drivers change rndis vendorID and manufacturer parameters. Signed-off-by: Benoit Goby <benoit@android.com> [make rndis_bind_config a static inline function] Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-08-27usb: otg: tegra: Notify USB events to otg coreRakesh Bodla
Notify USB connection events to otg core. These notifications will be used by drivers (e.g. otg wakelock driver) who registered for the events. Bug 1031034 Bug 976849 Change-Id: I3655071af9226e3aef385681fcabc94b9def4233 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/127137 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Courbot <acourbot@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-20usb: gadget: tegra_udc: Enable DR IRQ in udc_starttegra-l4t-r16-rcPreetham Chandru
Currently dr_controller_run() is called only during otg state change. When we unload a gadget driver, for example g_mass_storage gadget driver, dr_controller_stop() is called but when it is loaded back dr_controller_run() won't get called becasue of the if condition failure. i.e if (!udc->transceiver) { dr_controller_run(udc); } So when the gadget driver is loaded for the second time without removing the cable (i.e without otg state change), the device won't get enumerated on the host because DR IRQs are not enabled. This CL fixes the above issue. Bug 1012787 Signed-off-by: Preetham Chandru <pchandru@nvidia.com> Change-Id: Ia127630e24dbe4c1e418163c2b858efb3baa8e45 Reviewed-on: http://git-master/r/114592 (cherry picked from commit be3e9def273181d1b44c1891de8602faebd719a8) Reviewed-on: http://git-master/r/124283 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-08-20usb: ehci: tegra: Fix Slab corruption errorPreetham Chandru
Give ownership of the DMA buffer back to the processor first and then free the buffer. Otherwise processor won't be able to access the dma mapped buffers and this would lead to slab corruption. When the DMA buffer is freed without a call to dma_sync_single_for_cpu(), the kernel won't be able to set the buffer as POISON FREE and when we acquire this memory back again the kernel will start printing slab corruption output as the memory is not set to POISON FREE Bug 1017884 Bug 1018161 Reviewed-on: http://git-master/r/#change,122151 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/122390 (cherry picked from commit 642d37a0eee196d0ce811dd11bb7af5ba281ee3a) Change-Id: I00d6cb185cd2314cccb56f968eb0a05288588c13 Reviewed-on: http://git-master/r/123907 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-08-17usb: otg: tegra: fix racing USB connection eventsXin Xie
Sometimes USB connect and disconnect events is not detected properly. The OTG irq handler is using a workqueue which has no protection for multiple incoming event handling. This patch adds mutex to protect the workqueue for USB connection handling. BUG 968345 Change-Id: If1c6fec4231dd0dc918f7f278e0a1d7667782917 Signed-off-by: Xin Xie <xxie@nvidia.com> Reviewed-on: http://git-master/r/122308 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-17usb: gadget: tegra: remove unnecessary bus resumeXin Xie
Current Tegra UDC driver share same IRQ with OTG driver, and it will call bus_resume() even if there is no UDC IRQ pending. This patch will check UDC IRQ source and will not cause bus resume if no IRQ pending for UDC driver. BUG 1015685 Change-Id: Ifc5634ae5d1f7f1435c64bc527ab2e9fb8d0e36b Signed-off-by: Xin Xie <xxie@nvidia.com> Reviewed-on: http://git-master/r/121896 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-17usb: gadget: tegra_udc: use USB charging spec 1.2Xin Xie
Enable the USB charging based on the USB charging spec 1.2. Now we can detect: 1. SDP (stanardard downstream port) 2. CDP (charging downstream port) 3. DCP (dedicated charging port) 4. None (no cable connected) 5. Non-standard charger For some non-standard charger, we cannot detect it as DCP device. If we find a charger detected as USB device but no EP0 packet recieved with 1s, we then decided this is 1A charger. bug 968345 Change-Id: I804f90ea6e4794da8f52b1c3ebd694828d99f40e Signed-off-by: Xin Xie <xxie@nvidia.com> Reviewed-on: http://git-master/r/120218 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-16USB: gadget: f_audio_source: Adjust packet timing to reduce glitchesMike Lockwood
Increase max packet size and clean up timing logic so we can better recover from not getting an interrupt in time for a SOF. Bug 1026047 Signed-off-by: Mike Lockwood <lockwood@google.com> (cherry picked from commit 3d2096a7959d023bc31a3cf934c3d425de01c94f) Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Change-Id: I0a0a6f448e71e4a0c478bb44cadc54fa021e13e4 Reviewed-on: http://git-master/r/123344 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-16USB: gadget: f_audio_source: New gadget driver for audio outputMike Lockwood
This driver presents a standard USB audio class interface to the host and an ALSA PCM device to userspace Bug 1026047 Signed-off-by: Mike Lockwood <lockwood@google.com> (cherry picked from commit a23ff394752015a233dd3b27b05c9d913cbf5536) Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Change-Id: I4054e09888f17d9cdfcfd4a3d430ca5cfb3fd9fa Reviewed-on: http://git-master/r/123343 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-16USB: gadget: f_accessory: Add support for HID input devicesRakesh Bodla
Bug 1026047 Signed-off-by: Mike Lockwood <lockwood@google.com> (cherry picked from commit 7a3d01af4f04950a86a18f5a439f1802d8093650) Conflicts: drivers/usb/gadget/f_accessory.c Change-Id: I30bc02a1bcf636967d56370db83578f49f0e7514 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/123342 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-16Add ACCESSORY_SET_AUDIO_MODE control request and ioctlMike Lockwood
The control request will be used by the host to enable/disable USB audio and the ioctl will be used by userspace to read the audio mode Bug 1026047 Signed-off-by: Mike Lockwood <lockwood@google.com> (cherry picked from commit 3e1ff6142761eef148c667e540381d1fbc437d4f) Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Change-Id: I5f449de230ca8f44e2dae30a0f87772310b68f20 Reviewed-on: http://git-master/r/123341 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-16usb: gadget: tegra_udc: Enable DR IRQ in udc_startPreetham Chandru
Currently dr_controller_run() is called only during otg state change. When we unload a gadget driver, for example g_mass_storage gadget driver, dr_controller_stop() is called but when it is loaded back dr_controller_run() won't get called becasue of the if condition failure. i.e if (!udc->transceiver) { dr_controller_run(udc); } So when the gadget driver is loaded for the second time without removing the cable (i.e without otg state change), the device won't get enumerated on the host because DR IRQs are not enabled. This CL fixes the above issue. Bug 1012787 Signed-off-by: Preetham Chandru <pchandru@nvidia.com> Change-Id: Ia127630e24dbe4c1e418163c2b858efb3baa8e45 Reviewed-on: http://git-master/r/114592 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-10usb: ehci: tegra: Fix Slab corruption errorPreetham Chandru
Give ownership of the DMA buffer back to the processor first and then free the buffer. Otherwise processor won't be able to access the dma mapped buffers and this would lead to slab corruption. When the DMA buffer is freed without a call to dma_sync_single_for_cpu(), the kernel won't be able to set the buffer as POISON FREE and when we acquire this memory back again the kernel will start printing slab corruption output as the memory is not set to POISON FREE Bug 1017884 Bug 1018161 Reviewed-on: http://git-master/r/#change,122151 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Change-Id: I00d6cb185cd2314cccb56f968eb0a05288588c13 Reviewed-on: http://git-master/r/122390 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-09usb: host: fix tegra_ehci_remove() warningsVenu Byravarasu
usb_put_hcd calls hcd_release which frees up memory allocated for hcd. As iounmap is called after usb_put_hcd and it is trying to access hcd->regs, getting warning messages during unload of USB. Hence fixing it. bug 1023362 Change-Id: Ic339395edad9a76a9eeae290eff3517d2c714477 Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-on: http://git-master/r/122088 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Tested-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-09USB: otg: delay device disconnectKrishna Yarlagadda
Device disconnect during resume might fail if notification clients for this device removal are not ready. Disconnecting device after the resume is complete. Bug 1024496 Change-Id: Ia806e177d2dd2b1b43d3fea7a4af45f0d4a93cd4 Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-on: http://git-master/r/122079 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-09usb: gadget: tegra: fix compilation issueRakesh Bodla
Fixing the potential compilation this is currently masked as CONFIG_USB_OTG_UTILS is enabled. Change-Id: Ie10e5fc252156b8b904d387d87a11136fcc3f4c1 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/122043 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-09usb: otg: tegra: fix compilations errorsRakesh Bodla
Werror flag is enabled now. Fixing the compilations errors when DEBUG is enabled. Change-Id: I909dd177eedfd72f1f71d1a546fc40c301bd1aa7 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/122033 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-03usb: gadget: Don't build USB_FSL_MP_DR_OF on TegraDan Willemsen
This config option only builds on PPC platforms. Change-Id: Ibe7ebdc2dd5b9aa46e8f887570481a11a373c417 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/95475 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Stephen Warren <swarren@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
2012-08-02USB: gadget: f_accessory: change prototype of create_bluk_endpointsRakesh Bodla
Changing prototype of create_bluk_endpoints since function can called during runtime. Bug 1026235 Change-Id: I9a39abb4de4548f18e6c6482e56a9126fe4122a3 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/120277 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-08-02usb: otg: tegra: enable warning as error flagDeepak Nibade
-enable warnings as errors compilation flag -handle errors of missing semicolon and mismatched argument type bug 949219 Change-Id: I29b1c08c590c94fa1aa43a9e37abf0385e3597d5 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/118235 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-02usb: ehci: tegra: prevent illegal register accessRakesh Bodla
Make sure phy is turned ON before reading USB registers. Bug 993380 Bug 1006579 Bug 1018601 Change-Id: Ib951cad822f90f59fe829d016e2c1bda7a7cc243 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/116045 (cherry picked from commit a1a6db7dc88880fb3d4bca0036ce421e4032adae) Reviewed-on: http://git-master/r/117972 Tested-by: Preetham Chandru <pchandru@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Kiran Adduri <kadduri@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2012-08-02usb: gadget: treat warning as errors for tegra_udc.cDeepak Nibade
bug 949219 Change-Id: If76cece9a5c929216024b165f48f37c4046faffc Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/118037 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-07-31usb: otg: tegra: correct improper register updateRakesh Bodla
Value of WAKEUP register is not updated properly. Correcting it to take appropriate value. Bug 1008660 Change-Id: Ic1dcfed6639c8e8c686bc6931216fd268e4521ed Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
2012-07-27usb: ehci: tegra: Update RUN bit properly.Suresh Mangipudi
Read the RUN bit and update it properly. Remove unused variable. Change-Id: I1df5dc99ce40e2ca15f0ade28d156a7262467519 Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-on: http://git-master/r/117958 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-07-27usb: ehci: DMA buffer sync for qh/qtd descriptorsJC Kuo
When EHCI host controller driver examines qh/qtd descriptors, driver might see stale data in cache on some ARM CPU. This patch introduces two helper functions, ehci_sync_qh() and ehci_sync_qtd(), to invalidate cached descriptors so that driver can always read up-to-date descriptors from memory. Bug 1005403 Change-Id: I2345bda7dfe29c5fe7f9550066b518cd6624d263 Signed-off-by: JC Kuo <jckuo@nvidia.com> Reviewed-on: http://git-master/r/116406 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: WK Tsai <wtsai@nvidia.com> Reviewed-by: ChihMin Cheng <ccheng@nvidia.com> Reviewed-by: Joy Wang <joyw@nvidia.com> Reviewed-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2012-07-27USB: gadget: tegra: SW WAR for dTD issueKrishna Yarlagadda
SW WAR implementation for h/w issue observed on all tegra platforms Adding a dTD to a Primed Endpoint May Not Get Recognized TD freeing will be delayed until next TD is completed Bug 1002166 Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-on: http://git-master/r/109562 (cherry picked from commit 8603480606af20444ed91e3010a22cc02edacb78) Change-Id: I875d06eb2db78a18858590645df631478f3201bb Reviewed-on: http://git-master/r/116972 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Tested-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-07-26usb: cdc-acm: fix packet loss issueSteve Lin
There is race between acm_suspend and acm_read_bulk_callback. Host may receive bulk transfer right before suspend. The packet will be discarded if this urb is killed in acm_suspend. This patch checks the actual length of urb and processes it in this case. Bug 996268 Signed-off-by: Steve Lin <stlin@nvidia.com> Change-Id: Ief2b42708160b67903f976ec60da825d46c4720b Reviewed-on: http://git-master/r/117135 (cherry picked from commit af3e96c987fbae8a135d1ff18872b9c32e09b67f) Reviewed-on: http://git-master/r/118105 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Steve Lin <stlin@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-07-24usb: ehci: tegra: HSIC remote wakeup supportVinod Atyam
1) Returning in irq after remote wakeup resume handled in ehci irq function. 2) Removed the unused variables. Bug 889618 Change-Id: I9a1fd25c753a53462bf7742065fa618caae501ab Signed-off-by: Vinod Atyam <vatyam@nvidia.com> Reviewed-on: http://git-master/r/111192 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-07-23usb: ehci: tegra: prevent illegal register accessRakesh Bodla
Make sure phy is turned ON before reading USB registers. Bug 993380 Bug 1006579 Reviewed-on: http://git-master/r/116045 (cherry picked from commit a1a6db7dc88880fb3d4bca0036ce421e4032adae) Change-Id: If94e691bf9b5b46dd8f8562f27cf86e59a4d6353 Reviewed-on: http://git-master/r/117257 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Tested-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-07-17usb: serial: baseband: buffer allocations at initVinayak Pane
The usb transaction buffers are allocated in module init. In device open, close and disconnect the buffers will not be freed. Instead they will be reused to avoid allocation failure in low-mem conditions. The usb driver register moved to init so that rmmod and insmod is not required. Bug 956211 Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/109935 (cherry picked from commit a4e8219a86f80fd06aaaae2c40a657098d5dcfa5) Change-Id: Id88cfe3b0a75cb2e6f39176b5297f81f4f9e978b Reviewed-on: http://git-master/r/115609 Tested-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-07-11usb: otg: tegra: wake enabledBitan Biswas
Wake sources usb VBUS or ID detect enabled bug 980993 bug 936982 Change-Id: Iea36d308c1a118abdb7815212d749bd058d0054f Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/103141 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-07-09usb: otg: remove otg callbackChandler Zhang
Previously the callback was added to control USB VBUS. The standard way is to use regulator. Bug 997805 Change-Id: I88b15befaf4e162478da19ead50695978b2c5f4b Signed-off-by: Chandler Zhang <chazhang@nvidia.com> Reviewed-on: http://git-master/r/112901 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-07-05usb: host: tegra: code clean upVenu Byravarasu
Addressed below items with this patch: 1. Using devm_kzalloc in place of kzalloc. 2. Correcting platform_get_irq return value check Change-Id: I68225fe40adbb4be98e16ee2e0a4fccefadd8626 Reviewed-on: http://git-master/r/105843 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-07-05ARM: tegra: usb: turn off power during suspendRohan Somvanshi
Turn off regulators along with clocks during suspend Bug 991262 Reviewed-on: http://git-master/r/108820 (cherry picked from commit 41ae7ac21a2c08da0e4312b8395b380a704fa16c) Change-Id: Ib49eec5d91571d75881f4d252d956dece1d37d60 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/105364 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User