Commit Graph

261491 Commits

Author SHA1 Message Date
Chiranjeevi Velempati
e510592d98 USB: u_bam: Avoid workqueue for data received from BAM DMUX layer
BAM DMUX driver gives the data to the USB in work context and USB
is once again scheduling work for sending the data to the host.
This change avoid's the double work queue scheduling for the data
received from BAM DMUX, which might reduce the cpu usage and improve
the throughputs.

Change-Id: Ib66bc7f46f9436704e0d28b72771de50462ddf4b
Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
2012-01-29 08:43:34 +05:30
Linux Build Service Account
6e4880afc2 Merge "msm: display: Add framebuffer device support for 8064" into msm-3.0 2012-01-28 17:19:59 -08:00
Linux Build Service Account
7927d50224 Merge changes I92fff75b,I9d7e536f,I418df8c3,I684da4bd into msm-3.0
* changes:
  Input: atmel_mxt_ts: Add a debugfs attribute to show all objects
  board: 8960: Add config data for mXT1386E touch controller
  input: atmel_mxt_ts: Add support for object PROCI_SHIELDLESS_T56
  input: atmel_mxt_ts: Support runtime selection of config data
2012-01-28 04:49:08 -08:00
Linux Build Service Account
03c669ab8c Merge "qup_i2c: Move to new clock APIs" into msm-3.0 2012-01-28 04:49:08 -08:00
Linux Build Service Account
0b37197feb Merge "msm: 8660: audio: Fix FTM PCM loopback issue on speaker." into msm-3.0 2012-01-28 04:49:08 -08:00
Linux Build Service Account
222c3828f4 Merge "msm-camera: enabled camera related power for target 8064" into msm-3.0 2012-01-28 04:49:08 -08:00
Linux Build Service Account
8794b582d6 Merge "spi_qsd: Move to new clock APIs" into msm-3.0 2012-01-28 04:49:08 -08:00
Linux Build Service Account
58a3cd78f8 Merge "power: pm8921-charger: Allow setting -ve cool/warm temperature" into msm-3.0 2012-01-27 21:57:57 -08:00
Linux Build Service Account
eddb28b010 Merge "msm: clock: Respect voltage constraints for 9615 and 8960 UART dividers" into msm-3.0 2012-01-27 21:57:57 -08:00
Linux Build Service Account
cf9ddedcce Merge "slimbus: Support more than 1 clients to use a channel" into msm-3.0 2012-01-27 21:57:57 -08:00
Linux Build Service Account
213c45348d Merge "msm: pm-8x60: Add clock debug to idle code path." into msm-3.0 2012-01-27 21:57:57 -08:00
Linux Build Service Account
83c70f556e Merge "defconfig: 8930: Enable gpio-keys driver" into msm-3.0 2012-01-27 21:57:57 -08:00
Linux Build Service Account
c3b0a2e5c5 Merge "msm: clock-local: Don't set N val when not using mn counter" into msm-3.0 2012-01-27 21:57:57 -08:00
Linux Build Service Account
906b78ce27 Merge "usb: smd: Always call smd_close upon cable disconnect" into msm-3.0 2012-01-27 21:57:57 -08:00
Linux Build Service Account
2e6375df9c Merge "hwmon: pm8xxx-adc: Fix reading sysfs for vbatt" into msm-3.0 2012-01-27 21:57:57 -08:00
Linux Build Service Account
23000b81aa Merge "msm: 8960: set mdm pwr and reset gpios to pull down" into msm-3.0 2012-01-27 21:57:57 -08:00
Laxminath Kasam
a6f8385ac2 msm: 8660: audio: Fix FTM PCM loopback issue on speaker.
-FTM PCM loopback intended for right speaker also
plays on the left speaker.
-The device profile used will enable both left and right
speaker path, use the correct device profile.

CRs-Fixed: 332162
Change-Id: Iead92c01a1c700f6e2f264cf3af4b9dc561e30f6
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2012-01-27 22:49:09 +05:30
Jing Lin
6cfc00e091 Input: atmel_mxt_ts: Add a debugfs attribute to show all objects
The sysfs attribute show method (mxt_object_show) is limited to show
object information up to (PAGE_SIZE - 1) bytes. We need a way to get
the complete information of all objects. The object information can
be obtained from <debugfs-mount>/atmel_mxt_ts/object.

