aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2011-03-16PM: Add wake lock api.Arve Hjønnevåg
2011-03-15Revert "ARM: ux500: Update regulator settings"Martin Persson
With this patch it always reboots or freeze when Lauterbach is connected, until that is solved this patch will be reverted. This reverts commit b58bbc0ca8a76f079fcb9abc68b76dc55797d4d1. Conflicts: arch/arm/mach-ux500/board-mop500-regulators.c drivers/regulator/ab8500.c Change-Id: Icb4d095ddb6a1fa479265015695140fd82e13a64 Signed-off-by: Martin Persson <martin.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17697 Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com>
2011-03-15Bluetooth: Add counter for not acked HCI commandsAndrzej Kaczmarek
Adds counter for HCI commands which were sent but are not yet acked. This is to prevent race conditions in scenarios where HCI commands are sent between complete event and command status event, i.e. last sent HCI command is not accounted in credits number returned by command status event. ST-Ericsson Linux next: not tested, ER? ST-Ericsson ID: 323271 ST-Ericsson FOSS-OUT-ID: Trivial Change-Id: I74d1f31ab79ee07406858451c94273301eee6e64 Signed-off-by: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16344 Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Henrik POSSUNG <henrik.possung@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-15mfd: ab8500_gpadc: Added manual batt temp activation for AB8500 3.0Kalle Komierowski
In AB8500 3.0 the pull-up supplying the NTC must be manually activated ST-Ericsson ID: - Change-Id: I88513cff4e064db83f755676468ec0ee44c19c40 Signed-off-by: Kalle Komierowski <karl.komierowski@gmail.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17511 Tested-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com> Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Reviewed-by: Daniel WILLERUD <daniel.willerud@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@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-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-15ux500: usb: core: USB Hub support musb hostAvinash Kumar
USB Hub support musb host ST-Ericsson ID: CR 279072 Change-Id: I12097805e100371c0c201f0639e9257afd72144e Signed-off-by: Avinash Kumar <avinash.kumar@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17348 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Praveena NADAHALLY <praveen.nadahally@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-15MMC: Export function mmc_do_release_hostUlf Hansson
When using mmc_try_claim_host the corresponding release function is mmc_do_release_host, which then also must be exported. Change-Id: Ia89b631c91d0e480b7fea0884d514afafe236a44 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17525 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@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-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: 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-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-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-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-11video: hdmi/av8100: Add CEC TX error event to HDMI APIPer Persson
Update HDMI API with information of the result of a sent HDMI CEC message. An event is generated on failure. ST-Ericsson ID: ER 325292 Change-Id: Ia34601879d7db551a6ed3a0fb3bf0180dbc5de18 Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16638 Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@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-11PM: Add support for device power domainsRafael J. Wysocki
The platform bus type is often used to handle Systems-on-a-Chip (SoC) where all devices are represented by objects of type struct platform_device. In those cases the same "platform" device driver may be used with multiple different system configurations, but the actions needed to put the devices it handles into a low-power state and back into the full-power state may depend on the design of the given SoC. The driver, however, cannot possibly include all the information necessary for the power management of its device on all the systems it is used with. Moreover, the device hierarchy in its current form also is not suitable for representing this kind of information. The patch below attempts to address this problem by introducing objects of type struct dev_power_domain that can be used for representing power domains within a SoC. Every struct dev_power_domain object provides a sets of device power management callbacks that can be used to perform what's needed for device power management in addition to the operations carried out by the device's driver and subsystem. Namely, if a struct dev_power_domain object is pointed to by the pwr_domain field in a struct device, the callbacks provided by its ops member will be executed in addition to the corresponding callbacks provided by the device's subsystem and driver during all power transitions. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Tested-and-acked-by: Kevin Hilman <khilman@ti.com> ST-Ericsson Linux next: - ST-Ericsson ID: ER323382 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I1f21456339aaa75905694bf4d87912b762c9d85e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16674 Tested-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@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>
2011-03-11power: ab8500_bm: Add support for non-ab8500 chargersJohan Gardsmark
Adds support to use non-ab8500 chargers in the ab8500 charging algorithm. The charger specific functions are now stored in a "sub class" charger structure with the power_supply as a "base class". ST-Ericsson ID: WP324917 Change-Id: I3c29c6b767209d750498ecd6b8a690d9fb073109 Signed-off-by: Johan Gardsmark <johan.gardsmark@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16416 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-11l3g4200d: Adding Gyroscope supportChethan Krishna N
Adding l3g4200d gyroscope driver using SYSFS interface. This driver also supports regulator. ST Ericsson ID: CR321304 Change-Id: I4bae6adfd5bfdadb446511767a36feee3e11a1de Signed-off-by: Chethan Krishna N <chethan.krishna@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14902 Reviewed-by: Preetham Rao K <preetham.rao@stericsson.com> Tested-by: Preetham Rao K <preetham.rao@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11amba: support pm opsRabin Vincent
Support pm_ops in the AMBA bus, required to allow drivers to use runtime pm. The implementation of AMBA bus pm ops is based on the platform bus implementation. Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> ST-Ericsson Linux next: - ST-Ericsson ID: ER323382 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I6e1426734a1f6d1402fd68734677d09aafdf3a5b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16643 Tested-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-11ARM: 6662/1: amba: make amba_bustype non-staticRob Herring
Export amba_bustype struct so it can be used for things like registering bus notifiers. Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> ST-Ericsson Linux next: - ST-Ericsson ID: ER323382 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7aa5c090e4efef51cd85eafff457a65e78b64a75 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16642 Tested-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-10power: ab8500_bm: Disable charging if charger voltage too highJohan Palsson
Charging is not allowed if the charger voltage is above maximum limit ST-Ericsson ID: WP324203 Change-Id: I47351975e4b59c48a93281c4f626e805b5016617 Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16364 Reviewed-by: Johan GARDSMARK <johan.gardsmark@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-10MFD: ab8500-gpadc: New ab8500_gpadc APIDaniel Willerud
Added ab8500_gpadc_get() API, moved gpadc and calibration structs and channel enums. Clients utilizing the new API. ST-Ericsson ID: ER281133 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Daniel Willerud <daniel.willerud@stericsson.com> Change-Id: Ief442b47ed3315d62a8b887d49bf03f9b6502e3b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/16125 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-10power: ab8500_bm: Set USB input current limit on state-changeJohan Palsson
USB input current limit is set when the USB link status changes. This is needed to support ACA ST-Ericsson ID: CR281330 Change-Id: Ie0f695f0ee2754b506c220fd821dbff96d857188 Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14004 Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-10video: av8100: Avoid frame interrupts in HDMI when HWtrigPer Persson
1. When HWtrig is used, tearing interrupts should be avoided in AV8100 for power performance reasons. 2. Remove unnecessary code as these interrupts don't occur. ST-Ericsson ID: ER 323825 Change-Id: I629466aa394274d261f08e2299170c9944f5a0f2 Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/15082 Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-10SDIO: Add workaround for client with broken CMD53Stefan Nilsson XK
Adds a workaround 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. ST-Ericsson ID: AP272999 Change-Id: I9923e87d2be43e0139af6648f3add522d65ab5ad Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/15092 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-10Add modem trace driverMaxime Coquelin
ST-Ericsson ID: CR263768 Change-Id: I7772e200bde9da036f422ac55dd03795fcae6528 Signed-off-by: Maxime Coquelin <maxime.coquelin-nonst@stericsson.com> Change-Id: I7772e200bde9da036f422ac55dd03795fcae6528 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/11761 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-10video: av8100: Add regulatorPer Persson
Use regulator framework to control Vsmps2. ST-Ericsson ID: ER 323360 Change-Id: I7a29d6702ba2017a06ac29d11c44f233681e713b Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Change-Id: I7a29d6702ba2017a06ac29d11c44f233681e713b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14833 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-10power: ab8500_bm: Possibility to disable charging of unknown batteriesJohan Palsson
It is possible to disable charging of batteries that are identified as unknown. This functionality is however disabled as default ST-Ericsson ID: WP323569 Change-Id: I312ddf1e06c4157f875af8cea234a92f0c83689a Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14869 Reviewed-by: QATOOLS Reviewed-by: Johan GARDSMARK <johan.gardsmark@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2011-03-10video: mcde: Add support for setting a paletteMarcel Tunnissen
Add support for using the the palette in the pixel pipeline of channel A and B in MCDE. ST-Ericsson ID: ER319889 Linux-next: ST-Ericsson ID: ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I606a05cfc0ac7d4d84780338956f54187bfa551e Signed-off-by: Marcel Tunnissen <Marcel.Tuennissen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14600 Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
2011-03-10regulators: Added register initialization for ab8500 regulatorsBengt Jonsson
Initialization added for regulators Vana, VextSupply1, VextSupply2, VextSupply3, Vaux1, Vaux2, Vaux3, VTVout, Vintcore12, Vaudio, Vdmic, Vamic1, Vamic2, VrefDDR. Change-Id: I97ab3a880eeea28c04dca81769546fda71597994 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12974 Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-09mmci+mach-ux500: Setup signal direction indicationSebastian Rasmussen
Only enable signal direction indication from the MMCI host for the required signals in the MMC bus. Previously all signals were enabled which interfered with the integrity of the data sent over the MMC bus. Board signal routing determines what signal directions should be requested. This solves SD-card communication issues without changing the GPIO configuration. ST-Ericsson ID: ER321786 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10006 Change-Id: Ide3608a7c94e60a3b971bba7f7b6977c9eb8e391 Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14592 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-09misc: ab8500_gpadc: Use calibrated ADC values from OTPJohan Palsson
Three ADC channels are calibrated in factory and the parameters are stored in OTP. These parameters are now read and used in the GPADC driver. Also the function ab8500_gpadc_convert now returns a voltage instead of a raw AD-value ST-Ericsson ID: WP322611 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I600faf8b30122a6dd95048c1059b33623f37aeeb Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14191 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
2011-03-09USB: core: OTG Supplement Revision 2.0 updatesSakethram Bommisetti
OTG supplement revision 2.0 spec introduces Attach Detection Protocol(ADP) for detecting peripheral connection without applying power on VBUS. ADP is optional and is included in the OTG descriptor along with SRP and HNP. HNP polling is introduced for peripheral to notify its wish to become host. Host polls (GET_STATUS on DEVICE) peripheral for host_request and suspend the bus when peripheral returns host_request TRUE. The spec insists the polling frequency to be in 1-2 sec range and bus should be suspended with in 2 sec from host_request is set. a_alt_hnp_support feature is obsolete and a_hnp_support feature is limited to only legacy OTG B-device. The newly introduced bcdOTG field in the OTG descriptor is used for identifying the 2.0 compliant B-device. Signed-off-by: Pavankumar Kondeti <pkondeti@...> Change-Id: I437110def5a1c40a857bae9ffb739ee27f1e3fc9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14266 Tested-by: Sakethram BOMMISETTI <sakethram.bommisetti@stericsson.com> Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Reviewed-by: QATOOLS
2011-03-09serial: amba-pl01x: Add ST only registersJonas Aaberg
Add a few missing registers that only exists on ST's version of pl011. 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: Idbd91320457a3ce0c841914fa04159bc100b8d49 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14296 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Reviewed-by: QATOOLS
2011-03-09video: mcde: Allow more outstanding overlay requestsDan Johansson
Prevents display artifatcs by allowing MCDE to have more outstanding overlay requests. ST-Ericsson ID: ER320493 Linux-next: ST-Ericsson ID: ER282779 Change-Id: I79abced6045c86e17b002bee5fbe229dcfb7b15c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14149 Tested-by: Dan JOHANSSON <dan.johansson@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-09video: mcde: Add early_suspend supportJimmy Rubin
Disables display device during backlight off by implementing early suspend ST Ericsson ID: ER 318551 Change-Id: If3dc7ee97a03d649baca630c5ba4c8fd5ad9867e Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13346 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-09ux500: regulator: Fix compilation issue if PM set and REGULATOR_AB8500_DEBUG ↵Pierre Peiffer
unset ST-Ericsson ID: - Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: Ib2730e46dc271193349feb247f0d63493df7e848 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14067 Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-03-09video: mcde: Fix for blankingJimmy Rubin
Only perform an update if power mode is different from OFF. Changes behaviour of dss_disable_display and dss_enable_display. chnl_get and chnl_put is only performed for open and close channel. Adds chnl_enable and chnl_disable to handle blanking usecase. ST-Ericsson ID: ER 318764 Change-Id: Ib7b52b75cd9aa4318e0dff34dee97539084da745 Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/12110 Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com> Tested-by: Dan JOHANSSON <dan.johansson@stericsson.com> Reviewed-by: QATOOLS
2011-03-07USB:Adding support for OTG 1.3 and OTG 2.0 complianceSakethram Bommisetti
Added missing support for OTG 1.3 compliance for OPT and OTG 2.0 support For 2.0 added the following: HNP Polling ADP Test modes ST-Ericsson ID:WP 274506 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10054 Change-Id: I6bc94b004dd5e39f26c440a0a4bf18725b31ea12 Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13241 Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Tested-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-03-07USB: gadget: OTG supplement revision 2.0 updatesSakethram Bommisetti
Introduce otg_version field in usb_gadget struct.UDC can advertise OTG spec version compatibility by setting otg_version field appropriately. Gadget drivers fill the bcdOTG field in OTG descriptor based on UDC's OTG version. Add sysfs file for host_request and UDC returns the same when HNP polling request arrives from the host. Signed-off-by: Pavankumar Kondeti <pkondeti@...> Change-Id: Ic5ea40369159c10e524a13a2d9b1722fb3ee6921 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13421 Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Tested-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
2011-03-07USB: core: OTG Supplement Revision 2.0 updatesSakethram Bommisetti
OTG supplement revision 2.0 spec introduces Attach Detection Protocol(ADP) for detecting peripheral connection without applying power on VBUS. ADP is optional and is included in the OTG descriptor along with SRP and HNP. HNP polling is introduced for peripheral to notify its wish to become host. Host polls (GET_STATUS on DEVICE) peripheral for host_request and suspend the bus when peripheral returns host_request TRUE. The spec insists the polling frequency to be in 1-2 sec range and bus should be suspended with in 2 sec from host_request is set. a_alt_hnp_support feature is obsolete and a_hnp_support feature is limited to only legacy OTG B-device. The newly introduced bcdOTG field in the OTG descriptor is used for identifying the 2.0 compliant B-device. Signed-off-by: Pavankumar Kondeti <pkondeti@...> Change-Id: Ic94fae902b5eadbbb5eb39959d79adaeb33fa1fb Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13420 Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Tested-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
2011-03-03smsc911x: use shifted register accessAlessandro Rubini
At least one of the boards using this chip needs a shift in register access. This adds a "shift" field in the platform data to have the chip working in all cases without special ifdef. The approach is similaro to the one used in serial_8250 and other places. Performance-wise no difference is reported. ST-Ericsson ID: 326552 Signed-off-by: Alessandro Rubini <rubini@gnudd.com> Change-Id: Id9a90c9e058c477abd46d3ddc8e879f06bda144f Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17297 Tested-by: Henrik ABERG <henrik.aberg@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2011-02-18MMCI: Add support for wakeup handlerUlf Hansson
Each MMC/SD/SDIO host are now able to execute specific tasks of how to handle wakeup and shutdown. This is done by implementing this new wakeup handler function, which is called from the enable and disable function. Typically a SDIO host will need to re-configure the irq handling of the SDIO irq pin (DAT1) before going to sleep. Otherwise no SDIO irqs will be received. ST-Ericsson ID: 318396 Change-Id: Icaa2ce73e5667df2af6d7b2d36addb6fbbff73bd 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/13641 Reviewed-by: QATOOLS Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-02-18HWMEM: Add hwmem_kmap and hwmem_kunmapJohan Mossberg
Add hwmem_kmap and hwmem_kunmap to the hwmem kernel api so that hwmem buffers can be used from the kernel. ST-Ericsson ID: AP 321641 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: Ifd639eb9668d794004b0fbff91b3f403c3c335ad Signed-off-by: Johan Mossberg <johan.xx.mossbergg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13672 Reviewed-by: Johan MOSSBERG <johan.xx.mossberg@stericsson.com> Tested-by: Johan MOSSBERG <johan.xx.mossberg@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-02-11power: ab8500_bm: Support for measuring temperature on BAT_CTRLJohan Palsson
Temperature is now measured using the internal current sources in AB8500. This will enable us to measure temperature in the battery with higher precision ST-Ericsson ID: WP320571 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2ebbf60ae8a03f7a0ddd7a6dce778ee93d5559d7 Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13637 Reviewed-by: QATOOLS Reviewed-by: Johan GARDSMARK <johan.gardsmark@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-02-11mpcore_wdt: Stop watchdog of non-crashing coresPer Fransson
When kexec'ing to u-boot only the crashing core is used (and will have to be kicked by u-boot). The watchdog of other core has to be stopped before leaving linux. ST-Ericsson ID: - Change-Id: I329630fd8040f8af3e54fc51aa7187217938f0b8 Signed-off-by: Per Fransson <per.xx.fransson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13678 Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-02-11video: av8100: Update GPIO usagePer Persson
Remove HDMI gpio_altfun_table usage. Move hardcoded reset pin from av8100 to platform_data. ST-Ericsson-ID: ER 276020 Change-Id: I3d9410d477a6ccaaffe3cf74b9331bede5201c97 Signed-off-by: Per Persson <per.xb.persson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/13598 Reviewed-by: QATOOLS Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com>