Commit Graph

261339 Commits

Author SHA1 Message Date
Chiranjeevi Velempati
e007beddca USB: f_rmnet: Drop DTR on host suspend
Some Windows hosts are not dropping DTR during suspend, but are
setting DTR as part of resume. Hence, send DTR set to zero to
the Modem when the rmnet interface is suspended.

Change-Id: I9137021e2c4074c71e9142e7dbac2042311b3c4d
Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
2012-01-25 15:35:28 +05:30
Linux Build Service Account
395db38b30 Merge "msm: 8960: set SDC1 CMD and DATA line to pull up state during LPM" into msm-3.0 2012-01-24 11:57:06 -08:00
Linux Build Service Account
89a4714246 Merge "Revert "msm: kgsl: only queue work when requested state is none"" into msm-3.0 2012-01-24 11:57:06 -08:00
Linux Build Service Account
e4c6afde9b Merge "msm: smd: add separate return code if SMD port is closing" into msm-3.0 2012-01-24 11:57:06 -08:00
Linux Build Service Account
a62bd47e55 Merge changes Ibd95efc6,If4bdbaf3 into msm-3.0
* changes:
  msm: board-8930: switch to RPM control for most regulators
  msm: rpm-regulator: add RPM regulator support for MSM8930
2012-01-24 11:57:06 -08:00
Linux Build Service Account
060b0d9c1a Merge "vidc: 720p: Update to new clock APIs." into msm-3.0 2012-01-24 11:57:06 -08:00
Linux Build Service Account
41aa92fb22 Merge "msm-copper: Adding support for Device Trees" into msm-3.0 2012-01-24 10:04:45 -08:00
Linux Build Service Account
02e1456055 Merge "mm: Drain pages after onlining" into msm-3.0 2012-01-24 10:04:45 -08:00
Linux Build Service Account
a689a1cc34 Merge "power: pm8921-charger: Handle cxo buffers off" into msm-3.0 2012-01-24 10:04:45 -08:00
David Collins
8af872e1a7 msm: board-8930: switch to RPM control for most regulators
Switch control of most regulators from the pm8xxx-regulator
driver to the rpm-regulator driver.  pm8xxx-regulator will still
be used for LDOs 16, 19, and 27 because these are not handled by
the RPM.

Change-Id: Ibd95efc6280a62fefb704e98360eb56aba8aa116
Signed-off-by: David Collins <collinsd@codeaurora.org>
2012-01-24 08:18:25 -08:00
David Collins
5779cea2d1 msm: rpm-regulator: add RPM regulator support for MSM8930
MSM8930 boards utilize the new PMIC PM8038.  Add a new
rpm-regulator data file which defines all of the regulators
available via the RPM for MSM8930 boards.

The regulator definitions describe both the physical properties of
the regulators and the RPM interface format used for each type of
regulator.

Change-Id: If4bdbaf3f6d22b905bf7334d681410fcddff9b7b
Signed-off-by: David Collins <collinsd@codeaurora.org>
2012-01-24 08:18:12 -08:00
Linux Build Service Account
8934f0f139 Merge "radio: iris: Add signal detection threshold IOCTL's" into msm-3.0 2012-01-24 08:13:07 -08:00
Linux Build Service Account
25a887ad97 Merge "radio-tavarua: Increase the RT buffer to fit the RT header" into msm-3.0 2012-01-24 08:13:07 -08:00
Linux Build Service Account
87d50ca743 Merge "msm: defconfig: Set initial number of KGSL pagetables to 24" into msm-3.0 2012-01-24 04:45:34 -08:00
Linux Build Service Account
971acf81f5 Merge "msm: kgsl: Introduce a KGSL_USER_MEM_TYPE_MAX enum" into msm-3.0 2012-01-24 04:45:34 -08:00
Linux Build Service Account
b46aff9f4a Merge "msm: rpm: Refactor Low Power Mgmt drivers to support single binary" into msm-3.0 2012-01-24 04:45:34 -08:00
Anoop Kumar Yerukala
03ba25fa5b Revert "msm: kgsl: only queue work when requested state is none"
This reverts a87d51a96c
Patch causes increase in power consumption while playing a video.

