aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-06U8500_MOP: Disable FBIOGETCMAP and FBIOPUTCMAP in fbmem.cHEADmasterSudip Jain
Signed-off-by: John Rigby <john.rigby@linaro.org>
2010-09-02Add hardware memory driver to kerneljoakim
This driver provides a way to allocate contiguous system memory which can be used by hardware. Mcde has been modified in order to take advantage of hwmem. ST-Ericsson ID: WP270489 Signed-off-by: Joakim Landberg <joakim.landberg@stericsson.com> Change-Id: I5bf22754a343f8ba3dceb6305ce780f6e1a8b379 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4205 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2010-09-02Took the all the patches for pmem from the android branch:Robert Marklund
pmem: Add pmem driver Signed-off-by: Rebecca Schultz <rschultz@google.com> pmem: Use the thread group leader insted of the current thread. Instead of keeping track of the current thread, use the thread group leader Signed-off-by: Rebecca Schultz <rschultz@google.com> pmem: Add some apis to reference and flush pmem files by file struct The api to refer to pmem files by fd should be depricated, it can cause problems if a processes fd table changes while the kernel is processing data in a pmem file. This change adds the safer api. Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> pmem: Remove unused depricated fd api to pmem. Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> pmem: Remove error message when calling get_pmem_addr This call is used from the mdp driver to determine if the memory is in pmem or in the fb. We will encounter this case during normal operation so this error message should be removed. Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> pmem: Add include sched.h to fix compile errors Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com> pmem: remove HW3D_* ioctls Signed-off-by: Dima Zavin <dima@android.com> pmem: Expose is_pmem_file to the in-kernel users. Signed-off-by: Dima Zavin <dima@android.com> pmem: Make the exposed functions be noops if CONFIG_ANDROID_PMEM is not set. Signed-off-by: Dima Zavin <dima@android.com> misc: pmem: don't flush if file was opened with O_SYNC Change-Id: I067218658a0d7f7ecc1fe73e9ff6b0c3b3054653 Signed-off-by: Dima Zavin <dima@android.com> pmem: Add cache flush ioctl for pmem buffers Change-Id: I9156bad829e8c65087f122b48cc57638902fab12 Signed-off-by: Dima Zavin <dima@android.com> WP254615 [3/3] android pmem updates Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> pmem: updated after dmac api changes pmem: disable PMEM_DEBUG Modified pmem_mmap() to enable mapping the same memory area from two different processes. The data coherency in the memory area needs to be handled by the processes. Change-Id: If6b39302493025b4b4f6762a7dc6ea469af42200 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2949 Reviewed-by: Paramanand SINGH <paramanand.singh@stericsson.com> Reviewed-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com> Tested-by: Paramanand SINGH <paramanand.singh@stericsson.com> Reviewed-by: Pankaj SEN <pankaj.sen@stericsson.com> Tested-by: Pankaj SEN <pankaj.sen@stericsson.com> Reviewed-by: Prashanth B P <prashanth.bp@stericsson.com> Tested-by: Prashanth B P <prashanth.bp@stericsson.com> Reviewed-by: Thierry STRUDEL <thierry.strudel@stericsson.com> PMEM: fixed cache clean issue Initial backport of STE specific implementation of PMEM_CACHE_CLEAN from 2.6.29 to 2.6.34 was not cleaning L1 cache while requested. Change-Id: Ieebda59fd7064e59567f48efcc893554b5c1d0f4 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2987 Reviewed-by: Pankaj SEN <pankaj.sen@stericsson.com> Tested-by: Pankaj SEN <pankaj.sen@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Fixed the PMEM_CACHE_CLEAN code. There was a minor mistake in previous change http://gerrit.lud.stericsson.com/gerrit/2987 Change-Id: I97d36fc9ba9187822081df926c916507602451e9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3037 Reviewed-by: Paramanand SINGH <paramanand.singh@stericsson.com> Tested-by: Paramanand SINGH <paramanand.singh@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Fixed devices file to new pmem imp. More fixes for pmem init, and removed spaces. Change-Id: I8f2cb02ba3263f46945491580d7681c712c067a1 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4104 Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
2010-09-02MCDE Fixes: Added http://gerrit.lud.stericsson.com/gerrit/#change,3792 ↵Robert Marklund
patchset Added patch set: http://gerrit.lud.stericsson.com/gerrit/#change,3751 Enabled single buffered fb in config. Change-Id: I59ed2dcd1d45f896177f0f3be425b158f03fd0ee Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/4097 Tested-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
2010-09-02ER263529: merge net/core/dev.c changesMian Yousaf Kaukab
This is a temp fix for ER263529. Without this patch kernel crashes during Android boot. Proper fix for this problem requires updates in Phonet and SHRM drivers. IR266911 has been created for that work. These changes were submitted by Kishor LALA <kishor.lala@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Iaeae7cf2c898b655143e933e38f816111829ea22 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2838 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Removed executable from few headers, solving rpmlint warningsRobert Rosengren
Change-Id: Id16f17c433b884364bfe930a1c06fca8de08e2d4 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3513 Reviewed-by: Johann DISCHLER <johann.xx.dischler@stericsson.com> Tested-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
2010-09-02Converted firmware binaries to ihex for better patch handlingRobert Rosengren
Change-Id: I44ee6a7b726d36c2c6dd53301227abfc2f83465a Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3516 Reviewed-by: Johann DISCHLER <johann.xx.dischler@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Tested-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
2010-09-02Removed pmem from headers, solving build error in kernel-headers packageRobert Rosengren
Change-Id: Ied16dfe0b0054cbcaae29ec4043b250234053e24 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3511 Reviewed-by: Johann DISCHLER <johann.xx.dischler@stericsson.com> Tested-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
2010-09-02Added rpmlint filterRobert Rosengren
Change-Id: I87d025ee976f788c6aa6c724407b630614e1056c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3580 Tested-by: Robert ROSENGREN <robert.rosengren@stericsson.com> Reviewed-by: Johann DISCHLER <johann.xx.dischler@stericsson.com>
2010-09-02Added RPM spec filesRobert Rosengren
Change-Id: I13832c03fdfa5af675bd338ff4713a80fe89bbbb Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3510 Reviewed-by: Johann DISCHLER <johann.xx.dischler@stericsson.com> Tested-by: Robert ROSENGREN <robert.rosengren@stericsson.com>
2010-09-02fix build errors with mop500_ed_defconfig with kernel v2.6.34Mian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I653b82fe458223257048a4830654622f8f7af754 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2868 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02fix build errors in sim5500_defconfig with kernel v2.6.34Mian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Idb601a89a4051cf21fd51f6f4bba93532b63c301 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2867 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Fix for ER256220. Use DMA-mode instead of polling mode.Jonas Aaberg
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2745 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I893480c7318d8e7ad2b70bec055220820151f088 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2845
2010-09-02Bluetooth antenna problems on Hrefp boardsAndreas Areskoug
This fix activates the PTA output of the BT chip, which will trigger the PTA circuit in the Wlan chip so that BT can share the same antenna as Wlan and function properly. Also this fix changes from space to tab in the 2 info files. This is because the factory that flash the firmware will have problems otherwise. ST-Ericsson ID: ER266093 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2703 Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Andreas ARESKOUG <andreas.areskoug@stericsson.com> Tested-by: Andreas ARESKOUG <andreas.areskoug@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I5a92416b2269d03ad51cf2899cd77a3e160a9396 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2844
2010-09-02sound: asoc: Added codec and machine drivers for cg29xx.Ola Lilja
A codec driver and a machine driver have been added for cg29xx. The platform driver for ux500 has been cleaned up. Directory u8500 has changed name to ux500. Signed-off-by: Roger Nilsson <roger.xr.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/707 Reviewed-by: Ola LILJA <ola.o.lilja@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I3e8d18f6182159aecc41ed352f8d7866cc70c39e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2843 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ux500: add PRCM timer as an always on clock sourceSundar R Iyer
The PRCMU timers are available in the Periph4 or the always-on power domain, ensuring that these will be functional even when the system goes to sleep/deep sleep states. The decision to enable/disable the timers from the ARM is now decisional based on the PRCMU f/w version (dummy placeholder for now) ST-Ericsson Change ID: 256290 Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1987 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Iec790b71c23c5661652decdfa299a068be50975e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2842
2010-09-02HDMI and AV8100: new featuresPer Persson
* HDMI api, including EDID, CEC, INFOFRAME, audio coniguration, aes key handling, event support. * Automatic detection and handling of av8100 chip version 1 and 2. * Support for av8100/mcde hw trig method using I2SDAT3 (menuconfig). ST Ericsson Change-Id: WP264235 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2120 Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com> Tested-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Marcel TUNNISSEN <marcel.tuennissen@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ic205e046988fff7a5d49ae3091559d1fd76768d2 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2841
2010-09-02SDIO: Temporarily disabling U8500 SDIO DMA mode for WLANRoger Froysaa
This patch disables the SDIO driver DMA mode (enabling poll mode). This is done as a temporary solution for WLAN (only SDIO user) to address some data issues in pack6. The patch should be reverted as soon as the issues are resolved. ST-Ericsson Id: WP259720 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2497 Tested-by: Roger FROYSAA <roger.xx.froysaa@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Iaa1c15d6ab7a142d88152e95b67d2737b57575cb Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2840
2010-09-02regulators: add REGULATOR_CHANGE_STATUS permission to all the regulatorsMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I775cf838107f5816b7c98fe5009d6cd646fa9ff3 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2811 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02CPU_IDLE disabled in mop500_power_defconfigMattias Wallin
Due to instability in current soultion CPU_IDLE is disabled. A new implementation is ongoing but meanwhile it is decided to disable the feature. ST-Ericsson ID: ER264019 Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2494 Tested-by: Mattias WALLIN <mattias.wallin@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I27de3017338dd3e224bca84c60aa591aad46ce02 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2810
2010-09-02MCDE: V-sync on main and sub display using DSI BTADan Johansson
* V-sync support for both primary and secondary display. * V-sync is disabled by default. It is enabled in menuconfig (System Type -> Display selection -> Enable v-sync for primary / secondary display). * DSI HS clock is set to 840 MHz, DSI esq clock 19.2 MHz. * Enables VAUX1 if startup graphics is enabled. ST Ericsson Change-Id: WP264234 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2154 Tested-by: Dan JOHANSSON <dan.johansson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I47f72cb9449e08f089f6bdb25988bd9958644899 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2809
2010-09-02bu21013:fix for sim8500 build errorsNaveen Kumar Gaddipati
Fix for sim8500 does not build the touch screen platform data ST-Ericsson Id: ER 264698 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2162 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I6ea50edc926baafe9c5a9bb8550405b877f5ff72 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2808
2010-09-02MMC: Hats DV14 not aligned with the HSI external mass storagehanumath
Fix for MCLK to set at 100MHz insted of 50MHZ ST-Ericsson ID: ER 261261 Signed-off-by: hanumath <hanumath.prasad@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1574 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I38715175733c5b880e5548430907b3493d441fd7 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2807
2010-09-02bu21013:fix for sim8500 build errorsNaveen Kumar Gaddipati
Fix for sim8500 does not build the touch screen platform data ST-Ericsson Id: ER 264698 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1811 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Icce54040d60cbac3a7d7f2eb48109d0885ba2811 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2806
2010-09-02MCDE: This patch fixes the issue with display shift on the main display.Dan Johansson
ST-Ericsson ID: 264841 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1896 Tested-by: Dan JOHANSSON <dan.johansson@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I183b1e8e84732bd2052c6af8029c5dfcf252e9ad Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2805 Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com>
2010-09-02u8500-mmc: disable SD supplies when card is not insertedSundar R Iyer
In the current version of the mmc-core, which is buggy in terms of calls to the set_ios helpers, we see that the regulator framework screams about unbalanced supplies. To face this, we use _is_enabled regulator helper to maintain the sanity, LEADING to potential issues if the MMC regulator is not exclusive for MMC. On the later kernels, this can be mended using the following ways: - correct the mmc-core (somethings r aleady fixed up) - use the exclusive regulator APIs for mmc ops ST-Ericsson Change ID: 264047 Acked-By: Hanumath PRASAD <hanumath.prasad@stericsson.com> Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1784 Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I70b0c8954b2e84b77f7e9720fcaf107f8accf42b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2804 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02USB: Document u8500_usb.tmpl doesn't build due to missing mandatory elementsPraveena Nadahally
<chapter id="pubfunctions">, <chapter id="bugs"> elements are added and the contents are re-arranged ST-Ericsson ID: 265174 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1991 Tested-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Reviewed-by: Sachin Vyas <sachin.vyas@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Id3b602d14cec267ffe92a27abc9b0f88d85f0eee Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2644 Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com>
2010-09-02ux500: use separate irq headersRabin Vincent
Include the separate irq headers in the main file, and replace the usage in DB8500-specific files to use the DB8500 specific numbers. Move the DB5500-specific modem virtual interrupts to the DB5500 header, and the U5500 board-specific interrupts to the board IRQ header. ST-Ericsson ID: AP265023 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1902 Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Iffc069ff0d0c67099a1fa8b18a503e08b5622bff Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2643 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ux500: add DB5500 and DB8500 irq numbersRabin Vincent
ST-Ericsson ID: AP265023 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1901 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I9f636b0ceed895f4f7b6ae9d8507414adb9d96c9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2642
2010-09-02SVP: enabling support for EXT3 FSThierry STRUDEL
Enabling EXT3 FS support for both u8500 and u5500 simulation platforms. Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2044 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Thierry STRUDEL <thierry.strudel@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ibcb42684f003b9535d7317840cce598a6b2e9a36 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2641 Reviewed-by: Thierry STRUDEL <thierry.strudel@stericsson.com>
2010-09-02bu21013: fix to increase the touch screen performanceNaveen Kumar Gaddipati
Fixed to increase the touch panel performance using touch panel confgiuration parameters ST-Ericsson Id: ER 264213 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2047 Tested-by: P.Hanumath PRASAD <hanumath.prasad@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I579efe768baff17bde71334e71ab02fffbb9a6ca Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2640
2010-09-02Keypad: Disable EV_REP to disable reporting repeated key eventsJayeeta Banerjee
Disable EV_REP in ev_bit so that press/release events are reported only once. Fix is done in ST-UIB keypad, tc35893-keypad and ske-keypad ST-Ericsson Id:ER 264416 Signed-off-by: Jayeeta Banerjee <jayeeta.banerjee@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1926 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I2dca0a3cb8311cf5476866cc9ad99e089cc7b0ea Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2639
2010-09-02SDIO: Fix for non word-aligned address for SDIO host in DMA modeJayeeta Banerjee
For SDIO host in DMA mode, when memory address is not aligned to DMA element size, switch to polling mode for that transfer. ST-Ericsson Id:ER 264340 Signed-off-by: Jayeeta Banerjee <jayeeta.banerjee@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1922 Reviewed-by: Jayeeta BANDYOPADHYAY <jayeeta.banerjee@stericsson.com> Tested-by: Jayeeta BANDYOPADHYAY <jayeeta.banerjee@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I9fa83f070f11a272c2a8cce299bfe81b769edf8b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2638
2010-09-02Fix: USB Power management: USB driver to implement power saving at boot upsidhartk
At boot up, if usb cable is not attached, OPP constraints can be released on the APE domain with respect to USB client. This is done because if usb is not used, APE can run at a low power OPP. ST-Ericsson ID: ER262472 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1710 Tested-by: Sidhartha KALRA <sidhartha.kalra@stericsson.com> Reviewed-by: Praveena NADAHALLY <praveen.nadahally@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ia8ac5e69dd23431bab0b47a56239afd29388cf1a Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2637
2010-09-02abx500 kmalloc and doc bugfixMattias Wallin
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1835 Tested-by: Mattias WALLIN <mattias.wallin@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I9de57eec90220bfbfc6f278dc7899ebc01a08d1f Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2636 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ARM: AB5500 core platform configurationMattias Wallin
This patch adds the platform configration part of the mixed-signal chip AB5500. Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/500 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Id6eb307fa52a5749b93be35e2dba8413d939731d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2635 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02MFD: AB5500 core driverMattias Wallin
This adds a core driver for the AB5500 mixed-signal circuit found in the ST-Ericsson U5500 platform. This driver is a singleton proxy for all access to AB5500 sub functionality drivers which can be added on top of this one: RTC, regulators, battery, vibrator, LEDs and ALSA codec. Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/499 Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Iff82184cb00824230708bc4388983805531523b7 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2634 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ux500-pm: enable the on-board keypad wakeup for sleep/deepsleep statesSundar R Iyer
The on-board keypad interfaces through the GPIO218. We make this GPIO wakeup capable in sleep/deep sleep modes ST-Ericsson Change ID: 264368 Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1717 Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Idb0eef23188f474c89b43d1eda07755c555fce8d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2633 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02cG2900_ FM driver: fix for wrong signal strength value retrivalsureshk
CG2900_ FM driver: fix for wrong signal strength value retrival CG2900_ FM driver: fix for wrong signal strength value Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1793 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Johan PALMAEUS <johan.xj.palmaeus@stericsson.com> Reviewed-by: Andreas KARLSSON <andreas.z.karlsson@stericsson.com> Tested-by: Andreas KARLSSON <andreas.z.karlsson@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I6a956244c6802111335fb8889bd586bb19c579e9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2632
2010-09-02mach-ux500: backport clock rate callbacks and MTU frequency fixLinus Walleij
This is a backport of the changes adding per-clock callbacks submitted to the mainline kernel tree, and reads out the MTU- specific clock routing register. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1700 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I41f65d78b995ecfa210b9bf6283351b027ae8bbd Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2631 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ste_conn_driver: Fix crash if no patch file foundDariusz Szymczak
If no patch file has been found for the connected chip the device struct is freed by calling ste_conn_reset(). Then the ste_conn_register() will try to free the same struct again which will cause a kernel crash. There is no need to do a reset of the whole driver when the chip startup has failed, it's enough to call the cpd_chip_shutdown() instead of ste_conn_reset() and let the ste_conn_register() free the dev struct. ST-Ericsson ID: ER264360 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1750 Reviewed-by: Magnus MALMBORN <magnus.malmborn@stericsson.com> Reviewed-by: Dariusz SZYMCZAK <dariusz.xd.szymczak@stericsson.com> Tested-by: Dariusz SZYMCZAK <dariusz.xd.szymczak@stericsson.com> Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I9dfdefd435d3e7b6f35f0a9a613a4b879f22bd41 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2630
2010-09-02u5500: Driver for the PWM block in MajaMagnus Templing
Implementation of the PWM (Pulse Width Modulation) block in DB5500. The driver implements include/linux/pwm.h. TODO: Request PWMCLK. Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/343 Tested-by: Magnus TEMPLING <magnus.templing@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I91fe502e88b625f8995e1e5ba96c0aadb741d851 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2629 Reviewed-by: Magnus TEMPLING <magnus.templing@stericsson.com>
2010-09-02nomadik-gpio: fix "ignoring return value" warningRabin Vincent
arch/arm/plat-nomadik/gpio.c: In function 'nmk_gpio_remove': arch/arm/plat-nomadik/gpio.c:630: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result Because this function is marked __exit and this code can't be built as a module, this function is never used. So just remove it, fixing the warning in the process. ST-Ericsson ID: AP264622 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1799 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I0cabc4ee0f060e0bf19a40bc1ad24f252a5bf9f4 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2628
2010-09-02nomadik-gpio: implement to_irqRabin Vincent
So that gpio_to_irq() works. ST-Ericsson ID: AP264622 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1798 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I3f9ccc568a5c6b2c0230ad98214c6ee1d0eba5f7 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2627
2010-09-02nomadik-gpio: fix wake/enable after trigger type changeRabin Vincent
The nomadik-gpio driver does not correctly change the enable and wake masks when set_irq_type() is called after the irq or wake has been enabled. Fix this by backporting the corrected version from linux-next. ST-Ericsson ID: AP264622 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1797 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I034a71ea2d74cd54dac027868f9562467942b9f9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2626
2010-09-02ab8500-regulator: add is_enabled helper for DCDC suppliesSundar R Iyer
ST-Ericsson Change ID: 264371 Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1719 Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Id76df50d1ad736d93cf20b1858c40fc779ef5374 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2625 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Connectivity: Firmware support for CG2900 v1.3.Josef Kindberg EJOSKIN
Updated firmware info files to support CG2900 version 1.3. ST-Ericsson ID: ER 264280 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1701 Reviewed-by: Josef KINDBERG <josef.kindberg@stericsson.com> Tested-by: Josef KINDBERG <josef.kindberg@stericsson.com> Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ief11beb764f44254213ecd02c52827f545afe7f9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2624 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Vibrator: Force feedback vibrator driverMarcin Mielczarczyk
Implementation of ST-Ericsson's force feedback vibrator driver. ST-Ericsson ID: WP261766 This workpackage is dependent on delivery of WP259003 and WP259004. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com> Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@tieto.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1736 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Marcus COOPER <marcus.xm.cooper@stericsson.com> Tested-by: Marcus COOPER <marcus.xm.cooper@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ib163dd6f2914b90a3be9dffa9d4195fa70fb70cd Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2623
2010-09-02fix kernel warningsVirupax Sadashivpetimath
Fix for the kernel warnings seen on compiling the kernel using the extra flag EXTRA_CFLAGS=-W. The action taken on the kernel warnings is as below. Below ones are fixed arch/arm/mach-ux500/clock.c:243: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/clock.c:246: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/clock.c:254: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/clock.c:257: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/clock.c:599: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/clock.c:641: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/clock.c:667: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/dma_40.c:1521: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/dma_40.c:1597: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/dma_40.c:1705: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/dma_40.c:1806: warning: comparison between signed and unsigned integer expressions arch/arm/mach-ux500/platsmp.c:211: warning: comparison between signed and unsigned integer expressions drivers/mmc/host/mmc-u8500.c:690: warning: comparison between signed and unsigned integer expressions drivers/mmc/host/mmc-u8500.c:757: warning: comparison between signed and unsigned integer expressions drivers/misc/ab8500.c:297: warning: comparison between signed and unsigned integer expressions Below warning is from the macro included from the /include/linux/clocksource.h header file, not fixed. arch/arm/mach-ux500/timer.c:57: warning: signed and unsigned type in conditional expression Below warnings are compiler dependant and are ignored. arch/arm/mach-ux500/prcmu-fw.c:306: warning: comparison of unsigned expression < 0 is always false arch/arm/mach-ux500/prcmu-fw.c:313: warning: comparison of unsigned expression < 0 is always false arch/arm/mach-ux500/prcmu-fw.c:332: warning: comparison of unsigned expression < 0 is always false arch/arm/mach-ux500/prcmu-fw.c:339: warning: comparison of unsigned expression < 0 is always false arch/arm/mach-ux500/prcmu-fw.c:365: warning: comparison of unsigned expression < 0 is always false arch/arm/mach-ux500/prcmu-fw.c:395: warning: comparison of unsigned expression < 0 is always false arch/arm/mach-ux500/prcmu-fw.c:464: warning: comparison of unsigned expression < 0 is always false arch/arm/mach-ux500/prcmu-fw.c:626: warning: comparison of unsigned expression < 0 is always false arch/arm/mach-ux500/prcmu-fw.c:627: warning: comparison of unsigned expression < 0 is always false arch/arm/mach-ux500/prcmu-fw.c:635: warning: comparison of unsigned expression < 0 is always false arch/arm/mach-ux500/prcmu-fw.c:636: warning: comparison of unsigned expression < 0 is always false Below one is ignored. arch/arm/mach-ux500/hotplug.c:48: warning: comparison between signed and unsigned integer expressions ST-Ericsson ID:ER259868 Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/722 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I5d53beb5d05fab217fe95096480b354a22ff9d35 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2622 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Fix default ramdisk size on SVP configPierre Peiffer
The default ramdisk size specified on SVP config is not aligned with the one used on board config. This patch fixes this. ST-Ericsson ID: WP260824 Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/1641 Reviewed-by: Martin PERSSON <martin.persson@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I8ca5525244ae8abc79abea2a8318becfae51ba94 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2621 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>