Commit Graph

45000 Commits

Author SHA1 Message Date
Linux Build Service Account
089eb277bd Merge "ASoC: msm: Add timestamp support for compressed audio" into msm-3.0 2012-01-27 02:51:38 -08:00
Linux Build Service Account
d2064cfab2 Merge "diag: Add support for 9615, 8260A, and 8974 targets" into msm-3.0 2012-01-26 16:02:11 -08:00
Linux Build Service Account
530d7b0643 Merge "mfd: pm8921-core: Add support for PMIC PM8917 chip" into msm-3.0 2012-01-26 16:02:11 -08:00
Asish Bhattacharya
8664b25449 ASoC: msm: Add timestamp support for compressed audio
The timestamp would be used by applications for AVSYNC purpose.

Change-Id: I416c38e82fbd51b58df119c0122bcd629ccd88fd
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
2012-01-27 03:54:58 +05:30
Suresh Vankadara
055cb8ecdd msm: camera: Add support to V4L2 architecture
New targets are following V4L2 architecture for
camera. Update 7x27a camera drivers to support
new V4L2 architecture to unify all camera drivers
in the same architecture.

Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
Change-Id: Ie23ac982375041c06b68537d5784d8cdbbc9bf04
2012-01-26 07:35:24 +05:30
Shalabh Jain
10f5f4351b diag: Add support for 9615, 8260A, and 8974 targets
Also re-structures the code so that adding new target
support will be easier.

Change-Id: I5ad9100932da5454afbf1c996d71a6338dc59dbb
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
2012-01-25 15:34:38 -08:00
Willie Ruan
5106035d9a mfd: pm8921-core: Add support for PMIC PM8917 chip
The PMIC PM8917 chip is very similar to the PM8921 chip. Modify
the pm8921-core driver so that it can also handle PM8917 chip
which has different number of gpios and mpps, and no LPG/PWM,
no LEDs and no vibrator.

Change-Id: I252adc2ddc4bcd9bb8b8fb5113444356ba7c969e
Signed-off-by: Willie Ruan <wruan@codeaurora.org>
2012-01-25 14:21:54 -08:00
Linux Build Service Account
240fc0f57b Merge changes I8a26c5d2,Ia93a8940,Ibc48a0f7 into msm-3.0
* changes:
  board: 7x30: Specify the correct min/max touch coordinates
  input: tsc2007: Specify max/min coordinates from platform data
  board: 7x30: Specify the correct min/max touchscreen coordinates
2012-01-25 12:21:14 -08:00
Linux Build Service Account
0b6f5655dd Merge "ssbi: add remote spinlock support" into msm-3.0 2012-01-25 04:54:51 -08:00
Linux Build Service Account
4cb59a8ebf Merge "msm: board-9615: Return result from vbus power routine" into msm-3.0 2012-01-25 04:54:51 -08:00
Linux Build Service Account
f3002121e8 Merge "msm: rc: Add support for MSM GPIO TSOP IR Reciever driver." into msm-3.0 2012-01-25 02:20:43 -08:00
Linux Build Service Account
750754a8ab Merge "video: msm: Adding CSC support for other MDP blocks" into msm-3.0 2012-01-25 02:20:43 -08:00
Anirudh Ghayal
482ccccd1f input: tsc2007: Specify max/min coordinates from platform data
Provides flexibility to specify max/min x and y coordinates from
platform data. Useful in cases where the TS controller reports
coordinates at an offset from the predefined min/max values
(0 and 4096 respectively).

Change-Id: Ia93a8940078aa5960d1d900ac56b0b3354c82e40
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2012-01-25 13:48:04 +05:30
Mayank Rana
8549e63277 msm: board-9615: Return result from vbus power routine
USB OTG driver maintains the state of VBUS using vbus_is_online flag
for pdata based vbus power routine. Hence remove the used vbus_is_online
flag here and return the result of VBUS power sequence to update the
vbus_is_online flag in OTG driver.

Change-Id: I8bea42d5ebc27fab6fc2ae8a0b9fb58bdbaf854a
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2012-01-25 09:38:43 +05:30
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
Carl Vanderlip
fa1de67dba video: msm: Adding CSC support for other MDP blocks
Adding support for VG1, VG2, DMA_S and Overlay Mixer 1.

