summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-10-21power:ab5500-charger: check the usb type in notifier callArun Murthy
When a usb notifier is called, update the notified current only if the plugge in device is a standard host else do not update the current just return. The notifier call that is called in the usb driver is not only for the battery driver but other usb instances, hence usb cannot stop calling the notifier call and do a check to call only if it is a standard host. Hence this check is done in the battery driver, and if relevant update else just return. ST-Ericsson Linux next: NA ST-Ericsson ID: 362955 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I83026aba60b8a60c9f80e2a699b8eded285f8a09 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34799 Reviewed-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com> Reviewed-by: QABUILD Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
2011-10-21ux500: usb: restore INDEX register in resume pathThirupathi Chippakurthy
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>
2011-10-21mmc: sdio: Fix to support any block size optimallyStefan Nilsson XK
This patch allows any block size to be set on the SDIO link, and still have an arbitrary sized packet (adjusted in size by using sdio_align_size) transferred in an optimal way (preferably one transfer). Previously if the block size was larger than the default of 512 bytes and the transfer size was exactly one block size (possibly thanks to using sdio_align_size to get an optimal transfer size), it was sent as a number of byte transfers instead of one block transfer. Also if the number of blocks was (max_blocks * N) + 1, the tranfer would be conducted with a number of blocks and finished off with a number of byte transfers. When doing this change it was also possible to break out the quirk for broken byte mode in a much cleaner way, and collect the logic of when to do byte or block transfer in one function instead of two. ST-Ericsson ID: 368813 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: TBD Change-Id: I8afb00f37b70bf3e94743f732a1c7ff5f5b542bc Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34578 Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2011-10-21mmc: mmc_test: add 4 byte alignment testsPer Forlin
Add test cases to verify alignment with 4 bytes and 32 bytes for sg element lengths and memory addresses. These tests were added to investigate DMA constraints when transferring buffers that are not aligned with 32 bytes. ST-Ericsson ID: 363565 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I6363a018647f22e5d69920af2cb30dfe2b2a699e Signed-off-by: Per Forlin <per.forlin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34362 Reviewed-by: QATOOLS Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2011-10-21mmc: core: Prevent too long response times for suspendUlf Hansson
While trying to suspend the mmc host there could still be ongoing requests that we need to wait for. At the same time a device driver must respond to a suspend request rather quickly. Instead of potentially wait "forever" by claiming the host we now "try" to claim the host instead. If it fails, -EBUSY is returned. Change-Id: Id7276cba93eb2a3462d4a87295ac499dc5f359fd Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33962 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Stefan NILSSON9 <stefan.xk.nilsson@stericsson.com> Reviewed-by: Per FORLIN <per.forlin@stericsson.com>
2011-10-21mmc: mmci: Support for pm_runtimeUlf Hansson
Runtime PM support is added to dynamically control the enable/disable of the clock and vcore regulator. In runtime_suspend the register values are saved; in runtime_resume register values are restored. We also make use of the runtime_autosuspend with a timeout value set to 50 ms. Change-Id: I6d20a9d5e7727d0cbcac1bb7af11ee0f1c28edc5 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34475
2011-10-21spi/pl022: Enable clock in probe an use runtime_idleUlf Hansson
Since we are always runtime resumed when leaving probe the clock must be enabled. To accomplish that we are able to be runtime suspended after probe in the case when no request is going to be recieved, a runtime_idle function has been implemented. Change-Id: I6cb86f2cad30ecaab16f512daf4674b039b18213 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34447
2011-10-21mach-ux500: Fixup pm_runtime for AMBA devicesUlf Hansson
Using power domains for a device and then calling generic runtime functions will shortcut runtime functions for the "type", "class" and "bus". For the AMBA bus this needs to be handled, thus check if bus runtime functions exist and then use them instead of the generic runtime functions. Moreover an AMBA device is during probe put in resumed state, without executing runtime resume hooks. This means the power domain runtime for AMBA shall during initialization be set to a resumed state ad default. Finally replace the ux500 specific suspend|resume_noirq functions with the those from the AMBA bus. Change-Id: Id1b9cab5c83063c7937d619ed71b8b54f00ec2b3 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34165 Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com>
2011-10-21usb: musb: restore INDEX register in resume pathThirupathi Chippakurthy
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>
2011-10-21staging: mmio: protect shared resource using mutexcnanda
mmio_trace structure maintains information about the shared log buffer from camera firmware. As it is accessed from two different contexts, it needs to be protected using mutex to guard against possible corruption. ST-Ericsson ID: 356426 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I806b4d26b3466a9873a8a02f8c9ac51e0ad44fd5 Signed-off-by: cnanda <chetan.nanda@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33915 Reviewed-by: QATOOLS Tested-by: Rajat VERMA <rajat.verma@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-20[ANDROID]: ux500: pm: usecase: use both cpu cores during voice-callMian Yousaf Kaukab
Audio thread sees a significant delay in scheduling, if it get scheduled on the cpu core1, right after core1 is brought online. Kepping core1 online solves this problem. Power impact of keeping core1 online is negligible. ST-Ericsson ID: 361756 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I9ad0521123689e06906d4f55f25536043eb8fa32 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34624 Reviewed-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com> Tested-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2011-10-20[ANDROID]: ux500: pm: usecase: remove upper arm frequency boundsMian Yousaf Kaukab
There is no need to specify upper arm frequency bounds for low-power-audio and voice-call. CPUFreq's statistics shows that when running at 400MHz, 95% of the time frequency is not increased for these use-cases. Power figures for these use-cases show no impact after removing upper bounds. Not having upper bounds will prevent the CPU from chocking when a audio codec with higher mips requirements is in use. Moreover, instead of using lower arm frequency bounds, use PRCMU ARM QOS and specify the required operating point. ST-Ericsson ID: 361756 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I629201af7c3dc143308c92aa4bb88a8341156824 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34278 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2011-10-20dma40: combine duplicated code in log_sg_to_devRabin Vincent
ST-Ericsson ID: 362972 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Change-Id: If9c32d98633fb88fc04b1ef948f197fb0fc63387 Acked-by: Per Forlin <per.forlin@stericsson.com> Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34700 Tested-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com>
2011-10-20Revert "u5500: remove ondemand as default cpufreq governor"Rabin Vincent
This reverts commit 3cc30c501bcdbd06ca984ea81573ffe79b397f73. The video use cases have apparently been optimized so that they work properly with this governor, at least for now. ST-Ericsson ID: 365995 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I6ea825bcca973a584ad82cb41c3282b5eafbca8f Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34696
2011-10-20u5500: fix handling of IRDACLK and IRRCCLKRabin Vincent
IRDACLK needs to be requested from the firmware. IRDACLK and IRRCCLK need to be parented to the SOC1 PLL. ST-Ericsson ID: 361212 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id336deda4639729dd5b847c168e52c05393c1bfc Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34593 Reviewed-by: QATOOLS Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
2011-10-20drivers: i2c: nomadik: Put regulator/clock handling in runtime callbacksJonas Aaberg
ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7a0dc1ccf4b7f2c84285c0dd1db66c2d84684f40 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33028 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2011-10-20ARM: 7079/1: spi: Fix builderror in spi-pl022.cPeter Hüwe
This patch fixes a build error, introduced by commit (67fc8b9f, "PM: add runtime PM support to core Primecell driver") which unfortunately was a little bit incomplete and did contain a typo (11 instead of 22). I'm not sure how this patch could have been tested back then, if it doesn't even compile ;) The build failure was: drivers/spi/spi-pl022.c:2292: error: 'adev' undeclared (first use in this function) drivers/spi/spi-pl022.c:2344: error: 'pl022_suspend' undeclared here (not in a function) The build failure appears e.g. for the u8500 and realview defconfig. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Change-Id: I01cdbe9b4c1108011bda408a9b28b35f058547bd Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34446 Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com> Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com> Tested-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2011-10-20PM: add runtime PM support to core Primecell driverRussell King
Add runtime PM support to the core Primecell driver, following the PCI model of how this is done. Rather than having every driver fiddle about with enabling runtime PM, that's dealt with in the core and instead, drivers just do a put() in their probe and a balancing get() in their remove function to activate runtime PM for the device. As we're dealing with enabling runtime PM in the core, fix up spi-pl022 as it must not enable and disable runtime PM itself anymore. Tested-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Change-Id: Ia53383b68fdc189823f79445ddea0fceae127238 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34445 Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com> Tested-by: Ulf HANSSON <ulf.hansson@stericsson.com> Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com>
2011-10-20ux500: mcde: Remove unnecessary MCDE fbdev updateMarcus Lorentzon
The first fbdev update in board-xxx-mcde.c is not needed. Screen will be updated at first fbdev pan. ST-Ericsson ID: 365249, 361835 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I8055448e9be967530b783734473a32d579ba74fd Signed-off-by: Marcus Lorentzon <marcus.xm.lorentzon@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34120 Reviewed-by: QATOOLS Reviewed-by: Jayarami REDDY <jayarami.reddy@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
2011-10-20power: ab8500_fg: Reset Fuel Gauge when turning it offKalle Komierowski
This is to prevent the RdNconvAccuReq bit from not being auto cleared. ST-Ericsson ID: 366966 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2674790fc425bf1003c30c6ce5f2b88e5fc19b00 Signed-off-by: Kalle Komierowski <karl.komierowski@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34507 Reviewed-by: Magnus PERSSON <magnus.p.persson@stericsson.com>
2011-10-20ux500 pins: Set sleep-mode HSI GPIO configurationChris Blair
Configures the HSI GPIO pins so that they have the correct direction and level when the platform enters sleep (IOFORCE) and deep sleep (forced pin configuration). ST-Ericsson ID: 365658 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: Iab2e7af5a1928d2cbdeb8833ab7334112528ac56 Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34610 Reviewed-by: Alex MACRO <alex.macro@stericsson.com> Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2011-10-20ux500 pins: Configure HSI GPIO pins only for U9500Elena Uleia
ST-Ericsson Linux next: NA ST-Ericsson ID: 338703 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Yas Parvizian <yas.parvizian@stericsson.com> Change-Id: I42cca5d492c04090aa5d1ec1d81b5286cb8efafa Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32380 Tested-by: Christopher BLAIR <chris.blair@stericsson.com> Reviewed-by: Alex MACRO <alex.macro@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2011-10-20u5500: add correct GPIO devicesRabin Vincent
Add the correct devices which have all the platform data related to power management. ST-Ericsson ID: 361345 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I913d85ec7144e1f15e150cb365fbf1fdc54a4b97 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34637 Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-10-20dma40: move lli_load to main source fileRabin Vincent
These register writes are better placed in the main source file rather than ll.c. ST-Ericsson ID: 362972 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Change-Id: Ic96a59376f85ad9c2cb1fdb79eb1155fe7d3c19e Acked-by: Per Forlin <per.forlin@stericsson.com> Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34585 Tested-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com>
2011-10-20dma40: combine mem and slave prep_sg functionsRabin Vincent
ST-Ericsson ID: 362972 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Change-Id: I5f0b88074e4f53a34fb1edef34e94654095bbe8c Acked-by: Per Forlin <per.forlin@stericsson.com> Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34580 Tested-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com> Reviewed-by: QATOOLS
2011-10-20dma40: remove export of stedma40_memcpy_sgRabin Vincent
The dmaengine framework has the API for this now. ST-Ericsson ID: 362972 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Change-Id: I60e6df6532ec0d263bf40bb4b52f3f86d01b9989 Depends-on: I8ad8fb94eca418f889d31a37940b2d6fa09da404 Acked-by: Per Forlin <per.forlin@stericsson.com> Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34417 Tested-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com> Reviewed-by: QATOOLS
2011-10-19arm: ux500: add plldsi and dsi{0,1}clkMattias Nilsson
This patch adds the PLLDSI and the two subclocks dsi{0,1}clk to the U8500 clock tree. ST Ericsson ID: 343004, 359227 ST Ericsson FOSS-OUT ID: trivial Change-Id: I36b5a9b741da293b58ecd0bbeaf5678832104b34 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34372 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19mfd: add plldsi and dsi{0,1}clkMattias Nilsson
This patch adds PRCMU driver functions for controlling the PLLDSI and the two subclocks dsi{0,1}clk. ST Ericsson ID: 343004, 359227 ST Ericsson FOSS-OUT ID: trivial Change-Id: I6092e76cd03b934744cb9bb5fef3b043a558771d Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34371 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19arm: ux500: updated clk_set_rateMattias Nilsson
This patch updates clk_set_rate so that it only works for disabled clocks, as well as making sure that it doesn't interfere with itself at another depth of the clock tree. ST Ericsson ID: 343004, 359227 ST Ericsson FOSS-OUT ID: trivial Change-Id: I9dbf32f73e89f8f248e51b15097b50975b951a73 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32967 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19arm: ux500: add u8500 dsiescclk:sMattias Nilsson
This patch adds the DSI Escape clocks to the U8500 clock tree. ST Ericsson ID: 343004, 359227 ST Ericsson FOSS-OUT ID: trivial Change-Id: Ieead87a009fc36ccbfe91fc3e5b23ca431803925 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32966 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19mfd: add u8500 dsiescclk:sMattias Nilsson
This patch adds the PRCMU driver support for the DSI Escape clocks for U8500. ST Ericsson ID: 343004, 359227 ST Ericsson FOSS-OUT ID: trivial Change-Id: I585efecef79240c99a720fad4994ae1541463f33 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32965 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19input: gpio-keys: Disable hw on suspendJonas Aaberg
Disable hw if active when suspending if the hw can't wake the system from suspend. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ieaf2a2022b23782bc19afa152dc5e3fa5a0024ad Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32721 Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2011-10-19ARM: ux500: board-mop500-stuib: bu21013: fix warningJonas Aaberg
ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I096faf6e6faa55b875dcac24f08473fadce5378b Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33870 Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2011-10-19u8500_defconfig: Enable dynamic debugSzymon Janc
ST-Ericsson Linux next: NA ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie9b663377cef8bb62ce9cd06fcca4f13516d5959 Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34366 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19ARM: ux500: pm: Check proper return valuesJohan Rudholm
A return value from schedule_delayed_work not equal to zero does not mean failure, but the code in performance_register assumed so. ST-Ericsson ID: 357764 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: Ib8c822fdef98d721d37dcbb2fad278b7b3559610 Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34377 Reviewed-by: QATOOLS Reviewed-by: Per FORLIN <per.forlin@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19video: av8100: free irq when powerdownPer Persson
irq is requested when chip is powered up and freed when powered down. ST-Ericsson ID: 368561 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I42145787b15630a7c09a28887f76026b2b9004e0 Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34495 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
2011-10-19video: av8100: Update suspend resume methodPer Persson
Driver is updated to use dev_pm_ops suspend/resume method. ST-Ericsson ID: 368266 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ibaaeac502d30d8ee8484bce74e829f1fbe41ceed Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34494 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
2011-10-19ARM: ux500: suspend: Run suspend/resume at ARM_MAX_OPPMagnus Templing
ST-Ericsson ID: 366044 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Magnus Templing <magnus.templing@stericsson.com> Change-Id: Ic1fdefcd437b7fb1caec5af43221ed01c8a2a0b7 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34428 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19ARM: u8500: Add control for modem and ape traceJurijs Soloveckis
SD-card, mipi34 and mipi60 IFs can be configured for modem or ape trace, using u-boot cmd prompt. STM drv is controlled via kernel environment vars: Example: stm.microsd=[none|modem|ape], or stm.mipi34=[none|modem|ape], or stm.mipi60=[none|modem|ape] If trace set to ape, use stm.stm_ter=N to init STM_TER reg with decimal value N (default: N=0). ST-Ericsson ID: 349677 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie04e4c004417c4542259e3074f1fa2fd4f00ce6d Depends-On: I7bbcf263b83338d7b05413dd9dc0ac2ec4880601 Signed-off-by: Jurijs Soloveckis <jurijs.soloveckis@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34160 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19ARM: u8500: API for PRCMU_GPIOCR registerJurijs Soloveckis
The PRCMU_GPIOCR register modification within STM driver is implemented via corresponding API functions. ST-Ericsson ID: 349677 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7bbcf263b83338d7b05413dd9dc0ac2ec4880601 Depends-On: I5d3d0e069b0e8929b99fcfe9cb5e37a950caf716 Signed-off-by: Jurijs Soloveckis <jurijs.soloveckis@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33429 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19hwmon: lsm303dlh: use regulator_set_optimum_mode()Rabin Vincent
Inform the regulator framework about the current consumption, to be used with DRMS. Note that the current consumption in sleep modes is much lower, but we do not inform the regulator framework about those for now. ST-Ericsson ID: 366715 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I52b9162eead0091595b731e34ebca3bfc4d3d9be Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34436 Reviewed-by: QATOOLS Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com> Reviewed-by: Naga RADHESH Y <naga.radheshy@stericsson.com>
2011-10-19cpufreq: interactive: Fix handling of SMP where CPUs must scale in tandemTodd Poynor
The interactive governor relies on quirks of the Tegra 2 cpufreq implementation for handling SMP systems where the CPUs do not have separate rate controls. It needs to determine the maximum rate for all CPUs covered by the policy and set that speed. ST-Ericsson ID: 365995 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I1ed9fa171e5a9c45a1fa5944e3fa823eb157e81f Signed-off-by: Todd Poynor <toddpoynor@google.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34425 Tested-by: Venkata Biswanath DEVARASETTY <venkata.biswanath@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2011-10-19cw1200: Enable non power of 2 SDIO block sizeAjitpal.Singh
Enables use of non power of 2 block sizes in CW1200 driver. ST-Ericsson ID: 357764 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Change-Id: I6326319b2287c89f50cf847cbdf813d7513a8553 Signed-off-by: Ajitpal.Singh <ajitpal.singh@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32953 Reviewed-by: Bartosz MARKOWSKI <bartosz.markowski@tieto.com> Reviewed-by: QATOOLS Tested-by: Bartosz MARKOWSKI <bartosz.markowski@tieto.com>
2011-10-19input: ts-cypress reduce the delaysAvinash A
The gesture set up is done after it is checked for correct values in the operational mode. In the operational mode if there is failure it is retried 26 times which delays the bootup This fixes these issue along with the boot delay reduction ST-Ericsson ID: 364302 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I80b2dc32434b839933f5378e892ffc336e989de2 Signed-off-by: Avinash A <Avinash.a@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34418 Reviewed-by: Avinash A <avinash.a@stericsson.com> Tested-by: Avinash A <avinash.a@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-10-19U8500 shrm: Create RT workqueue for shm_audio/ac_wake_req/ca_wake_reqArun Murthy
Increase priority of workqueues to realtime in order to keep correct timing for audio messages send to modem. This patch was submitted on 2.6.35 by "cedric.izoard@stericsson.com". Now it has been ported to kernel-3.0.0 ST-Ericsson ID : ER361756 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I62e8244496cb9bc64b29b0013745d30bffb26f6b Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34050 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-10-19drivers/leds/leds-lp5521.c: change the return valueNaga Radhesh
In sscanf,execution of a %n directive does not always increment the assignment count returned, so ret value need not be 2 always. ST-Ericsson ID: 361235 ST-Ericsson Linux next: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com> Change-Id:I7fb54aba0fbbc94d6cdef67f79709c46153a81dc Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34156 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-10-19Ux500 ASoC: Add ANC functionalityKristoffer KARLSSON
This patch adds support for control of the ANC block in the ab8500 chipset. ST-Ericsson Linux next: NA ST-Ericsson ID: 325656 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Icf57820d32b218f16f13d96d195b2cba6b31f494 Signed-off-by: Kristoffer KARLSSON <kristoffer.karlsson@stericsson.com> Change-Id: Ic841ecb0ae13939c84e8d959ab3cb74986e3b72b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32988 Reviewed-by: Roger NILSSON1 <roger.xr.nilsson@stericsson.com> Reviewed-by: QATOOLS
2011-10-19video: mcde: Add support for 4_1_3 hardwareJimmy Rubin
MCDE version 4.1.3 is used in db9540 v1. ST-Ericsson ID: 362765 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I50c6d551df79f5f2b65254f3f3176520b909ccc9 Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33969 Reviewed-by: QATOOLS Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Marcus LORENTZON <marcus.xm.lorentzon@stericsson.com>
2011-10-19video: mcde: Update mcde_regs.hJimmy Rubin
Updates mcde_regs.h according to new hardware specification. No functional changes just renaming of constants. ST-Ericsson ID: 362765 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I45c4d84bf35c48cc0ea02f372451fc5ca6f89b17 Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33327 Reviewed-by: QATOOLS Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Marcus LORENTZON <marcus.xm.lorentzon@stericsson.com>
2011-10-19video: mcde: Remove hardware specifics variablesJimmy Rubin
Num_channels, num_overlays and num_dsilinks is not used anymore. ST-Ericsson ID: 362765 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I00340680e9748f6661da148cd7fa3b48d1bb37fe Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33968 Reviewed-by: QATOOLS Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Marcus LORENTZON <marcus.xm.lorentzon@stericsson.com>