summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-09-19mach-ux500: Reset SD card detect pin to pull-upSebastian Rasmussen
Configure SD card detection GPIO pin for HREF v60 and later to be pull-up, otherwise it will stay at its default pull-down setting and prevent detection of inserted SD-cards. ST-Ericsson ID: 332921 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Sebastian Rasmussen <sebastian.rasmussen@stericsson.com> Change-Id: I2010b6bedc7b2b9ed6384b2750d9c202867b8d52 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19730 Reviewed-by: Stefan NILSSON9 <stefan.xk.nilsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19ASoC: cg29xx: The driver will not start a BTSCO stream.roger nilsson
If BTSCO is routed the driver will rely on the BT stack to setup the chip. Change-Id: Iea547d291c38d7a0784bbbd337d6095722c9ecfb Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19628 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com>
2011-09-19rtc-ab: add missing castsRabin Vincent
Only the << 24 one is strictly required, but let's just be explicit about all of them. ST-Ericsson Linux next: - ST-Ericsson ID: WP332221 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ib8ae749d6ad21c12160fb4af62b79c347bf1dc75 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19672 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19Ux500 ASoC: The MSP DAI driver now implements set_sysclk.Philippe Langlais
The cg2900 machine driver does now set the sysclk frequency that drives the MSP. The bitclock will now be correct when the MSP is master. Change-Id: I1134d00cf4b5600997b683977076815fd864ca04 Signed-off-by: roger nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19615 Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Conflicts: sound/soc/ux500/ux500_msp_dai.h
2011-09-19ARM: ux500: prcmu-qos-debug: Fix warningJonas Aaberg
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: Ie2a2d3fc6d6be17fb4a5b155a450b39bb3911a42 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19583
2011-09-19ux500: cpuidle_dbg: fix memory corruptionRabin Vincent
ux500_ci_dbg_log() corrupts memory because the sh->state is improperly initialized, and thus memory beyond the allocated sh->time buffer is modified for the first time after boot or a stats reset. Fix it. ST-Ericsson Linux next: - ST-Ericsson ID: ER330431 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ia1c0aa0f0d2eb211d92fe89372a844cf8d1880da Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19554 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19rtc: add AB5500 RTC driverRabin Vincent
Add a driver for the RTC block on the AB5500. The AB5500 RTC has similarities with both the AB8500 and the AB3100, so this driver is made generic in order to replace the other two drivers by adding some variant specific information. ST-Ericsson Linux next: - ST-Ericsson ID: WP332221 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I35c7ee245ea68e435c800151dbb8f6e10c7abe5d Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19331 Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com> Reviewed-by: Bibek BASU <bibek.basu@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-09-19regulator Added regulator for sysclkreq and connected BT and WLANPhilippe Langlais
ST-Ericsson Linux next: - ST-Ericsson ID: ER 324615 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I616eda9d8e292c05dd8094d8085f5b488ee90396 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19533 Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Yvan FILLION <yvan.fillion@stericsson.com> Tested-by: Yvan FILLION <yvan.fillion@stericsson.com> Reviewed-by: Henrik CARLING <henrik.carling@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500-regulators.c arch/arm/mach-ux500/board-mop500.c arch/arm/mach-ux500/virt-regulator-u8500.c drivers/regulator/ab8500.c include/linux/mfd/ab8500/ab8500-gpio.h Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2011-09-19input: misc: ab8500-accdet: Power optimisation fix.Srikanth Shivanand
The detection of the accessory is made independent of GPIO35. The GPIO is used only after detection. This saves power. ST-Ericsson ID: ER 330343 Change-Id: Ifbf0028777d242a09067eb560f4476d5522e9074 Signed-off-by: Srikanth Shivanand <srikanth.shivanand@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19312 Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Tested-by: Martin PERSSON <martin.persson@stericsson.com>
2011-09-19ARM: ux500: Make it possible to force DDR and APE OPPPer Fransson
Forces the OPPs to the values written, regardless of the QoS requirements. echo 25 > /debugfs/prcmu/ddr_opp echo 50 > /debugfs/prcmu/ddr_opp echo 100 > /debugfs/prcmu/ddr_opp echo 50 > /debugfs/prcmu/ape_opp echo 100 > /debugfs/prcmu/ape_opp ST-Ericsson ID: CR 323730 Change-Id: I5fd18e254f3da5342a17cd207b0ee94da0a8cc28 Signed-off-by: Per Fransson <per.xx.fransson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18702 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com>
2011-09-19ARM: ux500: Make it possible to turn off the cpufreq->QoS callbackPer Fransson
echo 0 > /debugfs/prcmu/opp_cpufreq_delay ST-Ericsson ID: CR 323730 Change-Id: I9d8509554e69b1ec3efe08dd8de478dd3a3b5c2e Signed-off-by: Per Fransson <per.xx.fransson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18701 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com>
2011-09-19ux500 MSP: Set SLPM for GPIO pins used by MSP1Tobias Johansson
This is needed when playing audio with auto idle enabled in CM in the low power audio use case. ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I13ee24c548c82f639c9bad82fd06a2850b23e85b Signed-off-by: Tobias Johansson <tobias.johansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19313 Reviewed-by: Deepak KARDA <deepak.karda@stericsson.com> Reviewed-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19ARM: ux500: Change Vsmps3 idle voltage to 1.0 VBengt Jonsson
Change-Id: I4d291b45f3f0ef50a6c69e7889e09729cf1fd236 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19319 Reviewed-by: Yvan FILLION <yvan.fillion@stericsson.com> Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Tested-by: Martin PERSSON <martin.persson@stericsson.com>
2011-09-19board-mop500-pins: Configure Flash GPIOs pinsPhilippe Langlais
Configure the GPIO pins connected to Xenon Flash correctly. ST-Ericsson ID: ER 329589 Change-Id: I08a9c72dfc207e115b10e9a03e7e5429a98f08f6 Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19330 Tested-by: Rajat VERMA <rajat.verma@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500-pins.c
2011-09-19mach-ux500: Enable DMA for sdi1Philippe Langlais
ST-Ericsson ID: 329007 Change-Id: I608e1acad5f6fbb46f6d1ef6bede8e58bd57c362 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19462 Conflicts: arch/arm/mach-ux500/board-mop500-sdi.c
2011-09-19ARM: ux500: Configure SysClkReq3 and 5 as GPIOPhilippe Langlais
Unused SysClkReq pins should be configured as GPIO pins to avoid current overconsumption. SysClkReq2, 4 and 6 are used. SysClkReq7 and 8 are already configured as GPIO pins so this patch adds SysClkReq3 and 5 as GPIO pins. ST-Ericsson Linux next: - ST-Ericsson ID: ER 324615 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3b989b58f55958a54da9f8219e8b361a5ae73e08 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19359 Reviewed-by: David PARIS <david.paris-nonst@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500.c
2011-09-19Ux500 ASoC: Naming alignments and __devinit and __devexit fix.Philippe Langlais
Alignments of function names and filenames inside the Ux500 ASoC-driver. Fix to have __devinit and __devexit without section mismatch warnings. Change-Id: I367a18b846b54dbcea3fe8fc642779cdf4090278 Signed-off-by: Ola Lilja <elilola@steludxu2785.(none)> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19303 Tested-by: Ola LILJA2 <ola.o.lilja@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: sound/soc/codecs/Makefile sound/soc/codecs/ab8500_audio.c
2011-09-19ux500: sw reset: Save SW Reset Reason before resetPhilippe Langlais
Converts the reboot reason string received in SYSCALL_DEFINE4 in sys.c into a 2 bytes reset reason code. This 16 bit value is stored in the TCDM Memory at location: tcdm_base + 0xFF8. The string to code mapping structure has been added in file reboot_reasons.h and reboot_reasons.c. The code for translation has been placed in cpu.c. ST-Ericsson Linux next: Tested and reviewed with 2011-03-28 ST-Ericsson ID: 327863 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I5fe83b824c6dbe3f61a3d77671ce845e6f81d87b Signed-off-by: rickard evertsson <rickard.evertsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19174 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Conflicts: arch/arm/mach-ux500/Makefile arch/arm/mach-ux500/cpu.c
2011-09-19ab5500: fixes and basic irq supportPhilippe Langlais
- Remove old kernel version compat code - Make some functions static - Move to irq chip bus lock - Fix broken irq handler registration - Fix interrupt count - Use direct interrupt instead of via unimplemented PRCMU - Add RTC interrupts - Fix RTC register list - Allow get_page to read more than 4 registers ST-Ericsson Linux next: - ST-Ericsson ID: WP257121 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I590f46f1c8f83bbcb159d743a52bb4b7628c7d50 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18936 Reviewed-by: Bibek BASU <bibek.basu@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Conflicts: arch/arm/mach-ux500/board-u5500.c drivers/mfd/ab5500-core.c
2011-09-19ux500: Remove internal pullup on all i2c linesMagnus Templing
Saves a few uA for each i2c line in case the line is driven low. ST-Ericsson Linux next: - ST-Ericsson ID: 329853 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Magnus Templing <magnus.templing@stericsson.com> Change-Id: I8ac4545ddb91c3198c4c37fbabdd0641cb9bc066 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19192 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: David PARIS <david.paris-nonst@stericsson.com> Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-09-19video: B2R2: Remove bluish tone when using yuv422iMaciej Socha
Correction of format checked for in bool is_yvu_fmt. This restores a previous correction (ER328908) that was accidentally removed. ST-Ericsson ID: ER 332631 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: Iaa34da64d8b01463912cf4a694ea1747c76e2f35 Signed-off-by: Maciej Socha <maciej.socha@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19289 Reviewed-by: Robert FEKETE <robert.fekete@stericsson.com>
2011-09-19u8500: shrm: Misc updates and optimisationKumar Sanghvi
This patch does following: 1. Protects reset of char queues to prevent a potential kernel crash if MSR is run in rapid succession continuously without allowing the user-space to settle. 2. Removes un-needed memcpy from tx/rx path in shrm net interface. 3. Eliminates use of ph_recv_buf in rx path. 3. Fixes compiler warning in net interface. 4. Updates the protection of writes to shrm fifo. ST-Ericsson ID: ER326117 Change-Id: I6aac23e20a20efc1f9b8a620db455f53e067f9bd Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19226 Reviewed-by: Hemant-vilas RAMDASI <hemant.ramdasi@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-09-19ARM: ux500: Vsmps3 controlled by SysClkReq1Bengt Jonsson
Vsmps3 is put in HW control by SysClkReq1 at init. The corresponding settings in suspend-force are removed. ST-Ericsson Linux next: - ST-Ericsson ID: ER326467 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I4d20ed770fe931919f5bd0bf68d53cb69a19bf89 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18985
2011-09-19mach-ux500: Deep sleep with ESRAM0 off in suspendPhilippe Langlais
This patch makes sure that ESRAM0 is turned off when going to deep sleep in suspend. This patch needs updated ISSW. ST-Ericsson Linux next: - ST-Ericsson ID: 326790 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic88a7dc04b64e8861901926d6d2b58187805167b Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18935 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: arch/arm/mach-ux500/include/mach/prcmu-fw-api.h arch/arm/mach-ux500/prcmu-db8500.c
2011-09-19video: mcde: Enable esram34 only if neededJimmy Rubin
The esram34 epod is only enabled when MCDE is used for rotation. ST-Ericsson Linux Next: - ST-Ericsson ID: AP 329602 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I8cf82fb5305b51c8dd27622689ae616eb834aa42 Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18986 Reviewed-by: David PARIS <david.paris-nonst@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
2011-09-19video: mcde: Request dsi/dpi clocks only if neededPhilippe Langlais
DSI clocks (HDMICLK, TVCLK) and regulator VANA should only be requested if a channel uses DSI as formatter. DPI Clock (LCDCLK) is only requested if DPI is used as formatter. ST-Ericsson Linux next: - ST-Ericsson ID: AP 329602 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2e9a63ef58d3f11f7e2c47dbd86bf1fbbec3b71e Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18030 Reviewed-by: QATOOLS Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Conflicts: arch/arm/mach-ux500/devices-db5500.c arch/arm/mach-ux500/devices-db8500.c arch/arm/mach-ux500/include/mach/prcmu-fw-api.h arch/arm/mach-ux500/prcmu-db5500.c
2011-09-19ARM: ux500: regulator: make aware of ESRAM12/34 is onJonas Aaberg
Make the regulator system aware that ESRAM12 and ESRAM34 epod's are on at boot. ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: ER327257 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Change-Id: I33340a755d1851efad7e8a25377df6649ae930e9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18980 Reviewed-by: QATOOLS Reviewed-by: David PARIS <david.paris-nonst@stericsson.com> Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2011-09-19video: B2R2: Add support for YVU420/2_PACKED_(SEMI)_PLANAR.Maciej Socha
The new formats differ from their YUV counterparts only by the order of chroma samples. In YVU formats red chroma (V-component) comes before blue, whereas in YUV formats it is the other way around. ST-Ericsson ID: ER 325111 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: Ib7b2eb8bf36623a88fca87e34aacdff77c0df030 Signed-off-by: Maciej Socha <maciej.socha@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18952 Reviewed-by: Robert LIND <robert.lind@stericsson.com> Reviewed-by: Magnus SMITH <magnus.xm.smith@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Robert FEKETE <robert.fekete@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19ux500: Fix CONFIG_AB8500_BATTERY_THERM_ON_BATCTRL configurationPhilippe Langlais
Remove the temporary AB8500_BATTERY_THERM_ON_BATCTRL flag and use CONFIG_AB8500_BATTERY_THERM_ON_BATCTRL instead ST-Ericsson Linux next: - ST-Ericsson Change-ID: ER330310 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ib4328deaa4fafe887f9082fc8a1e8e0c618e0d61 Signed-off-by: Mikael HEDEN <mikael.xx.heden@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19014 Reviewed-by: Johan PALSSON <johan.palsson@stericsson.com> Reviewed-by: Johan GARDSMARK <johan.gardsmark@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: arch/arm/mach-ux500/Makefile
2011-09-19HWMEM: Reset ref count in clean_allocJohan Mossberg
When hwmem_alloc fails to alloc virtual memory for the kernel mapping it will call clean_alloc with a non-zero ref count. If the ref count is not reset in that case we will leak HWMEM memory. ST-Ericsson ID: 330377 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: I4c203bbd090a119d1e99cc7d294e827ab8a6e9e7 Signed-off-by: Johan Mossberg <johan.xx.mossberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18942 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19ARM: ux500: timer-mtu: Only use mtu block 0Jonas Aaberg
Use two timers on one block instead of one on each block. Then we don't have to clock both blocks. ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: ER326630 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic921d5e7feb341d4b204449b28024f7630aa1f14 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18789 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Tested-by: Mattias WALLIN <mattias.wallin@stericsson.com>
2011-09-19power: ab8500_charger: Keep VDD ADC supply enabled if charger is connectedPhilippe Langlais
Due to a bug in AB8500, BTEMP_HIGH/LOW interrupts will be triggered everytime we enable the VDD ADC supply. This will turn off charging for a short while. It will be avoided by having the regulator on when there is a charger connected. ST-Ericsson Linux next: - ST-Ericsson ID: ER329557 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2a084945430f1e0a996526a194d898db13c54a29 Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18610 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500-regulators.c
2011-09-19regulators: Added SysClkReq1 control of VpllBengt Jonsson
ST-Ericsson Linux next: - ST-Ericsson ID: ER 326455 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3ece72ed3a9087a37ede174c7af199956adac0d9 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18848 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Tested-by: David PARIS <david.paris-nonst@stericsson.com>
2011-09-19u5500: fix timersPhilippe Langlais
- Set doze mode and fix the TIMCLK rate. Copy the whole clock-db8500.c and modify it for this; this will be replaced by the 5500 clock tree soon. - Disable the MTU-based delay until it is verified. Change-Id: I61aed5a479ac90466dded1073faafac6965ec051 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18836 Tested-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com> Conflicts: arch/arm/mach-ux500/Makefile arch/arm/mach-ux500/clock.c
2011-09-19mach-ux500: Control bluetooth pins correctlyRickard Andersson
This patch fixes a problem with the configuration of bluetooth pins during suspend. ST-Ericsson Linux next: - ST-Ericsson ID:328950 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic3ab0ea5afb7d79612d8ada58385b21f3b72b8f6 Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18623 Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19ARM: ux500: clock: Disable periph7 and sync APEATCLK and APETRACECLKPhilippe Langlais
periph7 is clocked at boot, disable it. APEATCLK and APETRACECLK are clocked at boot and the clock framework should know about that. Also adding Kconfig option to disable APEATCLK and APETRACECLK if you wish to save some power. ST-Ericsson Linux next: Not tested, ask SSM for ER ST-Ericsson ID: ER327234 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I2bb5df649e3f7671506f063a4d8843037054fab1 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17992 Conflicts: arch/arm/mach-ux500/clock-db8500.c
2011-09-19mach-ux500: Control WLAN pins correctlyStefan Nilsson XK
WLAN has two pins that must not be reconfigured during suspend. The first one is WLAN_ENABLE which keeps the WLAN chip running. The second one is WLAN_IRQ which is supposed to wake up the platform when there is incoming traffic from WLAN. ST-Ericsson ID: ER329495 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3de6d0540940b90074f27f8c3fbdfb9823149e5e Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18691 Reviewed-by: Henrik CARLING <henrik.carling@stericsson.com>
2011-09-19mach-ux500: Add SDIO VDD handler for GPIO configPhilippe Langlais
It seems as PL18X does not drive all pins in a correct way when the block is powered but not initialized. Since CW1200 is sensitive to this (it samples the DAT2 signal level on bootup to choose between SPI and SDIO mode), it must be assured that the pins are in a correct state at all times. This is done by adding a VDD handler for SDI1 which reconfigures all the pins to GPIO pins with pullups when PL18X is not in an initialized state. ST-Ericsson ID: 327586 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic3bbe24f13c32203ad1f5fd3fef22ef25996568e Signed-off-by: Stefan Nilsson XK <stefan.xk.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18619 Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500-sdi.c
2011-09-19ux500:prcmu: Requirement name for user power QOSThierry STRUDEL
Use a requirement name based on the user opened file descriptor and not use current->pid as it is too much of a constraints to have the same user thread perform all the operations. ST-Ericsson ID: 327054 Change-Id: I32ef650ea44c26047e5080ee40ab1f1983b58957 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17554 Reviewed-by: Thierry STRUDEL <thierry.strudel@stericsson.com> Tested-by: Thierry STRUDEL <thierry.strudel@stericsson.com> Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-09-19B2R2: Correct output for combined scale and rotation.Maciej Socha
Corrects output on optimized path for scaling operations that use different horizontal and vertical scale factors and combine this with rotation. ST-Ericsson ID: ER 328924 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: I1c9e5154fc74141eb7f7f26450b748e21fdab7e1 Signed-off-by: Maciej Socha <maciej.socha@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18607 Reviewed-by: Nils CALMSUND <nils.calmsund@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Robert FEKETE <robert.fekete@stericsson.com> Tested-by: Robert FEKETE <robert.fekete@stericsson.com>
2011-09-19video: av8100: Fix occurences of test patternMarcel Tunnissen
Fixes random occurences of test pattern for SDTV through AV8100, caused by uninitialized memory. ST-Ericsson ID: ER 329441 Linux-next: ST-Ericsson ID: ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Idfed6bb2d4418345488c54ead4b19e30e9dc653e Signed-off-by: Marcel Tunnissen <Marcel.Tuennissen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18563 Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com> Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19video: mcde: Remove special SDTV watermark levelMarcel Tunnissen
This will remove the special setting for the watermark level in MCDE for SDTV out through AV8100. As a consequence MCDE setup is independent of AV8100 running SDTV or HDMI. ST-Ericsson ID: AP 329318 Linux-next: ST-Ericsson ID: ER 282779 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I65e80303a76c9a7887611fea8284cb4598b37c83 Signed-off-by: Marcel Tunnissen <Marcel.Tuennissen@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18526 Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Tested-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19ARM: ux500: Add debugfs file to change cpufreq->QoS delayPer Fransson
cat /debugfs/prcmu/opp_cpufreq_delay echo <delay in jiffies> > /debugfs/prcmu/opp_cpufreq_delay ST-Ericsson ID: CR 323730 Change-Id: I5c3b976c63342d49b2d6c198510197757867c70b Signed-off-by: Per Fransson <per.xx.fransson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18363 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Martin PERSSON <martin.persson@stericsson.com>
2011-09-19power: ab8500_bm: Lower current when charger voltage dropsJohan Palsson
The charger current optimization loop has been corrected for when the VBUS voltage collapses ST-Ericsson Linux next: - ST-Ericsson ID: ER328139 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie997402e3c0b868212ad59fe242f393ba0721007 Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18415 Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19ux500: pm: enable clock before touching UARTRabin Vincent
If the peripheral cluster clock is gated, touching registers inside the cluster will cause a hang. Enable the clocks before touching the UART registers in the cpuidle debug code. ST-Ericsson Linux next: - ST-Ericsson ID: ER327234 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iac29300ed35cef7280b6cb98124f6efe37d1ca33 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18542 Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com>
2011-09-19ux500: pm: enable clocks before touching PRCCRabin Vincent
If the peripheral cluster clock is gated, touching registers inside the cluster will cause a hang. Enable the clocks before touching the PRCC registers in the context code. ST-Ericsson Linux next: - ST-Ericsson ID: ER327234 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7b3c751192a81e6a812241cb0fba14ff42b1495f Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18541 Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19regulators: Removed suspend force of Vsmps1 and Vsmps2Bengt Jonsson
Suspend force of Vsmps1 and Vsmps2 is not needed as these regulators are already initialized to the same value. Change-Id: I793281b13a4153f02463445cae5ebb39930c0609 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18490 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com>
2011-09-19regulators: Initialize Vrf1 regulatorPhilippe Langlais
Vrf1 regulator is put in HW control at initialization. Forcing this regulator to HW control in suspend is removed. Change-Id: I78e37f85d20ebfb24d23b2d3a7af24202951e6c7 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18489 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Conflicts: arch/arm/mach-ux500/board-mop500-regulators.c
2011-09-19HWMEM: Make user space include linux/types.hJohan Mossberg
__x32 are defined in linux/types.h which is therefore needed in user space also. This patch also adds the uncached flag when allocating the FB to ensure we don't get a cached FB. Depends-On: I9a45ad54a0cc8a5cdb1e3b9038ad50aeacb3f9c3 ST-Ericsson ID: AP 327001 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: I3df94e161be96dd2f55928daab3eb20837b92c1d Signed-off-by: Johan Mossberg <johan.xx.mossberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18551 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-09-19B2R2: Remove bluish tone when using yuv422iRobert Fekete
Correction of format checked for in bool is_yvu_fmt. ST-Ericsson ID: ER 328908 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10068 Change-Id: I0df2df5ae2226b4828271b9e543c5fd70338a2ca Signed-off-by: Robert Fekete <robert.fekete@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/18474 Reviewed-by: Maciej SOCHA <maciej.socha@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>