Commit Graph

44415 Commits

Author SHA1 Message Date
Anantha Krishnan
f225860718 radio-tavarua: Adding V4L2 private control to enable HLSI
This change is to add a new private control to enable the
high-low injection.

Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
2011-10-03 10:28:24 -07:00
Bradley Rubin
4283a4c56a ASoC: WCD9310: Fixes issues with ANC
ANC register writes were improperly packed into
integers. ANC register writes were not correctly
performed, as the mask was incorrectly applied.

Signed-off-by: Brad Rubin <brubin@codeaurora.org>
2011-10-03 10:28:20 -07:00
Nishant Pandit
474f225b55 msm: camera: Initial version of LED Driver on 8960
Initial version of LED driver for Cdp & Mdp comprise

- Enable SC628A LED Driver chip for 8960.
- Configure SX150X Gpio Expander chip.
- Restructure  Camera Gpio Mux settings table
which will later be used to toggle function select for LED Flash
between Mdp & Cdp.

Signed-off-by: Nishant Pandit <npandit@codeaurora.org>
2011-10-03 10:28:19 -07:00
Anirudh Ghayal
6804c742a1 mfd: pm8921: Add cell data for pm8921 vibrator
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2011-10-03 10:28:13 -07:00
Anirudh Ghayal
fcfbea6273 drivers: misc: Add pm8xxx based vibrator driver
This driver uses the timed output framework to
support the vibrator functionality.

Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2011-10-03 10:28:13 -07:00
Shuzhen Wang
2fe35efa5b camera: v4l2: Add zoom support in driver.
Add implementation of G_CROP and event for
zoom completion.

Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>
2011-10-03 10:28:08 -07:00
Shuzhen Wang
0d9277c6c1 camera: v4l2: Use v4l2_event for event from config to app.
This simplies the way event is propagated. Driver only needs
to pass on the v4l2_event structure directly.

Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org>
2011-10-03 10:28:03 -07:00
Anantha Krishnan
a02ef21306 radio-tavarua: Changes for supporting the new FM Search Algorithm.
Added host side changes for supporting the new Bahama FM Searcher
Algorithm. This involves configuring the channel spacing as 100KHz
and enabling the 200KHz enforcer for regions that are 200KHz spaced.

Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
2011-10-03 10:27:55 -07:00
Mingcheng Zhu
5b04d356f5 msm camera: snapshot wavelet denoise support
Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
2011-10-03 10:27:53 -07:00
Abhijeet Dharmapurikar
e0c3e5f39e power: pm8921-charger: implement CURRENT_NOW property
The pm8921 bms driver can provide instantaneous current. Use the
current now property of the power_supply class to expose this
feature.

Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-10-03 10:27:44 -07:00
Gopikrishnaiah Anandan
248eac2b15 vidc: vdec: Report dropped field for interlace clips.
For field based interlace clips, video core will generate
an error when one of field is missing in bitstream.
Driver will report this to upper layer, so that it can
take appropriate action.

CRs-fixed: 290659
Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
2011-10-03 10:27:41 -07:00
Karthikeyan Ramasubramanian
cc450c9f1c msm: ipc: Update server lookup to multiple compatible services
IPC Router looks up all compatible services during the server
lookup using the compatibility mask provided by the clients.

Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2011-10-03 10:27:39 -07:00
Gopikrishnaiah Anandan
746d9ab0da vidc: vdec: Report bitstream errors to driver client.
When video core generates recoverable bitstream errors,
driver will report them to upper layer.

CRs-fixed: 290659
Signed-off-by: Gopikrishnaiah Anandan <gopikr@codeaurora.org>
2011-10-03 10:27:29 -07:00
Mansoor Aftab
5d41837ac1 msm: camera: Changes to enable events and Auto Focus
Added event notify message support added entries for
autofocus event types

