aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500
AgeCommit message (Collapse)Author
2011-03-15ARM: ux500: clock: Updated SDMMC clock handlingUlf Hansson
The APE OPP 50% mode requires no client to request "prcmu_request_ape_opp_100_voltage" which means 1.1 V. This APE OPP requirement is then removed from SDMMC clock handling. Due to that the voltage is decreased the SDMMC clock rate must also be decreased from 100 MHz to 50 MHz. ST-Ericsson ID: 326602 Change-Id: Ie3fe11d6d031b0ba3d9eff0e698ece099490afe0 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/17400 Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com> Tested-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
2011-03-15ARM: ux500: Decrease performance limit of eMMC/SDUlf Hansson
To be able to fully support APE OPP 50% without any impact on the power consumtion, all the SDI controller configurations must be limited. The SDMMC MCLK frequency is fixed to 50 MHz and the voltage level is set to 0.95V. - DDR support requires 100 MHz MCLK and 1.1 V, thus right now not possible to support. - 50 MHz is only possible if clock by-pass mode is working. 1. For eMMC-POP (sdi2) and for eMMC-PCB (sdi4) this is verified. 2. For SD cards (sdi0) this is verified. 3. For sdi1 (WLAN/SDIO) the connected cw1200 chip only support 25MHz, which means the clock by-pass mode will not be used anyway. This patch will affect MMC performance in a negative way. ST-Ericsson ID: ER326602 Change-Id: Ia1ea1d57f96e51ef4460ed86b28992b0cb61b9b2 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/17399 Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com> Tested-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
2011-03-15mach-ux500: Extend disable timeout for SD/eMMCSebastian Rasmussen
To avoid unnecessarily disabling and re-enabling the PL180 eMMC controller during boot phase the disable timeout is increased to 5 seconds. To avoid the same type of re-enabling for external SD-cards its disable timeout is changed accordingly. Change-Id: I9e6f0c6bf7d8d9673efabc908a7367ccb5590f8f Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17654 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
2011-03-15ux500: Provide System Trace Module driverPierre Peiffer
It provides the driver to access and configure the System Trace Module (also known as XTI) hardware ST-Ericsson ID: 283174, 276183 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: Ief4f4970db7011b4b5087a568d175fcab94c2bc4 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14699 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15u8500: DB8500 Thermal Sensor DriverWenHai Fang
Add thermal sensor driver for db8500 ST-Ericsson ID: CR267428 Change-Id: I6c1baaf0427fc4ed4f6308613d54cadede58f823 Signed-off-by: WenHai Fang <wenhai.h.fang@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17116 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15power: ab8500_bm: Adding const to battery related structKalle Komierowski
Write protecting some of the structs used by the AB8500 battery manager. Change-Id: I248caab3204eb914eda6bd1c3a85a46f4157bea7 Signed-off-by: Kalle Komierowski <karl.komierowski@gmail.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17447 Reviewed-by: QATOOLS Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Tested-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com> Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
2011-03-15ARM: mach-ux500: Add PRCMU hotdog/hotmon configuration.Mattias Nilsson
This patch adds functions for configuring the thermal sensor functionality in the PRCMU FW. ST Ericsson ID: 323515 ST Ericsson Linux next: 318371 ST Ericsson FOSS-OUT ID: Trivial Change-Id: Icb5047ec8603b26a0da0dc9a91261caa12a17530 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17114 Reviewed-by: Wenhai FANG <wenhai.h.fang@stericsson.com> Tested-by: Wenhai FANG <wenhai.h.fang@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15power: ab8500_bm: Added hysteresis to the temperature limitsKalle Komierowski
A small hysteresis has been added when going from a too high/low temperature to less critical level ST-Ericsson ID: - Change-Id: I622b856dd14b9027ed8172f1e129980fd71b8f1d Signed-off-by: Kalle Komierowski <karl.komierowski@gmail.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17344 Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Tested-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15i2c-nomadik: Change the TX and RX ThresholdVirupax Sadashivpetimath
1) Increase RX FIFO threshold so that there is a reduction in the number of interrupts handled to complete a transaction. 2) Fill TX FIFO in the write function. ST-Ericsson ID: ER 326383 Change-Id: Ib75946bed8fdb3f81dfa0e2ffeb29d6ba0be36bb Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17473 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15i2c-nomadik: Add code to retry on timeout failureVirupax Sadashivpetimath
It is seen that i2c-nomadik controller randomly stops generating the interrupts leading to a i2c timeout. As a workaround to this problem add retries, to the on going transfer on failure. Since this behaviour does not get changed with a wait for longer duration, the timeout can be reduced to a lower value, leading to a quicker retry attempt. ST-Ericsson ID: ER 325661 Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Change-Id: Ic9db2b15ff5ce7e656cbbdfeb19270da9e32f9d1 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16972 Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15prcmu: Fixed error in SPI2 configurationDaniel Willerud
Added base offset to register addresses ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I58717d4d17f98fc9006b74c114f21eecaaf630c8 Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17464 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15ARM: ux500: Vsmps1 to 1.15vMartin Persson
ST-Ericsson Linux next: - ST-Ericsson ID: - Change-Id: I6b97c355d66a836b9f2465c289588c4741516720 Signed-off-by: Alexandre Torgue <alexandre.torgue@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16960 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Etienne CARRIERE <etienne.carriere@stericsson.com> Reviewed-by: Emeric VIGIER <emeric.vigier@stericsson.com> Tested-by: Emeric VIGIER <emeric.vigier@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15ux500:prcmu: Add API for resetting modemSebastien RAULT
Adds API for resetting the modem via prcmu-fw. Compatible with 8500B0_v2.1.0 PRCMU Fw ST-Ericsson ID: CR258978 Change-Id: I452c169300c9258cd680333382e194fd4c5ba10b Reviewed-by: Sebastien RAULT <sebastien.rault@stericsson.com> Tested-by: Sebastien RAULT <sebastien.rault@stericsson.com> Signed-off-by: Maxime COQUELIN <maxime.coquelin-nonst@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17351 Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com>
2011-03-15u8500:shrm: Update Netlink value for MSRKumar Sanghvi
Updates the Netlink value for MSR by using one from next available un-used values. ST-Ericsson ID: CR258978 Change-Id: I626e3f8b406542e02d8b5df97497f49f037edec3 Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17393 Tested-by: Leelavathi PUTTASWAMY <leelavathi.puttaswamy@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15U8500: Fix bug for AB8500 gpio driver initializationBibek Basu
The AB8500 driver is inited too late. Trying to use a fixed regulator with a GPIO pin fails as the fixed regulator driver also inits at level subsys. This is solved by changing the MFD device of AB8500 and the AB8500 GPIO driver to init at arch level. Normally gpio drivers are inited at core level (even higher). ST-Ericsson ID: ER 325855 Change-Id: Iae015211cfc00ab2704fe4532a111aa7a1e9dd50 Signed-off-by: Bibek Basu <bibek.basu@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16910 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Joakim AXELSSON <joakim.axelsson@stericsson.com>
2011-03-15ARM: ux500: mach Kconfig clean-upMaxime Coquelin
Remove U5500_MLOADER_HELPER Kconfig entry ST-Ericsson ID: 258978 Signed-off-by: Maxime Coquelin <maxime.coquelin-nonst@stericsson.com> Change-Id: I88ba890bc9f869a3e87de6512262fffa4c2300d6 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17482 Reviewed-by: Julius GUSTAVSSON <julius.gustavsson@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15ARM: ux500: Add function to release the USB wakeup stateMattias Nilsson
This patch adds a function to ask the PRCMU FW to release the power state requirements related to a USB wakeup. This is necessary for having full support for the new APE OPP implementation. Change-Id: I7cd837c4c259e642132ff1324616be114b1889fc Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17159 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15ux500:USB:Fix for Deep Sleep from USB sideSakethram Bommisetti
During restoring of musb context ,musb clock is disabled (peripheral clock).Enabling and disabling of peripheral clock correctly. ST-EricssonID : ER 326730 Change-Id: I55b4b14bfc5e76b618d045eaad756d49f1cf6a1a Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17505 Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15ARM: ux500: Reimplement the MTU clocks.Mattias Nilsson
- Reimplementation of the MTU clocks to always run on 2.4 MHz (TIMCLK). - Cleanup of the CLKOUT defines. Change-Id: I8968516bb04ff02aad3688e9e7fbb3e4bd58a039 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16837 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Tested-by: Mattias WALLIN <mattias.wallin@stericsson.com>
2011-03-15uart:BT works after suspend and resumeNaveen Kumar Gaddipati
During suspend uart.0 seem to handle it's irq incorrectly. BT works after suspend and resume.This has been fixed by store and restoring only the enabled uart ports and console port register values. ST-Ericsson Id: ER 326768 Change-Id: Id5a12e69e92f7992c250e00bb7c8d857f99eb6c9 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17484 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Martin PERSSON <martin.persson@stericsson.com>
2011-03-15ARM: ux500: mloader driverSebastien RAULT
Modem FW upload & download driver. Silent-reboot feature. Remove mloader_helper, as db5500 should use the new mloader implementation. ST-Ericsson ID: 258978 Change-Id: I3f9b0ff1792ac47d6ff431b60ddb929f57b961db Signed-off-by: Ludovic Barre <ludovic.barre@stericsson.com> Signed-off-by: Maxime Coquelin <maxime.coquelin-nonst@stericsson.com> Reviewed-by: Sebastien RAULT <sebastien.rault@stericsson.com> Tested-by: Sebastien RAULT <sebastien.rault@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11747 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-15mop500: remove UART1 pinsRabin Vincent
UART1 is not used. ST-Ericsson Linux next: - ST-Ericsson ID: ER323382 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iaf88a3bac053719426543526f75eac7ae54f6838 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17377 Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-15ARM: ux500: PRCMU driver modifications for FW V3.0.0Mattias Nilsson
ST Ericsson ID: 316281 Depends-On: I57ea2c2c68a7f02ece8c588a4d419d1a022db78e Change-Id: I57ea2c2c68a7f02ece8c588a4d419d1a022db78e Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17469 Reviewed-by: Par-Olof HAKANSSON <par-olof.hakansson@stericsson.com> Tested-by: Par-Olof HAKANSSON <par-olof.hakansson@stericsson.com>
2011-03-15ARM: ux500: suspend: Enter ApIdle, if DeepSleep + Sleep is offJonas Aaberg
ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Change-Id: I2029d1600548fc1650d9c223ace29d57e76e18a9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17337 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com>
2011-03-11u8500: vibrator: basic support for HREFP_20_V71Shreshtha Kumar Sahu
Basic support for vibrators in HREFP_20_V71 board which has linear vibrator AAC ELV1411A. This will be sufficient for haptic feedback purpose. This patch enables the support for small (<50ms) vibration, and not for longer vibration periods. ST-Ericsson ID: ER322597 Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com> Change-Id: I084a0d3a5a663f3e28076175399787e1b0876d62 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17264 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11ARM: ux500: Update settings for VpllEmeric Vigier
Set VPll in HW ctrl by SysclkReq1 with HP/LP mode Change-Id: I852ec045b895a3c4531b90f7f9343cbb6a125d6a Signed-off-by: David Paris <david.paris-nonst@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16959 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Tested-by: Martin PERSSON <martin.persson@stericsson.com>
2011-03-11ARM: ux500: Update regulator settingsEmeric Vigier
Disable bodybiasing, change Vsmpsext4, Vaux1 and Vpll configs Change-Id: I17defafcf8813b483e80d4db1aac7ce26b868d5a Signed-off-by: Alexandre Torgue <alexandre.torgue@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16958 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Tested-by: Martin PERSSON <martin.persson@stericsson.com>
2011-03-11mach-ux500: cpuidle: New ApSleep exit latency valueRickard Andersson
The exit latency value for the sleep state ApSleep was too low. The new value is 800 us and the old value was 200 us. ST-Ericsson ID: - Change-Id: Iec5cb022f3e8f4617ad6f32ad51e7bbcc7d00b52 Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17158 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-11power: ab8500_bm: Charge current maximizationKalle Komierowski
Charger current is now maximized to compensate for the system load while charging. This will increase the amount of current that actually goes into the battery. Change-Id: I9e6a1c62758ede495b2f0dddd68e46131591233d Signed-off-by: Kalle Komierowski <karl.komierowski@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16774 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-11mop500: remove SSP0 pinsRabin Vincent
SSP0 is not used. ST-Ericsson Linux next: - ST-Ericsson ID: ER323382 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2afacc66b78a1bda71164d08cf6829dcfae886ae Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17087 Tested-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-11video: mcde: Enable support for 32bpp framebufferDan Johansson
This patch enables support for 32bpp framebuffer. The color depth is configured in menuconfig (System Type -> Display selection -> Color depth). Color depth defaults to 16 bpp. ST-Ericsson ID: ER323026 Linux-next: ST-Ericsson ID: ER282779 Change-Id: Ib5efd01afed81f89011afe311fe8b83ba02dcfdf Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16946 Tested-by: Dan JOHANSSON <dan.johansson@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: Per-Daniel OLSSON <per-daniel.olsson@stericsson.com> Tested-by: Per-Daniel OLSSON <per-daniel.olsson@stericsson.com> Reviewed-by: Robert FEKETE <robert.fekete@stericsson.com>
2011-03-11ux500:USB:Fix for CPU idle in usbSakethram Bommisetti
USB register context is lost when the regulators are disabled as part of cpu idle.So saving the register context after initialization and restoring it back when usb cable is connected. ST-Ericsson ID: ER 325213 Change-Id: I2fdd0bf33c23844b3d42bd1856ae879e8529f087 Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17068 Reviewed-by: QATOOLS Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-11ARM: ux500: Correct authors in uart-db8500Jonas Aaberg
Correct uart-db8500.c author's list. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Change-Id: I8bda958788c360b81d7049a8cea65b7381fa4fd0 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17075 Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com> Reviewed-by: QATOOLS
2011-03-11ux500: only mux SKE pins on SKE initRabin Vincent
So that the pins are not set to alternate function when SKE is not used, for power saving. ST-Ericsson Linux next: - ST-Ericsson ID: ER323382 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I08418079ace063498ca912a55a48334ecc0606d0 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17070 Tested-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11ux500: use dev_power_domain to implement runtime pmRabin Vincent
Use the new dev_power_domain support to implement runtime pm. This also AMBA drivers to gain runtime pm support without any further modifications in the AMBA bus. ST-Ericsson Linux next: - ST-Ericsson ID: ER323382 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic79287584cc08a370c52bf9289375afbefd38b18 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16998 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11ux500:prcmu: Add API for resetting modemSebastien RAULT
Adds API for resetting the modem via prcmu-fw ST-Ericsson ID: CR258978 Change-Id: Ia67828a284324025aba69e9ed9e56f5b8741508e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17018 Reviewed-by: Kumar A SANGHVI <kumar.sanghvi@stericsson.com> Tested-by: Kumar A SANGHVI <kumar.sanghvi@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-11u8500_shrm: Unblock clients of char device on Modem Silent RebootKumar Sanghvi
Unblocks shrm_char clients waiting on read/select, on detecting Modem Silent Reboot ST-Ericsson ID: CR258978 Change-Id: I2e44bd8e0b54dce36930faa78d3308340350e3dd Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/9395 Reviewed-by: Christophe GUIBOUT <christophe.guibout@stericsson.com> Tested-by: Christophe GUIBOUT <christophe.guibout@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13225 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-11prcmu: Added support for SPI2Daniel Willerud
SPI2 configured by selecting OtherAlternateC1 in GPIO mux. SPI2_SELECT must be set in PRCMU_GPIOCR register to enable SPI2. ST-Ericsson ID: ER276027 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com> Change-Id: I14c6286708483a0d7233bf0e23e98a753bbe788e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16714 Reviewed-by: Daniel WILLERUD <daniel.willerud@stericsson.com> Tested-by: Daniel WILLERUD <daniel.willerud@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-11Revert "regulators: Removed dependency from some switches to vape"Bengt Jonsson
This reverts commit b073dbc4113c241ef63f3d6cc0007524169c1c86. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I6cb84f1ed0fcc4f2a4c3bece0be6e961b6d9f745 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16950 Reviewed-by: Mikael VATAU <mikael.vatau@stericsson.com> Tested-by: Mikael VATAU <mikael.vatau@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
2011-03-11ARM: ux500: sgaclk again runs on 320MHz on ARM OPP MAX HWMattias Nilsson
Change the reported rate of sgaclk back to 320MHz for hardware that supports ARM OPP MAX. ST Ericsson ID: 325049 ST Ericsson Linux next: 318371 ST Ericsson FOSS-OUT ID: Trivial Change-Id: I77c3323e2df62d899cea19101382adcb1cf43a64 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Change-Id: I3b38e15b96d7077ae0734bd3a98a56fa88948d88 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16964
2011-03-11mach-ux500: add context notifier for uartArun Murthy
In save/restore uart registers, clk is to be enabled for accessing the uart registers. ST-Ericsson ID: ER325316 Change-Id: I2f55ee719fdb805725a0effe84c3dd23d432b125 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16745 Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11ARM: u8500: Increase HDMI startup delayPer Persson
HDMI chip needs sysclk2, but this clock will not be generated until some time after the driver is probed. ST-Ericsson ID: ER 325595 Change-Id: Ib85796f1200986750e8522e1e6b63bbe44fcb48b Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16769 Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11ux500: Move home-made debug-leveling to audioJonas Aaberg
Since audio is the only one using this, let's put it among the audio stuff. ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Change-Id: I2b0024fb028369453610e27dc07b89631a789d21 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16848 Tested-by: Rishi KHARE <rishi.khare@stericsson.com> Reviewed-by: Deepak KARDA <deepak.karda@stericsson.com>
2011-03-11power: ab8500_bm: Support for disabling VBAT overshoot controlJohan Palsson
In AB8500 there is a feature called VBAT overshoot control. This will limit the charger current in the CV phase to avoid overshoot on the VBAT line. This patch will allow you to disable this feature and use real CV charging. Overshoot will be disabled with this patch to give the best charging performance ST-Ericsson Linux next: Not tested ST-Ericsson ID: WP 325782 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I9c14a5d9df7f8aa3bf8414c506a2fa0104c5ea61 Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16847 Tested-by: Rishi KHARE <rishi.khare@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11power: ab8500_bm: Add support to configure EOC voltage deltaJohan Gardsmark
Add support to configure the EOC (end-of-charge) termination voltage delta. The delta is no longer defined internally in the the driver as a fixed 50mV. EOC criteria is instead mapping directly to what is specified by the termination_vol configuration parameter. ST-Ericsson ID: WP 324516 Change-Id: Ib6dea5efee24cacd62645b9b6e565c78728410f7 Signed-off-by: Johan Gardsmark <johan.gardsmark@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16272 Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Tested-by: Johan PALSSON <johan.palsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-11power: ab8500_bm: Disable capacity calculation if battery is unknownJohan Palsson
When a battery is identified as unknown, capacity calculation is impossible and therefore disabled if charging of unknown batteries is disabled. ST-Ericsson Linux next: Not tested ST-Ericsson ID: WP 325720 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I1907ae5b3964a162bb36435f86eb06fdc4690401 Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16820 Reviewed-by: Johan GARDSMARK <johan.gardsmark@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11pm poweroff moved from platform to sysctrlMattias Wallin
This patch moves the machine pm power off hook from the machine code to the ab8500-sysctrl driver. ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: - Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Change-Id: Ic49bccfaab7bd1dcaf83974401bdc0aae573e7e1 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14174 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-11mach-ux500: pm: add delay between LCRH_TX, LCRH_RX writeArun Murthy
10PCLK of delay is required between the LCRH_TX and LCRH_RX write operation as specified in the datasheet. ST-Ericsson ID: ER325316 Change-Id: Id67b584ce6bbb1ea3dae77e9d3344d4d4f1ccaaf Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16744 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11ux500: mcde: remove use of stm_gpio_* APIsRabin Vincent
ST-Ericsson Linux next: - ST-Ericsson ID: ER276020 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I8a92de8bc81c9df9d9886dfcc8730624ebea491a Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16328 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11ARM: ux500: Move board specific bm parametersJohan Gardsmark
This patch moves the board specific charger and battery parameters to a separate file. Also, some parameter names are corrected and simplified. ST-Ericsson ID: WP325165 Change-Id: I90aedb1b623f85f1c877afbe44aa8c802f5fd640 Signed-off-by: Johan Gardsmark <johan.gardsmark@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16609 Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>