aboutsummaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
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-02twd: add CLOCK_EVT_FEAT_C3STOP to timer featuresMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I1fb7dea289aee0a97cb9e4ed3cc26c1727dfa882 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2419 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-02update all defconfigs for v2.6.34 and SI label u8500-android-2.1_r1_v0.0.11Mian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I5ab68676138970b2a8e99e0a6ebef19d76c9121a Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2414 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 prototype for cpu_idle_wait in system.hMian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I6e52f14ebe8ba16270471038152b8b4dfbc8d268 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2409 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02mop500_power_defconfig: Use SHM V1 Fifo Address with SHM V1 updatesKumar Sanghvi
SHM V1 updates has a different Fifo Address than the SHM ED implementation. DV6 and above MB Modem sw uses the SHM V1 implementation. ST-Ericsson ID: ER263228 Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/859 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I4362e9ac557f4aa44e0f2bfc37ddcad8fbccbc49 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2407 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02mop500_power_defconfig: Enable CPU_IDLE with DV6 and above modem swKumar Sanghvi
Enables CPU_IDLE power management feature on APE side. MB Modem sw DV6 and above has Power Management in place so, cpu-idle can be enabled on APE side. CPU_IDLE should be disabled on APE side when using modem sw without power management. ST-Ericsson ID: ER263223 Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/856 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I0b0ffe4e4b0a042c29104cea1671a16a0b740ab3 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2405
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 SVP mailbox driver defconfigStefan Nilsson XK
Enables the modem IRQ handler and mailbox driver per default in defconfig. ST-Ericsson ID: AP259650 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/733 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: I2dc145ee5b1b0b864157ccb3c5364ff49d85797a Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2401
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-02New U5500 SVP memory layoutStefan Nilsson XK
This patch leaves 24MB reserved for modem. Since modem image is kept in the same place, this is backwards compatible. New command line parameter to start SVP as initrd has moved: Change: -dram_img 0x800000 to: -dram_img 0x3000000 ST-Ericsson ID: AP259650 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/746 Tested-by: Stefan NILSSON <stefan.xk.nilsson@stericsson.com> Reviewed-by: Carl-Johan IREKVIST <carl-johan.irekvist@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ie8988632cf16e8e1154482df5e80434512979f24 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2394 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
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
2010-09-02bu21013: Driver for new dual touch controllers supportNaveen Kumar Gaddipati
Adding bu21013 dual touch controllers driver and support for it in mach-ux500. ST-Ericsson ID: WP 257134 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/413 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: If084c45539cd18982ddf210cf2b80be2e8da4dd3 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2390
2010-09-02Set CONFIG_HID_SUPPORT=yXie Xiaolei
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/451 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: Ic4036cb37213a19e60bf5f92a7a670dbfbd74787 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2388
2010-09-02leds-ab8500: support backlight feature for secondary lcdArun Murthy
pwm1 is being used for primary lcd and pwm2 is used by sencondary lcd. checks if secondary lcd is enabled and if so monitors the backlight(intensity) of secondary lcd. LCD backlight control in android standard application is supported for only primary lcd, the same is replicated for secondary lcd. Only one interface is provided by name "lcd-backlight" in sysfs, which controls both the lcd's. ST-Ericsson ID: ER262317 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/556 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: I989d67eeea75730f9b863cbe4f29c3c1da3305e0 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2387
2010-09-02mLoader_helper: pass modem ELF settings from CMDLINE to user spacePaer-Olof Haakansson
U-boot parses the modem ELF and places the modem ELF settings in the CMDLINE. mLoader_helper picks up these settings and makes them available in sysfs for the mloader utlity to use when loading the modem ELF. ST-Ericsson ID: WP253874 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/713 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: Icddc121483c4f210661fbc9ea9769f4f35ae2337 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2386
2010-09-02MCDE: enable configurable voltages through platformJimmy Rubin
Enable the MCDE driver to request voltages to the AB8500 for the generic display and analog supplies. Acked-By: Sundar R Iyer <sundar.iyer@stericsson.com> Signed-off-by: Jimmy Rubin <ejimrub@steludxu031.lud.stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/544 Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com> Reviewed-by: Sundar R IYER <sundar.iyer@stericsson.com> Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com> 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: I2f66f07c73736dfe36248cfc87c20bc1de3b8c89 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2385
2010-09-02ux500-mmc: pass mmc operating voltage through platformSundar R Iyer
Pass the appropriate opertaing voltage required for the mmc peripheral through the platform data. This will allow the mmc driver to configure the source supply to the required voltages. 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/543 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: I452d69f92ae8f713cbbcc14a3ff69f7e3ca23a78 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2384
2010-09-02u8500-prcmu: Avoid setting PRCM_HOSTACCESS_REQ if already setKumar Sanghvi
Avoids setting the PRCM_HOSTACCESS_REQ if alredy set. Setting the bit again, when already set, will not give HOST_PORT_ACK interrupt from prcmu-fw. ST-Ericsson ID: ER262435 Signed-off-by: Kumar Sanghvi <kumar.sanghvi@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/534 Reviewed-by: Biju C DAS <biju.das@stericsson.com> 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: I3f484cf5a04f141767d218e1f8a15f03800263b6 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2380
2010-09-02mLoader_helper: pass modem ELF settings from CMDLINE to user spacePaer-Olof Haakansson
U-boot parses the modem ELF and places the modem ELF settings in the CMDLINE. mLoader_helper picks up these settings and makes them available in sysfs for the mloader utlity to use when loading the modem ELF. ST-Ericsson ID: WP253874 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/494 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: I5bae8e3f0d42042d041c1863d1de0b853f3a2b4e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2379
2010-09-02MCDE: Adding new MCDE display, AB8500 Denc and AV8100 driverJimmy Rubin
This patch does the following: * Removes display support on ED! * Removes the old MCDE display driver and adds the new MCDE drivers to drivers/video/mcde. * Removes the old AV8100 driver and adds the new AV8100 drivers to drivers/video/av8100. * Moves the mcde and av8100 specific header files from machine to include/video. * Adds AB8500 Denc driver to drivers/misc/ab8500_denc. * Power management support added to the MCDE display driver. * Removes old MCDE specific configurations. * Adds new menuconfig selection SystemType/Display Selection where it is possbile to choose display types. * Updated standard configurations (mop500_defconfig, mop500_power_defconfig and mop500_USB_HOST_defconfig). * Landscape mode removed from menuconfig for main display. ST Ericsson Change-ID: WP259355 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/369 Reviewed-by: Dan JOHANSSON <dan.johansson@stericsson.com> Tested-by: Dan JOHANSSON <dan.johansson@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I0c5e5c0f80fde304d8b96e3faee0e8b1819d1ae7 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2378 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02mach-ux500: fix coverity issue in clock.cVirupax Sadashivpetimath
mach-ux500: Fix the coverity issue in the clock.c file related to the NULL pointer dereference. ST-Ericsson ID: ER262144 Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/484 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: I51a2475990d35813be5de1b7b7ec756e2428669c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2375
2010-09-02ER:259738-Copyright-correctionsvirupaxs
Add the missing Copyright statements. Signed-off-by: virupaxs <virupax.sadashivpetimath@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/309 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: If18ff3732e8c22bbf684363783c2411db1f56ced Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2371
2010-09-02WP:239161 driver for backlight pwm control addedArun Murthy
Signed-off-by: Arun Murthy <arun.murthy@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/97 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: I2fc6cb8b8c0ec24ec7ed649861bc74cfef67f0af Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2368
2010-09-02ux500-cleanup: fix copyrights/authors for power management filesSundar R Iyer
FIDO_IR_ER: 260771 Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ia77f8b859f6775e5eab00600be497909e26b97f3 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2363 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02nomadik-gpio: set val in ->direction_output()Rabin Vincent
The ->direction_output() callback needs to set the value it was passed, in addition to setting the direction as output. On this peripheral, we can't set the value before setting the direction, so set it after. ST-Ericsson ID: ER262134 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I71e8972425309d7b80dc8a8a8c18a97bd294cc55 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2362 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02fix htmldoc warningsVirupax Sadashivpetimath
Patch to fix the htmldoc warnings in various kernel files. Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I435b9cc0e42640a1e43d5c5471667c4afb3eb883 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2361 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ux500: add system shutdown supportSundar R Iyer
This implementation is derived from Linus Walleij's similar support for mach-u300 platforms. We write to the Ab8500 reset register to shut off the board. An ideal way is to request the PRCMU for a system reset, which would be available only later on! ST-Ericsson Change ID: ER254471 Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I1571f5506aadac0ad55fa6db61246587de57fbcb Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2360 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ux500-gpio: fix sleep with spinlockRabin Vincent
stm_gpio_altfuncdisable() currently calls gpio_free() under a spinlock, which is incorrect because gpio_free() can sleep. Fix it by changing the lock to a mutex. ST-Ericssion ID: ER262281 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Ifb95e651fea0a4b288a29d128182e9774a7ec0e9 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2359 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ER 256770: Added exported function and sysfs implementation to call ↵Jayeeta Banerjee
mmc_detect_change() for SDIO host from userside or from kernel module. This is required for the WLAN card in order to allow the SDIO host to detect card status after enabling /disabling WLAN ip from WLAN driver. Also this patch removes WLAN specific code (enabling WLAN ip by controlling GPIO215) from mop500-sdi.c file. Signed-off-by: Jayeeta Banerjee <jayeeta.banerjee@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I129f91cad1889aa9a6d5e44edd212ed4c23bd6c2 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2357 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ux500: fix i2c clock on 8500edRabin Vincent
295b32e3 ("Fix for i2c clock to get 400Khz") caused I2C to stop working on ED. Fix it by correcting the I2C master clock rate to 48Mhz on ED. ST-Ericsson ID: ER262251 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Idb44220386fb836640a3f1fc8135cd2f3c9f95aa Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2356 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ux500-pm: "ApDeepSleep" low power state supportSundar R Iyer
This patch adds the "ApDeepSleep" low power state for the U8500 platform. The ApDeepSleep is the lowest power state, both the core/ape turned off. This low power mode can now be entered/exited through the standard linux PM framework echo mem > /sys/power/state will put the core into the deep sleep state. The system can be woken up from USB insertion, console, RTC events back to the execute mode. This patch - cleans existing non-working deepsleep code from PRCMU f/w file - cleans redundant code for cpu hotplug - re-orgs the platform pm.c file for supporting uart2/gic/icn/prcc peripheral contexts - fixes FIDO_IR_ER: 258539, make UART2 console as a wakeup event - incorporates review comments from gerrit The "ApSleep" power state can now be entered through the echo standby > /sys/power/state command. FIDO_IR_ER: 258539, add deep sleep support FIDO_IR_ER: 258539, make UART2 console as a wakeup event Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com> Acked-By: Biju C Das <biju.das@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I1ebb7fc193ec7dcea765c300277042464868493c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2355 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02ux500-ARM : make backup RAM as an executable areaSundar R Iyer
On the v1.0/ED boards, during the deep sleep resume, it is required to make the backup RAM area as "executable" in order manage MMU settings for a single core mode. As a result, the rom code requires such a condition for aligning SMP strategy for different per-core MMU configuration. This patch makes the backup RAM configuration area as executable by adding a new memory type. *This change will not be needed for U8500 v2.0 as the rom code would (hopefully as discussions are showing) be updated with a minor API change* This patch is a part of patches for the deep sleep feature for the U8500 and FIDO_IR_ER: 258539 This patch *must* be re-visisted during u8500 v2.0 cut or mainlining the deep sleep to community Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com> Acked-By: Biju C Das <biju.das@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: Idd7e59ba22d4f39cd87d843802a1e1cafda9af30 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2354 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2010-09-02mop500: configure I2C pins staticallyRabin Vincent
Use the pin config infrastructure to configure the I2C pins statically. ST-Ericsson Change ID: AP261164 Change-Id: Ief5f3549fb4d80051227af0abd5c9ac1a4ff65e4 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
2010-09-02ux500: add DB8500 pin configsRabin Vincent
ST-Ericsson Change ID: AP261164 Change-Id: I5e1c39b76a1cbc0b729a9d92917412f6fe222077 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
2010-09-02nomadik-gpio: switch to core_initcallRabin Vincent
Move the platform driver registration to a core_initcall, instead of an arch_initcall. This will allow us to use gpio related calls in init_machine() (which is an arch_initcall) after adding the gpio platform devices. ST-Ericsson Change ID: AP261164 Change-Id: Ifb4cb3e1b5000350d0e6076e13edcac6abdbe8cc Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
2010-09-02nomadik-gpio: add pin configuration APIRabin Vincent
Add a pin configuration API to allow pin-related configuration to be specified with a single macro and groups of pins to be configured at one go. Based on the PXA MFP implementation. ST-Ericsson Change ID: AP261164 Change-Id: I69f7b2aaaa757a0d30849b1443fefbbb804a7960 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
2010-09-02nomadik-gpio: add function to configure sleep mode behaviourRabin Vincent
ST-Ericsson Change ID: AP261164 Change-Id: I6c00ff124810e38aabaef7b30248809dda824e04 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
2010-09-02nomadik-gpio: convert set_pull to use an enumRabin Vincent
ST-Ericsson Change ID: AP261164 Change-Id: I66d82d55e8b135ec1b2a47e703ef96b3cbee0699 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
2010-09-02update all defconfigs for v2.6.34Mian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>