Change-Id: I95a5832a70fd893970e82dadcec1e11ed608d79c
Signed-off-by: Carl Vanderlip <carlv@codeaurora.org>
2012-01-23 13:23:12 -08:00
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
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
Ankush Khandelwal
d8881e83e2 msm: rc: Add support for MSM GPIO TSOP IR Reciever driver.
Add GPIO based TSOP IR Reciever driver. It decodes signals based on
NEC protocol.

Change-Id: Ic19fab61152a99828806cf451ae797797602ec70
Signed-off-by: Ankush Khandelwal <akhand@codeaurora.org>
2012-01-23 17:54:31 +05:30
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
820424dee8 Merge "Bluetooth: Reading remote device lmp_version from controller." into msm-3.0 2012-01-21 21:07:06 -08:00
Linux Build Service Account
c362a4e18a Merge changes I84b3ca1e,I41db99f8 into msm-3.0
* changes:
  ASoc: msm: Add support for adie RX & TX calibration
  Revert "msm: audio: qdsp6v2: Support for out-of-band calibration"
2012-01-21 14:43:02 -08:00
Linux Build Service Account
279e22cf54 Merge "mfd: pm8xxx-misc: add an API to preload the dVdd regulator" into msm-3.0 2012-01-21 13:03:00 -08:00
Ben Romberger
b760323c5c ASoc: msm: Add support for adie RX & TX calibration
Add support for adie RX & TX calibration. This calibration
is used for RMC and speaker protection. A non-blocking
function was created for AFE memory map since it is now
being called from an atomic process and the acdb driver
was changed to use to use atomic variables.

Change-Id: Id6c6ca7a303ef5ee5d23a9932e910e6a7a08805d
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2012-01-20 17:10:55 -08:00
Siddartha Mohanadoss
ccd49854a0 thermal: msm8960_tsens: Read TSENS temperature
Add kernel API to read TSENS temperature for clients
in the kernel space. Currently the TSENS driver only
supports reading the TSENS temperature from the
thermal sys.

Split the TSENS initialization into two parts.
First is to perform the initial calibration that is
used to convert the raw ADC code to Degrees Celcius
and initialize the TSENS HW. Second is to register the
TSENS driver to the linux thermal framework and create
the temperature zones that will be accessed by the
Thermal daemon to set thresholds, read the temperature
and receive notifications.

Change-Id: Id2305a7aa755e1e9cfaecd8b5c1870ed05d9b5e9
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2012-01-20 15:36:59 -08:00
Linux Build Service Account
3074cc33aa Merge "USB: OTG: msm: Implement data contact detection based on timeout" into msm-3.0 2012-01-20 14:12:37 -08:00
David Collins
4724272b4b mfd: pm8xxx-misc: add an API to preload the dVdd regulator
Add a new API, pm8xxx_preload_dVdd, which will preload the dVdd
regulator on PMIC PM8901 chips during off state. This can help
to reduce fluctuations in the dVdd voltage during startup at the
cost of additional off state current draw.

This API should only be called if dVdd startup issues are
suspected.

Change-Id: Ic7ee60539de37a761bb9ca6c5200327a7b99da89
CRs-Fixed: 326086
Signed-off-by: David Collins <collinsd@codeaurora.org>
2012-01-20 11:34:58 -08:00
Linux Build Service Account
797bef9b61 Merge "Bluetooth: Fix timeout configuration for AMP channels" into msm-3.0 2012-01-20 08:40:30 -08:00
Linux Build Service Account
4817058084 Merge "msm-camera: Add support for YV12 preview format" into msm-3.0 2012-01-20 05:40:26 -08:00
Linux Build Service Account
87c8d39d24 Merge "regulator: Add devm_regulator_get()" into msm-3.0 2012-01-20 04:12:37 -08:00
Alekhya,Monika
fc81e10421 msm-camera: Add support for YV12 preview format
Enable camera driver to output preview frames in YV12 format.

