Commit Graph

260837 Commits

Author SHA1 Message Date
Joonwoo Park
0976d01960 ASoC: wcd9310: Add MBHC Calibration support.
The MBHC portion of hardware on WCD9310 needs to be calibrated
in order to preform accurate operations on different types of
headset. Add logic to parametrize the codec driver to use
calibration data. The default data is provided by machine driver.

Separate out generic data to the machine driver, whereas WCD9310
specific data exists in the codec driver.

CRs-fixed: 327078
Change-Id: I4db74863c46e8cfbb35c859d520541ad12e6c93a
Signed-off-by: Joonwoo Park <joonwoop@codeaurora.org>
2012-01-10 14:38:15 -08:00
Sagar Dharia
45e7791f4f slim: msm: Handle case where CONFIG_RUNTIME_PM may not be defined
Slimbus MSM controller voting will return -ENODEV if runtime
PM is not defined.

Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2012-01-10 10:02:55 -07:00
Linux Build Service Account
3a9552008a Merge changes I1a77f0aa,I4146c7a4 into msm-3.0
* changes:
  msm: kgsl: Power scale policy needs at least three power levels.
  msm: devices-msm7x27a: 7x25A supports only two GPU power levels
2012-01-10 06:06:06 -08:00
Linux Build Service Account
afcbc8ee71 Merge "msm: clock: Use device names to distinguish between USB clocks" into msm-3.0 2012-01-10 06:06:06 -08:00
Linux Build Service Account
958317503a Merge "slim: msm: Enable Runtime-PM for slimbus with error handling" into msm-3.0 2012-01-09 23:10:42 -08:00
Linux Build Service Account
ae34fcab94 Merge "usb: mdm_bridge: Add rx URBs back to idle rx list if submit_rx_urb() fails" into msm-3.0 2012-01-09 23:10:42 -08:00
Lynus Vaz
3f05022a4b msm: kgsl: Power scale policy needs at least three power levels.
Since 7x25A supports two power levels, do not allow it to register
with the power scale policy.

Change-Id: I1a77f0aa8e7affa126d7c18cb2d73e8617602dcf
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
2012-01-10 11:49:31 +05:30
Lynus Vaz
971610e7e4 msm: devices-msm7x27a: 7x25A supports only two GPU power levels
Update the 7x25A kgsl structure with the correct number of
GPU power levels. This prevents 7x25A from being affected by
7x27A changes in power levels.

Change-Id: I4146c7a4fd1926976b9d0a499de54e7f01598893
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
2012-01-10 11:48:24 +05:30
Manu Gautam
5143b25310 msm: clock: Use device names to distinguish between USB clocks
Drivers should now use their device names to distinguish between
clocks of the same type rather than the clock name. Clock names
are updated to match the new naming convention.

CRs-Fixed: 327559
Change-Id: I78757806589e037a0655a63e7ee20c935214c99d
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
2012-01-09 22:32:33 -07:00
Linux Build Service Account
f5845c4578 Merge "ASOC: msm: Add the MI2S CPU driver." into msm-3.0 2012-01-09 21:15:31 -08:00
Linux Build Service Account
52238d4c24 Merge "msm: platsmp: Clean up release_secondary" into msm-3.0 2012-01-09 21:15:31 -08:00
Rajeshwar Kurapaty
c155c357a7 msm: Add indicator for full HD playback support
Add variable to check if fullHD playback can be
disabled in video driver for specific targets.

Change-Id: I8b73aa03dcf0a9a5fab426e4ba52a542c2265cf2
Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
2012-01-09 19:17:20 -07:00
Linux Build Service Account
61af56648e Merge "msm: board-msm7x27a-regulator: Add voltage selector for a regulator" into msm-3.0 2012-01-09 17:18:37 -08:00
Linux Build Service Account
d73761aced Merge "Bluetooth: Fix HCI channel reference counting" into msm-3.0 2012-01-09 17:18:37 -08:00
Linux Build Service Account
b0d718a89f Merge "msm: bam_dmux: unmap io block after init failure" into msm-3.0 2012-01-09 17:18:37 -08:00
Linux Build Service Account
1bb561013c Merge "msm: vidc: Adds video header files." into msm-3.0 2012-01-09 17:18:37 -08:00
Linux Build Service Account
e79ad93594 Merge "msm_fb: display: Move debug messages to debug statistics" into msm-3.0 2012-01-09 17:18:37 -08:00
Linux Build Service Account
af67cd9bd7 Merge "Revert "msm: Kconfig: update CORTEX_A5 selections"" into msm-3.0 2012-01-09 17:18:37 -08:00
Linux Build Service Account
e5c4317c4e Merge changes Ib46ecb39,Ic610921e into msm-3.0
* changes:
  msm: acpuclock-8960: Update PVS tables for Krait v2
  msm: acpuclock-8960: Apply vmin for Krait v2
