summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-09-19u9500: GPIO conflicts with external modemChristophe Guibout
This patch content should have gone with the below commit 2057772c5d0b1a18198c91085d9e828cdb23d23b Change-Id: I2482934a9fb9919de8241170597edc34f0c166e3 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30999 Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2011-09-19usb:musb:Enable DMA mode1 RX for without short pktThirupathi Chippakurthy
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>
2011-09-19ux500: musb: Add support for Accessory Charging AdaptorSakethram Bommisetti
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>
2011-09-19WLAN: Switch to GPIO IRQs for openMACBartosz Markowski
Temporary change during kernel upgrade, to be reverted when SDIO IRQs fixed in mmc/sdio stack ST-Ericsson ID: 352334 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ief18464c33eb8b958a1632be714c11969dfcc57a Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30939 Reviewed-by: Stefan NILSSON9 <stefan.xk.nilsson@stericsson.com> Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2011-09-19mach-ux500:u8500: Clean up sdi[n] configurationsUlf Hansson
This makes an inital clean up of the mmc/sd/sdio devices for kernel 3.0. Change-Id: Ibd53ef383940d84d89ba056cbdfc1c5e6c5e5114 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30993
2011-09-19mmc: sdio: Workaround for dev with broken CMD53Stefan Nilsson XK
Adds a quirk which can be turned on for SDIO devices that do not support 512 byte requests in byte mode during CMD53. These requests will always be sent in block mode instead. This patch also enables this quirk for ST-Ericsson CW1200 WLAN device. Change-Id: Id31787fcbfeb0b97ba2e8c583e9363a7c08811d2 Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30931 Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2011-09-19mmc: core: Set correct bus mode before card initStefan Nilsson XK
Earlier all cards where initiated with bus mode set as OPENDRAIN, and then later switched to PUSHPULL. According to the MMC/SD/SDIO specifications only MMC cards use OPENDRAIN during init. For both SD and SDIO the bus mode shall be PUSHPULL before attempting to init the card. The consequence of having incorrect bus mode can lead to not being able to detect the card. Therefore the default behavior have now been changed to PUSHPULL in mmc_power_up, and will only be temporarily switched when trying to attach or init a MMC card. Change-Id: Ied79604d7b3b9fcaf13fbc5566f9cdd109b3cc29 Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30930 Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2011-09-19MMCI: Add support for non-power-of-two block sizesStefan Nilsson XK
Adds support for any block size over SDIO. ST-Ericsson ID: AP272999 Change-Id: I5a2654360a2d38e6ab929b099c2bc04668ae9e85 Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/15091 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30929 Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com> Tested-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2011-09-19mbox: fix mbox crashRajanikanth H.V
added the missing mutex lock Change-Id: Ieab65c85408b783f029e04155be32fdc2299fa7e Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com>
2011-09-19power: ab5500: wrong dependancy in kconfigArun Murthy
Correct the dependancy for enabling ab5500 battery charging driver. Change-Id: Ia2f0ba7d2631f19424c01efcf07ea6e088d8b784 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31012
2011-09-19mfd: ab5500-core: Fix for setting platform dataArun Murthy
Change-Id: Ia8fe567b91b4e18ff737afce22c939e3b5f1cafc Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31011
2011-09-19u5500 : modem irq updateBibek Basu
irq request flag should also be IRQF_NO_SUSPEND Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Change-Id: I6db0770c7cfd62ee0feab03553a315781177def8 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31000 Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com>
2011-09-19UART:pl011: migrate pl011 support to 3.0Rajanikanth H.V
enable SERIAL_AMBA_PL011_CLOCK_CONTROL by default ST-Ericsson ID: NA ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Change-Id: I8cd1d5cf951424d00bbc49dca342c89d578d4a6d Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com>
2011-09-19UART:pl011: migrate pl011 support to 3.0Rajanikanth H.V
fix errors and warnings highlighted by checkpatch.pl ST-Ericsson ID: NA ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Change-Id: I34755b1ffabec32a2beb942e59586c398cc5b642 Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com>
2011-09-19Ux500 ASoC: Move mic-regulators into DAPM-pathsOla Lilja
Race-conditions could occur when mic-regulators were turned on/off outside DAPM-paths. They are now moved into machine-driver DAPM-paths. ST-Ericsson Linux next: NA ST-Ericsson ID: 348272 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I27b7225326db9c0ccaaabf5aec5bbc9c3cfbd573 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/26679 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Tested-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: sound/soc/codecs/ab8500_audio.c sound/soc/ux500/ux500_ab8500.c Change-Id: Ic32c44f335a54a7a52fb395503af860ba2aae94d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30844 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Tested-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Avinash A <avinash.a@stericsson.com> Tested-by: Avinash A <avinash.a@stericsson.com>
2011-09-19ARM: configs: Add u9500 kernel configurationYann Gautier
Add an additional u9500 specific kernel configuration file. Change-Id: Ib8a1ee575baf6027aa948ef7b5614f460ad94bae Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30748 Reviewed-by: Yann GAUTIER <yann.gautier@stericsson.com> Tested-by: Yann GAUTIER <yann.gautier@stericsson.com> Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-09-19caif-shm: Fix deadlock caused due to improper lockingArun Murthy
Improper usage of spin lock, which leads to deadlock. Tx: acquire_lock1 -> trying to acquire lock2 Rx: acquire_lock2 -> trying to acquire lock1 Fix: locking was done through out the function which is not required. Only in placed where list has be accessed or modified locking is required. ST-Ericsson Linux next: NA ST-Ericsson ID: 360284 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I962fcb35f44b6030d6f1151f118d35e328b69156 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30980 Reviewed-by: Hemant-vilas RAMDASI <hemant.ramdasi@stericsson.com> Tested-by: Hemant-vilas RAMDASI <hemant.ramdasi@stericsson.com> Reviewed-by: Durga Prasada Rao BATHINA <durgaprasadarao.b@stericsson.com>
2011-09-19MMCI: Fix incorrect handling of HW FC for SDIOStefan Nilsson XK
For SDIO writes smaller than or equal to 8 bytes (only SDIO case), hardware flow control was turned off, but was never turned on again which meant that if a large read request followed, SDIO would randomly give buffer overrun errors since there was no flow control. Since HW flow control is not really needed for anything that fits in the HW FIFO of PL18X, HW flow control is now disabled for any write operation that is smaller than or equal to the FIFO size. ST-Ericsson ID: ER280840 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9c47315dbc4b45011d89b1e58605056ba5441db1 Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9447 Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/10931 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30928
2011-09-19mmci: Prepare for sdio before setting up dma jobUlf Hansson
Makes it possible to use dma with sdio. Earlier pio mode was only supported. Change-Id: I174b0e2a8d12327db5bb086d11912c8247ce7a5e Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30992
2011-09-19MMCI: Fix bug in PIO read for small SDIO packetsStefan Nilsson XK
Corrects a bug in MMCI host driver which silently causes small reads (< 4 bytes as only used in SDIO) from PL-18X to fail. Change-Id: I31428aa14cdd7f756f8ff776e87ef65c02de3bb3 Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9021 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Henrik CARLING <henrik.carling@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9191 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30927 Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com> Tested-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2011-09-19power: ab8500_charger: Lower VBUS input current when below thresholdKalle Komierowski
Due to a bug in AB8500 the input current to the VBUS charger needs to be lowered when the battery voltage is below 3,7 V. Otherwise there is a risk that a higher than allowed current is drawn from the USB host. ST-Ericsson ID: 338533 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7f32b94411459a1665cc1c2890051f4d5290ed3d Signed-off-by: Kalle Komierowski <karl.komierowski@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30630 Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30883 Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Tested-by: Arun MURTHY <arun.murthy@stericsson.com>
2011-09-19power: ab8500_charger: Fix detection of USB chargerMagnus Persson
Check both VBUS_DET_DBNC1 and VBUS_DET_DBNC100 bits when detecting USB charger. ST-Ericsson ID: 358849 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: Ibca02e5bd89f556fe649eec7f75f105036bcff2f Signed-off-by: Magnus Persson <magnus.p.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30105 Reviewed-by: Daniel WILLERUD <daniel.willerud@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com> Reviewed-by: QATEST Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30882 Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Tested-by: Arun MURTHY <arun.murthy@stericsson.com>
2011-09-19power: ab8500-bm: Changed behaviour of the charging safety timerJohan Palsson
The safety timer will not be started until the capacity reported from the FG algorithm is 100%. Then we know that the amount of charge that's gone into the battery is enough for the battery to be full. If it has not reached end-of-charge before the safety timer has expired then we know that the battery is overcharged and charging will be stopped to protect the battery. ST-Ericsson ID: 358130 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: If3cfb49c03235dba09dc35d6b885ff22ea592aa9 Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29550 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com> Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com> Tested-by: Andrew LYNN <andrew.lynn@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30881 Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Tested-by: Arun MURTHY <arun.murthy@stericsson.com>
2011-09-19ux500:USB:Generic USB GPIO frame workSakethram Bommisetti
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
2011-09-19WLAN: remove GPIO_IRQ conditional checksBartosz Markowski
GPIO IRQs can be used also by UMAC driver, and the .config configuration is not being set then. ST-Ericsson ID: 352334 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com> Change-Id: I8f103102dd004c69725afd40453f5296ea4f20bb Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30845 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-09-19u5500: Enable Sound on HDMIxvatnag
This patch enables audio HDMI sink ST-Ericsson ID: 342433 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial ref commit-id: I714161c24527288332b9ebdbef909d199a08f625 Signed-off-by: Avinash A <Avinash.a@stericsson.com> Change-Id: I41f5d27106113a5dc1cbb8febd7db29296cd3f27 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30869 Reviewed-by: Avinash A <avinash.a@stericsson.com> Tested-by: Avinash A <avinash.a@stericsson.com>
2011-09-19mmc: mmci: implement pre_req() and post_req()Per Forlin
pre_req() runs dma_map_sg() and prepares the dma descriptor for the next mmc data transfer. post_req() runs dma_unmap_sg. If not calling pre_req() before mmci_request(), mmci_request() will prepare the cache and dma just like it did it before. It is optional to use pre_req() and post_req() for mmci. Signed-off-by: Per Forlin <per.forlin@linaro.org> Tested-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org> Change-Id: I0e0a11ac5db9dc99da48e754813db251b688321e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30858 Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com> Tested-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2011-09-19CG2900 FM Radio: Enable CG2900 FM RadioJohan Palmaeus
Several modules needed for CG2900 FM Radio was missing in u5500/u8500 defconfig files. This patch adds them. ST-Ericsson ID: 352334 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I720d40f0596c906bf4d2f52cddad098912ad4824 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30832 Tested-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2011-09-19ux500: changed the end variable in modem trace.Marcus Danielsson
Fixed an off by one error in modem tracer. ST-Ericsson ID: 356944 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I82ee4d37a677e54e88c3de2a75e099be1c7a77e9 Signed-off-by: Marcus Danielsson <marcus.danielsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30638 Reviewed-by: Daniel WILLERUD <daniel.willerud@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19Dispdev: Removed the UNINIT errorom prakash
Removed the UNINIT coverity error in dispdev ST-Ericsson ID: 354434 ST-Ericsson FOSS-OUT ID: NA Change-Id: I026591675dbe94f441b53ae0a6462258bc3ef51b Signed-off-by: om prakash <omprakash.pal@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30147 Reviewed-by: QABUILD Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
2011-09-19video: mcde: Fix probe of sub displayPer Persson
Allowed max level for v-display regulator is changed. Error handling if failed to set voltage is changed. Sub display now probes without errors. ST-Ericsson ID: 359672 ST-Ericsson Linux next: Not tested, ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id4ff5df39f7b06d964e4dc9534c5f1ea38a28544 Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30053 Reviewed-by: Anders BAUER <anders.bauer@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: QABUILD
2011-09-19video: hdmi: Change data typePer Persson
HDMI data type exposed to user space is changed from u8 to __u8. ST-Ericsson ID: 358681 ST-Ericsson Linux next: Not tested, ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I09f20a57f1206b7392dfcd80ebaca8baf3c2a4a1 Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29840 Reviewed-by: QATOOLS Reviewed-by: Anders BAUER <anders.bauer@stericsson.com> Reviewed-by: QABUILD Reviewed-by: QATEST Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
2011-09-19video: mcde: Change to mdelayJonas Aaberg
The resolution of msleep is related to HZ, so with HZ set to 100 any msleep of less than 10ms will become ~10ms. ST-Ericsson ID: - ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I6f33d5cf4ca830a2c7509f8de878e8654c47d4f8 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29584
2011-09-19video:hdmi:Modified gpio set call to resetNaveen Kumar Gaddipati
Modified gpio_set_value to gpio_set_value_cansleep to reset HDMI controller in kernel 3.0 migration. ST-Ericsson ID: 352334 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
2011-09-19U5500 : Update Kconfig to support TEE driver for 5500Bibek Basu
Make TEE driver available for 5500 also Change-Id: Iad03e452ed946f5f355fc06095ad4ccd0d539fc4 Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30836
2011-09-19usb:musb:ux500:set dma config for both src and dstThirupathi Chippakurthy
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>
2011-09-19musb: host: linux Kernel3.0 host dma disabledThirupathi Chippakurthy
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>
2011-09-19mmc: Fix hangs related to insert/remove of cardsUlf Hansson
During a rescan operation mmc_attach(sd|mmc|sdio) functions are called. The error handling in these function can trigger a detach of the bus, which also meant a power off. This is not notified by the rescan operation which then continues to the next attach function. If a power off has been done, the framework must never send any new commands to the host driver, without first doing a new power up. This will most likely trigger any host driver to hang. Moving power off out of detach and instead handle power off separately when it is actually needed, solves the issue. ST-Ericsson Linux next: - ST-Ericsson ID: 339637 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id808dc84625a953f4469855ad56e8d3b46b5434d Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30814
2011-09-19USB: Generating unique serial number for USBSakethram Bommisetti
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>
2011-09-19video:mcde:Modified gpio set call to reset MCDENaveen Kumar Gaddipati
Modified gpio set call to reset MCDE due to kernel 3.0 mogration ST-Ericsson ID: 352334 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
2011-09-19Ux500 ASoC: Remove analog loopback graph from DAPMJohan Bohlin
ST-Ericsson ID: 358 510 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I134d32150292a0616ddc764c51b20d8f1120dbbe Signed-off-by: Johan Bohlin <johan.bohlin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29557 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30803 Tested-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2011-09-19Ux500 ASoC: Fix FIR-coeffecient limitOla Lilja
The value limit in ALSA-control for sidetone FIR-coeffecients changed to match 2 * 8 bits. ST Ericsson ID: CR345207 ST Ericsson FOSS-OUT ID: trivial ST Ericsson Linux next: N/A Change-Id: I2f56b5c1a9905bfad943c39798b7c856e2ce5f1b Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/26618 Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30801 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Tested-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2011-09-19Ux500 ASoC: Cosmetic changesOla Lilja
ALSA-controls are rearranged in a better way and comments are changed. No actual code is changed. ST-Ericsson Linux next: NA ST-Ericsson ID: NA ST-Ericsson FOSS-OUT ID: NA Change-Id: I9213476b1723f7cb52f782ae26f94b9e18ddc2c5 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/26063 Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30800 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Tested-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2011-09-19Ux500 ASoC: Proper handling of vibra output driverOla Lilja
The Class-D amplifier used for vibra is now turned of to same power when not needed. A new control to handle this is introduced. ST-Ericsson Linux next: NA ST-Ericsson ID: 345554 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I28d4daf28b3ff33b9cc2665e8a156c6f56175b66 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/26046 Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30799 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Tested-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2011-09-19Ux500 ASoC: Fix problem when disabling DMicsOla Lilja
When DMic1 or DMic2 was disabled the other one was also disabled. This is no longer the case. ST-Ericsson Linux next: NA ST-Ericsson ID: ER348882 ST-Ericsson FOSS-OUT ID: NA Change-Id: I88d402b3f7a22e53424f2f1bcfd6fdc8e8d24468 Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/25710 Reviewed-by: QATEST Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30798 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Tested-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com>
2011-09-19Ux500 ASoC: Activate gpio.1 clock during playbackHenrik Segerback
During burst mode, the DSP accesses the GPIO block to configure sleep mode before and after DSP sleeps. To allow this, the GPIO block must be clocked. ST-Ericsson Linux next: NA ST-Ericsson ID: 349519 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I625c63fd506316d543e26392d1edb4912193a12c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29114 Reviewed-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Tested-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: QATEST Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30802 Tested-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: Henrik SEGERBACK <henrik.xh.segerback@stericsson.com>
2011-09-19cg2900: Set WLAN_PMU_EN for startupPar-Gunnar Hjalmdahl
Re apply the patch as some part of the patch content was lost becuase of 42cf5133396cf34d8ec640e4dc8f36f81b028dc3 Change-Id: I99dd076f79f01eb67b3db5020707f9d8f53fb455 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30792 Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2011-09-19u5500: Add cg2900 driverPar-Gunnar Hjalmdahl
This patch adds CG2900 driver to the u5500 defconfig. ST-Ericsson ID: 352334 ST-Ericcson FOSS-OUT-ID: Trivial ST-Ericsson Linux next: 274079 Change-Id: Idf2150f19c7415458fd84c3233bfa0c856a5d134 Signed-off-by: Par-Gunnar Hjalmdahl <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30787 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-09-19CG2900 FM Radio: Adapt to kernel 3.0Hemant Gupta
This patch adapts the FM driver to kernel 3.0 ST-Ericsson Linux next: NA ST-Ericsson ID: 352334 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I93b6a1f8251709cfe36eeaa41fc5cdfc4350a5e5 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30532 Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com> Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2011-09-19CG2900 FM Radio: BandScan IOCTL Calls Hangs.Hemant Gupta
This patch fixes the issue of Bandscan not returning, resulting in failure of test case. This patch also fixes spin_unlock issue in corner case. ST-Ericsson Linux next: NA ST-Ericsson ID: 352330 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I48b15be434cf9488626bcd184be087bbe56c9663 Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30557 Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>