Commit Graph

264866 Commits

Author SHA1 Message Date
Linux Build Service Account
f5cf55f10e Merge "msm: pm2: Program the top csr to put core1 into GDFS." into msm-3.0 2012-03-31 07:57:41 -07:00
Linux Build Service Account
75d9c6ad9a Merge "msm: Display: Fix reference count for DSI clocks for DSI command mode." into msm-3.0 2012-03-31 06:07:51 -07:00
Linux Build Service Account
72844996db Merge "power: pm8921-charger: avoid schedule while atomic bug" into msm-3.0 2012-03-31 04:33:15 -07:00
Linux Build Service Account
d699925611 Merge "Bluetooth: Fix Low energy Proximity path loss threshold alert" into msm-3.0 2012-03-31 04:33:15 -07:00
Linux Build Service Account
c546b3178e Merge "msm: v4l2: use new IOMMU mapping API." into msm-3.0 2012-03-31 04:33:15 -07:00
Linux Build Service Account
0ea31216ca Merge "msm: board 8960 and 8064: Increase ion heap size for audio." into msm-3.0 2012-03-31 04:33:15 -07:00
Linux Build Service Account
651b60bdba Merge changes Ic81e8534,Ie1b2f8fe into msm-3.0
* changes:
  slim_msm: Add Device Tree support for Qualcomm SLIMBUS controller
  slimbus: Add Device Tree support for SLIMBUS
2012-03-31 04:33:15 -07:00
Linux Build Service Account
206ce558b5 Merge "msm: display: Attach MDP IOMMU during first update after boot" into msm-3.0 2012-03-31 04:33:15 -07:00
Linux Build Service Account
9193e5fcb0 Merge "ARM: 7068/1: process: change from __backtrace to dump_stack in show_regs" into msm-3.0 2012-03-31 04:33:15 -07:00
Linux Build Service Account
ad3c2f3acd Merge "msm_fb: HDMI: Fix bug in mutex handling" into msm-3.0 2012-03-31 04:33:15 -07:00
Linux Build Service Account
e7b17e6b11 Merge "mmc: core: fix power class selection" into msm-3.0 2012-03-31 04:33:15 -07:00
Anji jonnala
1f2377cef4 msm: pm2: Program the top csr to put core1 into GDFS.
Upon wakeup source detection, modem bring's the core0 out of
reset. The recomendation for core0 in 8x25 is to put the core1
into GDFS till hotplug sw brings it online.

Since core1 is not yet enabled, program the top CSR from core0
context and drive the SPM1 to put the core1 in to GDFS. Once
core1 is put into GDFS disable the top csr and enable the SPM1
control for core1.

Enable the scu as well while coming out of power collapse which
facilitates the coherency between shared data across the cores.

change-Id: Iee35908d55c9a630da6bf2509a66a3c7f870fece
Signed-off-by: Anji jonnala <anjir@codeaurora.org>
2012-03-31 14:50:00 +05:30
Linux Build Service Account
2f34523e1d Merge "msm: clock-8960: program PLL15 on 8930" into msm-3.0 2012-03-31 01:14:46 -07:00
Linux Build Service Account
7d9a224aaf Merge changes Id383aff8,I4b1d1dc2 into msm-3.0
* changes:
  msm: board-dt: ARM generic timer DT support
  ARM: architected timers: add DT support
2012-03-31 01:14:46 -07:00
Linux Build Service Account
04c96162fc Merge "USB: OTG: Migrate to devm_regulator_get()" into msm-3.0 2012-03-31 01:14:46 -07:00
Linux Build Service Account
198945a659 Merge "msm: 9615: Have same platform data for AUX PCM RX & TX devices" into msm-3.0 2012-03-31 01:14:46 -07:00
Linux Build Service Account
63b6456fae Merge "msm:vidc: update default output buffer requirement" into msm-3.0 2012-03-31 01:14:46 -07:00
Linux Build Service Account
fcda1ca507 Merge changes I124a4ba1,Idf7c4e53,I09411d46,I4f270a41,Icd7e6002,I56a14e86,Id91ac5e6,Ia1abd831 into msm-3.0
* changes:
  regulator: map consumer regulator based on device tree
  regulator: pass additional of_node to regulator_register()
  regulator: adapt fixed regulator driver to dt
  regulator: helper routine to extract regulator_init_data
  regulator: Constify constraints name
  regulator: Properly register dummy regulator driver
  dt: add empty dt helpers for non-dt build
  copper: regulator-stub: Add devices for Krait Power Control