2012-01-09 17:18:37 -08:00
Linux Build Service Account
4aac08bea8 Merge "vidc: synchronize access to address lookup table." into msm-3.0 2012-01-09 17:18:37 -08:00
Linux Build Service Account
ec3c193aa6 Merge changes I4973b80b,I3c4fd9d3 into msm-3.0
* changes:
  msm: 8930: Add ADC clients
  mfd: pmic8038-core: Add HK/XOADC device
2012-01-09 17:18:37 -08:00
Vinay Kalia
b559874ae9 msm: vidc: Adds video header files.
Adds video header files in include location
so that they can be included by other kernel
modules, eg: by v4l2 capture driver for
Wifi display.

Change-Id: Ib7621d8f551e0d0e8660b19db25c2ff6a501cd67
Signed-off-by: Vinay Kalia <vkalia@codeaurora.org>
2012-01-09 15:55:45 -07:00
Stephen Boyd
868d899222 msm: board-8930-regulator: Assign regulators for Q6 devices
lpass is powered from LDO27, modem firmware is powered from LDO19
and modem software is powered from LDO16. Make the necessary
changes to map the regulators to the devices.

Change-Id: Ib606365381c5cf234d681a0bce8ee96dc6170c5c
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2012-01-09 15:54:11 -07:00
Stephen Boyd
5766f682a9 msm: acpuclock-8960: Update PVS tables for Krait v2
Support different frequency krait voltage pairs across different
parts.

Change-Id: Ib46ecb39769cb5cd8bf22c5ef08b537f30686350
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2012-01-09 14:34:46 -08:00
Stephen Boyd
aefb8de2ab msm: acpuclock-8960: Apply vmin for Krait v2
Change-Id: Ic610921efb8e306af373d8ba354eefe144b9b6de
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2012-01-09 14:34:46 -08:00
Kuirong Wang
274f21ac19 ASOC: msm: Add the MI2S CPU driver.
Add MI2S CPU driver which configures QDSP6 AFE to start MI2S port.

Change-Id: Idc12325d83607d60e66636c3fba052204905a629
Signed-off-by: Kuirong Wang <kuirongw@codeaurora.org>
2012-01-09 14:47:36 -07:00
Stepan Moskovchenko
964e103840 msm: platsmp: Clean up release_secondary
Restructure the code that brings the secondary CPU(s) out
of reset to be more maintainable.

Change-Id: I73f9598b24e1389912438a5591715ad4d38cf9c8
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
2012-01-09 13:46:58 -08:00
Linux Build Service Account
b6b8e1151e Merge "Revert "mfd: pm8921: Set PMIC PON reset detection time to 3 seconds"" into msm-3.0 2012-01-09 13:44:13 -08:00
Linux Build Service Account
fea4e6cca7 Merge "msm: rmnet_bam: correct error handling" into msm-3.0 2012-01-09 13:44:13 -08:00
Linux Build Service Account
3415e107d0 Merge changes I393f8f0f,I4d3fdc39 into msm-3.0
* changes:
  power: pm8921-bms: allow setting battery charge value
  power: pm8921-bms: change charge units to uAh
2012-01-09 13:44:13 -08:00
Linux Build Service Account
876d89cd02 Merge "Revert "msm: clock-8960: Do hwcg for vcodec_axi_{a,b}_clk"" into msm-3.0 2012-01-09 13:44:13 -08:00
Linux Build Service Account
5ce8f11bab Merge changes Ib8a30cc5,I6f760c69 into msm-3.0
* changes:
  ARM: vmlinux.lds.S: Align sections to correct cache line size
  ARM: vmlinux.lds.S: do not hardcode cacheline size as 32 bytes
2012-01-09 13:44:13 -08:00
Linux Build Service Account
86488bfb6a Merge "mm-camera: api for providing camera clock core reset" into msm-3.0 2012-01-09 13:44:13 -08:00
Linux Build Service Account
4f557ddd38 Merge "ASoC: msm: Fix issue with Pause/resume" into msm-3.0 2012-01-09 13:44:13 -08:00
Linux Build Service Account
8f050f2a09 Merge "msm: spm-v2: Ignore SPM functionality for APQ8064" into msm-3.0 2012-01-09 13:44:13 -08:00
Adrian Salido-Moreno
06237550f1 msm_fb: display: Move debug messages to debug statistics
Move some debug messages that were shown as errors in display driver
to debug statistics to avoid excesive prints in kernel log.