Change-Id: I92fff75b37ba0cba19b137460c2144fe847c6343
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
2012-01-27 08:44:12 -08:00
Jing Lin
33b007d563 board: 8960: Add config data for mXT1386E touch controller
When the touch controller firmware for mxt1386E is upgraded from V1.0
to V2.1, the object size for T43 and T56 changes. In order to support
devices with either version of firmware, two sets of config data are
provided. The driver selects the right config data based on firmware
version and other identifiers.

Change-Id: I9d7e536ff3a9239f31115474782ba0bc503e5019
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
2012-01-27 08:42:35 -08:00
Jing Lin
c7fc405613 input: atmel_mxt_ts: Add support for object PROCI_SHIELDLESS_T56
The mXT1386E touch controller supports a new signal processing object
PROCI_SHIELDLESS_T56. This object is both readable and writable.

Change-Id: I418df8c3f05dc5265a1e7581d9c7e654a9fd3c4c
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
2012-01-27 08:42:21 -08:00
Jing Lin
dc4413c370 input: atmel_mxt_ts: Support runtime selection of config data
Add support for dynamic configuration data update if the target can
support more than one Atmel chip. Platform data contains an array of
supported config data along with family ID, variant ID and firmware
version. Driver searches for matching family ID, variant ID and
firmware version, and uses the corresponding config data to program.

Change-Id: I684da4bdef56a3445acab3bb8fe47dd5279bebe5
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
2012-01-27 08:40:53 -08:00
Linux Build Service Account
1484f46cd1 Merge changes I9b4acae8,Ic0e2a529,Ib37f8545 into msm-3.0
* changes:
  ASoC: wcd9310: Use calibrated threshold
  ASoC: wcd9310: Introduce MBHC multi button support
  ALSA: Define more sound jack types
2012-01-27 02:51:38 -08:00
Linux Build Service Account
ffec7399bb Merge "input: cyttsp-i2c: Don't set mode on unsettable regulators" into msm-3.0 2012-01-27 02:51:38 -08:00
Linux Build Service Account
0444edbf21 Merge "tspp: add documentation" into msm-3.0 2012-01-27 02:51:38 -08:00
Linux Build Service Account
07366d6961 Merge "vidc: Fix cleanup error after a failure when importing ion fd." into msm-3.0 2012-01-27 02:51:38 -08:00
Linux Build Service Account
8f5c66d7dc Merge "USB: f_rmnet: Drop DTR on host suspend" into msm-3.0 2012-01-27 02:51:38 -08:00
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
Huaibin Yang
4a084e3e60 msm: display: Add framebuffer device support for 8064
Create a board file for 8064 display. Allocate framebuffer memory and
add board initialization information for msm_fb, mdp, lvds and rotator
devices.

Change-Id: Id2323c169f04f8a2a6d753ccdd9899ed3ecbd533
Signed-off-by: Huaibin Yang <huaibiny@codeaurora.org>
2012-01-27 02:04:23 -07:00
Linux Build Service Account
154236e26c Merge "msm_fb : Check the validity of Histogram start/stop ioctls." into msm-3.0 2012-01-26 22:41:11 -08:00
Anirudh Ghayal
62102ef3d6 defconfig: 8930: Enable gpio-keys driver
For funcationality of volume up/down and camera
snapshot/focus keys.

Change-Id: I93ce7dbf5c4b1928fd73a0f0061cbfdabd30605f
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2012-01-27 09:47:51 +05:30
Linux Build Service Account
9fe27762e9 Merge "msm: display: change normal operation prints to pr_debug" into msm-3.0 2012-01-26 20:03:21 -08:00
Matt Wagantall
9a561f74e8 msm: clock: Respect voltage constraints for 9615 and 8960 UART dividers
The 16-bit fractional dividers used for these clocks should have
a clock rate no greater than 300MHz applied to their inputs when
running in low voltage mode. Increase the pre-dividers for rates
that previously violated this rule.

Change-Id: Ia7177c8643f8c8051ec9cef6cedcb2a7051d936c
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
2012-01-26 19:17:10 -08:00
Linux Build Service Account
76a59b9697 Merge "msm: 8960: Add TSENS as an early init" into msm-3.0 2012-01-26 17:41:52 -08:00
Siddartha Mohanadoss
402673e9a0 hwmon: pm8xxx-adc: Fix reading sysfs for vbatt
The memory where the sysfs attribute is stored on
initialization gets overwritten causing invalid length
on the vbatt sysfs reading. Fix it by removing the
dynamic memory allocation for BTM parameters.

