Age | Commit message (Collapse) | Author |
|
There are conflicts with Snowball GPIOs
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
|
|
integration-linux-ux500-3.3
Conflicts:
arch/arm/mach-ux500/Makefile
drivers/mfd/db8500-prcmu.c
include/linux/mfd/db8500-prcmu.h
include/linux/mfd/dbx500-prcmu.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
By disbaling the suspend we could avoid the hangs in suspend and resume.
This workaround will be removed once the power management supports
for all other peripheral drivers.
Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I9bb0d97f8562d6abef8b0a6d424ad38bf7f58a1c
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50944
Reviewed-by: QABUILD
Reviewed-by: Arun MURTHY <arun.murthy@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Add power module test. This test, in debugfs/pwr_test/idle shall
pass when the screen is black, but suspend is not yet reached.
This module test checks clocks, prcmu-regulators, db8500 regulators
and ab8500 regulators.
The reason why not adding this to LTP is that
later this module test will contain tests for voicecall and
low-power-audio, which require Android to run.
ST-Ericsson ID: 367599
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
|
|
During booting of cpu1, there is a short window where cpu1
is online, but not active where cpu1 is occupied by waiting
to become active. If cpu0 then decides to schedule something
on cpu1 and wait for it to complete, before cpu0 has set
cpu1 active, we have a deadlock.
This is just a work around to hide the original problem.
ST-Ericsson Linux next: -
ST-Ericsson ID: 419957
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I133e511cece4024375cc92a82f79bd799514d71d
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/51514
Reviewed-by: QABUILD
Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com>
|
|
Sets CONFIG_UID_STAT=y in u8500_defconfig
to enable network usage statistics per UID.
ST-Ericsson Linux next: -
ST-Ericsson ID: 410876
ST-Ericsson FOSS-OUT ID: NA
Change-Id: I812748a9997fb30a15810892b7a829f9e9c4cb7c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50545
Reviewed-by: Dominik SLIWA <dominik.sliwa@tieto.com>
Tested-by: Dominik SLIWA <dominik.sliwa@tieto.com>
Reviewed-by: QABUILD
Reviewed-by: Tomasz HLIWIAK <tomasz.hliwiak@tieto.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
ST-Ericsson ID: 370799
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
|
|
The cable detect clock is always enabled. This should be
switched off at the startup. Can be switched on when required.
ST-Ericsson ID: 402683
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I08cdf267c1b4c6131a7d881df741ed7a2f3318cd
Signed-off-by: Venkata Biswanath <venkata.biswanath@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41806
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
|
|
This reverts commit 9bfa8c7f5cf9aff1df84f1761841c8f3e7c84e97.
|
|
By disbaling the suspend we could avoid the hangs in suspend and resume.
This workaround will be removed once the power management supports
for all other peripheral drivers.
Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>
|
|
On snwoball V5 and up GPIO161 is routed to PMU_EN of the cg2900
and as such shouldn't be configured to handle an event from the
external connector (J23).
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
Snowball have the GPIO_EN on GPIO161 diffrent from u8500.
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
|
|
As the different prcmu routines are not supporting the db5500
board and will return EINVAL, it is pointless to use the other
states than WFI.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
This patch adds the cpuidle driver for the ux500 SoC.
The boards saves 12mA with these states. It is based on the latest
cpuidle consolidation from Robert Lee.
The cpu can go to retention only if the other core is in WFI.
If the other cpu is in WFI and we decoupled the gic from the cores,
then we have the guarantee, it won't be wake up.
It is up to the prcmu firmware to recouple the gic automatically
after the power state mode is selected.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
Enable core cpuidle timekeeping and irq enabling and remove that
handling from this code.
Signed-off-by: Robert Lee <rob.lee@linaro.org>
|
|
Add basic imx6q cpuidle driver. For now, only basic WFI state is
supported. Deeper idle will be added in the future.
Signed-off-by: Robert Lee <rob.lee@linaro.org>
|
|
Add imx5 cpuidle driver.
Signed-off-by: Robert Lee <rob.lee@linaro.org>
|
|
Add common cpuidle init functionality that can be used by various
imx platforms.
Signed-off-by: Robert Lee <rob.lee@linaro.org>
|
|
Make necessary changes to implement time keeping and irq enabling
in the core cpuidle code. This will allow the removal of these
functionalities from various platform cpuidle implementations whose
timekeeping and irq enabling follows the form in this common code.
Signed-off-by: Robert Lee <rob.lee@linaro.org>
Tested-by: Jean Pihet<j-pihet@ti.com>
Tested-by: Amit Daniel<amit.kachhap@linaro.org>
Tested-by: Robert Lee<rob.lee@linaro.org>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Deepthi Dharwar<deepthi@linux.vnet.ibm.com>
Acked-by: Jean Pihet<j-pihet@ti.com>
|
|
This patch enables calling generic l2 setup functions if device tree is used.
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
|
|
Following the merge of CPU PM notifiers and L2 resume code, this patch
removes useless code to save and restore L2 registers.
This is now automatically covered by suspend calls which integrated
CPU PM notifiers and new sleep code that allows to resume L2 before MMU
is turned on.
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
|
|
This patch adds code to save L2 register configuration at boot, and
later used to resume L2 before MMU is enabled in suspend and cpuidle
resume paths.
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
|
|
This patch adds code to resume L2 before MMU is enabled in
suspend and cpuidle resume paths. s3c_cpu_resume is moved to the
data section with appropriate comments.
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
|
|
This patch adds support AFTR(ARM OFF TOP RUNNING) mode in
cpuidle driver. L2 cache keeps their data in this mode.
This patch ports the code to the latest interfaces to
save/restore CPU state inclusive of CPU PM notifiers, l2
resume and cpu_suspend/resume.
Signed-off-by: Jaecheol Lee <jc.lee@samsung.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
[kgene.kim@samsung.com: fixed for non-smp as per Tushar's pointing out]
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
|
|
ST-Ericsson Linux next: NA
ST-Ericsson ID: 365681
ST-Ericsson FOSS-OUT ID: NA
Change-Id: I396c2a4d44ded438308e358aa0ad976a397d4dd6
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33224
Reviewed-by: Christopher BLAIR <chris.blair@stericsson.com>
Reviewed-by: Derek MORTON <derek.morton@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
Added support for HSIR PIPELINED mode (also in drivers/hsi)
Added DMA max burst (in DMA words) as a parameter in hsi.h
DMA channel high priority set to TRUE for HSI
ST-Ericsson ID: 356625
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Id842e61343ce5013992337db085fcbe91dd5b9f7
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32180
Reviewed-by: Yann GAUTIER <yann.gautier@stericsson.com>
Reviewed-by: Andrew LYNN <andrew.lynn@stericsson.com>
|
|
Change-Id: Ibe70431ede8a9707b37e3394c22beb9acc42d8cb
Signed-off-by: Pawel Szyszuk <pawel.szyszuk@stericsson.com>
|
|
Add OMAP SSI device and driver to the kernel configuration
Change-Id: I7f21d4016a98db6f53efcd03f9ffd176b8845d7c
Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20577
Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Conflicts:
arch/arm/mach-omap2/Makefile
|
|
Introduces the OMAP SSI driver in the kernel.
The Synchronous Serial Interface (SSI) is a legacy version
of HSI. As in the case of HSI, it is mainly used to connect
Application engines (APE) with cellular modem engines (CMT)
in cellular handsets.
It provides a multichannel, full-duplex, multi-core communication
with no reference clock. The OMAP SSI block is capable of reaching
speeds of 110 Mbit/s.
Change-Id: Iea002a8f321cf66ab439552620af001206626ed6
Signed-off-by: Carlos Chinea <carlos.chinea@nokia.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/20576
Reviewed-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Tested-by: Pawel SZYSZUK <pawel.szyszuk@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|