Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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
|
|
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: 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
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
JTAG state saved into product config for Snowball seems to be wrong,
this disables JTAG debugging, so enabled it always
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
For fsmc clock the driver name is ignored (can be use by different driver).
Add a v-fsmc consumer for vape regulator,
for now only the Snowball smsc911x driver needs it.
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
DB5500 v1 is no longer supported and now the code makes the
assumption that it runs on hardware revision >= v2. So, lets
deprecate all the v1 codes.
Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com>
|
|
The software specification says: "The sub camera is put in
standby by setting GPIO_002 (CAM_SUB_PWDN) high and leaving
the power supplies on, shutting only one power supply off
will result in a leakage current of 1.1mA, Leaving both
supplies on results in a leakage current of 15uA".
Both supplies here are LDO_H and VIO, and since VIO is always
on, keep LDO_H always on too, setting it to low power mode
instead of disabling it.
ST-Ericsson ID: 407971
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I7ce2c30b761e04a26270718e2c92f4a609a07995
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44142
Reviewed-by: QATOOLS
Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
Reviewed-by: QABUILD
|
|
Clean out initialization that is handled by SoC.
Regulator settings for Vpll (partly), Vsmps1,
Vsmps2, Vsmps3 (partly), Vrf1, Varm, Vape, Vbb,
Vmod are cleaned out. They should not be touched
by the kernel.
This patch removes the possibility to set these
register bits as well (change in the driver). If
there is a need to set these bits, they should be
set during early boot, in e. g. SoC settings.
ST-Ericsson ID: 403918
ST-Ericsson Linux next: -
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I870cdd4195d196a64718fac9015cb5874f42693e
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42327
Reviewed-by: QABUILD
|
|
The Vsafe regulator should not be handled
by kernel, it should be setup before the
kernel starts. This patch removes the
setting of Vsmsp3Regu.
ST-Ericsson ID: 366482
ST-Ericsson Linux next: -
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I47af8002c0c06eb373f353aafa6f76f5ed1c1944
Depends-on: I3ef3dfa93946baffe019292084948e7c052b85c2
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42850
Reviewed-by: QABUILD
|
|
The Vsafe regulator should not be handled by
the kernel, it should be setup before the
kernel starts. This patch removes the voltage
settings.
Current consumption will increase slightly
(rough estimate 25 uA) when the platform is
in the low power state because SoC sets a
voltage of 0.95 V where the kernel set a
voltage of 0.925 V.
ST-Ericsson ID: 366482
ST-Ericsson Linux next: -
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ia8a1033c5ceca2f7fe04ac30215406d954e0cae8
Depends-on: If3b3c22371e448d79e65e600e9472637cf17ddc6
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42849
Reviewed-by: QABUILD
|
|
The old multi-client i2s driver-layer located in drivers/misc/i2s
is removed and the MSP-operation for i2s is moved into the file
ux500_msp_i2s.c in the Ux500 ASoC-folder.
Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com>
|
|
Make sure spinlocks are initialized before usage
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I54ea3a80ea184ff6ccbf6f8f780c965ef867878d
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43111
Reviewed-by: QABUILD
Reviewed-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com>
Reviewed-by: Bengt JONSSON <bengt.g.jonsson@stericsson.com>
|
|
add regulator information for pressure sensor
Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I9246260bd30bfa39f30aca9238259647d37fc617
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42698
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Reviewed-by: QABUILD
|
|
Reintroduce max cpu frequency level. If set to zero, no limit will
be take into account.
ST-Ericsson Linux next: -
ST-Ericsson ID: 400518
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I83102b48a74f5c2711118edfbd7d08dc44769ea7
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40835
Reviewed-by: QABUILD
Reviewed-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com>
|
|
Only enable REFCLK to the AB via CLKOUT2 when
it is requested for.
ST-Ericsson ID: 343921
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I451167a82eca1cb0c506c9fc489f7f5bc66ee3c2
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40441
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Vijaya Kumar K-1 <vijay.kilari@stericsson.com>
|
|
dsi_pll, dsi0clk, dsi1clk and dsixescclk is added to the
clock struct for u8500.
Set rate of dsi_pll, hdmi and tv clk is performed in
init_display_devices in board-mop500-mcde.c
Signed-off-by: Jimmy Rubin <jimmy.rubin@stericsson.com>
|
|
Formatting modified slightly as well.
ST-Ericsson ID: 402727
ST-Ericsson Linux next: -
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ie146146aff4a5042df2f816d1922d946ca4b0796
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42187
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
So that multiple boards with the UART on different GPIOs
can be handled in one kernel image.
ST-Ericsson ID: 326681
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I29aa5daa26756255cd2cd04b2c67f13a73b444c6
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42220
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
For older boards, 2.1 and 2.0, VextSupply1 was
turned off in suspend. It causes modem logging
to stop working. This patch modifies behaviour so
the regulator is never turned off on any board.
Power consumption will increase slightly on older
boards, VextSmps1 (the external regulator connected
to VextSupply1) has a typical quiescent current of
40 uA.
ST-Ericsson ID: 372523
ST-Ericsson Linux next: -
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I2547bbbbe704ac62c0b8aeea835304a0d38a66a7
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41918
Reviewed-by: Carl-Johan IREKVIST <carl-johan.irekvist@stericsson.com>
Tested-by: Carl-Johan IREKVIST <carl-johan.irekvist@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
prcmu power_state_result is nowadays provided from the prcmu
driver.
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Idfff43b1c82bf0b1c03664359b1aea0a395a5d1a
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40923
|
|
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I5d7c207b963e1b99e2acd559d6393d244a2667ba
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/40921
|