Change-Id: If8b88c9460b0018a159688b5ba28798d97e0b0b6
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2012-01-26 17:26:45 -08:00
Linux Build Service Account
ad4b25a942 Merge "gpu: ion: Add EXPORT_SYMBOL to functions" into msm-3.0 2012-01-26 16:02:11 -08:00
Linux Build Service Account
bad4d4fa26 Merge "msm: msm_xo: Set the correct bits for XO_CORE on 8660" into msm-3.0 2012-01-26 16:02:11 -08:00
Linux Build Service Account
9872dc2102 Merge changes I1acb927a,I1d1cd5ff into msm-3.0
* changes:
  ASoC: wcd9310: Parameterize MBHC nReady
  ASoC: wcd9310: Use correct ACDB value for MBHC with MCLK 9.6Mhz
2012-01-26 16:02:11 -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
6e82e1ae1c Merge "msm: clock-local: Combine _rcg_clk_set_rate() with rcg_clk_set_rate()" 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
Linux Build Service Account
d862129674 Merge changes Ie69b7aeb,I7b80a00a,Ia7e1be18,I54c9fa02,I2303f623 into msm-3.0
* changes:
  usb: msm_otg: vote and unvote for CXO_CLK instead of D0
  wcnss: Enable CXO for PMU accesses
  msm: pil-riva: Enable CXO clock to access PMU
  msm: pil-q6v4: Proxy vote for L23
  msm: pil-riva: Proxy vote for L23
2012-01-26 16:02:11 -08:00
Linux Build Service Account
b2a9f9bbf1 Merge changes Ie5263a2c,I9f63bdd2,If9bf1fd7 into msm-3.0
* changes:
  defconfig: msm7627a: Enable leds gpio driver
  msm: board-qrd7627a: Add led device for 8625
  msm: board-qrd7627a: Add keypad device for 8625
2012-01-26 16:02:11 -08:00
Linux Build Service Account
236c38d9b2 Merge changes Ic0dedbad,Ic0dedbad into msm-3.0
* changes:
  msm: kgsl: Add a constant for adreno_ringbuffer_issuecmds flags
  msm: kgsl: Add GPU snapshot support
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
Siddartha Mohanadoss
fad0af1f92 msm: 8960: Add TSENS as an early init
TSENS temperature is required to be read during early
initialization by kernel thermal module. Move the TSENS
driver from platform device and initialize the TSENS
HW routine during early init.

Change-Id: Ieb929e6767603a584a996c257cadc77532b4e6cb
Signed-off-by: Praveen Chidambaram <pchidamb@codeaurora.org>
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
2012-01-26 15:10:37 -07:00
Linux Build Service Account
f43501e9e1 Merge "msm: camera: Fix spinlock init issue" into msm-3.0 2012-01-26 13:56:26 -08:00
Linux Build Service Account
684ef60d4c Merge "defconfig: Enable CONFIG_THERMAL_MONITOR" into msm-3.0 2012-01-26 13:56:26 -08:00
Luis GarciaCalderon
49a21e0f09 vidc: Fix cleanup error after a failure when importing ion fd.
An invalid value in the kernel address variable causes an
ion unmap error when attempting to clean up after a failure
occurs when importing the ion fd in the function
vidc_insert_addr_table().

When an ion import fd failure occurs, cleanup is not required.
During failure we now go directly to bail out and the cleanup
code is skipped.

CRs-Fixed: 332841
Change-Id: I3aa99a278806b8f8031c1618ab067391909105c7
Signed-off-by: Luis GarciaCalderon <luisgc@codeaurora.org>
2012-01-26 13:24:45 -08:00
Abhijeet Dharmapurikar
bc38f636fa power: pm8921-charger: Allow setting -ve cool/warm temperature
The current code assumes that the cool or warm battery temperature
can only be +ve numbers. Remove this restriction by allowing -ve
temperature settings.

Change-Id: I3c54b854a8fdf934efcf1ff21b36c7a0f763692a
CRs-Fixed: 320660
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2012-01-26 12:10:52 -08:00
Jeff Ohlstein
5ff17d5dcf input: cyttsp-i2c: Don't set mode on unsettable regulators
Currently during boot, and every suspend and resume, we call
regulator_set_optimum_mode on every touchscreen regulator. However,
some regulators don't support this function, and this will cause
set_optimum_mode to print an error when this occurs. Correct this by
checking if it is valid to call set_optimum_mode on a given regulator
before doing so.

Change-Id: I71f0f14b16d9f333bd409d9d5150f11a7ccd8fdf
Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
2012-01-26 11:58:32 -08:00