Age | Commit message (Collapse) | Author |
|
Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
|
|
ST-Ericsson ID: 412189
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I10ba7bf50be94424b3a2e122862c1fda08df769d
Signed-off-by: Himanshu Agrawal <himanshu.agrawal@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/49349
Reviewed-by: Ashish Kumar TANWER <ashish.tanwer@stericsson.com>
Tested-by: Ashish Kumar TANWER <ashish.tanwer@stericsson.com>
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
|
|
For doing I/O write, use static 1 Kb buffer instead of
requesting memory through kmalloc every time.
ST-Ericsson ID: 412155
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: I68710cd9d74c4a76753a7524431046e09a7aa1d0
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48844
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
ST-Ericsson ID: 373536
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: Ifc873304b8f9ec73fc3c34cec32e53e8c84bd89e
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43927
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Reviewed-by: Ashish Kumar TANWER <ashish.tanwer@stericsson.com>
Tested-by: Ashish Kumar TANWER <ashish.tanwer@stericsson.com>
|
|
ST-Ericsson ID: 371953
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
|
|
ST-Ericsson ID: 398896
Signed-off-by: Yann Gautier <yann.gautier@stericsson.com>
|
|
In some cases, if the CM driver fails to allocate memory through
kmalloc(), it falls back into vmalloc() which has better chance to
succeed for big allocations. When this happens, kmalloc() reports its
failure with an ugly warning on the console. Just avoid this warning
in this case.
ST-Ericsson ID: 413249
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: N/A
Change-Id: I6c8a51eb430891727854b1800cf3a649dcb4b6e9
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/46815
Reviewed-by: QATOOLS
|
|
When we try to set up some bindings to a component instantiated on a
DSP which is in retention, we need to wake it up first.
ST-Ericsson ID: 406310, 406504
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: N/A
Change-Id: I07dc1576cbac73bbc3b0cc057808f4e67e7ba378
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45727
Reviewed-by: QABUILD
|
|
Align mmio interfaces with l9540 project.
It remains compatible with current mmio implementation.
ST-Ericsson ID: 357839
Depends-On: I707d8227513cb1115d17afba60ae1559bb9b199b
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: Iac0bfbe9be4c80a26033b9c082b6fbe63b2c71ff
Signed-off-by: Vincent Abriou <vincent.abriou@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45010
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: Rajat VERMA <rajat.verma@stericsson.com>
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
|
|
If the process doing the DSP dump abruptly dies, the dump is never
acknoledged to the driver and all NMF activities remain
blocked. Acknowledge the dump by resetting the dump_ongoing flag, if
the process doing the dump closes the NMF driver, to unblock all NMF
activities.
ST-Ericsson ID: 409984
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: N/A
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: I3ee4f016e3bc824685f79016c51409903dc21a43
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45134
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Reviewed-by: QABUILD
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
|
|
Fix a crash that happens when retrieving certain domains information
through debugfs
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson ID: 405694
ST-Ericsson Linux next: NA
Change-Id: Ia6940d1af6c696c00f630d56a9437f7bc7367667
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43255
Reviewed-by: QABUILD
|
|
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: I62ac40e8b8f34a3142465e5dde988704fb07095e
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43187
Reviewed-by: QABUILD
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
|
|
Logging all debug traces through printk is too intrusive to be usable,
specialy when using debug level 2 or 3. Enable logging through ftrace
by using a cm_use_ftrace flag.
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson ID: 405500
ST-Ericsson Linux next: NA
Change-Id: I58cb53fb9801836ca85ee46144b05f39a5ac710e
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43145
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
Reviewed-by: QATEST
|
|
The debugfs files used to do the DSP dump are not readable by
others. This prevents user process not running at as root to take any
dump. Add read permission to others to allow this.
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson ID: 404423
ST-Ericsson Linux next: NA
Change-Id: Id43181ac67d5c1ead964233cc34c16942dd11771
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42776
Reviewed-by: QABUILD
|
|
When we detect a corruption, we try to print the corrupted data
leading to a kernel panic. We stop to do that.
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson ID: 402487
ST-Ericsson Linux next: NA
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: I80f43567e06f8a057afc62874ca2ab065bb8e2a7
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42710
Reviewed-by: QABUILD
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
|
|
Provide two new devices /dev/cm_sia_trace and /dev/cm_sva_trace
that allow any user to retrieve live OST traces coming from DSP
components by doing 'cat /dev/cm_sia_trace > file.bin'.
This traces are till now available through XTI device.
This feature also requires some change in OSTTrace component to be
fully operationnal.
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson ID: 324035
ST-Ericsson Linux next: NA
Change-Id: I593c2f82be750bc1738281ee25d875b5a784ea04
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/42605
Reviewed-by: QABUILD
|
|
Rename is_s5500_board() -> u5500_board_is_s5500()
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
|
|
This reverts commit 6cfa5e388f0250764e7b9d11d2c3f141b408a93e.
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson ID: 373198
ST-Ericsson Linux next: NA
Change-Id: I0ff4c175c3e1c0c7070b76719e1ad51d390221c9
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37036
Reviewed-by: Himanshu AGRAWAL <himanshu.agrawal@stericsson.com>
Reviewed-by: Swinder Pal SINGH <swinder.singh@stericsson.com>
Tested-by: Himanshu AGRAWAL <himanshu.agrawal@stericsson.com>
Reviewed-by: Sarvesh SANT <sarvesh.sant@stericsson.com>
|
|
Fix the most obvious violations of the kernel coding style
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
|
|
Provide two new devices /dev/cm_sia_trace and /dev/cm_sva_trace
that allow any user to retrieve live OST traces coming from DSP component
by doing 'cat /dev/cm_sia_trace > file.bin'.
This traces are till now available through XTI device.
This feature also requires some change in OSTTrace component to be fully
operationnal.
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson ID: 324035
ST-Ericsson Linux next: NA
Change-Id: I351d3b294667116b8b6900ef7292f4a62d911b9a
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35778
Reviewed-by: QABUILD
|
|
In copy_user_buffer(), result of "kmalloc()" called is
checked against NULL as "if (!dest_buf)" whereas correct
check must be "if (!*dest_buf)" as memory allocation is
done against *dest_buf and not dest_buf.
ST-Ericsson ID: 369361
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: I78971455a8aa3cb3b31a27572939f2e64fc4d65e
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/36170
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Fix a re-entrancy issue when killing two processes that
use the CM driver simultaneously.
ST-Ericsson ID: 364585
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I48cb434b87a85b635fe4506a92d7b1c7086071fb
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35216
Reviewed-by: QATOOLS
Reviewed-by: QABUILD
|
|
Manage the dma lcla in esram instead of ddr
Depends-On: I4bc5b72f6d198f26c7b48572cb3843d18c6b8553,
I590751f732021c5f2f4da9b7d51ae5dc10087be7,
If5d86036b8b9ef72863c447f0e400bb4e51b2ab3
ST-Ericsson ID: 364165
ST-Ericsson FOSS-OUT ID: Trivial:
ST-Ericsson Linux next: NA
Change-Id: Ic9ac2971bd9f3bf267e04de37b698ff968033ebc
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34369
Reviewed-by: Sylvain BARGE <sylvain.barge@stericsson.com>
Reviewed-by: Thierry STRUDEL <thierry.strudel@stericsson.com>
Tested-by: Sylvain BARGE <sylvain.barge@stericsson.com>
|
|
mmio_trace structure maintains information about
the shared log buffer from camera firmware.
As it is accessed from two different contexts,
it needs to be protected using mutex to guard against
possible corruption.
ST-Ericsson ID: 356426
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: I806b4d26b3466a9873a8a02f8c9ac51e0ad44fd5
Signed-off-by: cnanda <chetan.nanda@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33915
Reviewed-by: QATOOLS
Tested-by: Rajat VERMA <rajat.verma@stericsson.com>
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>
|
|
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
|
|
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
|
|
Corrects disable mode pin configuration for xshutdown pins of
camera in case of HREF v60 boards. XShutdown pins should be
configured in mode (dir: out, value: low) when disabled.
ST-Ericsson ID: 328427
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Change-Id: I6db2fafef8061d43f191f4d7ffef6a15d2063c16
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33571
Reviewed-by: QABUILD
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
gpio_set_value_cansleep() should be used in place of
gpio_set_value() for setting xenon_charge gpio pin
which is located on expander chip in case of href boards
< v60.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 361940
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I62676b374552a2fa86f273c9d006220436c0fe68
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33338
Reviewed-by: QABUILD
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
board specific information such as enable_gpio
and interrupt line information should be obtained
using platform_data and not hardcoded inside the
driver itself.
ST-Ericsson Linux next: NA
ST-Ericsson ID: 361940
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I73a0f3e986bd3cbf19a0797190d514af9b84e3df
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33282
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>
|
|
The header was moved but 5500 was not updated.
Change-Id: Ica5e1d5386c1a41797eaac87b2e04222d06866e3
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33275
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
The CM driver initializes the whole ESRAM to zero, including
the DMA part (at offset 64k-68k) which can be already in use.
Let the CM map only the required part (ie exclude the MCDE part)
and do not reset the ESRAM to zero at init.
ST-Ericsson ID: 361307
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: Ie930e7febe7e24b790c2d2b8ffadc4198daabac7
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32980
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
|
|
Remove some useless files from the NMF-CM driver.
ST-Ericsson ID: 360466
ST-Ericsson Linux next: -
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: I05eae0cf823b44b0861bff6aedc5341d5cc1d8d0
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32588
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
|
|
Add caller information in case of INTERFACE_NOT_BINDED panic
ST-Ericsson ID: 361780
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: NA
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: I7caf788a30268cd977c67efe62f8182a76502d4c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32586
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
|
|
When releasing a component, its loadmap entry is not released
if a corruption is detected.
Free this entry in any case to avoid any leakage even in case
corruption.
ST-Ericsson ID: 361414
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: Ifbf60e88b4875fffeff50a896a862f850e06227f
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32585
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
|
|
* Generate a DSP Panic and send it to user process when the
DSP does not respond anymore.
The issue is that when a process is using a DSP (ie has some
components deployed on a DSP) without any activity (no interaction
with the DSP), the driver needs to tell it when the DSP is dead.
This Panic message is there to solve this issue.
* Force wake-up of MMDSP before changing hardware power state
This a work around for prcmu issue.
ST-Ericsson ID: 359048
ST-Ericsson Linux next: NA
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: I920cc6a8e79e7dc9b39bd77f700a9e0e056b6a81
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32584
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
|
|
mmio uses gpio pin (BASE + 5) located on gpio
expander chip for XENON_CHARGE.
For setting this pin to high safely
gpio_set_value_cansleep()
must be used instead of gpio_set_value().
ST-Ericsson Linux next: NA
ST-Ericsson ID: 361940
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I02e06faa3d9c1862a649f6eb84336734490a7b2b
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32531
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Reviewed-by: Rabin VINCENT <rabin.vincent@stericsson.com>
|
|
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
|
|
Fix NMF-CM Makefile to allow a proper run of
'make mrproper' in all cases.
ST-Ericsson ID: -
ST-Ericsson FOSS-OUT ID: Trivial
ST-Ericsson Linux next: -
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: I3e03b6ba02b5f8f333b1d494e8ce6076f3da56ff
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32554
Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
Regulator supply name update according to the mainline version of regulator
framework.
Change-Id: I6a20a1a03024880361d1fe3375d978ba00678554
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32123
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Tested-by: Jonas ABERG <jonas.aberg@stericsson.com>
|
|
The prcmu driver now exists in drivers/mfd
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32057
|
|
FLASH_MODE_NONE should be enabled by flash clients to put the
flash IC in sleep mode, dropping the input current to less that
45 microamperes.
ST-Ericsson ID: 361897
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Change-Id: I5ff4e409344578043b2f35e19474e215ddde2e44
Signed-off-by: Rajat Verma <rajat.verma@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/31744
Reviewed-by: Bibek BASU <bibek.basu@stericsson.com>
Tested-by: Bibek BASU <bibek.basu@stericsson.com>
|
|
ST-Ericsson Id: 351836
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Nikhil Bhandary <nikhil.bhandary@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/30969
Reviewed-by: Srinidhi KASAGAR <srinidhi.kasagar@stericsson.com>
|
|
|
|
Force MMDSP to have executed all previous services before
detroying the components: service construct / start / stop
on a component could remain on the pipe when the component
is destroyed.
ST-Ericsson ID: 358445
ST-Ericsson Linux next: -
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: Icd8c0fe7d567128562599e928b381514e4a71fa8
|
|
An address must not been assigned to preloaded component,
but only with template
ST-Ericsson ID: 358497
ST-Ericsson Linux next: -
ST-Ericsson FOSS-OUT ID: Trivial
Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com>
Change-Id: I13a30973c27d757b48e35bf3f7f78b880ee3027a
|