2012-03-31 01:14:46 -07:00
David Keitel
b57db9e0e6 power: pm8921-charger: avoid schedule while atomic bug
If the loop_change interrupt handler directly invokes the
unplug_check_worker which uses msleep causing a bug.

Fix this by scheduling the work directly rather than invoking
the work function.

Change-Id: Id1ce75eddc1b7f09b7476af12b68ec8ae8ff1f24
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2012-03-30 23:15:38 -07:00
Subhash Jadavani
30edcea08f mmc: core: fix power class selection
mmc_select_powerclass() function returns error if eMMC
VDD level supported by host is between 2.7v to 3.2v.

According to eMMC specification, valid voltage for high
voltage cards is 2.7v to 3.6v. This patch ensures that
2.7v to 3.6v VDD range is treated as valid range.

Also, failure to set the power class shouldn't be treated
as fatal error because even if setting the power class
fails, card can still work in default power class.
If mmc_select_powerclass() returns error, just print
the warning message and go ahead with rest of the card
initialization.

Change-Id: I3371458d852a05518b966041775fff59c04d255c
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2012-03-31 09:12:14 +05:30
Ravishangar Kalyanam
5f0c64158d msm: display: Set max MDP bandwidths for larger primary resolutions
To avoid underruns for larger primary display resolutions,
set max MDP clock/bandwidths for dynamic boot parameter
cases with HDMI as primary and WUXGA panels

Change-Id: I1e020de0cbd4082edd26d4b03ebee4d4b976c26a
Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2012-03-30 17:44:19 -07:00
Archana Ramachandran
5d332a48c7 Bluetooth: Fix Low energy Proximity path loss threshold alert
Fix sending alert from the proximity client when the
received RSSI of the remote device equals the threshold
set on the client.

CRs-fixed: 344936
Change-Id: I598d7d66b492cb76754280d657b6e6d55dd0903b
Signed-off-by: Archana Ramachandran <archanar@codeaurora.org>
2012-03-30 17:39:46 -07:00
Mona Hossain
a5f1aab25e qseecom: Add error checks and logs
Adding/improving error logs and incorrect fd checks

Change-Id: Ia311e911eb8e5da3e7a3f413bb34b479389f3890
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
2012-03-30 17:08:18 -07:00
Ravishangar Kalyanam
ff6bfa8e6f msm: display: Attach MDP IOMMU during first update after boot
For continuous splash support to work properly, attach the MDP IOMMU
device at a later point during boot to allow display use the
splash image from bootloader

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
Change-Id: Ife9a2afae1e9b9140ee74af0cc7dcf7ad945d4de
2012-03-30 14:56:00 -07:00
Yan He
f879bb0f09 platform-drivers: msm: sps: add new features on NDP-BAM/BAM-Lite
Commmand Descriptor, Pipe Lock, Notify-When-Done(NWD) and Immediate
Commmand Descriptor are enabled in NDP-BAM and BAM-Lite. Add the
support in SPS driver for these new features.

Change-Id: I0ec9efe0bd801345aa416270739a52d7d6c5e01c
Signed-off-by: Yan He <yanhe@codeaurora.org>
2012-03-30 13:25:50 -07:00
Bharath Ramachandramurthy
2fd017a301 msm: board 8960 and 8064: Increase ion heap size for audio.
After migration from pmem to ion, we need to
reduce EBI1 memory for audio usecase and make a
corresponding increase the ION heap size.