CRs-fixed: 331854
Change-Id: Ic21f109ac730167539a78647d51a8051d5c9948f
Signed-off-by: Anoop Kumar Yerukala <ayeruk@codeaurora.org>
2012-01-24 12:14:47 +05:30
Suresh Vankadara
4d4d5c59e7 msm: camera: update camera clocks
Update camera clocks csi_pclk, csi_vfe_clk,
csi_clk, vfe_clk to support V4L2 architecture for
camera.

Change-Id: I7bc58202f4b2709224897c345aedb5736426ea8a
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
2012-01-24 05:49:57 +05:30
Suresh Vankadara
87e195b46e msm: board-msm7627a-camera: Add support to V4L2
Update camera board file to support V4L2 architecture
for camera.

Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
Change-Id: I7b8c112969fc4b629556e8ed80fdb31d182d4530
2012-01-24 05:43:28 +05:30
Suresh Vankadara
20cd3be7fb msm: devices-msm7x27a: Add support for platform devices
In V4L2 camera architecture all camera supported blocks
are added as platform devices. To support V4L2 camera
architecture, convert CSIC, VFE as platform devices

Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
Change-Id: I95fbb273f1af31a2597e444be21bd69ac9a64034
2012-01-24 05:42:32 +05:30
Suresh Vankadara
8df2c75558 msm: camera: Add flags to camera supported blocks
Add is_vpe, is_csiphy, is_csid and is_ispif flags for
8960 and 8930 camera. These flags are used to execute
the code based on the subsystems supported by camera
for a particular target.

Change-Id: I3ca0e51aac7d8b221e6784290149c19767c64673
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
2012-01-24 05:39:29 +05:30
Jack Cheung
aa7e9dec5c mm: Drain pages after onlining
When onlining, the onlined pages must be added to the kernel's
list of free pages using __free_page(). However, pages are not
immediately added but placed in a queue to be processed
when the queue size reaches a watermark. The last pages in
the queue may not be processed in time, and if you try to
offline that memory before it is processed, offlining will
always fail.

This fix calls drain_all_pages(), which will process every
free page in the queue. This ensures that all pages are
accounted for when onlining and nothing gets stuck in the queue.

