Age | Commit message (Collapse) | Author |
|
Signed-off-by: ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>
|
|
Signed-off-by: ramesh.chandrasekaran <ramesh.chandrasekaran@stericsson.com>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
The snowball user_led is enabled and exported to userspace, but no
useful default trigger is currently enabled by default. This patch is to
just change the default trigger when heartbeat is compiled and enabled,
so it can report the CPU status already during boot.
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@linaro.org>
|
|
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>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
moved into board-mop500-uib.c
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Adding 'inline' before a function requires that the
body be provided in the same file when using gcc 4.7.
Signed-off-by: Bernhard Rosenkranzer <bernhard.rosenkranzer@linaro.org>
Committed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
|
|
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>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Simple timed output vibrator driver for AB5500 MFD chips.
This chip supports Rotary and Linear vibrator hardware types.
Resonance frequency of 100-198 Hz is supported.
ST-Ericsson ID: WP 256408
Signed-off-by: Avinash A <Avinash.a@stericsson.com>
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
u5500: enable vibrator when new timeout is requested
with this patch new timeout value will be
accepted/updated even if vibrator is already
executing.
ST-Ericsson ID: 360178
Signed-off-by: Avinash A <Avinash.a@stericsson.com>
vibra:Remove unnecessary assignment of dev->parent
Remove unnecessary assignment of dev->parent,
because of this during timed out class unregister
it is trying to free resources of parent which
does not exist
ST-Ericsson ID: 410065
Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
u5500: Add vibra end of life support
Detect and disable vibra when vibra end of life(eol)
condition is detected at boot sequence.
ST-Ericsson ID: 265890
Signed-off-by: Rajagopala V <rajagopala.v@stericsson.com>
|
|
ST-Ericsson vibrator driver which registers in Android specific
timed output device class.
Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@tieto.com>
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Timed output vibrator: New functionality.
This patch allows to form the vibration characteristic
using few parameters defined in the platform data:
- boost level and period for start condition
- on level as moderate speed
- off level and period for brake condition
Detailed information can be found here:
Documentation\DocBook\ste_timed_vibra.html
Signed-off-by: Grzegorz Sygieda <grzegorz.sygieda@tieto.com>
Signed-off-by: Krzysztof Antonowicz <krzysztof.antonowicz@tieto.com>
Signed-off-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com>
vibrator: remove board specific control of vibrator
Platform specific control of vibrator should be
present in board file (here board-mop500.c).
So, for example if GPIO pins are used to control
the vibrator, its control function implemenation
should be in board file.
This patch provides the callback function support
in the driver for the same.
Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
android: vibrator: dont directly access ktime_t members
Use ktime helper functions for converting ktime values
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
u8500: vibra: linear vibrators using vibra-pwm
Linear vibrators operate on thier required resonance
frequency (for COPAL and AAC its ~150Hz). This can be
provided using AUDIO DA5 path. This software *workaround*
enables linear vibrators using AB8500 vibra-pwm by
generating required resonace frequency using software.
In addition this patch provides support for separate
platform data for Linear and Rotarty vibrators.
Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
u8500: vibra: disable vibrator after vibration
This patch disables vibrator i.e. configures
the PWM duty cycle to zero after vibration
duration is over.
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
u8500: optimize: linear vibra drv using vibra-pwm
This patch optimizes the current implementation
of "linear vibrator driver using vibra-pwm".
Current implementation is CPU intensive and uses
100% of a CPU for the time period vibrator is used.
ST-Ericsson ID: ER 349958
Signed-off-by: Avinash A <Avinash.a@stericsson.com>
u8500: vibra: fix sleeping fn. in atomic context
sleepable call - flush_workqueue called from atomic
context of vibra_enable.
ST-Ericsson ID: ER 351276
Signed-off-by: Avinash A <Avinash.a@stericsson.com>
u8500: vibra: remove race condition in timer operation
In situation described below, vibra driver can hang.
In a scenario where vibra_enable is called and vibrator
is running i.e. vibra_work is scheduled and vibra_timer.
Suppose vibra_timer is started and has not expired yet.
At this moment if vibra_work starts executing and acquires
the vibra_lock and just before hrtimer_cancel is called,
if old timer expires and timer callback starts executing
then it will try to acquire vibra_lock and hence it will
wait for vibra_lock, as it is already acquired by vibra_work.
Now vibra_work->hrtimer_cancel will wait for timer callback
to complete and timer callback will wait for vibra_lock to
be free so that it can complete. This result in recursive
waiting for vibra_lock and hence deadlock.
As timer callback is running in interrupt context so above
deadlock may trigger watchdog.
ST-Ericsson ID: 405366
Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
u8500: vibra: remove race condition in open
In situation described below, vibra driver can hang.
vibra_enable takes the vibra_lock and timer expires then
timer callback will spin for vibra_lock. If vibra_enable
tries to do hrtimer_cancel then it will wait for timer
callback to complete.
In above situation hrtimer_cancel will wait for timer callback
to complete and timer callback will wait for vibra_lock to
be free so that it can complete. This result in recursive
waiting for vibra_lock and hence deadlock.
As timer callback is running in interrupt context so above
deadlock may trigger watchdog.
ST-Ericsson ID: 407253
Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
vibra:Remove unnecessary assignment of dev->parent
Remove unnecessary assignment of dev->parent,
because of this during timed out class unregister
it is trying to free resources of parent which
does not exist
Signed-off-by: Naga Radhesh <naga.radheshy@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>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
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>
|
|
Move header file from include/mach to include/linux/input
since it belongs to a driver not to a certain mach.
ST-Ericsson ID: 370799
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
|
|
Add the new mic control gpio found in the 8520 board.
Gpio is used to configure the mux, so that the 3.5mm
jack gets connected to either the audio or video part
of the board.
ST-Ericsson ID: 366316
Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
|
|
Set default values for config and pullup registers
as per AB8505 specifications.
ST-Ericsson ID: 366316
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id:I33a13ea4690b65ec6eb546e6d896c95cb85526f7
Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50689
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@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>
|
|
Do not load the nomadik ske driver, if a hw debugger is
attached since their gpio usage collides
ST-Ericsson Linux next: -
ST-Ericsson ID: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ibe93d4c9f2a6ffeb79dd21cd520abde82f8fa247
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/50231
Reviewed-by: Rickard ANDERSSON <rickard.andersson@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: QATEST
|
|
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: 370799
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I7d21fb42764eb5f46acff7d144784c49e0aee4ea
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48103
|
|
ST-Ericsson ID: 371953
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
|
|
ST-Ericsson ID: 371953
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
|
|
ST-Ericsson ID: 371953
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
|
|
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>
|
|
ST-Ericsson ID: 409625
ST-Ericsson FOSS-OUT ID: trivial
ST-Ericsson Linux next: NA
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>
Change-Id: I571feedb3a316250691e381e8d53e226b98ea7c3
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45302
Reviewed-by: QATEST
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Michel JAOUEN <michel.jaouen@stericsson.com>
Reviewed-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: 398896
Signed-off-by: Yann Gautier <yann.gautier@stericsson.com>
|
|
ST-Ericsson ID: 412077
ST-Ericsson Linux next: N/A
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ifdc03da2d01f6b2d3f140d83a18080feda08acaf
Signed-off-by: Virupax Sadashivpetimath <virupax.sadashivpetimath@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/47101
Reviewed-by: QABUILD
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
This adds rotbufsize and moves the declaration of the rotbufs from the
board-mop500-mcde.c file to the devices-db8500.c file.
ST-Ericsson ID: 373680
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Signed-off-by: Torbjorn Svensson <torbjorn.x.svensson@stericsson.com>
|
|
AP9500 is similar to u8500 except that it has no modem in it.
This patch disabled loading of SHRM and Modem drivers if the
SOC is AP9500.
ST-Ericsson Linux next: -
ST-Ericsson ID: 363927
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I043b65f31478061e9d5cef1c7c24ce4a095b2d65
Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/44470
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Platform specific data for camera flash chip ADP1653
has been added in R3UIB board configuration file.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 375189
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ib5f622fe41b48ebd231fe5f296311f82059b84e3
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45185
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Add pm runtime support for musb, including both pin and
clock handling.
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Sakethram Bommisetti <sakethram.bommisetti@stericsson.com>
|
|
This patch provides generic IP reset routine for CPU
which is also used to do uart soft reset for each uart instance.
As soft reset is platform dependent hence each uart's platform data
reset() function pointer is updated with the same.
ST-Ericsson ID: 411803
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: Idde32d3ca8f241f40c1071ecb580e43f14a3c6d1
Signed-off-by: Shreshtha Kumar Sahu <shreshthakumar.sahu@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45918
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
When hiding display physical orientation in previous patch
touch gets out of sync with display. This patch realign touch
with display.
ST-Ericsson ID: 368097
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: I49ee8e5cb0b9646c4b5f84a2d679f683c35c28ce
Signed-off-by: Marcus Lorentzon <marcus.xm.lorentzon@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37720
Reviewed-by: Jimmy RUBIN <jimmy.rubin@stericsson.com>
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
The valid size of prcmu_icn_pmu is 0x90.
ST-Ericsson ID: 403009
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: N/A
Change-Id: I3f333255c893d69c22be97007734ddb07296da26
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45475
Tested-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com>
Reviewed-by: Per FRANSSON <per.xx.fransson@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Before, the registers were only saved in case
of die. With this patch, also calls to panic()
will save DB registers
ST-Ericsson ID: 403009
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: N/A
Change-Id: Ie18a3632acd37d5d373dd9d71b57bdf62841f44e
Signed-off-by: Johan Bjornstedt <johan.bjornstedt@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/41945
Reviewed-by: Per FRANSSON <per.xx.fransson@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
During remove release the clock,irq's and
gpio pins properly.
ST-Ericsson ID: 410064
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id:I68fdc2fd16ca6476166b8a89e01eed0f02679fd9
Signed-off-by: Naga Radhesh <naga.radheshy@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45282
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
dbx500_id symbol should be exported so drivers compiled
as modules and uses this functionality does not fail.
ST-Ericsson ID: 410412
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: N/A
Change-Id: I1eeb571b5224df7f9ef6f0eaf83a9fd56cb29b6a
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45386
Reviewed-by: Joakim BECH <joakim.xx.bech@stericsson.com>
Reviewed-by: QABUILD
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Tested-by: Andreas WESTIN <andreas.westin@stericsson.com>
|
|
Reads specific db8500 fuse registers in case of kernel
crash and saves it in kernel system memory.
ST-Ericsson ID: 404278
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: N/A
Change-Id: I7e856dbdcba1aa6653a5d06079a985207812555a
Signed-off-by: Rikard Olsson <rikard.p.olsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45174
Reviewed-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com>
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
Some unused pins of AB5500 pins should
be configured as GPIO's at initialization
to save idle power
ST-Ericsson ID: 408956
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Vijaya Kumar Kilari <vijay.kilari@stericsson.com>
Change-Id: I6198d52cc505938b5311fe333e6c14bed994e08f
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45005
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|