summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-10-22dma40: unify d40_log_sg_to_lli funcs for mem and slaveRabin Vincent
ST-Ericsson ID: 362972 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Change-Id: Ibaa0c8dc66be8aed389f80aec866b68e5ddc6295 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/34857 Tested-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com> Reviewed-by: QABUILD
2011-10-21power: ab8500_bm: Change node name to a generic nameKalle Komierowski
A simple rename of the /sys/ab8500_fg/charge_full to /sys/battery/charge_full to make it usable on more platforms. ST-Ericsson ID: 358829 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9e2a711fb62876b44a1957ec508b087aaa1ca42c Signed-off-by: Kalle Komierowski <karl.komierowski@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34910 Reviewed-by: Peter ENDERBORG <peter.enderborg@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-21mmc: mmci: add constraints on alignment for SDIOPer Forlin
Buffers must be 4 bytes aligned due to restrictions that the PL18x FIFO accesses must be done in a 4-byte aligned manner. Enable DMA_REQCTL for SDIO to support write of not 32 bytes aligned sg element lengths. In PIO mode any buffer length can be handled as long as the buffer address is 4 byte aligned. mmc_test results for DMA mode: "Badly aligned write": Unsupported "Badly aligned read": Unsupported "Badly aligned multi-block write": Unsupported "Badly aligned multi-block read": Unsupported (not 4 byte aligned is unsupported) "4 bytes aligned sg-element length write": FAIL (PASS if DMA_REQCTL is enable) "4 bytes aligned sg-element length read": PASS "32 bytes aligned sg-element length write": PASS "32 bytes aligned sg-element length read": PASS "4 bytes aligned sg-element address write": PASS "4 bytes aligned sg-element address read": PASS "32 bytes aligned sg-element address write": PASS "32 bytes aligned sg-element address read": PASS ST-Ericsson ID: 363565 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I8e926ae1d7e1352198b27c815c46feafc42f6b61 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Signed-off-by: Per Forlin <per.forlin@stericsson.com> Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32383
2011-10-21mmc: mmci: Support MMC_PM_KEEP_POWERUlf Hansson
Add MMC_PM_KEEP_POWER to pm_caps so SDIO clients are able to use this option to prevent power off in suspend. Change-Id: I36df77e66ca8845ceeffb9d5163d4c1e77821b7d Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34918
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-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-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-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-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-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-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-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-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: 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-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-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 version handlingJimmy Rubin
Hardware version is not needed anymore, since the probe handles all specific properties that are hardware version dependant. ST-Ericsson ID: 362765 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Change-Id: I198c6af00ca1dbe39b269a4f8e17992b773a4fd5 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33323 Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Marcus LORENTZON <marcus.xm.lorentzon@stericsson.com>
2011-10-19video: mcde: Remove MCDE_1_0_4 version supportJimmy Rubin
This MCDE version is used in db5500 v1 ST-Ericsson ID: 362765 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Change-Id: Ib5a4ca054661f06bd3541021b1404f2c000010bc Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33322 Tested-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> 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 MCDE 3_0_5 version supportJimmy Rubin
This MCDE version is used in db8500 v1. ST-Ericsson ID: 362765 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie5039e8d2bb838c900f6b14c18cce097f57a393d Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33321 Reviewed-by: QATOOLS Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Marcus LORENTZON <marcus.xm.lorentzon@stericsson.com>
2011-10-19power: ab8500_bm: Increase the VBat thresholdKalle Komierowski
This is to eliminate the risk of charging with a too high current via USB. ST-Ericsson ID: 338533 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: N/A Change-Id: I8ae942c8eb1497812fbb86aa41662562a6a3ec73 Signed-off-by: Kalle Komierowski <karl.komierowski@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34263 Reviewed-by: QATOOLS Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19arm: ux500: Removing U8400 legacyDaniel Willerud
Removing U8400 legacy from PRCMU and cpufreq drivers ST-Ericsson ID: 364381 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Depends-On: Idcc4acd8ed9a319a52cfaa6c603e346cae965148 Depends-On: Id4f13fece9ad0769ae77366e62e3bad86d718b3a Change-Id: I694b5c08df05f3f09b188730141d0487b404bd45 Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33910 Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19serial/amba-pl011: prevent console port from holding regulatorRabin Vincent
Register the console in a console_initcall() to ensure that pl011_console_setup() gets called early and thus the uart_console() macro usage in pl011_power_startup() returns the correct value the first time it is called, so that the vAPE regulator is not taken for the console port. Note that this problem is seen only when the console port is line 0, since even without this patch pl011_console_setup() gets called (and thus the correct console->index is set) after the first port is added. ST-Ericsson ID: 368522 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7f4ab80e8d8be014bfdbe695ea45007212c9c4ea Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34411 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: Shreshtha Kumar SAHU <shreshthakumar.sahu@stericsson.com>
2011-10-19Android : Ux500 : USB :Resetting the endpointsSakethram Bommisetti
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>
2011-10-19drivers/leds/leds-lp5521.c: check if reset is successfulsrinidhi kasagar
make sure that the reset is successful by issuing a dummy read to R channel current register and check its default value. On some platforms, without this dummy read, any further access to {R/G/B}_EXEC will not have any impact. ST-Ericsson ID: 361235 ST-Ericsson Linux next: in -mm tree ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com> Tested-by: Naga Radhesh <naga.radheshy@stericsson.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Change-Id:I964a2602d5e9ccb7cef944fb40dc1b9c57b4f62a Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32930 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Tested-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-10-19regulators: ab5500: support get optimum modeRabin Vincent
ST-Ericsson ID: 366715 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I8c0bda623d849886860d835f744f5fd9c314b5e5 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34316 Reviewed-by: QATOOLS
2011-10-19u5500: Battery temp monitoring in manual modeRajagopala V
Add support and enable manual mode battery temperature monitoring. As gpadc bdata auto trigger is not working as expected, switch to manual mode. ST-Ericsson Linux next: NA ST-Ericsson ID: 367324 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I0f4b619bb5527730ee779838507b09f6b37efb3a Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34364 Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2011-10-18dma40: combine mem and slave sg-to-lli functionsRabin Vincent
ST-Ericsson ID: 362972 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Change-Id: I3ff1e801c557a9ba692ff87d01a01d0555627458 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/34354 Tested-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com>
2011-10-18dma40: remove duplicated dev addr codeRabin Vincent
ST-Ericsson ID: 362972 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Change-Id: If0e126c3b0705714347ab2cbde980f02f2dfb160 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/34222 Tested-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com>
2011-10-18dma40: combine duplicated d40_pool_lli_alloc() callsRabin Vincent
ST-Ericsson ID: 362972 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Change-Id: I997bdea14410be097652f6618bf1ee6e88ff2c62 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/34197 Tested-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com>
2011-10-18clocksource: fixup ux500 build problemsLinus Walleij
Based on a patch from Arnd Bergmann this fixes up the build problem of assigning a non-existing global when the ux500 PRCMU timer is not linked in by passing its base address to the init function. We also add a missing <linux/errno.h> inclusion and staticize the dummy function. Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> ST-Ericsson ID: 368260 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I87ec2eb27e157433fa12fb4eafc165a6217a869b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34327 Reviewed-by: QATOOLS Tested-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>