aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500
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-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-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-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-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-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-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-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-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-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-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>
2010-09-02set boradcast callback if clockevent broadcast enabledMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: If02a27f02d4a67e2aff4da676a677590576d13e8 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2420 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02add missing percpu_timer_setup call to boot cpuMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I4bf7d978161ad62ac460d8ef7cc451b27935e726 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2418 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02use mainline version of mach/smp.hMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Icd146ae0e0dde8f9b43e85c55af31147aad4beb9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2417 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02rtt: adjust clock rating to match twd timer ratingMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I1ae0a065f736d99a0cf4317d41296b55ff8e5c24 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2416 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02mtu: use same clock rating as plat-nomadikMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ia2ed48930a78882358dbfc224143b9fb760a4d6d Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2415 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02fix WARN_ON() in gpio_lib.c for v2.6.34 request gpios before using them.Mian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: If955add089a534671c9bbfb858958c521281d435 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2412 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02fix WARN_ON() in cpu_idle() for v2.6.34Mian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I6d1e4a5e33153184448a49f951368030a07b288c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2411 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02revert part of mach-ux500: Remove broadcast from timer-rtt. FIXME: Verify ↵Mian Yousaf Kaukab
that this is correct. patch Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I46897a0ab27ad61088338435bfc392ba100f3c86 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2410 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02Add support for TC35893 Keypad ControllerJayeeta Banerjee
This patch adds support for NUIB keypad. The driver supports both polling and interrupt mode. Default mode is interrupt mode. The keypad mapping is kept same as ST UIB keypad. ST-Ericsson ID: AP261147 Signed-off-by: Jayeeta Banerjee <jayeeta.banerjee@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/740 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I2a61ee4eee8007aa251372ff29b84e70615756df Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2403 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02mach-ux500: U5500 Mailbox driverStefan Nilsson XK
The mailbox driver exports a kernel interface for sending and receiving mailbox messages using the mailbox HW block in u5500. This kernel interface will be used by clients in need of this communication such as CAIF and MAD (Modem Audio Driver). ST-Ericsson ID: AP259650 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/732 Tested-by: Stefan NILSSON <stefan.xk.nilsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I7d2cf586f4674e4de93d541adbb604c44511c10f Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2400
2010-09-02mach-ux500: Modem IRQ handlerStefan Nilsson XK
Adds the generic modem IRQ handler which is used to configure and retrieve IRQ:s from the modem. Used by for instance mailbox driver. ST-Ericsson ID: AP259650 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/731 Tested-by: Stefan NILSSON <stefan.xk.nilsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I243f5401fdfdc909d559627d6cd477dd3f549ade Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2399
2010-09-02mach-ux500: Mailbox driver configurationStefan Nilsson XK
Configuration changes for mailbox driver. ST-Ericsson ID: AP259650 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/730 Tested-by: Stefan NILSSON <stefan.xk.nilsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I2d92ba3e441263cd6f6cdec1187d09cf0a50f55e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2398
2010-09-02u8500-prcmu: Process AckMb7 IRQ first before any other IRQKumar Sanghvi
With DV6 and SHRM V1 updates, due to delay in processing of AckMb7 IRQ, occassional hangs are observed. Correct this by processing the AckMb7 IRQ first before any other AckMb IRQ ST-Ericsson ID: ER262914 Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/796 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I9d4745b06ad2fd1e62821d46d08c82a98cc2b996 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2395
2010-09-02u8500-prcmu: Fix coverity error prcmu codeKumar Sanghvi
Fixes the coverity error in ED portion of PRCMU FW init code ST-Ericsson ID: ER258727 Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/729 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: Ifc3cb040b8b2df2a0960c50cf43d4ea9c866bc36 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2392