Change-Id: Ib4e358460eb922c6a06314682380c4de30f81319
Signed-off-by: Alekhya,Monika <malekh@codeaurora.org>
2012-01-20 17:12:20 +05:30
Pavankumar Kondeti
2d09e5fe33 USB: OTG: msm: Implement data contact detection based on timeout
Data contact can be detected by either current source or timeout
methods.  The current source method is not working for an unknown
reason.  Implement timeout based data contact detection.  The spec
allows any timeout between 300msec to 900msec.  Use 600msec.

CRs-fixed: 330217
Change-Id: I67151d1412f43ba974cc1afb164d6473f89d2dbf
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2012-01-20 08:38:57 +05:30
Srinivas Krovvidi
d352b26f74 Bluetooth: Reading remote device lmp_version from controller.
On ACL connection complete with a remote device, the remote
device lmp version should be available with Controller. The
current change is to read this information from controller to
host and update to bluez userspace through management APIs.

Change-Id: Ie152ed98fa0a6cf9ab170a6bb8c6a05b5b9dfcb0
Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org>
2012-01-20 08:22:56 +05:30
Linux Build Service Account
87b57c9b86 Merge "input: atmel_mxt_ts: Add support for keyarray object" into msm-3.0 2012-01-19 17:33:48 -08:00
Linux Build Service Account
1980cb37f5 Merge changes Icc844d30,I527768f0,If1cd6dda,I8cc87d5a into msm-3.0
* changes:
  msm: board: Add ION heap for Audio
  msm: board: Increase ION MM heap size
  msm: board: Restore SF and MM heap to PMEM sizes
  gpu: ion: Add new heap for qse comm
2012-01-19 13:23:10 -08:00
Linux Build Service Account
32a110abce Merge changes Iab2aff3d,I5ff76c3a into msm-3.0
* changes:
  of/irq: of_irq_init: add check for parent equal to child node
  of/irq: introduce of_irq_init
2012-01-19 11:52:58 -08:00
Linux Build Service Account
ca6a61e107 Merge changes I4917de40,Id64bc384,Iae5182ff into msm-3.0
* changes:
  mfd: pm8038-core: enable bms and charger devices
  msm: 8930: enable charger, bms and ccadc
  mfd: pm8xxx: add charger, bms and ccadc devices on PM8038
2012-01-19 01:54:26 -08:00
Mohan Pallaka
382d3ce841 input: atmel_mxt_ts: Add support for keyarray object
Keyarray(T15) object is used for handling capactive keys.
It can handle 32 keys and the keys supported are passed
from platform data as key_codes.

Change-Id: Iac589afb59e8ff69b6e1eb86bafdc0b5382c3edd
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2012-01-19 12:27:21 +05:30
Olav Haugan
80854eb491 gpu: ion: Add new heap for qse comm
Add new 1MB carveout heap for Qualcomm Secure Executive (QSE)
communications.

Change-Id: I8cc87d5af68e9fd4f775770b16638ee01ef88e05
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-18 17:44:32 -08:00
Olav Haugan
42ebe71efc gpu: ion: Add support for adjacent heaps
ION has to guarantee that two of the heaps are
adjacent to each other. This is due to a limitation
in the hardware. Add code to ensure these heaps
are adjacent.

Change-Id: Icc18437a50e1d872112468d02b61ab47fd70acc9
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2012-01-18 16:40:39 -08:00
Linux Build Service Account
3110d3fbe0 Merge "tzcom: Add support for modifying specific fields in cmd_buf" into msm-3.0 2012-01-18 15:18:40 -08:00
Rob Herring
54dca2dd09 of/irq: introduce of_irq_init
of_irq_init will scan the devicetree for matching interrupt controller
nodes. Then it calls an initialization function for each found controller
in the proper order with parent nodes initialized before child nodes.

Based on initial pseudo code from Grant Likely.

Changes in v4:
- Drop unnecessary empty list check
- Be more verbose on errors
- Simplify "if (!desc) WARN_ON(1)" to "if (WARN_ON(!desc))"

Changes in v3:
- add missing kfree's found by Jamie
- Implement Grant's comments to simplify the init loop
- fix function comments

Changes in v2:
- Complete re-write of list searching code from Grant Likely