CRs-Fixed: 326925
Change-Id: I529586f0e79baf27e2ae17f08fac203ba28bf416
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
2012-01-09 13:26:04 -08:00
Rohit Vaswani
af7ae27f58 Revert "msm: Kconfig: update CORTEX_A5 selections"
This reverts commit 239ef1e1fb.
config HW_BREAKPOINT is de-selected in the arm Kconfig.
Selecting HW_BREAKPOINT causes MSM9615 to fail during bootup.

Change-Id: Icd60f51884d4f71875e2831ab41a78536c6dcd5a
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
2012-01-09 12:17:50 -08:00
Lucille Sylvester
93650bb78f msm: kgsl: Decrease the idle_timeout to 50ms
Originally higher due to high latencies.  Now that they've decreased
we can go to SLEEP earlier.

CRs-fixed: 312297
Change-Id: I2a3813b12c0a72f3b75699fcd377508e7eb1044e
Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
2012-01-09 13:17:06 -07:00
Linux Build Service Account
24666ed66a Merge "msm: kgsl: Don't wake core to check if it is idle." into msm-3.0 2012-01-09 10:12:40 -08:00
Mat Martineau
9f8d467343 Bluetooth: Fix HCI channel reference counting
When an incoming HCI logical link event came in at the same time
a socket structure was deleted, it was possible to end up with a stale
pointer to the socket.  The socket and associated HCI channel struct
need to be properly reference counted so they are not freed
prematurely.

CRs-Fixed: 325023
Change-Id: Ia5724a9ce2000acd60a174c354be04029bac5324
Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
2012-01-09 08:52:39 -08:00
Linux Build Service Account
d846875671 Merge "wcnss: Add Riva 'power on lock' APIs" into msm-3.0 2012-01-09 07:08:43 -08:00
Sagar Dharia
317c8bb2a9 slim: 9615: Enable MSM slimbus controller.
Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2012-01-07 11:51:35 -07:00
Sagar Dharia
2a5378db11 msm9615: Add board specific data for slimbus
Slimbus controller device, interrupt, slew-rate resources, and
relevant GPIOs are added to 9615.

Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2012-01-07 11:48:25 -07:00
David Collins
b455842f6c msm: board-8930: Use saw-regulator driver to control Krait supplies
Switch control of the Krait supply regulators, PMIC 8038 S5 and
S6, from the pm8xxx-regulator driver to the saw-regulator driver.
This ensures that core voltages return to proper values after
power collapse.

Change-Id: Icef28301a8f0a6fd2447c0d62c75d5ce4f7bcfcb
Signed-off-by: David Collins <collinsd@codeaurora.org>
2012-01-07 08:53:12 -08:00
Hemant Kumar
184765b479 usb: mdm_bridge: Add rx URBs back to idle rx list if submit_rx_urb() fails
mdm_data bridge driver maintains a list of idle rx URBs. Instead of
immediately freeing the URB upon failure in submit_rx_urb(), which
would decrease the number of available requests, put it back in the idle
rx list to allow for later attempts.

Change-Id: I14c42d25e224a40ebd733c94fe3579156d9e5ab8
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
2012-01-07 06:19:18 -07:00
Linux Build Service Account
e21a6175d6 Merge "msm: board-9615-regulator: Change S1 and L9 regulator values" into msm-3.0 2012-01-07 05:17:01 -08:00
Linux Build Service Account
34fbc76b64 Merge changes I53faf607,I9590fff7 into msm-3.0
* changes:
  msm: rotator: Add bus scaling support
  msm: display: Add rotator bus scaling vectors for 8660/8960
2012-01-07 05:17:01 -08:00
Linux Build Service Account
90242e7b3a Merge "msm: timer: use WARN instead of WARN_ON" into msm-3.0 2012-01-07 05:17:01 -08:00
Linux Build Service Account
917e39eccf Merge changes I788b28d3,I459a18bb into msm-3.0
* changes:
  video:msm: Adding stub for MSMFB_MDP_PP ioctls
  include:linux: Adding MSMFB_MDP_PP IOCTL
2012-01-07 05:17:01 -08:00
Linux Build Service Account
f1d9f83e76 Merge "msm: clock-9615: Disable clock gating for dma_bam_p_clk" into msm-3.0 2012-01-07 05:17:01 -08:00