Change-Id: I0f72549e26b643453b969a6e56e44c7cf6d61548
Signed-off-by: Bharath Ramachandramurthy <bramacha@codeaurora.org>
2012-03-30 13:21:28 -07:00
Mohan Kumar Gubbihalli Lachma Naik
50f02e2345 msm:vidc: update default output buffer requirement
Updated the default output buffer requirement to
match worst case requirements. With this change
reconfig will trigger only if the actual buffer
requirement is less than the estimated requirement.

Change-Id: I754a31b9a346f87e5946cad252ba1ea86530dd9e
CRs-fixed: 343812
Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
2012-03-30 12:17:39 -07:00
Linux Build Service Account
26417da627 Merge "msm: clock: Hook into clock tracepoints" into msm-3.0 2012-03-30 11:29:44 -07:00
Chandan Uddaraju
3ef84a5ab7 msm: Display: Fix reference count for DSI clocks for DSI command mode.
For MIPI DSI command mode panels, clock enable for DSI clocks
is called more than needed. Fix the reference count for these
clocks to turn off the clocks  during suspend state.

Change-Id: Ife061eec6af9f5fb106bfaf608e222fabec1e9dc
CRs-fixed: 339125
Signed-off-by: Chandan Uddaraju <chandanu@codeaurora.org>
2012-03-30 11:11:02 -07:00
Sagar Dharia
f8f603b5ca slim_msm: Add Device Tree support for Qualcomm SLIMBUS controller
Device Tree support is added for Qualcomm SLIMBUS controller and
documentation is provided for required and optional device node
properties.

Change-Id: Ic81e853431c413b06296470609ce55d0692e870b
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2012-03-30 11:11:21 -06:00
Sagar Dharia
7e42e7fed0 slimbus: Add Device Tree support for SLIMBUS
Slave devices can be added by listing them as child of a SLIMBUS
controller of_node in the Device Tree.
It is required to specify elemental address, and name of the slave
device.

Change-Id: Ie1b2f8fe58988f0237547a84f1bbb14ce4733eff
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2012-03-30 11:09:37 -06:00
Ankit Premrajka
459429648e msm: v4l2: use new IOMMU mapping API.
The ion_phys API is being deprecated. Instead there
is a new set of API that does the same thing as ion_phys
if the system has no IOMMU enabled. Otherwise, it
returns an IOMMU device virtual address.

Change-Id: I1f01d33cbc6d236d28c9193a90e48377b9fb35cc
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
2012-03-30 08:25:55 -07:00
Laura Abbott
0a80147e1c ARM: 7068/1: process: change from __backtrace to dump_stack in show_regs
Currently, show_regs calls __backtrace which does
nothing if CONFIG_FRAME_POINTER is not set. Switch to
dump_stack which handles both CONFIG_FRAME_POINTER and
CONFIG_ARM_UNWIND correctly.

__backtrace is now superseded by dump_stack in general
and show_regs was the last caller so remove __backtrace
as well.

Change-Id: I396677df8bc22bf28e4486f2bfb155c516a3d452
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2012-03-30 08:14:36 -07:00
Linux Build Service Account
c762429f3e Merge "msm: smd: Do not use wakelock for local DEM notifications" into msm-3.0 2012-03-30 07:57:31 -07:00
Linux Build Service Account
4fb80ab1ad Merge "msm: pm2: Define a variable to update the power collapse status" into msm-3.0 2012-03-30 07:57:31 -07:00
Linux Build Service Account
06634693d3 Merge "vidc: memset only for non secure sesion" into msm-3.0 2012-03-30 07:57:31 -07:00
Linux Build Service Account
c3296ec2c7 Merge "msm: spm-v2: Support to reinitalize SPM registers" into msm-3.0 2012-03-30 07:57:31 -07:00
Linux Build Service Account
dd6c11d206 Merge "msm: 8064: Increase pull-up strength for pmic gpio-keys" into msm-3.0 2012-03-30 07:57:31 -07:00
Linux Build Service Account
197392cbec Merge changes Ifd0a2206,I385fb80e into msm-3.0
* changes:
  board-qrd7627a: Add ft5x06 device for QRD7
  input: atmel_mxt_ts: Fix to reject coordinates outside active touch area