Change-Id: I5ff76c3aa0f7bdf66577970dd9506336cd5712dd
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Jamie Iles <jamie@jamieiles.com>
Tested-by: Thomas Abraham <thomas.abraham@linaro.org>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
2012-01-18 11:01:40 -08:00
Linux Build Service Account
9b2463db60 Merge "radio: iris: Increase the RT buffer to fit the RT header" into msm-3.0 2012-01-18 04:39:10 -08:00
Stephen Boyd
acf149d4a0 regulator: Add devm_regulator_get()
Add a resource managed regulator_get() to simplify regulator
usage in drivers. This allows driver authors to "get and forget"
about their regulators by automatically calling regulator_put()
when the driver is detached.

[Fixed up a couple of coding style issues -- broonie]
Change-Id: Ie32415c3a9f2c4aa99a98b6cb92a784e23d874ea
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-01-17 17:42:35 -08:00
David Keitel
310eb689ab mfd: pm8xxx: add charger, bms and ccadc devices on PM8038
Add supported power devices such as charger, bms and CCADC.

These devices are required to be enabled to provide charging
functionality to the 8930 platform.

Change-Id: Iae5182ff26ba1cbcb256aeb1aee619f7a368765f
Signed-off-by: David Keitel <dkeitel@codeaurora.org>
2012-01-17 14:55:09 -08:00
Linux Build Service Account
7756577620 Merge changes I99f8604d,I50a535e8 into msm-3.0
* changes:
  msm: v4l2: add ISP support for more formats.
  msm: v4l2: fix support for test app.
2012-01-17 12:27:40 -08:00
Linux Build Service Account
7b10397037 Merge changes I8b0f5d25,I2835dacf,Idef697db,I34c6a1f5,Ie3340d07 into msm-3.0
* changes:
  irq: irqdomain: Add API to find free irq range
  arm: gic: Check for error code on irq_domain_add
  irq: irqdomain: Change irq_domain_add to detect errors
  arm: gic: Register irqdomain after adding it
  irq: irqdomain: Add support for dynamic irq_desc allocations
2012-01-17 09:24:09 -08:00
Srinivasa Rao Uppala
6983984c30 radio: iris: Increase the RT buffer to fit the RT header
Increase the RDS Radio text buffer size to fit the RT header.
And also limit the Radio text to maximum allowed length

Change-Id: Ib38b4bfaae83d5f381a831c2e202c7f3a52698b4
CRs-Fixed: 328036
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2012-01-17 11:17:19 +05:30
Jayasena Sangaraboina
e1c5493f0a ASoC: msm: use flag hwparam_set to enable backend dai hw_params
Issue - backend dai prepare fails with concurrent LPA and non-LPA
sessions during stability tests. Since front end dai reference
count gets incremented for both sessions and backend dai hw_params
doesnt get invoked. This results NULL pointer in backend dai hw_params.
Fix - use the flag hwparam_set to ensure backend dai hw_parmas is
invoked properly.

Change-Id: Id08628e67d0f8ccf284c0e07a801aa8fc47bd8aa
CRs-fixed: 326458
Signed-off-by: Jayasena Sangaraboina <jsanga@codeaurora.org>
2012-01-16 19:13:55 -07:00
Michael Bohan
cf68d7a3f7 irq: irqdomain: Add API to find free irq range
When registering irq chip drivers, one common requirement is to
specify the irq_domain irq_base and nr_irq. These fields represent
the system wide logical interrupt range the domain occupies.
For systems with only one interrupt controller, it's trivial to
know these values. But for systems with several irq chip drivers,
it becomes painful to keep track of interrupt ranges in platform
defines. These create needless compile time dependencies, of
which the Device Tree aims to solve.

irq_alloc_desc() can search for a free irq, but is very
inefficient for determining the availability of large ranges.
Additionally, some irq chip drivers allocate irq descriptors
lazily. For example, portions of the Device Tree may not be parsed
until a particular bus is probed. But of_irq_init() is intended to
be run at init time, and this is a natural time to allocate irq
domains. Thus by the time we allocate our irq descriptors, we already
need to know a range of acceptable irqs to use for the domain.

To solve these problems, let's introduce
irq_domain_find_free_range(), which will return to the caller the
first available irq domain range not used already by the system.
This range can then be specified with irq_domain_add().

Change-Id: I8b0f5d25b173c76b8fc5d4f46b3fe9c6bf5c3c8f
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
2012-01-16 14:25:55 -08:00