Age | Commit message (Collapse) | Author |
|
commit 004c19682884d4f40000ce1ded53f4a1d0b18206 upstream.
This patch (as1477) fixes a problem affecting a few types of EHCI
controller. Contrary to what one might expect, these controllers
automatically stop their internal frame counter when no ports are
enabled. Since ehci-hcd currently relies on the frame counter for
determining when it should unlink QHs from the async schedule, those
controllers run into trouble: The frame counter stops and the QHs
never get unlinked.
Some systems have also experienced other problems traced back to
commit b963801164618e25fbdc0cd452ce49c3628b46c8 (USB: ehci-hcd unlink
speedups), which made the original switch from using the system clock
to using the frame counter. It never became clear what the reason was
for these problems, but evidently it is related to use of the frame
counter.
To fix all these problems, this patch more or less reverts that commit
and goes back to using the system clock. But this can't be done
cleanly because other changes have since been made to the scan_async()
subroutine. One of these changes involved the tricky logic that tries
to avoid rescanning QHs that have already been seen when the scanning
loop is restarted, which happens whenever an URB is given back.
Switching back to clock-based unlinks would make this logic even more
complicated.
Therefore the new code doesn't rescan the entire async list whenever a
giveback occurs. Instead it rescans only the current QH and continues
on from there. This requires the use of a separate pointer to keep
track of the next QH to scan, since the current QH may be unlinked
while the scanning is in progress. That new pointer must be global,
so that it can be adjusted forward whenever the _next_ QH gets
unlinked. (uhci-hcd uses this same trick.)
Simplification of the scanning loop removes a level of indentation,
which accounts for the size of the patch. The amount of code changed
is relatively small, and it isn't exactly a reversion of the
b963801164 commit.
This fixes Bugzilla #32432.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Matej Kenda <matejken@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Change-Id: I620d5e977656740a84fcbc88a03453a736d0624c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35592
Tested-by: Per VAHLNE <per.xx.vahlne@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
commit 6ea12a04d295235ed67010a09fdea58c949e3eb0 upstream.
The NVIDIA series of OHCI controllers continues to be troublesome. A
few people using the MCP67 chipset have reported that even with the
most recent kernels, the OHCI controller fails to handle new
connections and spams the system log with "unable to enumerate USB
port" messages. This is different from the other problems previously
reported for NVIDIA OHCI controllers, although it is probably related.
It turns out that the MCP67 controller does not like to be kept in the
RESET state very long. After only a few seconds, it decides not to
work any more. This patch (as1479) changes the PCI initialization
quirk code so that NVIDIA controllers are switched into the SUSPEND
state after 50 ms of RESET. With no interrupts enabled and all the
downstream devices reset, and thus unable to send wakeup requests,
this should be perfectly safe (even for non-NVIDIA hardware).
The removal code in ohci-hcd hasn't been changed; it will still leave
the controller in the RESET state. As a result, if someone unloads
ohci-hcd and then reloads it, the controller won't work again until
the system is rebooted. If anybody complains about this, the removal
code can be updated similarly.
This fixes Bugzilla #22052.
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Change-Id: Ifa987254cbfa82aceca05093544e29d46e039619
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35591
Tested-by: Per VAHLNE <per.xx.vahlne@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
commit 026dfaf18973404a01f488d6aa556a8c466e06a4 upstream.
Add ID 4348:5523 for WinChipHead USB->RS 232 adapter with
Prolifec PL2303 chipset
Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Change-Id: I858f1852aff29b2ee439a1afe226a4b8b4bd0d2c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35580
Tested-by: Per VAHLNE <per.xx.vahlne@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Added notification events for ACA cases so that
battery manager can distinguish between Standard Host and
ACA charger.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 362951
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: rajaram <rajaram.ragupathy@stericsson.com>
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Change-Id: I02a19bced97b408990d8effb785418bf182ac27b
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34862
Tested-by: Rajaram REGUPATHY <ragupathy.rajaram@stericsson.com>
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
Restoring the missing INDEX register value in ux500_restore_context().
without this Hub enumeration is inconsistent,
if we do multiple connect/disconnect.
ST-Ericsson ID: 364906
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: Thirupathi <thirupathi.chippakurthy@stericsson.com>
Change-Id: Idd16826372e11fffe45356014b3987de98c1cf87
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34805
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Restoring the missing INDEX register value in musb_restore_context().
Without this suspend resume functionality is broken with offmode
enabled.
ST-Ericsson ID: AP 369118
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: Thirupathi <thirupathi.chippakurthy@stericsson.com>
Acked-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Change-Id: I0ad6758c0a92eb88bce8f75dd86b7029c7d4e7e1
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34787
Reviewed-by: QABUILD
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
USB endpoints are not being reset at the time of disabling
the functions. Due to this, the endpoint data is not freed.
So, during re-assignment of EP's for a new USB configuration,
some of EP's are skipped.
ST-Ericsson ID: 368396
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I6e5edaa88152ebc767534b1f8fd8f9cc99f18fff
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34357
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Enabling the usb functions from kernel space rather that enabling from
user space using init.rc. Sysfs values in kernel space are not being
updated from user space at the time of enumeration during boottime.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 363818
ST-Ericsson FOSS-OUT ID: NA
Change-Id: Ia17e2f9cef5bb1769718617b18fafe09e32226e2
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33816
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Add IAD to bind the two interfaces of ECM,
so that it works properly in composite gadget mode.
ST-Ericsson ID: AP 366654
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: Thirupathi <thirupathi.chippakurthy@stericsson.com>
Signed-off-by: Praveena Nadahally <praveen.nadahally@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Change-Id: I87c88c3b94aee72b93b3ceab508e8a67b76ce3bf
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33617
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Connect and boot can cause a NULL pointer access if link status interrupt
comes before we enable the MUSB platform initialization happens.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 365151
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Change-Id: I91aaa269913a7fdf5b4f59927dd563cf8c456e4f
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32825
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Added fix for crash in ecm_set_alt(). This patch is
based on the changes done for RNDIS in the patch
commit id 789ef237b38a79f988738ff18ae6d756551afb92
ACM in the patch
commit id 0ab69f47e172739fd499f09469fde6eb16e9287d
ST-Ericsson ID:AP 365052
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Change-Id: I673d5bc1632bcd4b382c96373501e797a4dc6287
Signed-off-by: Thirupathi <thirupathi.chippakurthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32673
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
USB context is stored and restored at each time when the usb cable
is pluged in.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 363987
ST-Ericsson FOSS-OUT ID: NA
Change-Id: I5fa7b32dd4f67dcc81f2418e872ed5107f8624c0
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32785
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Change-Id: If55cc0a33e026a6662d7b067a09b1900bd292a6a
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32448
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
The prcmu driver now exists in drivers/mfd
Change-Id: I0c8d97679ee186ca8205aeeafa0030568f540d2e
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32057
|
|
In Worker thread and DMA channel configure/abort functions,
the warning message is actually debug message. So changed
debug level from warning to debug message.
ST-Ericsson ID:AP 363893
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: maheswarudu <v.maheswarudu@stericsson.com>
Change-Id: Id3a1e520230d3108e31b932cd9c07ab15e1a8d00
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32263
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
fix for spurious usb interrupt, errorneous interrupt decoding for usb
host case and usb host function handling
ST-Ericsson ID: 352334
ST-Ericsson Linux next: Not Tested
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I01067da8158582863d825392b82996e1d9d06f8a
Signed-off-by: Ravikant Singh <ravikant.singh@stericsson.com>
Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31865
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
MUSB_TXCSR_TXPKTRDY will not get cleared if the data is not on
the bus. So, need to wait for it to clear in the DMA completion
callback.As per musb datasheet, generally mode 1 needs to be
used for data length greater than or equal to max packet size.
ST-Ericsson ID:AP 363893
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Change-Id: I934295798a5fbccf60c6f4004595b625a98098ed
Signed-off-by: <thirupathi.chippakurthy@stericsson.com>
Signed-off-by: Praveena <praveen.nadahally@stericsson.com>
Signed-off-by: rajaram <rajaram.ragupathy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32012
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
In case of AB-V3, the eye diagram related issues are resolved.
So, set the device charging current to 300mA when connected to
standard host. Also, add the USB PHY tuning values to improve
the USB eye diagram.
This votage setting for v-initcore is missing as part of the
patch:http://gerrit.lud.stericsson.com/gerrit/#change,30031
Adding the missing information from this patch
ST-Ericsson ID: 330203
ST-Ericsson Linux next: ER 330203
ST-Ericsson FOSS-OUT ID: NA
Change-Id: Id17fd6c1b6ac1f77890659c4d78eaece941b037a
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Signed-off-by: Praveena Nadahally <praveen.nadahally@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31849
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Setting the default state OTG_STATE_B_IDLE when there is removal
of USB cable(Either Host or Device).
ST-Ericsson ID: 363539
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Change-Id: Ia066f9a1cb3433bc54bc934f9b0e9eeaf222f89b
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31860
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
This reverts commit cc851c0c7146330d1fe1b44f10ff8d88e2c09bb7.
Change-Id: I437b587c6566170ea3f65cad6f2f72531b5fe33b
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31992
Tested-by: Thirupathi CHIPPAKURTHY <thirupathi.chippakurthy@stericsson.com>
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
restore MUSB_RXCSR code is misplaced,Handling properly.
ST-Ericsson ID: AP 363893
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: <thirupathi.chippakurthy@stericsson.com>
Change-Id: I3f0499487a1d5e4837ade52e6fb8f0f573cce217
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31989
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
return type changed to irqreturn_t from void
for function ab5500_usb_host_disconnect_irq()
ST-Ericsson ID: 352334
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: Ravikant Singh <ravikant.singh@stericsson.com>
Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com>
Change-Id: I85819cb20418fc39e1febb7b1ea1a1211f825fb2
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31867
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Registering notifier call handled,
to enable the host funtionality.
ST-Ericsson ID: 352334
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I4f415ac61153372c81f6fc4d46ffb1e4e63d0d2c
Signed-off-by: <thirupathi.chippakurthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31572
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
restore MUSB_RXCSR to original value when dma is not used.
ST-Ericsson ID: ER 321774
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ia375a5a8da423bafae107248a4ea25158bce4793
Signed-off-by: <thirupathi.chippakurthy@stericsson.com>
Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31466
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
This enables host functionality with DMA.
ST-Ericsson ID: 352334
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: <thirupathi.chippakurthy@stericsson.com>
Change-Id: I9f3d65f3cf337f557825725f99d78f4470a651f9
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31260
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
fixing issue of scheduling delayed work work_usb_workaround
which is not needed for u5500
ST-Ericsson ID: 352334
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com>
Change-Id: I07eaca9f90aa91892f05260e7722e6703e8baf84
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31340
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
usb driver wakelock related changes.
ee909c0 [ANDROID] ux500: usb: USB suspend, resume and pm
ST-Ericsson ID: 352334
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com>
Change-Id: Ia07fa6ef73dcc3d4c5bc025b8913c51186a4ab31
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31339
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
Following patches for usb driver are manually merged to kernel 3.0
d11e52a ux500: usb: add usb device mode support on u5500
1fecc55 ux500: usb: enabling adb and ACM functionality in u5500_defconfig
2847bf4 ux500: usb: error handling in musb for u5500
37f22da ux500: usb: U5500 v2 update
e1b079d ux500: usb: Fix for enumeration when ON with cable
181701a ux500: usb: Fix for V2 emmc2 boot USB device issue
3a60721 mach-ux500: Handle the LinkStatus register.
086a83e usb: ux500: usb gpio enable/disable in pair
ST-Ericsson ID: 352334
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Change-Id: Id918b9a55d3b85faf7c003547748f17086af3ec7
Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30860
|
|
In case of connection to standard host, maximum allowed
current is freely set as part of enumeration. Maximum
current limitation is retained only for ab versions
below 3.0.
ST-Ericsson ID: 343538
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Signed-off-by: dushyanth.sr <dushyanth.sr@stericsson.com>
Change-Id: Ia3375ce167bec1b4321e69e42f107b0550e98053
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31268
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
This patch enables the DMA mode1 RX support
This feature is enabled based on the short_not_ok flag passed from
gadget drivers.
This will result in a thruput performance gain of around
40% for USB mass-storage/mtp use cases.
ST-Ericsson ID: 352334
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: <thirupathi.chippakurthy@stericsson.com>
Signed-off-by: Anand Gadiyar <gadiyar <at> ti.com>
Signed-off-by: Moiz Sonasath <m-sonasath <at> ti.com>
Signed-off-by: Vikram Pandita <vikram.pandita <at> ti.com>
Tested-by: Vikram Pandita <vikram.pandita <at> ti.com>
Change-Id: I17f58a018c1b5c0a4d89172fd2978a4e5da337f0
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30833
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
ACA will allow simultanious connection to a host/device accessory along
with dedicated charger using a single USB port on the platform.
ST-Ericsson ID: WP 265141
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10160
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Signed-off-by: dushyanth.sr <dushyanth.sr@stericsson.com>
Change-Id: I934ff2a4775661e2a4894da6e49360060e0fa011
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31035
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
Making the existing U8500 usb gpio framework to generic.
This allows other platforms to use the same structure.
ST-Ericsson ID: NA
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Change-Id: I3d5edc139e247b2373d1dd77243421e74783a0ea
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30790
|
|
The dma driver requires both src and dst to be set.
This fix is needed in order to run gadget mass storage.
Patch is verified on snowball.
ST-Ericsson ID: 352334
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I28001a4f5d00fff71d8d39b3cb7144affedb2766
Signed-off-by:<thirupathi.chippakurthy@stericsson.com>
Signed-off-by:<Per Forlin <per.forlin@...>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30772
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
The dma driver disabled in Host Mode.
Only enabled in Device mode.
ST-Ericsson ID: 352334
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by:<thirupathi.chippakurthy@stericsson.com>
Change-Id: I5d26d2990d1c01a2ce461eb87f2e8d4518f0e40a
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30823
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
This patch adds code to extract Public ID which is unique for each board
and use it as serial number for USB. This will enable us to connect multiple
boards to host as usb devices and access individually.
ST-Ericsson ID: 277646
Change-Id: I8daf882106a28127e18684da7a289cce6967f842
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Signed-off-by: dushyanth.sr <dushyanth.sr@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30809
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
ST-Ericsson ID: -
ST-Ericsson Linux next: Not tested
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Change-Id: I70bc1f067032973d20261edb7cdc73631ad30d1c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30691
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
Updating the QOS entry rather than creating a new one.
ST-Ericsson ID: NA
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Change-Id: I89cc6ddb154c13cd5e9e34d31adba7eef791acfc
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30620
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
Checking the compatibility and disabling the dma.
ST-Ericsson ID: NA
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Change-Id: Ic52084e5439932ea688d687c4a61cf76fd861e79
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30467
|
|
Enabling the phy during the booting of kernel if usb is connected.
ST-Ericsson ID: NA
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Change-Id: Ic750bf42dbfc9bfb60cc9930e9ea9aa1f58cf8ff
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30436
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
In case of AB-V3, the eye diagram related issues are resolved.
So, set the device charging current to 300mA when connected to
standard host. Also, add the USB PHY tuning values to improve
the USB eye diagram
ST-Ericsson ID: 330203
ST-Ericsson Linux next: ER 330203
ST-Ericsson FOSS-OUT ID: NA
Change-Id: I7cd49289ce7e1a6d88263198e7b1258c923c1282
Signed-off-by: <thirupathi.chippakurthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30031
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
USB Hub support musb host
ST-Ericsson ID: CR 279072
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by:<thirupathi.chippakurthy@stericsson.com>
Change-Id: I22ded0d7cadc8d83996336cfe3917e345c48bd45
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30052
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
The USB stack maps the buffer for DMA if the controller
supports DMA.The buffer needs to be unmapped before CPU
can perform PIO data transfers.
ST-Ericsson ID: 353110
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I7811591f4f82f06af036bbde28cfa6f6de40cf8d
Signed-off-by: <thirupathi.chippakurthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30144
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
The handling of device connection in host mode.
ST-Ericsson ID: 352334
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Icdf576355fd5743bd48af0c8e33ae34526fc53a4
Signed-off-by: <thirupathi.chippakurthy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30020
Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
|
|
Added code for ECM.
Mass Storage supports 2 luns by default.
ST-Ericsson ID: 259958
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
|
|
Documentation from usb.
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Conflicts:
Documentation/DocBook/Makefile
|
|
Enable RNDIS for Android Platform. Also provide the runtime configuration
binding as Microsoft driver doesn't support the RNDIS in composite mode
Also make the Class, SubClass and Protocol of IAD same as that of first
interface as mentioned in the specification.
ST-Ericsson ID: CR 272413
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Signed-off-by: Ajay Jawade <ajay.jawade@stericsson.com>
|
|
Removing AB8500 1.0 and 1.1 support and the VUSB regulator is
a requirement to complete the ER stated below.
ST-Ericsson Linux next: -
ST-Ericsson ID: ER 327257
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
|
|
When ceiling and changing the page code values the performance of mass storage is affected.
To achieve faster write operation removing ceiling and changing of page code values
ST-Ericsson ID : 283277
Change-Id: I16792c07011c46d3775278d1836d78af9830b2dc
Signed-off-by: rajaram <rajaram.ragupathy@stericsson.com>
Conflicts:
drivers/usb/gadget/f_mass_storage.c
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
|
|
Changing the resume_noirq call to resume call so that suspend/resume is paired
and we will have a stable USB power save.
ST-Ericsson ID: ER 280150
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
|
|
According to USB compliance, USB device can be self or bus powered
based on the power it consumes from the Host. This patch adds the
check before setting the device to self-powered.
ST-Ericsson ID: 268507
Signed-off-by: Praveena Nadahally <praveen.nadahally@stericsson.com>
Change-Id: I1241ba724ef00e782c527f95981b8011cf3479f8
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11983
Reviewed-by: QATOOLS
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
Conflicts:
drivers/usb/gadget/android.c
|