Age | Commit message (Collapse) | Author |
|
Add automatic suspend testcase that can be used from
android.
To use, write the number of time you wish to do suspend to
<debugfs>/pwr_test/suspend
and when done read the same file. It will answer PASS or
FAIL.
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Iad7d5365e7cde8b9aeeb87e99318e5455d56201f
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43663
|
|
Signed-off-by: ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>
|
|
Signed-off-by: ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>
|
|
Signed-off-by: ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>
|
|
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>
|
|
Signed-off-by: Vincent Guittot <vincent.guittot@stericsson.com>
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
This patch fixes a bug that occured when we had load on
a secondary CPU and the primary CPU was sleeping. Only
one sampling timer was spawned and it was spawned as a
deferred timer on the primary CPU, so when a secondary CPU
had a change in load this was not detected by the ondemand
governor.
This patch make sure that deferred timers are run on all
CPUs in the case of software controlled CPUs that run on
the same frequency.
Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com>
Reviewed-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ChangeLog v1->v2: forgot to include the refactorings for
cpu device rewrites, which is the version I actually tested,
mea culpa.
|
|
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>
|
|
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>
|
|
Print out regulator fast path usage and include their
usage when showing overall regulator use.
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Id65fa7b4047e4e033ad89d38ee04ed6ca3b8113f
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39736
|
|
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>
|
|
Add function provides ab8500 regulator status.
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Idf477e735ad19df1ff9d1eb29593895bab7f639e
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40650
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 418842
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I775a87594012cccabb7cdbbb7f11e5429476406f
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/51621
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 419724
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I0abb64e24fd4eadd01335e1fddd56a1b05c94ce9
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/51373
Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Brief:
As a preparation for the ICS hardware composer solution a
kernel API has been added to the b2r2 driver. Some minor
stability fixes are also part of this release. The full
support for dual b2r2 configuration should be in place,
but has yet to be verified with the apropriate hardware.
The change should have minor impact on the single core
solution.
Details:
A new logical device for handling the blitter requests
has been added. This is roughly the same device as the old
blitter the interfaces are therefore the same. From now there
is at least two devices - one blitter device and then for each
core one additional device (dual configuration is the current
target). As a consequence the maximum number of allowed cores
has been raised from 1 to 2.
When a dual configuration is active the b2r2 driver
seamlessly splits requests over available b2r2 cores. Each
request is assigned a core_mask defining which cores are doing
part of the job. This helps keep track when waiting for the reports.
Also, rectangles are now recalculated (based on intersection
of destination rectangle and destination image etc.) before
splitting the job in order to maximize throughput.
Clock and power source can now be configured from
devices-dbxxxx.c or equivalent.
Minor bug fixes:
- Check the return value from clk_enable
- Check if the core is valid before serving a IRQ.
- Check if the core is enabled (domain_enabled) before
adding a new job.
- Return actual job_id used for a request (previously
always 0)
ST-Ericsson ID: 404691
Original Change-Id: Ic3357c4c1e792a84077c1be4ba4c5acdb19da266
Signed-off-by: Jorgen Nilsson <jorgen.nilsson@stericsson.com>
|
|
This patch adds a function that returns the value of the reset
status register at startup. It also changes the read of the
(software) reset code, so that the saved value is only read at
startup.
ST Ericsson ID: 366664
ST Ericsson FOSS-OUT ID: trivial
Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
|
|
platform data for pwm driver, which contains
no.of supported pwm and pwm out led's
ST-Ericsson ID: 366316
Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 417413
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I09a2fe9700aeea8b98c01658dfb3381a68178b27
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48921
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
usecase_mutex is used by delayed_usecase_work(). Unlock it before calling
cancel_delayed_work_sync(). protect usecase_update_governor_state() with
its own mutex.
ST-Ericsson Linux next: -
ST-Ericsson ID: ER417298
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I373f34eaf87949ca8ccdbcd19e08ea638b76ac39
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/49418
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ia53f512d5411e4a1cfd1f32e6d94b301e23fe2be
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/49942
Reviewed-by: QABUILD
Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com>
|
|
Correct values for PRCC_K_SOFTRST_SET and PRCC_K_SOFTRST_CLR.
Fix minor typo for PRCC_K_SOFTRST_SDI0_MASK.
ST-Ericsson ID: -
Signed-off-by: Fredrik Soderstedt <fredrik.soderstedt@stericsson.com>
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 417413
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I33bc3a5eb0ca20d6cf9adeb3dbfb84e9c3f12538
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/49037
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
ST Ericsson ID: 415739
ST Ericsson FOSS-OUT ID: trivial
Change-Id: Ie91459599caa335546d40797b93dade4ec3d7863
Signed-off-by: Mattias Nilsson <mattias.i.nilsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/49587
Reviewed-by: Mian Yousaf KAUKAB <mian.yousaf.kaukab@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
The external regulator driver checks for old AB8500 HW
to apply a fix. This patch adds a check to see that
it is a AB8500 (not AB8505/AB9540).
ST-Ericsson ID: 366316
ST-Ericsson Linux next: -
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Icec5a3a03ad8bb7261b21163cf33477e0da6ee5e
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/49031
Reviewed-by: QABUILD
Reviewed-by: QATEST
|
|
Update TVOUT regulator to match specification. (Was 10ms, changed to 500us.)
ST-Ericsson Linux next: -
ST-Ericsson ID: 408044
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ib5fa7de2cffca189c7858a8e33f96183efb7e13e
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48709
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I6f1655e9f435cc26e6da80a198491f0139b5ca63
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48708
Reviewed-by: QABUILD
Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
|
|
Adds a debugfs entry named prcmu/interrupts that displays
the different kinds of prcmu interrupts. It shows a summary
of how many calls to the different mailboxes and for mailbox0
the different events.
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I049e85c23a8344bf317043f3a532ce764d5e3b39
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42475
|
|
Remove check for pre v2.0 db8500 since pre v2.0 hardware is no longer supported.
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I4ee6bdbf9b4803dfe6f2918f2b1d64dbf7ebee70
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43192
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Mattias NILSSON <mattias.i.nilsson@stericsson.com>
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I2b91ae549344d18f2eb2062cec975397bec89ecc
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47970
|
|
ST-Ericsson Linux next: NA
ST-Ericsson ID: 371953
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I69504f736f3ec3d5a5ea6b6ad24ebeefc97272fc
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48105
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
ST-Ericsson Linux next: NA
ST-Ericsson ID: 371953
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Iba06651788ff8fd850155b1f2c22ed0417b7852c
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48104
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Once a max arm opp was set, it was kept no matter what.
This patch simplifies the code and make sure any changes
to the min/max frequency always get propagated.
ST-Ericsson Linux next: -
ST-Ericsson ID: 403563
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I3ed7eceadb767fc0f0ba176c8fcc9794427b24fd
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43051
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 371953
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ief21eef4e5ca13da5c8dd748366bbe48ad4b3466
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47885
|
|
ST-Ericsson ID: 409625
ST-Ericsson FOSS-OUT ID: trivial
ST-Ericsson Linux next: NA
Change-Id: I8d6135e8d4920a801a2836435479cce575c27a5e
Signed-off-by: Maxime Coquelin <maxime.coquelin@st-ericsson.com>
Signed-off-by: Alex MACRO <alex.macro@stericsson.com>
Signed-off-by: Michel JAOUEN <michel.jaouen@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46634
|
|
ST-Ericsson ID: 409625
Signed-off-by: Guillaume Kouadio Carry <guillaume.kouadio-carry@stericsson.com>
Signed-off-by: Alex MACRO <alex.macro@stericsson.com>
Signed-off-by: David Paris <david.paris@stericsson.com>
Signed-off-by: Michel JAOUEN <michel.jaouen@stericsson.com>
|
|
id, cpu, irq, reg, timer, uart, l2 cache.
ST-Ericsson ID: 409625
Signed-off-by: Michel JAOUEN <michel.jaouen@stericsson.com>
|
|
Register is removed in AB8505.
ST-Ericsson Linux next: -
ST-Ericsson ID: 371953
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I26efe988f42a45863a13afaaad1f5dd909d643a7
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47883
|
|
ST-Ericsson ID: 407467
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I1172792bf5056bbb5cc329e5789bcd65b0fa32d0
Signed-off-by: Michel JAOUEN <michel.jaouen@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46769
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Also get rid of iowait averaging as it is not used.
ST-Ericsson Linux next: -
ST-Ericsson ID: 371446
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ie2739cdc9c2b6a539aa49a4de7b627804c0746ae
Reported-by: Venkata Biswanath Devarasetty <venkata.biswanath@stericsson.com>
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47587
Reviewed-by: QABUILD
Reviewed-by: Venkata Biswanath DEVARASETTY <venkata.biswanath@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
1- Debugfs nodes are created so that user-space daemons can get a snapshot
2- Kernel API is added to dump them in kernel log
ST-Ericsson Linux next: -
ST-Ericsson ID: 402239
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I0a66246ad1eaa71362d817bb3f6b5f72b259d592
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47127
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
ST-Ericsson ID: 411009
ST-Ericsson Linux next: Not tested
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ic8fb17e4ecb09b0b5d5cdf213d67217f01ff84d8
Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45908
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
There is no real need for reading back the PRCM_A9_MASK_REQ
register because we wait a certain time for the GIC to be frozen
anyway.
ST-Ericsson ID: 411699
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I78e4d3a6ce8a46b8f179aeba5d08981e58040bfc
Signed-off-by: Rickard Andersson <rickard.andersson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46772
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
It is always safe to disable RTC_RTT timer before checking RTT
interrupt status to avoid race condition.
ST-Ericsson ID: 345151
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Change-Id:Id8b120cacdbe6c13affcdf43bd7876ea45631bd2
Signed-off-by: Rajkumar Kasirajan <rajkumar.kasirajan@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45849
Reviewed-by: QATOOLS
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
Print out an error message if the ARM OPP provided
from the prcmu fw is unknown to us.
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I9456bd967b2dab3756f646f10c1d1e5f98b437fa
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43592
|
|
If android via the wakelocks, hammers on suspend,
there could be a race between the enable secondary
cpus thread and the suspend call.
Make suspend wait for any lingering enabling of
secondary cpus.
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I1c346f9aed6afb76968a0e6058d534d8ebc158af
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/39194
Reviewed-by: QABUILD
Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
|
|
ST-Ericsson ID: 345151
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Signed-off-by: Rajkumar Kasirajan <rajkumar.kasirajan@stericsson.com>
Change-Id: I09dd2c0999a03ac70c4d047a41e1cbcca4943b9c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46033
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
ST-Ericsson ID: 345151
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: NA
Change-Id:Ib1f0832e7ef4cc7398bfd479469f24c2feb4532e
Signed-off-by: Rajkumar Kasirajan <rajkumar.kasirajan@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46034
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
The PRCM_DSI_GLITCHFREE_EN is used by the dsilink to select if
the source of the byteclk should be system clock (normally MCDE CLK)
or hs clock.
ST-Ericsson ID: 403880
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I39d242be63ff4422823c83be0e10a70e28a7d2e8
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42963
Reviewed-by: QABUILD
Reviewed-by: Per PERSSON <per.xb.persson@stericsson.com>
|