2012-03-30 07:57:31 -07:00
Linux Build Service Account
dc2c12f779 Merge "Merge branch 'Linux 3.0.21' into msm-3.0" into msm-3.0 2012-03-30 07:57:31 -07:00
Linux Build Service Account
72be669151 Merge "msm_fb: display: Unstage pipe from Mixer0 H/W on each unset call for 8660" into msm-3.0 2012-03-30 05:52:48 -07:00
Subhash Jadavani
6159c62312 mmc: msm_sdcc: fix buffer overflow conditions
This function fixes few possible buffer overflow
conditions in find_most_appropriate_phase()
function.

Change-Id: Icc17469a3850aa8531a6ef176bacc83fa2c50159
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2012-03-30 18:08:52 +05:30
Sidipotu Ashok
d77f8b7a0e msm: 7x27a: audio: Reduce LPA buffer size.
Reduce LPA buffer size based on PMEM(MSM_PMEM_AUDIO_SIZE)
available for userspace audio.

Change-Id: Ia6001348f6044cbdb920e482f8b9c07178a3fcd4
Signed-off-by: Sidipotu Ashok <sashok@codeaurora.org>
2012-03-30 17:26:12 +05:30
Aparna Mallavarapu
1416711f75 msm: board-msm7627a-bt: Add support to enable BT on QRD7
Configure BT_RESET_EN GPIOs for QRD7 so that bt is enabled.

Change-Id: Id1837f9564cd4f2b9beba3fb910987d77a33a0ef
Signed-off-by: Aparna Mallavarapu <aparnam@codeaurora.org>
2012-03-30 17:10:12 +05:30
Padmanabhan Komanduru
75cf6b84b3 Revert "msm: display: Backlight control on 8x25 EVB"
Waiting for the vendor approval/permission letter.

This reverts commit 224d5fa264.

Change-Id: I83e45776c37ea08c6daf0a529c411e67bd5a7719
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2012-03-30 15:06:14 +05:30
Chiranjeevi Velempati
ff7f5a5f9b Revert "usb: msm7k_udc: Add delay upon request dequeue failure"
This reverts commit 0039568714ab91b2e037ea84366231522ee7ca07.

Reverting this commit due to the following reasons

1. Throughputs numbers on the DUN interface has degraded with this change
2. Data stall issue that was fixed with this change is occuring only on
   agilent setup and not reproducible on BOA setup.
3. Issue 1 is identified as critical than Issue 2.

Conflicts:

        drivers/usb/gadget/msm72k_udc.c

CRs-Fixed: 334938
Change-Id: I1cc745a3bebe6f6b97b170138b4643db50b7e516
Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
2012-03-30 14:16:17 +05:30
Mohan Pallaka
41dd397666 board-qrd7627a: Add ft5x06 device for QRD7
Add support for ft5x06 touch controller on QRD7 platform.

Change-Id: Ifd0a2206ba02fd2c8b90cb8c1c7aebd7688033d7
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2012-03-30 13:12:34 +05:30
Mohan Pallaka
56a1a5dc15 input: atmel_mxt_ts: Fix to reject coordinates outside active touch area
Firmware reports minimum/maximum coordinates when touches are
from outside of active area. Generate a release event in this
case to handle touches that are going to inactive area. Add
pdata entries for minimum values and check before reporting
the coordinates to userspace.

CRs-fixed: 326858
Change-Id: I385fb80eb670e539b45d232c04969c4502cdf65a
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2012-03-30 13:12:34 +05:30
Linux Build Service Account
2aec3d1c4a Merge "power: bms: split battery data for different battery" into msm-3.0 2012-03-30 00:28:18 -07:00
Linux Build Service Account
8fc60b9675 Merge "qup_i2c: Reset QUP before registering for interrupts." into msm-3.0 2012-03-30 00:28:18 -07:00