aboutsummaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)Author
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-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-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-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-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-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-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-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-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-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-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>
2010-09-02mach-ux500: updating l2x0 init from linux-nextMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I85be5ca2f9178f6bbe5d3b0bd995213e0c9a0691 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2547 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02l2x0: take l2x0 updates from linux-nextMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I7c4a53e27ac2a43e244c17e812619529ce9fbc1e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2546 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02mach-ux500: use platsmp.c from linux-nextMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Idee032843600d2e3bb03ebe4467ae436192a4382 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2545 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Audio: FM and BT support, cleanup, power up/down noise removalDeepak Karda
Add new transducer for FM to configure audio codec registers. Add new transducer for BT to configure gpio and enable msp0 clk. Fix noise issue at begining and end of playback/voice call. Add platform device and platform driver to suport voltage regulator framework. Remove allmost all of printk and use dev_err, dev_info family macros. Correct file copyright notice. Remove use of typedefs. Add vibrator functionality which uses PWM source. Add function to configure audio codec IF1 required for FM. ST-Ericsson ID: ER 260924 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Id614b86f464c0c450926a2474d47071a6ac5f905 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2544 Reviewed-by: Deepak KARDA <deepak.karda@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Fixing u5500_svp build error due to tee kernel patch. Updated with review ↵Shujuan Chen
comments! ST-Ericsson Change ID: ER264554 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Id39874bd04211a0590e94a5ad32f372974bad294 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2542 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ske_driver: support for internal keypadNaveen Kumar Gaddipati
Added the driver to support the internal keypad on ux500 platform ST-Ericsson Id:CR 256008 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I8f776d4ff1e8ac4bc3ad0b629c1144b7e5daefb8 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2541 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Adding tee driver to kernel.Shujuan Chen
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I17069b327d6a07963a3a483b70b5439655dccf24 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2540 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02MCDE: Supports new HDMI featuresJimmy Rubin
This patch does the following: * Dynamic resolution change (HDMI and TV-out) * Dynamic change of rotation (Main display) * Dynamic change to 24 and 32 bpp (RGB888, RGBA8888, RGBX8888) * HDMI stability improvements * Removes Framebuffer_console for V.20 and HREF+. * Support for disabling display initialization if u-boot supports startup graphics * Adds prcmu handling from the mcde driver ST Ericsson Change-Id: WP259361 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I37e91d49f1550a3ecd041d4ddf67ce57e086772c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2536 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Bluetooth: Enable the PAN profile.Dariusz Szymczak
Enables CONFIG_BT_BNEP and related flags for mop500. Also changes the default bd address which is also the MAC for bnep0 device so that it doesn't have the group bit set. ST-Ericsson ID: WP 256274 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I99a8b035057fc0b79b4db8cb3581423ccc5d4e22 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2534 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02USB: USB host audio supportavinashk
menuconfig USB audio is enabled by default to build USB audio. (Bug fix: none, new feature addition.) ST-Ericsson ID: 256719 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ib61ba42f7c14706bf6728569324401d630b19d29 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2532 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02u5500: switch to MACH_TYPE_U5500Rabin Vincent
And also switch SVP8500 to MACH_TYPE_U8500. ST-Ericsson ID: AP263392 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Idbc545b7f53ca18e1d8bce2278db920a50aa88fd Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2530 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Timer: MTU0 interrupt setup fixedMarcin Mielczarczyk
This commit sets up interrupts only for timers which are used. It prevents from boot up hang when MTU0 interrupts are enabled by default. This problem has been noticed on some early versions of V1 boards. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I21ab2ce108e73b21958df7625ef5154ae8c2b631 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2526 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02u8500-prcmu: Enable mod_sw_reset_req as a wakeup eventKumar Sanghvi
With prcmu-fw 12-0-4-0 onwards, mod_sw_reset_req is part of AckMb0 -wakup mailbox. So, explicitly enable mod_sw_reset_req to be sent as a wakeup event ST-Ericsson ID: ER262956 Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ibebdfc8c39d8144d1e323f1cb6ee520220473161 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2525 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02fix build errors when CPU_IDLE is disabledMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I0783810ab18563482bcf2cf122072d8f02a8eb98 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2435 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02regulators: fix v-ana permissionMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ib27c0c771c543367c4e4fe884392c5903dcefbbb Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2433 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02fix build errors with CPU_IDLE enabledMian Yousaf Kaukab
Current PM for Montblanc enables both LOCAL_TIMERS and GENERIC_CLOCKEVENTS_BROADCAST. This causes build error with v2.6.34. This patch fixes this error. The PM scheme should be reviewed for v2.6.34. Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I941ff47200bb2bb64fda65bad89a4f993c4daa04 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2431 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02kernel/arch/arm/configs: Compile CDC-ACM modem driver into kernel by default.Parirajan Muthalagu
This patch adds the CDC-ACM USB Host driver to the default build. Adding support for USB modems is requested by the customer. ST-Ericsson ID: WP 261578 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I86d1db26a05213d0ced5a3dd2ffea8dde76c27fb Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2429 Reviewed-by: Parirajan MUTHALAGU <parirajan.muthalagu@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02u8500: support MACH_TYPE_U8500Rabin Vincent
In addition to MACH_TYPE_NOMADIK. ST-Ericsson ID: AP263392 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ic8cee3c70cded6279c6f2e5caaac49dd2f4e5651 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2428 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02arm: backport latest mach-typesRabin Vincent
To get U8500 and U5500 mach types. ST-Ericsson ID: AP263392 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I2ef4e20676ef3106e2b4bec4fe032fbfe29d4f2a Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2427 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ab3550 platform configuration for ux500Mattias Wallin
This patch adds ab3550 configuration data into the u8500 platform. Irq is turned off since it is'nt routed on the breakout board used for ab3550 with u8500. Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I0068f67bd562b196e6c1e1a8505dd84291c3f837 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2425 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02cpuidle: dont enable irq after poll_idle as poll idle itself calls ↵Mian Yousaf Kaukab
local_irq_enable Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: If6cf52f28bd2e131c0de1d2c90ec9faa90c9ef09 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2421 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>