Signed-off-by: Mansoor Aftab <maftab@codeaurora.org>
2011-10-03 10:27:20 -07:00
Sagar Dharia
98a7ecb14c slimbus: Support ability to specify maximum and minimum clock gears
Slimbus can run in clock gears 1 through 10 per spec. Scheduling
algorithm tries to find the optimum clock gear depending on bandwidth
usage for messaging and active data channels.
However, not all controllers may have the ability to support all the
10 clock gears. This patch provides ability so that scheduling
algorithm will only run the bus in supported slimbus clock gear.
Controllers can specify supported minimum and maximum clock gear
during registration with the framework.

Signed-off-by: Sagar Dharia <sdharia@codeaurora.org>
2011-10-03 10:27:10 -07:00
Laxminath Kasam
885f510f6f ASOC: msm8x60: support to device_mute is added.
Device mute control is added which can mute the
respective dev_id to volume zero.
msm_device_mute() in user space will use this
control.

CRs-Fixed: 295399
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2011-10-03 10:27:06 -07:00
Laura Abbott
1e36a02967 pmem: ensure SMI correctness
Due to hardware constraints, the SMI should not be mapped
in the kernel space when not in use. Unmap the SMI from
the kernel address space when the last allocation is freed.
Vote for bus bandwidth as well while the SMI is allocated.

CRs-Fixed: 281723
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2011-10-03 10:27:04 -07:00
Kobi Cohen Arazi
18b04783a0 Add missing header guards in msm_rotator.h
msm_rotator.h was missing define __MSM_ROTATOR_H__

Signed-off-by: Kobi Cohen-Arazi <kobic@codeaurora.org>
2011-10-03 10:27:02 -07:00
Pratik Patel
cfca519f00 Revert "workqueue: add workqueue_empty() api"
This reverts commit bccb069835ef880e437c68a7fed9529c2549605f.

Since the workqueue code deletes the work before executing it,
checking for no work item being currently queued to the workqueue
is not sufficient to guarantee that all the works have finished
execution. Hence, we have moved to using a counter based solution
and so this change is no longer required.

Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
2011-10-03 10:26:58 -07:00
David Collins
63e1f9ff17 regulator: pm8921-regulator: Add enable_time platform data entry
Add an enable_time platform data member which can be used to specify
the board dependent enable (rise) time of each regulator.

Signed-off-by: David Collins <collinsd@codeaurora.org>
2011-10-03 10:26:51 -07:00
kuogee hsieh
405dc3051b msm_fb: display: add ioctl for mixer info
Add new ioctl to allow user to query mdp mixer detail configuration.

Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
2011-10-03 10:26:42 -07:00
Swaminathan Sathappan
70765cd7a3 msm: audio: qdsp6v2: Add support for aac dual mono playback
Signed-off-by: Swaminathan Sathappan <Swami@codeaurora.org>
2011-10-03 10:26:40 -07:00
Ankit Premrajka
c6864b8db3 msm-camera: add SMMU code for use with videobuf2 framework
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
2011-10-03 10:26:31 -07:00
Mingcheng Zhu
4950550ed4 msm: Add new msm_buffer and event structs and event defines
Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
2011-10-03 10:26:30 -07:00
Kiran Kumar H N
0fb9dcfbc6 msm-camera: configure preview and recording buffers
seperately.

decouple preview and recording path configuration
by configuring the buffers during preview start
and recording start respectively.

Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>
2011-10-03 10:26:29 -07:00
Mingcheng Zhu
9812bd34ec msm camera: migrate to videobuf2 framework
add necessary changes in camera driver to
migrate to videobuf2 framework.

Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org>

Conflicts:

	drivers/media/video/Makefile
2011-10-03 10:26:28 -07:00
Kiran Kumar H N
5a19c68d63 Revert "msm: camera: YV12 video support"
This reverts commit 66882a5046143601429632a0b589d9ffeeb3c668.
This change will be submitted later.

Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org>
2011-10-03 10:26:23 -07:00
Azam Sadiq Pasha Kapatrala Syed
7ff0cf4999 msm: camera: YV12 video support
Support for color format YV12.