Change-Id: I54dbc0749556702407090e51ce9246abc5db7d1c
Signed-off-by: Jack Cheung <jackc@codeaurora.org>
2012-01-23 14:51:24 -08:00
Eric Holmberg
bb2b1faf7d msm: smd: add separate return code if SMD port is closing
Add EAGAIN return code if SMD port has been allocated, but
is currently pending a remote close.  This allows the client
to differentiate between ENODEV (port doesn't exist)
and EAGAIN (port not ready to be opened).

Change-Id: I798f29d2d9793b361965c135c4b41c3b7ff945e0
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
2012-01-23 15:31:27 -07:00
Linux Build Service Account
848bbb91be Merge "usb: gadget: u_data_hsic: Reduce the number of interrupts in TX data path" into msm-3.0 2012-01-23 08:31:58 -08:00
Jeremy Gebben
ae93ec01d9 msm: defconfig: Set initial number of KGSL pagetables to 24
Increase the initial pagetables created to 24 for 8660
and 8960.  Testing shows that there can be about 20
processes using graphics at a time. When this happens
memory utilization will be great enough that an
attempt to allocate more coherent memory will fail.

This will cost an additional 2MB of coherent memory,
bringing the total usage for KGSL to 6MB.

CRs-Fixed: 331629
Change-Id: Ib9f7fe9c0cc0194ebbf5dfc69196e7cad7a44b11
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2012-01-23 09:21:04 -07:00
Srinivasa Rao Uppala
d09f24a89c radio-tavarua: Increase the RT buffer to fit the RT header
Current RDS RT Buffer is not sufficient to accommodate the
RT header and data. Increase the RDS Radio text buffer size to
accomidate the RT header and data.

Change-Id: I742dad912bbe6e360ffeda09f80117d47822fdc5
CRs-Fixed: 328036
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2012-01-23 21:36:53 +05:30
Srinivasa Rao Uppala
d3184a4f6a radio: iris: Add signal detection threshold IOCTL's
Add the IOCTL's to get the signal detection parameters like
SINR, SINR samples, Low detection threshold and high
detection threshold

Change-Id: I0b8f8d978bd25990098b20073fd664e649af3b49
CRs-Fixed: 322688
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2012-01-23 21:16:19 +05:30
Praveen Chidambaram
784990121c msm: rpm: Refactor Low Power Mgmt drivers to support single binary
Move enumeration into uint arrays that can be chosen based on
the device file configuration.

rpm.h will have a superset of all enumeration for all targets.
The device file configuration will map the enumeration defined
in rpm.h to the target specific enumeration defined in rpm-XXXX.h.

Device drivers that need to communicate with RPM will continue to
use the enumeration defined in rpm.h and the RPM driver will translate
the generic enumeration to a device specific enumeration before sending
the RPM message to the RPM processor.

Also refactor SPM and MPM data for the supported targets.

Add RPM, SPM, LPM and MPM driver support for APQ8064 and MSM8930 targets.

Supported targets: 8660, 8960, 9615, 8930, 8064

Change-Id: I0d4ed7634cb221c124bc59a946932f7ac557ef58
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
2012-01-23 08:36:33 -07:00
Linux Build Service Account
350b31124c Merge "msm: board-qrd7627a: Add support for EVB" into msm-3.0 2012-01-23 06:56:08 -08:00
Lynus Vaz
31b5290e0f msm: kgsl: Introduce a KGSL_USER_MEM_TYPE_MAX enum
Introduce an enum for the max memory type supported by kgsl. This is
used by kgsl_test to pass the correct parameters to kgsl.

CRs-fixed: 331563
Change-Id: I9d9ab813148234ff23da557b92f24e9f71a7cab8
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
2012-01-23 18:14:23 +05:30
Subhash Jadavani
32a43980d5 msm: 8960: set SDC1 CMD and DATA line to pull up state during LPM
Keeping CMD and DATA lines pull configuration to PULL UP will
make sure that there is no leakage current during sleep if
external pull up is connected to any of these lines.

CRs-fixed: 332254
Change-Id: I99571f5cac10ead6e5744a8d5deb7bad4f7a8a3b
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2012-01-23 17:20:35 +05:30
Mallikarjuna GB
215561d045 Bluetooth: HCI SMD Increase WakeLock release timeout
Upper layers are not acquiring the locks properly, hence wakelock release
timeout is increased to 500 ms. This logic and value is derived from
the implementation for UART transport.

CRs-fixed: 325550

Change-Id: I15c39705e63ebb1fb4ccac3c42d72f0cc1e32929
Signed-off-by: Mallikarjuna GB <gbmalli@codeaurora.org>
2012-01-23 15:55:46 +05:30
Taniya Das
c868a2e9fc msm: board-qrd7627a: Add support for EVB
Change-Id: I3a131af3c21d0fd0c9d3c9543c07b45ec052953d
Signed-off-by: Taniya Das <tdas@codeaurora.org>
Signed-off-by: Chintan Pandya <cpandya@codeaurora.org>
2012-01-23 14:33:32 +05:30
Jin Hong
275e7d896e msm8960: defconfig: enable slub_debug by default
This reverts commit 3aa5d76f82, which
removed overhead of page poisoning as performance and power measurement
began to gain importance. Now that msm8960-perf_defconfig is in place
and is in fact the default boot img for msm8960 Android kernel it is
safe to again enable the useful memory corruption detection features
of SLUB debug. Several developers mentioned how helpful the detection
was for them.

Change-Id: I9f962a7062b9b5d190cfa9aae616202979e0215d
Signed-off-by: Jin Hong <jinh@codeaurora.org>
2012-01-22 19:53:18 -08:00
Linux Build Service Account
5fd7777826 Merge "msm: thermal: Add MSM thermal sensing and limiting" into msm-3.0 2012-01-22 19:12:31 -08:00
Linux Build Service Account
04d2815859 Merge "thermal: msm8960_tsens: Read TSENS temperature" into msm-3.0 2012-01-22 16:18:53 -08:00
Linux Build Service Account
a1c31afa6c Merge "Revert "msm_fb: Handle static screen update case in CABL for MDP3.0.3"" into msm-3.0 2012-01-22 16:18:53 -08:00
Linux Build Service Account
70f779c6d3 Merge "msm: board-9615: Update PID & serial number for DIAG" into msm-3.0 2012-01-22 14:45:41 -08:00
Linux Build Service Account
767b30c135 Merge "usb: mdm_bridge: Do not submit subsequent tx URBs in case of -EPROTO" into msm-3.0 2012-01-22 13:09:04 -08:00
Linux Build Service Account
f103185955 Merge "msm: acpuclock-8960: Activate 8064 acpu frequency scaling" into msm-3.0 2012-01-22 13:09:04 -08:00
Vikram Mulukutla
bc2e95782c msm: acpuclock-8960: Activate 8064 acpu frequency scaling
Do the following to enable the acpuclock driver
on the 8064:

1. Add new regulator consumer entries for krait2
   and krait3.
2. Remove cpu_is_* calls thus enabling bus and
   voltage scaling calls on the 8064.
3. Remove the stub in the cpufreq driver that
   prevents it from initializing on the 8064.
4. Add a call to the acpuclock init function in
   the 8064 board file, after the bus driver's
   init call.

Change-Id: I4f47f51241826b4056b40b012e964a9527db58f5
Signed-off-by: Vikram Mulukutla <markivx@codeaurora.org>
2012-01-22 11:29:12 -07:00
Linux Build Service Account
8080c44610 Merge "msm: bam_dmux: Handle DMA Mapping Failure" into msm-3.0 2012-01-22 10:26:32 -08:00
Linux Build Service Account
897ab0804b Merge "msm: kgsl: convert sg allocation to vmalloc" into msm-3.0 2012-01-22 10:26:32 -08:00
Linux Build Service Account
5fb3ca8157 Merge changes Ib9845227,I1071f656,I714aaf89,Ided0557e,I11cb890c into msm-3.0
* changes:
  msm: board-8064: Add ION heap for Audio
  msm: board-8064: Add new heap for qse comm
  msm: board-8064: Add support for adjacent heaps
  msm: board-8064: Handle unstable section overflow
  msm: board-8064: Fix overflow in memory calc.
2012-01-22 08:53:56 -08:00
Linux Build Service Account
fdcc966999 Merge "msm: 8660: audio: Fix tones issue on headset in FTM." into msm-3.0 2012-01-22 07:34:00 -08:00
Linux Build Service Account
10d889e246 Merge "cpufreq : Fix crash input event handler on governor switch" into msm-3.0 2012-01-22 07:34:00 -08:00
Linux Build Service Account
10ab4b430a Merge "msm: footswitch: Move to new clock APIs" into msm-3.0 2012-01-22 07:34:00 -08:00
Linux Build Service Account
256d4d42fc Merge "defconfig: msm8960: enable S5K3L1YX config" into msm-3.0 2012-01-22 07:34:00 -08:00
Linux Build Service Account
0dd370bcd2 Merge "ASoC: WCD9310: Fix sequence for clock source change" into msm-3.0 2012-01-22 07:34:00 -08:00
Linux Build Service Account
dd4caf45c7 Merge "msm: 8930: Add ADC client" into msm-3.0 2012-01-22 07:34:00 -08:00