summaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)Author
2012-01-26Remove keyboard pin definition for snowballHEADigloo-devandroid-20120201Benn Pörscke
Interfered with CG2900 Change-Id: I4475fd73be0d58856dd6f424e6d47b34f8ff9404
2011-12-16Squashandroid-20111223Benn Pörscke
Change-Id: I2fcf46d1fc4b0cd4c61e5be3654c43b80db86015
2011-10-28ARM: pxa/cm-x300: fix V3020 RTC functionalityIgor Grinberg
commit 6c7b3ea52e345ab614edb91d3f0e9f3bb3713871 upstream. While in sleep mode the CS# and other V3020 RTC GPIOs must be driven high, otherwise V3020 RTC fails to keep the right time in sleep mode. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il> Signed-off-by: Eric Miao <eric.y.miao@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Change-Id: I44e37600a66d4097d489c04283af800db73543b0 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35597 Tested-by: Per VAHLNE <per.xx.vahlne@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-28ARM: ux500: gpio-keys: Remove dynamic handling of pinsJonas Aaberg
Dynamic handling of pins does not work properly if done manually from suspend/resume hooks, so let's remove it for the time beeing. ST-Ericsson Linux next: - ST-Ericsson ID: 369952 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I3b130256b19af7feae9db0e4a1bd72c7856bb88c Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35405 Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com> Reviewed-by: QABUILD
2011-10-28u5500: add MTIMER clocksourceRabin Vincent
ST-Ericsson ID: 368260 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Depends-On: I5307cb7f58fdf890896d641a8e4f49098a90b68e Change-Id: I9ef4ff1c63f6ec9293ece4013f13cf3caa707d9d Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34307 Reviewed-by: QATOOLS Reviewed-by: QABUILD
2011-10-27ARM: ux500: SDI: enable DMA on all SDI devicesPer Forlin
Enable DMA again now when power save for MMC and DMA is in place. Patch is tested: * suspend and resume successfully in Android. * suspend video playback from sd-card and resume it successfully in Android. ST-Ericsson ID: 370129 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I4eb9367c3feeb8661e33035d4d3022205b9e924b Signed-off-by: Per Forlin <per.forlin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35325 Reviewed-by: Stefan NILSSON9 <stefan.xk.nilsson@stericsson.com> Tested-by: Stefan NILSSON9 <stefan.xk.nilsson@stericsson.com> Reviewed-by: Ulf HANSSON <ulf.hansson@stericsson.com>
2011-10-27mach-ux500: Fixup use of supend|resume_noirqUlf Hansson
Changes needed due to the following commit: PM: Limit race conditions between runtime PM and system sleep (v2) Previously it was was possible for drivers doing pm_runtime_suspend and pm_runtime_put_sync directly from it's suspend callbacks. Now suspend_noirq shall be used, thus this is implemented for AMBA. Additionally pm_runtime is now disabled during system suspend, meaning "pm_runtime_status_suspended" must be used in suspend|resume_noirq context instead of "pm_runtime_suspended". Change-Id: Idda935d422884ecb3c4b6f5e415cd2e0077b06c7 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35504 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2011-10-27u8500/u5500: Increase number of MMC minor devicesJohan Rudholm
Increase the number of MMC minor devices from 8 to 32. This is because Android recovery mode needs access to additional partitions, and it is neat to keep MMC device partitions within major number 179 (otherwise any partition >8 would be assigned major number BLOCK_EXT_MAJOR, 259). 32 was chosen as the highest possible number when considering that the two eMMC devices contain two boot partitions each. ST-Ericsson ID: 356788 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Iffc42c595f655fe6ddc874875ae2606366f964ef Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35465 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-27ARM: hw_breakpoint: don't fault when debug is not poweredRabin Vincent
If the debug logic is not powered, the processor can unfortunately raise an undefined instruction exception on the instruction that we use to check if the debug logic is powered up or not. Handle this with an undef hook, so that the kernel doesn't crash on boot on such setups. ST-Ericsson ID: 370131 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I5802811ac0676d3d13782897b6941dcaee3e4721 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35326 Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-27mach: ux500: Make fb create code genericMarcus Lorentzon
fbdev create use an hmdi specific function. This patch remove that function and makes fbcreate generic and shared. ST-Ericsson ID: 369972 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I8a4b148bb6a01cde74fbe7c4fb30e9d7ee77ef68 Signed-off-by: Marcus Lorentzon <marcus.xm.lorentzon@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35244 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Robert MARKLUND <robert.marklund@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
2011-10-26ux500: pm: fix cpuidle debug configRabin Vincent
CONFIG_U8500_CPUIDLE_DEBUG has been renamed to UX500. Fix the source file so that the code actually gets built. ST-Ericsson ID: 370028 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id2c9019f2e319b9cebd92e268194e0652dbfd265 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35275 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
2011-10-26u8500: Adding clock control callback into platform data.Dmitry Tarnyagin
cw1200 device has hardware clock control. However on some platforms it is required to explicitly enable clock for the device. The patch adds a clock control callback into the platform data. ST-Ericsson ID: 361990 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: Ic4cfa86559e0968238dd0f49dd4391354c241f47 Signed-off-by: Dmitry Tarnyagin <dmitry.tarnyagin@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34294 Reviewed-by: QABUILD Tested-by: Bartosz MARKOWSKI <bartosz.markowski@tieto.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-26[U9500] Correct the U9500 identificationRejane Durand
With a u9500-100 software, "pins_for_u9500" as well as "machine_is_hrefv60" returns true. So, if "machine_is_hrefv60" is tested before "pins_for_u9500", the u9500 specifics will never be applied. ST-Ericsson ID: 369957 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I33aacae5948174187dff80a51692938d49184f80 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35238 Reviewed-by: QATOOLS Reviewed-by: QABUILD Reviewed-by: Rejane DURAND <rejane.durand@stericsson.com> Tested-by: Rejane DURAND <rejane.durand@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2011-10-25[U9500] Correct the GPIO configuration for WLANRejane Durand
There are two parts in this correction. Firstly, as there is much in common between a U9500 platform and a U8500 one, all the tests performed to identify a U9500 platform shall be done before the ones related to U8500. Otherwise, the platform will be considered as a U8500 one and the GPIOs will be badly configured. Secondly, the mapping of WLAN_IRQ has to be changed. On U8500, WLAN_IRQ is mapped onto GPIO04. On U9500, it is GPIO144 that shall be used. ST-Ericsson ID: 368270 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I5880f617c65f7cf4ca9eeabf22a53f7a77c20133 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34320 Reviewed-by: Rejane DURAND <rejane.durand@stericsson.com> Tested-by: Rejane DURAND <rejane.durand@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Baptiste CHAULOUX <baptiste.chauloux@stericsson.com> Tested-by: Baptiste CHAULOUX <baptiste.chauloux@stericsson.com> Reviewed-by: Christophe GUIBOUT <christophe.guibout@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-25u8500: Enable dynamic debugMarek Skowron
Enables CONFIG_DYNAMIC_DEBUG in u8500_defconfig. ST-Ericsson Linux next: Not tested ST-Ericsson ID: 369633 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Marek Skowron <marek.skowron@tieto.com> Change-Id: I4d6a5bfcf379d6fedd662380b750412592eb8f35 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35075 Reviewed-by: Marek SKOWRON <marek.skowron@tieto.com> Tested-by: Marek SKOWRON <marek.skowron@tieto.com> Reviewed-by: QABUILD Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-25mach-ux500: Save dbx500 registers on crashJohan Palsson
Reads specific DBx500 register in case of kernel crash and saves it in kernel system memory. ST-Ericsson ID: 367366 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: N/A Change-Id: Ib8da2ab5eaad57b780c00aad495c5d689b081460 Signed-off-by: Johan Bjornstedt <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34368 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-25ux500: mcde: Remove static board configurationMarcus Lorentzon
Make device registration more dynamic using mach_is_xxx() and uib_is_xxx() type of calls instead of having compile time Kconfig settings. And clean out most unused static configuration data. ST-Ericsson ID: 368402 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I37dad7a96017e8f48f77645a4ef417632035651e Signed-off-by: Marcus Lorentzon <marcus.xm.lorentzon@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34285
2011-10-25ux500: mcde: Remove DSI generic deviceMarcus Lorentzon
Remove DSI generic device from u5500 board since it's no longer used/supported in that config. ST-Ericsson ID: 368802 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I7b2ef387e1a4333a06d99b9c90cd6c4ad884bd1c Signed-off-by: Marcus Lorentzon <marcus.xm.lorentzon@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34407 Reviewed-by: QATOOLS
2011-10-25ux500: mcde: Remove DPI display deviceMarcus Lorentzon
DPI display device is no longer used or supported ST-Ericsson ID: 368801 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: If32b34580ab01c74a2b8b91961d6f267550f8252 Signed-off-by: Marcus Lorentzon <marcus.xm.lorentzon@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34406 Reviewed-by: QATOOLS
2011-10-24dma40: Enable lcla in esram in u8500Narayanan G
This patch will enable the lcla in esram feature. ST-Ericsson ID: 364165 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: If5d86036b8b9ef72863c447f0e400bb4e51b2ab3 Signed-off-by: Narayanan G <narayanan.gopalakrishnan@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33924 Reviewed-by: QABUILD Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com> Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
2011-10-24u8500_defconfig: Add support for active FTP in NAPChristian Nilsson
Allowing active ftp to work when running NAP by adding support in conntrack and nat for it. ST-Ericsson ID: 364593 ST-Ericsson FOSS-OUT ID: NA Change-Id: I1f17ab1ccdef0db7d9a82a60fec686abbf6c2d5f Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34953 Reviewed-by: Christian NILSSON <christian.c.nilsson@stericsson.com> Tested-by: Christian NILSSON <christian.c.nilsson@stericsson.com> Reviewed-by: Carl-Johan SALOMONSSON <carl-johan.salomonsson@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-21ARM: ux500: Remove outdated sensors1p driverJonas Aaberg
Replaced by gpio-keyboard implementation. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic6c8ea1d83c4b3d8ad6bbd9aa06ff30213cab6be Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32695
2011-10-21ARM: ux500: sensors: Update with gpio handlingJonas Aaberg
Update the gpio-keyboard use of hal and proximity sensors to use the ux500 pin framework. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I409d9734c3995d6cfdfff8c7196624a4f89b3e2d Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32694
2011-10-21ARM: ux500: pins-debug: Only show relevant informationJonas Aaberg
Information only valid to force gpio pins when suspending was displayed. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I47b9204449a27ddae6a3054b191192aa160917c2 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33864
2011-10-21ARM: ux500: pins-debug: Fix leakJonas Aaberg
Each time debugfs/pins was accessed a small chunch of memory was lost. ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ic5752e1d835e2998019a950048ac992b6f9725a6 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34921
2011-10-21ARM: configs: u8500: Enable cpuidle ApSleepJonas Aaberg
Enable ApSleep for cpuidle use again. ST-Ericsson Linux next: - ST-Ericsson ID: 363568 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ieeedc2b6165cb08ef01553055b7f36c84f6950c3 Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34912
2011-10-21mach-ux500: Fixup pm_runtime for AMBA devicesUlf Hansson
Using power domains for a device and then calling generic runtime functions will shortcut runtime functions for the "type", "class" and "bus". For the AMBA bus this needs to be handled, thus check if bus runtime functions exist and then use them instead of the generic runtime functions. Moreover an AMBA device is during probe put in resumed state, without executing runtime resume hooks. This means the power domain runtime for AMBA shall during initialization be set to a resumed state ad default. Finally replace the ux500 specific suspend|resume_noirq functions with the those from the AMBA bus. Change-Id: Id1b9cab5c83063c7937d619ed71b8b54f00ec2b3 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34165 Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com>
2011-10-20[ANDROID]: ux500: pm: usecase: use both cpu cores during voice-callMian Yousaf Kaukab
Audio thread sees a significant delay in scheduling, if it get scheduled on the cpu core1, right after core1 is brought online. Kepping core1 online solves this problem. Power impact of keeping core1 online is negligible. ST-Ericsson ID: 361756 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I9ad0521123689e06906d4f55f25536043eb8fa32 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34624 Reviewed-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com> Tested-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com> Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2011-10-20[ANDROID]: ux500: pm: usecase: remove upper arm frequency boundsMian Yousaf Kaukab
There is no need to specify upper arm frequency bounds for low-power-audio and voice-call. CPUFreq's statistics shows that when running at 400MHz, 95% of the time frequency is not increased for these use-cases. Power figures for these use-cases show no impact after removing upper bounds. Not having upper bounds will prevent the CPU from chocking when a audio codec with higher mips requirements is in use. Moreover, instead of using lower arm frequency bounds, use PRCMU ARM QOS and specify the required operating point. ST-Ericsson ID: 361756 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I629201af7c3dc143308c92aa4bb88a8341156824 Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34278 Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com> Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2011-10-20Revert "u5500: remove ondemand as default cpufreq governor"Rabin Vincent
This reverts commit 3cc30c501bcdbd06ca984ea81573ffe79b397f73. The video use cases have apparently been optimized so that they work properly with this governor, at least for now. ST-Ericsson ID: 365995 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I6ea825bcca973a584ad82cb41c3282b5eafbca8f Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34696
2011-10-20u5500: fix handling of IRDACLK and IRRCCLKRabin Vincent
IRDACLK needs to be requested from the firmware. IRDACLK and IRRCCLK need to be parented to the SOC1 PLL. ST-Ericsson ID: 361212 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Id336deda4639729dd5b847c168e52c05393c1bfc Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34593 Reviewed-by: QATOOLS Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
2011-10-20ux500: mcde: Remove unnecessary MCDE fbdev updateMarcus Lorentzon
The first fbdev update in board-xxx-mcde.c is not needed. Screen will be updated at first fbdev pan. ST-Ericsson ID: 365249, 361835 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I8055448e9be967530b783734473a32d579ba74fd Signed-off-by: Marcus Lorentzon <marcus.xm.lorentzon@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34120 Reviewed-by: QATOOLS Reviewed-by: Jayarami REDDY <jayarami.reddy@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
2011-10-20ux500 pins: Set sleep-mode HSI GPIO configurationChris Blair
Configures the HSI GPIO pins so that they have the correct direction and level when the platform enters sleep (IOFORCE) and deep sleep (forced pin configuration). ST-Ericsson ID: 365658 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: Iab2e7af5a1928d2cbdeb8833ab7334112528ac56 Signed-off-by: Chris Blair <chris.blair@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34610 Reviewed-by: Alex MACRO <alex.macro@stericsson.com> Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2011-10-20ux500 pins: Configure HSI GPIO pins only for U9500Elena Uleia
ST-Ericsson Linux next: NA ST-Ericsson ID: 338703 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Yas Parvizian <yas.parvizian@stericsson.com> Change-Id: I42cca5d492c04090aa5d1ec1d81b5286cb8efafa Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32380 Tested-by: Christopher BLAIR <chris.blair@stericsson.com> Reviewed-by: Alex MACRO <alex.macro@stericsson.com> Reviewed-by: QATOOLS Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
2011-10-20u5500: add correct GPIO devicesRabin Vincent
Add the correct devices which have all the platform data related to power management. ST-Ericsson ID: 361345 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I913d85ec7144e1f15e150cb365fbf1fdc54a4b97 Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34637 Reviewed-by: QATOOLS Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
2011-10-20dma40: remove export of stedma40_memcpy_sgRabin Vincent
The dmaengine framework has the API for this now. ST-Ericsson ID: 362972 ST-Ericsson FOSS-OUT ID: NA ST-Ericsson Linux next: NA Change-Id: I60e6df6532ec0d263bf40bb4b52f3f86d01b9989 Depends-on: I8ad8fb94eca418f889d31a37940b2d6fa09da404 Acked-by: Per Forlin <per.forlin@stericsson.com> Acked-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34417 Tested-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com> Reviewed-by: QATOOLS
2011-10-19arm: ux500: add plldsi and dsi{0,1}clkMattias Nilsson
This patch adds the PLLDSI and the two subclocks dsi{0,1}clk to the U8500 clock tree. ST Ericsson ID: 343004, 359227 ST Ericsson FOSS-OUT ID: trivial Change-Id: I36b5a9b741da293b58ecd0bbeaf5678832104b34 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34372 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19arm: ux500: updated clk_set_rateMattias Nilsson
This patch updates clk_set_rate so that it only works for disabled clocks, as well as making sure that it doesn't interfere with itself at another depth of the clock tree. ST Ericsson ID: 343004, 359227 ST Ericsson FOSS-OUT ID: trivial Change-Id: I9dbf32f73e89f8f248e51b15097b50975b951a73 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32967 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19arm: ux500: add u8500 dsiescclk:sMattias Nilsson
This patch adds the DSI Escape clocks to the U8500 clock tree. ST Ericsson ID: 343004, 359227 ST Ericsson FOSS-OUT ID: trivial Change-Id: Ieead87a009fc36ccbfe91fc3e5b23ca431803925 Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32966 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19ARM: ux500: board-mop500-stuib: bu21013: fix warningJonas Aaberg
ST-Ericsson Linux next: - ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I096faf6e6faa55b875dcac24f08473fadce5378b Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33870 Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2011-10-19u8500_defconfig: Enable dynamic debugSzymon Janc
ST-Ericsson Linux next: NA ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie9b663377cef8bb62ce9cd06fcca4f13516d5959 Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34366 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19ARM: ux500: pm: Check proper return valuesJohan Rudholm
A return value from schedule_delayed_work not equal to zero does not mean failure, but the code in performance_register assumed so. ST-Ericsson ID: 357764 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: Ib8c822fdef98d721d37dcbb2fad278b7b3559610 Signed-off-by: Johan Rudholm <johan.rudholm@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34377 Reviewed-by: QATOOLS Reviewed-by: Per FORLIN <per.forlin@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19ARM: ux500: suspend: Run suspend/resume at ARM_MAX_OPPMagnus Templing
ST-Ericsson ID: 366044 ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Magnus Templing <magnus.templing@stericsson.com> Change-Id: Ic1fdefcd437b7fb1caec5af43221ed01c8a2a0b7 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34428 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19ARM: u8500: Add control for modem and ape traceJurijs Soloveckis
SD-card, mipi34 and mipi60 IFs can be configured for modem or ape trace, using u-boot cmd prompt. STM drv is controlled via kernel environment vars: Example: stm.microsd=[none|modem|ape], or stm.mipi34=[none|modem|ape], or stm.mipi60=[none|modem|ape] If trace set to ape, use stm.stm_ter=N to init STM_TER reg with decimal value N (default: N=0). ST-Ericsson ID: 349677 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ie04e4c004417c4542259e3074f1fa2fd4f00ce6d Depends-On: I7bbcf263b83338d7b05413dd9dc0ac2ec4880601 Signed-off-by: Jurijs Soloveckis <jurijs.soloveckis@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34160 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19ARM: u8500: API for PRCMU_GPIOCR registerJurijs Soloveckis
The PRCMU_GPIOCR register modification within STM driver is implemented via corresponding API functions. ST-Ericsson ID: 349677 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7bbcf263b83338d7b05413dd9dc0ac2ec4880601 Depends-On: I5d3d0e069b0e8929b99fcfe9cb5e37a950caf716 Signed-off-by: Jurijs Soloveckis <jurijs.soloveckis@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33429 Reviewed-by: QATOOLS Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-19ux500: mcde: Remove mcde hardware specificsJimmy Rubin
Removes num_channels, num_dsilinks and num_overlays from mcde platform data in devices-db5500.c and devices-db8500.c ST-Ericsson ID: 362765 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com> Change-Id: Ie345c910660dd2c657e02a3a3e281fd09af0e9bc Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33324 Reviewed-by: QATOOLS Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com> Reviewed-by: Marcus LORENTZON <marcus.xm.lorentzon@stericsson.com>
2011-10-18clocksource: fixup ux500 build problemsLinus Walleij
Based on a patch from Arnd Bergmann this fixes up the build problem of assigning a non-existing global when the ux500 PRCMU timer is not linked in by passing its base address to the init function. We also add a missing <linux/errno.h> inclusion and staticize the dummy function. Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> ST-Ericsson ID: 368260 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I87ec2eb27e157433fa12fb4eafc165a6217a869b Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34327 Reviewed-by: QATOOLS Tested-by: Rabin VINCENT <rabin.vincent@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
2011-10-18u8500: Configure SysClkReqRfClkBufKennet Wallden
Added the possibility to configure SysCl1kReqRfClkBuf - SysClk8ReqRfClkBuf ST-Ericsson ID: 360052 ST-Ericsson Linux next: N/A ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I7813ae4a73701d874e39556c60608ff66e1d016d Signed-off-by: Kennet Wallden <kennet.wallden@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32261 Reviewed-by: Karl-Johan PERNTZ <karl-johan.perntz@stericsson.com> Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
2011-10-18mach-ux500: Fixup pins for SD-card/camera flashUlf Hansson
Fixed problem introduced in commit: ux500: camera_flash: add platform data for adp1653 Wrong pin configuration was set for camera flash enable pin. It was set to 22 but should be 21. 22 is SD-card FBCLK pin. Change-Id: Ibda29d091567a6cbecb6efbbb5ec97c6282f824b Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34324
2011-10-18ux500: mcde: Shift the rotation buffer addressbarge
Shift the rotation buffer address by 8k to free space for dma lcla area. Do that for all displays. ST-Ericsson ID: 364165 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: NA Change-Id: I4bc5b72f6d198f26c7b48572cb3843d18c6b8553 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34168 Reviewed-by: Sylvain BARGE <sylvain.barge@stericsson.com> Tested-by: Sylvain BARGE <sylvain.barge@stericsson.com> Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>