Signed-off-by: Azam Sadiq Pasha Kapatrala Syed <akapatra@codeaurora.org>
2011-10-03 10:26:16 -07:00
Ben Romberger
c49b85db0b msm: audio: qdsp6v2: Support for RX & TX ADM topology
This adds support to store separate RX & TX topology for
the audio device manager (ADM).

Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
2011-10-03 10:26:11 -07:00
Bradley Rubin
229c6a5dc0 ASoC: WCD9310: Add Active Noise Cancellation support
ANC is a feature which reduces noise on the near-end
by pushing anti-noise onto the audio stream heard
by the user.  ANC mixes the anti-noise signal
inside of the WCD9310 codec.

Signed-off-by: Brad Rubin <brubin@codeaurora.org>
2011-10-03 10:26:06 -07:00
Shubhraprakash Das
5cd33b3765 mm: ashmem: Add cache clean and invalidate ioctls for ashmem
CRs-fixed: 291124
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
2011-10-03 10:25:50 -07:00
Anantha Krishnan
3b44cd4aee radio-tavarua: Adding private control to configure the RMSSI threshold
This change is to add V4L2 private controls for configuring the
value of RMSSI threshold.

CRs-Fixed: 293328
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
2011-10-03 10:25:48 -07:00
Lucille Sylvester
7f12ebf6a2 msm: kgsl: Remove unused variable w/ unneeded ifdef
This variable/ifdef should have been removed in a prior change.

Signed-off-by: Lucille Sylvester <lsylvest@codeaurora.org>
2011-10-03 10:25:45 -07:00
Abhijeet Dharmapurikar
57390b03ac power: msm_charger: control system power
Some chargers can control their current supply for the system. Provide
facility in the msm_charger to choose which charger supplies system
current. It is guaranteed that start charging will always be called
on a charger that has been previously been asked to provide system
current.

Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-10-03 10:25:43 -07:00
Ankur Nandwani
4246251a69 radio: iris: updating the values for RDS PID and PTYPE
Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>
2011-10-03 10:25:42 -07:00
Srinivasa Rao Uppala
18fb80ef71 radio: iris: Added code for search station list response
This patch adds support to handle  the search station list
response event

Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-10-03 10:25:38 -07:00
Anantha Krishnan
e46ef6f1bc radio-tavarua: FM jumps to alternate freq. with AF jump option disabled
When the transmit power of the currently tuned station decreases,
FM Receiver automatically switches to available alternate frequencies,
even though the auto AF jump feature is not enabled

CRs-Fixed: 293773
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
2011-10-03 09:59:11 -07:00
Shubhraprakash Das
79c87bf556 Kbuild: Export ashmem header file to user space
CRs-fixed: 291124
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
2011-10-03 09:59:11 -07:00
Ashay Jaiswal
4d1ab557f0 drivers: rtc-pm8058: Fix automatic wakeup of APPS due to RTC alarm.
Alarm interrupt causes automatic wakeup even when the phone is in
powerdown state.

CRs-Fixed: 286086
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2011-10-03 09:59:08 -07:00
Srinivasa Rao Uppala
7bb2210232 radio-iris: Adding offset to the search mode for RDS search command
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-10-03 09:59:06 -07:00
Abhijeet Dharmapurikar
52344ac584 power: pm8921-bms: add nano-doc comments to exported functions
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-10-03 09:59:06 -07:00
Abhijeet Dharmapurikar
2fb6f08e50 power: pm8921-bms: Add api to read Vsense
The Rsense resistor connects between the -ve end of the battery
and GND. The voltage across the Rsense gives us a good indication
of the current flowing through the battery.

Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-10-03 09:59:06 -07:00
Ankur Nandwani
78a782be53 radio: iris: adding support for RDS program service and radio text
This patch adds support for RDS program service and radio text
so that RDS data is displayed in the UI

Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org>
2011-10-03 09:59:05 -07:00
Abhijeet Dharmapurikar
c448d98e7e power: pm8921-bms: read temperature and voltage via adc
Read the battery temeperature and voltage from the adc driver instead
of hard coding them in the driver.

