Commit graph

14 commits

Author SHA1 Message Date
Benjamin Gaignard
bf8847b852 fix ion_platform_data definition
fix ion_platform_heap to make is use an usual way in board configuration file.

Change-Id: I8686108a9fe0aa2ba9f9c84990d555f947f78f86
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
[lauraa: Fixup msm board files]
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
2013-03-07 15:23:22 -08:00
Mitchel Humpherys
3573a5f1b0 msm: 7627a: include msm-specific ion header
All msm_ion clients need to use <linux/msm_ion.h> instead of
<linux/ion.h>

Change-Id: I3a1609e57c5156742300706cee698bd6e829c948
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
2013-03-07 15:22:53 -08:00
Murali Nalajala
0820e771d0 msm: pm2: Add CPR specific function callbacks to PM driver
CPR(Core Power Reduction) is a new h/w block added in 8x25
2.0 revision. This block reduce the power consumption of
SOC using sensors inside the SOC. Add function callbacks to
PM driver to perform disable, enable, save and restore of
CPR context data when the core do an IdlePC.

Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
(cherry picked from commit ff723ece018452e722155daa67ff0fdd65cc5c96)

Change-Id: Ideb6300ce1afe9976853e47ab9f1eec2ef22c77e
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
2013-03-07 15:19:23 -08:00
Chintan Pandya
4733d5e544 msm: 7627a: Allocate bigger heap size for ZSL feature
ZSL feature in camera requires more heap size (60 MB)
than usual requirement (18 MB). So, check that if we
have sufficient RAM available and allocate more memory
accordingly.

Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
(cherry picked from commit d8413769c6ecac074c10d505cb2f1552c4f15c26)

Change-Id: I01cb01e1e6fa04d3f21eec05f96fe4688d7aebfb
Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
2013-03-07 15:18:58 -08:00
Manish Dewangan
f9a17848f0 msm7627a: Board file changes to support CAD sound devices
CAD(Common Application Devices) support is added on modem.
Add CAD sound device list in board file to support the same.

Change-Id: If794eb077c20f258068569a29664526c8375e70e
Signed-off-by: Manish Dewangan <manish@codeaurora.org>
(cherry picked from commit 1c0fa49d34c2b756b4d47cb473b66b262739b84f)

Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
2013-03-07 15:18:33 -08:00
Utsab Bose
67674a12a9 msm: board-qrd7627a: Enabling RTB for 7627a and 8625.
Enabling RTB(Register Trace Buffer) will help in taking RTB logs. RTB
implements uncached logging of particular events (like readl/writel,
printk, hotplug etc). RTB is useful because it provides a
rough indication of the last events that occured on each core prior to
a crash/reset.

Change-Id: I7b26e2c2b8d012028beaa3d1ed36f85603ad411f
Signed-off-by: Utsab Bose <ubose@codeaurora.org>
(cherry picked from commit 9a341175190201c02062d789a79aa789cb7544d9)

Signed-off-by: Sudhir Sharma <sudsha@codeaurora.org>
2013-03-07 15:18:29 -08:00
Chaithanya Krishna Bacharaju
2e868cd76c msm: audio: qdsp5: Add Support for AC3/EAC3 driver
Add new driver to support AC3/EAC3 playback.

Change-Id: I217d354d80ce1848e1c552416045a31b54a4a994
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
2013-02-27 18:21:34 -08:00
Sravan Kumar D.V.N
d40ffed6e7 msm: board-7627a: Reduce mdp memory size
Reduce pmem mdp size to 27MB for 7x27a/8x25 targets.

Change-Id: Idefb7ac7c0f777f08c621d42ca2f52e1b7ce3264
Signed-off-by: Sravan Kumar D.V.N <sravank1@codeaurora.org>
2013-02-27 18:19:41 -08:00
Chintan Pandya
bcc57424f4 msm: board-7627a: Make ION heaps use outer cache
7627a/8625 has outer cache and display and camera uses
outer cache support. So, enable outer_cache_ops for ION
heaps. Enabling ops for individual heaps will be taken
care by msm_ion framework while creating these heaps.

Change-Id: I5c72d5c03853301b879839820ae4caf2c24d2069
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
2013-02-27 18:18:01 -08:00
Chintan Pandya
6685d5381e msm: board-msm7627a: De-feature FMEM suport
We are no longer supporting FMEM from MSMs. So, disable
FMEM from 7627a/8625

Change-Id: I557a9a851a21ff1480d76e5115b1b07acdd48483
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
2013-02-27 18:16:54 -08:00
Chintan Pandya
9ec0c76faa msm: msm7627a: Support ION on 7627a/8625
Deprecate PMEM and start using ION for existing converted
drivers

Change-Id: I0ef4c66ce7c32eb886795d1c0829948c3e24c379
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
2013-02-27 18:13:25 -08:00
Rajeshwar Kurapaty
6603db2ee3 msm: 8x25: Increase the PMEM_ADSP size
Increase the size of pmem_adsp region by 1MB to enable
1080p video playback with suspend-resume operation
using neon optimized SW codecs.

Change-Id: I569346b9dccbfa02c2c6fa36753cb552347e924c
CRs-Fixed: 369267
Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
2013-02-27 18:12:15 -08:00
Krishna Vanka
935fbdd46f board: msm7x27a: Fix the battery capacity calculation logic.
Battery capacity calculation is missing boundary checks. This
is causing capacity to be more than 100%, when battery voltage
goes below minimum operating voltage. This inturn is causing
failure to trigger graceful shutdown at low voltages. Fix is
to have the boundary checks in capacity calculation.

CRs-Fixed: 369687
Change-Id: I25e9a09d4d9d0cb03ee38f589d20e5f807e801c9
Signed-off-by: Krishna Vanka <kvanka@codeaurora.org>
2013-02-27 18:11:05 -08:00
Stephen Boyd
567fec6a4b Add snapshot of mach-msm from beginning of msm-3.4
This also includes various documentation files and the devicetree
files for msm boards.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-27 18:09:25 -08:00