In the charing began and charing end functions, use
pm8921_bms_get_percent_charge api. This prevents duplicating calling
the adc functions.

Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-10-03 09:59:00 -07:00
Larry Bassel
7429cea50e pmem: remove support for unstable PMEM devices
This functionality has never been used, is ugly and
complicates the DMM design.

Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
2011-10-03 09:58:55 -07:00
Anirudh Ghayal
15187778e4 input: touchscreen: Move power mode handling to platform data
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2011-10-03 09:58:24 -07:00
Jason Varbedian
80ba33d88f msm: kgsl: change readtimestamp from IOR to IOWR and keep legacy
Signed-off-by: Jason Varbedian <jasonv@codeaurora.org>
2011-10-03 09:58:23 -07:00
Bryan Huntsman
3f2bc4d6eb Initial Contribution
msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
2011-10-03 09:57:10 -07:00
Bryan Huntsman
f06154cc47 Merge branch 'devicetree/next' of git://git.secretlab.ca/git/linux-2.6
* 'devicetree/next' of git://git.secretlab.ca/git/linux-2.6:
  dt: include linux/errno.h in linux/of_address.h
  of/address: Add of_find_matching_node_by_address helper
  dt: remove extra xsysace platform_driver registration
  tty/serial: Add devicetree support for nVidia Tegra serial ports
  dt: add empty of_property_read_u32[_array] for non-dt
  dt: bindings: move SEC node under new crypto/
  dt: add helper function to read u32 arrays
  tty/serial: change of_serial to use new of_property_read_u32() api
  dt: add 'const' for of_property_read_string parameter **out_string
  dt: add helper functions to read u32 and string property values
  tty: of_serial: support for 32 bit accesses
  dt: document the of_serial bindings
  dt/platform: allow device name to be overridden
  drivers/amba: create devices from device tree
  dt: add of_platform_populate() for creating device from the device tree
  dt: Add default match table for bus ids
2011-09-23 11:47:21 -07:00
Bryan Huntsman
66589de55e Merge remote-tracking branch 'linux-audio/sgc/topic/omap_3.0'
* linux-audio/sgc/topic/omap_3.0: (106 commits)
  ASoC: twl6040: Configure init gain to minimal value
  ASoC: ABE: Protect playback/capture triggers against removal
  ASoC: DSP: Connect FE->BE links if FE is active
  ASoC: McPDM: Update channel management (for squash)
  ASoC: OMAP4 - Port Manager: Fix up DEBUG_FS compilation error
  ASoC: ABE DSP: Fixes for firmware equalizer parsing
  ASoC: ABE DSP: Use same firmware strategy for built-in and modules
  ASoC: ABE HAL: Allow flexible firmware loading
  ASoC: ABE DSP: Fix compilation warnings
  ASoC: OMAP ABE: update Firmware version 09.45
  ASoC: pcm - fix locking for dsp ops
  ASoC: OMAP ABE: Update for PM.
  ASoC: McPDM: Update channels management to link UL and DL
  ASoC: ABE DAI: Call modem trigger in bespoke_trigger()
  ASoC: ABE DAI: support 2 channels for MODEM DAI
  OMAP4: SDP4430: Fix merge issue with new MFD driver
  ASoC: OMAP: SDP4430 fix merge issue.
  ASoC: dapm: Fix long_name pointer for DAPM muxes
  ASoC: mcpdm: Enable watchdog during audio activity
  ASoC: SDP4430: Fix DMICs stream name
  ...
2011-09-23 11:00:20 -07:00