e733efb4939694df2e9d673f88980733595eb608
1021 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
90752ebfb4 |
v4l2: Add mutex to streamon() and dqbuf()in v4l2 framework.
When v4l2 streamon() is called the framework moves to streamon state, after queueing the buffer. A state check is performed during dqbuf(). Sometimes when dqbuf() is called streamon() function has not completed setting the state transisiton flag. This results in failure to dqbuf() as the framework has not moved to streamon. This patch adds a mutex around state transitions and dqbuf() calls. Change-Id: I0eadc4aaffbed62facd7dd250893e50448d7e52b Signed-off-by: Ashray Kulkarni <ashrayk@codeaurora.org> |
||
|
|
ed5877d4b2 |
msm: vidc: Adds support to send new command
- Adds supports to send DECODER command to decoder which inturn used to CLOSE the instance. - Adds supports to send ENCODER command to encoder which inturn used to CLOSE the instance. Change-Id: Ia6037fdf66824538124f775442150b7a4ed201b8 Signed-off-by: Praneeth Paladugu <ppaladug@codeaurora.org> |
||
|
|
9ff8b5d419 |
msm: mpq8064: Use ION to alloc driver buffers
Since VCAP is behind IOMMU, in order to get proper address for VCAP hw to write to driver needs to alloc buffer from ION and not kzalloc. Change-Id: I1f4fcc6834d0ea09ba0fc812b301219d35f40721 Signed-off-by: Terence Hampson <thampson@codeaurora.org> |
||
|
|
f6c95fad77 |
msm: add new image modes to support stats buffer
Extend the image mode defines to include the stats buffers. Change-Id: I4c7a687cb08695d43befa15f6e18e7070d4e2976 Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org> |
||
|
|
98261841be |
msm: vidc: Add PAR value extradata support for H264 and Mpeg2
Core gives aspect ratio information for H264/Mpeg2 in a shared memory register. This change will fetch the value of the aspect ratio from the designated register and append this information to the frame_info extradata which can be used by the client. Change-Id: Iacacaf1b1181546ba2d09362a51bbe5178a63999 Signed-off-by: Deepak Verma <dverma@codeaurora.org> |
||
|
|
a3ca4db7ad |
msm: camera: Initial commit for VFE 4.0
Add Image Signal Processor support for 8974 chipset. Change-Id: Id1f425e59d48e490d5e426f5d056bca7c54b54a2 Signed-off-by: Kevin Chan <ktchan@codeaurora.org> |
||
|
|
c33afe48a3 |
msm: camera: Move ping pong buffer and bus scale logic from vfe to axi
Move the ping pong buffer configuration and bus scaling logic from vfe to axi as for concurrent camera case, vfe component will be turned off Change-Id: I39b465dcc121b83f960370b25349dc941ac8c34b Signed-off-by: Nishant Pandit <npandit@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org> |
||
|
|
d6dc85833e |
radio-tavarua: Validate whether the current station is good or bad
Provide mechanism to decide whether the currently tuned station is valid or not. CRs-Fixed: 371689 Change-Id: I1a28537d242fbb636732b120c9259ad5e7fffcc0 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> |
||
|
|
b24bb154c3 |
camera: vfe32: Add RDI reg update ack notification.
RDI and PIX have different timing characteristics. They should not share the same START_ACK notification. Add rdi0, rdi1, rdi2 reg update ack notifications. Change-Id: Id36b52ae5cf98f5f9f86e92028ec7ab0e7427a23 Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org> |
||
|
|
c5232358c5 |
vfe32: Separate AXI reset with VFE reset.
Refactor reset to axi_reset and vfe_reset. axi_reset initializes stream off/on, irq related registers. vfe_reset only handles stuff related to VFE components. VFE_RESET_2 is removed. Both axi_reset and vfe_reset are synchronous calls. Change-Id: I274c17defbfbc56056b020c48239696b0f579b0e Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org> |
||
|
|
780d63bdab |
msm: camera: calculate sof_count in ISPIF instead of VFE
Instead of counting the frame id inside VFE camif, obtain the sof count in ispif and then pass the count into VFE also add the capability to enable the sof count in VFE Change-Id: I90c0178d933cb4c80627eb9a5f22b4bb13b10b27 Signed-off-by: Peter Liu <pingchie@codeaurora.org> |
||
|
|
bbf55c4277 |
msm: Decouple VFE component from AXI
1. Move the logic to enable write masters from vfe to axi as vfe component may not be enabled for concurrent camera 2. Pass the vfe operation mode and port info from user space instead of storing in the global shared variable Change-Id: Ibe01bbe6a449afc3e4116c0a1c5f0d68662c5ee6 Signed-off-by: Nishant Pandit <npandit@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org> |
||
|
|
8e6db721ed |
camera: vfe32: Create synchronous version of VFE reset cmd.
Logically from RESET to RESET_ACK, no interrupt should be generated from hardware. Synchronous RESET call makes code flow simpler. Create a new ISP command VFE_CMD_RESET_2 which blocks until RESET_ACK irq fires. Change-Id: I1c1974c01d7037f457ab767a83f5cece3fe23705 Signed-off-by: Shuzhen Wang <shuzhenw@codeaurora.org> |
||
|
|
ad115580e3 |
msm: camera: CCI driver for 8974
Add Camera Control Interface (CCI) driver based on V4L2 architecture. Add probe sequence, subdevice creation, hardware registers and configuration through V4L2 subdev call mechanism. This driver is responsible for communicating with sensors, actuators and EEPROM connected on I2C bus. Change-Id: I2f135798e26348740f58da223caafdd8dfbbd098 Signed-off-by: Hody Hung <hhung@codeaurora.org> Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org> |
||
|
|
78131cf85a |
msm: camera: ISPIF changes for 8974.
ISPIF changes on 8974 to include VFE interface. Pass VFE interface from user space ISPIF module and configure accordingly. Add support to configure extra PIX and RDI interfaces. Change-Id: Idb840fa3d1ef2d1a7242fc2175b8fa64f75aa14b Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org> |
||
|
|
888afe822b |
msm: camera: Add support for Bayer stats
Add support for Bayer stats Change-Id: I69b408af91565581c925540bccb04708278bda05 Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org> |
||
|
|
8fc47f5dd1 |
msm: mpq8064: Enable separate ioctl call for noise reduction (nr)
NR for VCAP is capable of receiving manual tuning parameters. In order for the client to pass in these parameters a separate ioctl was developed. Change-Id: Ia8d7e8de80ee4fd7ccd2019d30b4457f1000e106 Signed-off-by: Terence Hampson <thampson@codeaurora.org> |
||
|
|
9a5340b4d2 |
msm: camera: Fix memory leak with stats buffers
Buffer unprepare is not done while releasing stats buffers, hence add support for buf unprepare ioctl Change-Id: If4fa95c270363d1948b5924c2365785d1427e2f4 Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org> |
||
|
|
071ac3d4dd |
msm: mpq8064: Dummy read to prevent false interrupt from triggering
The VBIF is capable of triggering a false bus error the first time it performs a read. This fix creates a dummy read event that happens every time that the VCAP is powered on that will ignore the false positive VBIF interrupt error, so that during normal operation the error can be properly identified. Change-Id: Ie56e60faf2067fab7a05a0f16c2d840408c35035 Signed-off-by: Terence Hampson <thampson@codeaurora.org> |
||
|
|
d2e5aa23fd |
msm: camera: Add support for instance handle based buffer lookup.
Currently when VFE requests for a free buffer, we search based on the image mode sent from VFE. In some cases, there can be multiple instances with the same image mode. This means the buffer lookup logic has to take into consideration other parameters like current usecase, vfe operation mode etc. To ease this, add support for buffer lookup based on the instance handle. The instance handle contains information about where to get the buffer from. So the buffer lookup logic does not have to know about other details. The instance handle is decided when the user sets the format for a particular instance. It is passed on to the VFE during AXI configuration. VFE stores this and sends it whenever it requests for a free buffer for a particular output. Keep the current image_mode based buffer lookup logic for legacy targets. Change-Id: I78c3db77ac4014365c9866ff780ec71ac4c7ff87 Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org> |
||
|
|
db99ddb60f |
msm: camera: resource manager related changes.
Make changes to support dynamic selection of subdevs through the resource manager. Instead of choosing the subdevs to be used by the current mctl session statically during open, the VFE, AXI and VPE subdevs are now selected and initialized later as per session requirements. Change-Id: I8df951b81f0ccc77e5b4f64bf5cf620822cf0175 Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org> |
||
|
|
d14c60e64d |
radio: iris: Validate whether the current station is good or bad
Provide mechanism to decide whether the currently tuned station is valid or not CRs-Fixed: 371689 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> Change-Id: I1f058bdeec8ecebe85b950631118c1ac9604760f |
||
|
|
212ebe6539 |
msm: mpq8064: VCAP corner case bug fixes
Closing VCAP devices could be called without calling stream off: This problem would make VCAP resources taken by devices no longer running. Using unsigned variable to store signed result: This problem would allow stream on to continue even when function returned error. Fix problem of reading VP irq status register too early: It was possible for cadence detection bit to be propgated faster by only a few clock cycles then the picture done bit. When the irq status read was performed and by the time a write to the clear register was performed the picture done bit would propgate. Since the irq is rising edge triggered this would cause a problem and the irq would not be triggered until VP was reset. Remove unused code Change-Id: Iba72354c06287efb27178edf64d8d3f459dbf954 Signed-off-by: Terence Hampson <thampson@codeaurora.org> |
||
|
|
3e11253611 |
msm: mpq8064: Separate q/dq buffer for VCAP de-interlacing mode
This change fixes a crash when running VCAP in de-interlace mode. The problem was noticed in the introduction of kernel 3.4. VCAP was improperly using the videobuf2 framework APIs. Since VCAP is already reliant on queue structure provided by videobuf2 framework, we created our own basic version of the qbuf and dqbuf calls that have some similarities to the videobuf2 framework. This addition was necessary since we are calling qbuf from a kernel work thread. Since moving to kernel 3.4 there has been a change in videobuf2 qbuf that dereferences the current process.s mm_struct, from a kernel work thread this struct is NULL, which was causing a crash. When we are de-interlacing a captured video we are cycling the buffers internally in the driver, which is why we needed to create our own q/dq buffer functionality. Change-Id: Id51b775ae7f0a58bbac8a581e07fa02417802a30 Signed-off-by: Terence Hampson <thampson@codeaurora.org> |
||
|
|
66917c1a56 |
msm: camera: Add free status buffer queue
Add support for free buffer queues for vfe statistics Change-Id: I9a791d5869aa090f661904b41b210cea51f67aa4 Signed-off-by: Mingcheng Zhu <mingchen@codeaurora.org> Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org> |
||
|
|
1e11a8dc54 |
msm: camera: Add support for concurrent Ispif interface streaming
Add support for multiple ispif interfaces streaming concurrently. PIX abd RDI interface can stream at same time or two RDI interfaces may stream at one time depending on usecase Change-Id: Ib3cef418cd2816bc19891c1855e1dcae5a2a55a1 Signed-off-by: Nishant Pandit <npandit@codeaurora.org> |
||
|
|
6a3fdea4e4 |
msm: camera: Allow user to abort live snapshot.
Due to some reason, user can decide to abort a live snapshot while it is in progress. Add support to stop the VFE write masters right away so that the VFE stops writing on the buffers allocated by the user. Also send an ACK message to userspace once we get confirmation from VFE that it has stopped using the buffers. CRs-Fixed: 373080 Change-Id: Ia4d9134298dd3a1a51f5829f9bcc2b80d6f21d0f Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org> |
||
|
|
c244bd209f |
msm: camera: CPP driver Framework
Initial commit for Camera Post Processor Driver. The driver contains frame queuing and process logic using v4l2 framework. Change-Id: I283c11c3de3bd121b9c3ea5af1446c13e188d329 Signed-off-by: Kevin Chan <ktchan@codeaurora.org> |
||
|
|
3e3687e226 |
radio-iris: Add ioctl commands to configure spur table
Provide interfaces to allow host to update the spur table with spur frequencies specific to platforms. CRs-Fixed: 352591 Change-Id: I139ac84a4a45578ebab63c26d7176666d47d3e2a Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> |
||
|
|
d0727821ee |
radio: tavarua: Add IOCTL to enable the FM TX Tone generator
Implement IOCTL to set the Internal FM TX Tone generator values Change-Id: I2a94d5559a90362b9439ea510e98489102ed0c04 CRs-Fixed: 356789 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> |
||
|
|
79eaa29d8a |
msm: camera: Add support for RDI in VFE
Enable RDI registers and irq handler in VFE. RDI may be used to dump sensor data directly to memory without passing through VFE. Change-Id: I1ca131c31913f62228364440bbe2cd98a6079003 Signed-off-by: Nishant Pandit <npandit@codeaurora.org> |
||
|
|
2577a712ce |
msm: camera: Add IRQ Router subdev implementation.
Add initial driver code for IRQ Router hardware. It shall be implemented as a v4l2 subdevice of the msm cam server node. Add logic in msm cam server to request for irqs configured to the IRQ Router, which can be individual or composite. When the individual camera hardware cores interrupt, the cam server receives them through the common interrupt handler and dispatches them to to the respective hardware core's v4l2 subdevice. If the usecase demands that the interrupts from two different hw cores be composited into a single interrupt, (for eg: VFE and ISPIF), then the cam server stores this configuration in its interrupt lookup table. When the interrupt is triggered on the composited interrupt, it is dispatched to the individual hardware cores which have been composited into that interrupt. Change-Id: Iaadd60cc24de9b5ba8d09a151474658902244d7b Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org> |
||
|
|
484598c16e |
msm: camera: Use image mode to get buffer
Use image mode instead of vfe operation mode to get and free buffer Change-Id: I33e912b0fa4e16d3a89161f98ab9a659b9c197f6 Signed-off-by: Kevin Chan <ktchan@codeaurora.org> |
||
|
|
3658e5175d |
msm:vidc: provide support to raise afab and ebi1 clks to turbo mode.
This change provides support to raise the clks to turbo mode for mpeg4 clips with high number of slices. The firmware performance degrades if the number of slices is more than 10. Without this fix, we see lot of frame drops happening, causing a freeze effect. Change-Id: Ia897854ef6d30bb97cd37810b22eb1ab5ad818fb CRs-Fixed: 358615 Signed-off-by: Arun Menon <menon@codeaurora.org> |
||
|
|
a5c636459d |
radio-tavarua: Add IOCTL commands to configure the SPUR Table
Provide interfaces to allow host to update the SPUR Table with newly found spur frequencies and their RMSSI values. CRs-Fixed: 352591 Change-Id: I84f296ea313971cc1995c644d604f96581be5f7f Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> |
||
|
|
1741a46960 |
msm: camera: Decouple the ISPIF component from sensor
Ispif is a separate hardware block. Decouple it from sensors so that it can be controlled for various camera usecases. Change-Id: I539fcb4166edc7a14d15a94c2f7f56b2f196a971 Signed-off-by: Nishant Pandit <npandit@codeaurora.org> |
||
|
|
11ff341a25 |
msm: camera: add ion dev fd field to frame structure.
The ion dev fd field is required to represent the client that allocated the buffer represented by the frame. Change-Id: I8de791158251069275becc9f6413382fc6738492 Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org> |
||
|
|
2ea0cba354 |
msm: mpq8064: Allow power up and down to be more dynamic
To save power regulators are only powered on when needed. Also in this change is that clock rate is not longer set to max rate. Clock speed set to lowest rate and still remain properly functional Change-Id: I7141c8d630e4dbf5c2593e0aea9a18dc3866a1fd Signed-off-by: Terence Hampson <thampson@codeaurora.org> |
||
|
|
0ce79bfa94 |
msm: mpq8064: Enable v4l2 event handle in VCAP
This will allow client to subscribe and receive events regarding VCAP device Change-Id: If8b6723feaa29dcf4e6a3bb9275ccc776081c830 Signed-off-by: Terence Hampson <thampson@codeaurora.org> |
||
|
|
87d4c4d1c2 |
msm: camera: Add v4l2 private ioctls
Add private ioctls s_ctrl, query_ctrl where we need to get ctrl data from userspace. Change-Id: I404236d072bafb3ef6ef3c0723a707f5805fe92b Signed-off-by: Kevin Chan <ktchan@codeaurora.org> |
||
|
|
bd50cd17b0 |
msm: Allow VPE driver to be configured directly.
Currently VPE hardware is being controlled through the config node. Since it is converted into a V4L2 subdevice, we could control it directly from userspace by issuing open, close and ioctl system calls. The ACK from VPE hardware shall be routed directly to userspace by putting the ACK event on the v4l2 event queue. Change-Id: I7f82a750a28732382627349da362dbee8e27b149 Signed-off-by: Kiran Kumar H N <hurlisal@codeaurora.org> |
||
|
|
b1ea821890 |
media: rc: Add wakeup functionality from GPIO IR event
Add can_wakeup functionality flag so that host can wakeup from IR event. Change-Id: I5cfa95fc17f390271d315a38d14dcbccd49dda78 Signed-off-by: Trilok Soni <tsoni@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org> |
||
|
|
3d1236b0c8 |
media: rc: Add remote control event report from user space input
Some of user space applications need to send the remote key events to kernel input subsystem, so for these type of applications this driver enables them to send key events to kernel. User has to send the key event type (pressed,repeated,released) and scan code value. Change-Id: I31a03044702020bd7bfd6cfdc310e65f85d282ef Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org> |
||
|
|
26ed156b3e |
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> |
||
|
|
05d7cab4d7 |
media: rc: Add support for Universal Electronics(UE) remote control keymap
UE remote control uses RF4CE protocol to send the user control data through RF interface. Change-Id: Id99ad2ceaf8e8e28b71e827bd950a6e9b7f5fe76 Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org> |
||
|
|
552d9888f7 |
media: rc: Add support for RC6 philips IR remote control keymap
RC6 philips remote control uses RC6 protocol to send the user control data through IR. Change-Id: I53f93c679c08a2b2aca154a761f84dae2f1c52e9 Signed-off-by: Ravi Kumar V <kumarrav@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org> |
||
|
|
6fb73feae7 |
radio: iris: Qualcomm FM radio driver
Including: commit 7ba5c1ccceac56a2c4de59d379af68289f5726d4 Author: Ayaz Ahmad <aahmad@codeaurora.org> Date: Tue Nov 20 14:55:15 2012 +0530 radio: iris: Allow user to set number of stations Maximum number of stations to be searched passed from application is not passed to FM Soc Set max number of stations to be searched passed from framework instead of always setting number of stations to zero Change-Id: I7196d16bfdb86ea6fb1c6ec3d9ef7b7538001bec CRs-Fixed: 421945 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> commit 89265111440674132f59c3aa2938a0aefbfc84fb Author: Ayaz Ahmad <aahmad@codeaurora.org> Date: Fri Oct 5 19:39:11 2012 +0530 radio: iris: Add support for RT Plus, eRT feature - Allow Soc to interrupt host for RT Plus, eRT data - Parse the RDS group for RT Plus, eRT - Queue the parsed data and event for RT Plus, eRT to upper layer Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> Change-Id: Id351b0c466855e9b0d20bf38a601aa63dd1be2b1 commit 7f095c44d4f63b168820aeba9d72b2504a879ab9 Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Wed May 30 15:31:38 2012 +0530 radio-iris: Fix corner cases in dqbuf - Sometimes user data getting corrupted and it is not available at the kernel level - Use the kernel buffer instead of user space buffer to copy the data from fifo. - Increase the STD_BUF_SIZE buffer size from 64 to 128 bytes to compatible with Frameworks buffer size Change-Id: I1e0fd8e59b218e7bec7820b0c27e2405d472cd56 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit 1c0db5273216ea80f3762dc5675daebac16e1e0b Author: Ayaz Ahmad <aahmad@codeaurora.org> Date: Mon Aug 27 17:52:51 2012 +0530 radio: iris: Pass proper parameters to SOC for RDS transmission - Pass number of ps string instead of ps length - Use proper name for radio text length Change-Id: I3dc87673e15eea4a230093ccb3d0a11af28910cf CRs-Fixed: 388115 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> commit d588e7c5529d481a17dc2f5609f461ab6a98e7c8 Author: Ayaz Ahmad <aahmad@codeaurora.org> Date: Fri Aug 3 20:40:33 2012 +0530 radio: iris: Set band limits as passed from upper layer Seek up/down in some band is tuning to a station which is out of band becuase band limits passed from upper layer are not used Change-Id: Ic7d11cb33e7964d385be04b0d2e007889ccc1429 CRs-Fixed: 384287 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> commit 37294ba321af3b2722540e97ba19ec50b3748d8e Author: Ayaz Ahmad <aahmad@codeaurora.org> Date: Tue Jul 10 16:38:11 2012 +0530 radio: iris: Validate whether the current station is good or bad Provide mechanism to decide whether the currently tuned station is valid or not CRs-Fixed: 371689 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> Change-Id: I1f058bdeec8ecebe85b950631118c1ac9604760f commit f950e320ee1e717b33c6ca7fbed7efe34beb07cf Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Wed Jun 6 14:25:49 2012 +0530 radio-iris: Add ioctl commands to configure spur table Provide interfaces to allow host to update the spur table with spur frequencies specific to platforms. CRs-Fixed: 352591 Change-Id: I139ac84a4a45578ebab63c26d7176666d47d3e2a Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit c1e6a95c31cc474f809bb7ab3c036e8890be7709 Author: Ayaz Ahmad <aahmad@codeaurora.org> Date: Tue May 15 19:29:54 2012 +0530 radio: iris: Add calibration mode Do not queue the FM enabled/disabled events while calibration is in progress CRs-Fixed: 358229 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> Change-Id: I02ee9c095d9d242de0610b210ae4e5d328e0afa8 commit d7b5a77f8183754fb9391f47739d8a529dca4cd3 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Mon Apr 30 04:21:03 2012 -0700 Revert "radio-iris: Configure search direction as passed by FM APP" As per V4L2 framework APP should pass the parameter as '1' to search in forward direction and '0' to search in downward direction. Reverting the change that was uploaded as it configured the search direction directly that it received it from the APP. APP should pass '1' for SEEK UP and '0' for SEEK DOWN . The driver should check for the direction before configuring. To the FM SOC, '0' means SEEK-UP and '1' means SEEK-DOWN. If APP passes '1' driver understands that user is requesting SEEK-UP operation and will configure the direction as '0'. This reverts commit 4667d9d437c2fe5501db1fd741b4643452eda61b Change-Id: I64a4c2674281c0d405ff03f8cbff9956a27f6e40 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 152fe5bbe0ddb8407030c31bde743006a66509b5 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Feb 28 18:07:20 2012 +0530 radio-iris: Add buffer overflow checks to Default Data Write ioctl Copy only the requested amount of data specified by the user as part of the FM Default Data Write HCI command. Sending additional default data than requested by the user causes data abort in WNCSS and results in WLAN crash. CRs-Fixed: 356330 Change-Id: Icd87f2357ca53c3fa66d703e0e6f373c01b7023c Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 71731d5d400fa60cca24303aa31dd95a1443803d Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Wed Apr 4 12:30:51 2012 +0530 radio: iris: Implement new radio IOCTLs. Implement IOCTLs for Tx power level control CRs-fixed: 349247 Change-Id: Ie188b08fdf0aa697b6e1eada5c597813f0dc678f Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit 4667d9d437c2fe5501db1fd741b4643452eda61b Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Thu Mar 8 10:46:06 2012 +0530 radio-iris: Configure the search direction value as passed by FM APP Do not invert the values passed for the search direction. Configure the value of search direction as passed from the user-space. Change-Id: Ic02714174740f4abb0c4b209a6f83c8f2c8575e6 CRs-Fixed: 340401 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 3dad6519412c1de30c8905683047f51a89fd377b Author: Ayaz Ahmad <aahmad@codeaurora.org> Date: Tue Mar 13 13:41:19 2012 +0530 radio: iris: Send proper event to FM frameworks Send enable, disable event to fm frameworks when FM TX is turend on/off respectively Change-Id: I9372cc143d6352d3faaf137726156d2760165272 CRs-Fixed: 339470 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> commit b69202b62234d2a3103117536ed637bde87dcc2b Author: Ayaz Ahmad <aahmad@codeaurora.org> Date: Thu Feb 23 19:24:46 2012 +0530 radio: iris: Fix the set station issue at boundary Seek frequency at lower/upper limit is not working if selected country is in Europe band with channel spacing 50Khz Use the correct upper limit for Europe band Change-Id: Icdcb116c24ae9840cc66b1dc2da5fa739a2f89c8 CRs-Fixed: 338137 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> commit 0f69eb40055f94b293e9723f1d16ba9786a6eb82 Author: Sunny Kapdi <sunnyk@codeaurora.org> Date: Fri Jan 27 18:01:01 2012 -0800 radio: iris: Add support for FM Subsystem Restart Inject FM Disable event when WCNSS resets. 1. When WCNSS crashes, SMD will close the FM port 2. Schedule a work queue to send RADIO_DISABLED event to upper layer. Change-Id: I10e4834df507fe39ce58b92e650c1a39ccbf66f7 Signed-off-by: Sunny Kapdi <sunnyk@codeaurora.org> commit 2f51a97c592d5cc369cef42c3b90743e3265fc75 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Mon Jan 23 20:11:13 2012 +0530 radio: iris: Return proper antenna type for get antenna IOCTL FM TX UI turns off due to the invalid return value in response to GetAntenna on FM TX Restart.Save the type of the antenna that is set as part of SetAntenna.Return that in response to getAntenna. Change-Id: I35cf0ca36ed60a3c94b4bc98e020053763b24c88 CRs-Fixed: 332432 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 1da1a240ee193089d5baf0740de25c525331650f Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Wed Jan 11 11:00:10 2012 +0530 radio: iris: Fix the AF jump issue Clear the current AF JUMP settings before re configure. Otherwise FM Rx jumps to alternate frequency even though it is disabled Change-Id: Iab2e612c701876f2adec27d7d1abfcbe7fa6af52 CRs-Fixed: 328783 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit d3184a4f6aecc65dafc0f45f5ca3a165523c08c7 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Wed Jan 4 21:18:01 2012 +0530 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> commit 3d1d6e4b0c1f31b914328c6db797409f6abaf124 Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Fri Dec 9 15:08:58 2011 +0530 radio: iris: Fix the crash with get signal threshold command. Access to unallocated memory is causing the crash. Correct the implementation of returning the response to get signal threshold command. Change-Id: I920e984f68fbcfef82ad2f6e9d252f42c0b815d9 CRs-Fixed: 330569 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit d6140eb5ef2ca2f342be568cc369a4ceeaeb9eac Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Tue Jan 17 16:23:52 2012 +0530 radio: iris: Use service availability to indicate station's signal strength Check the service availability event to indicate the signal strength of the tuned station. Change-Id: I7d1c1f3de13351222cfdc27bc2d80dd08aadfdf2 CRs-Fixed: 331137 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit 6983984c309a429d2ee3f161003c53335a30c6ae Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Fri Jan 13 18:36:12 2012 +0530 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> commit acdebccd13dccabb9103bb7ced38c5e89bb78417 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Fri Dec 23 14:31:38 2011 +0530 radio: iris: Incorporate changes in tune status event SINR and interference detection threshold parameters are added to the tune status event. Update the driver to incorporate the changes. CRs-Fixed: 322478 Change-Id: Ia883c85469ba4d4025d518b6ddba371c755f3763 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit de0b5d915d3968ede7ab26377409ae9ee87e1bd6 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Dec 27 18:09:10 2011 +0530 radio: iris: Add place holder for set audio path IOCTL Add place holder for Audio path IOCTL to make the FM FTM code generic across all platforms Change-Id: Iede9b6543e932882ee9c4bf4ead6f933132a08d8 CRs-Fixed: 322893 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit d2ec468dc6623ef96728ec40a53df438f68d0d32 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Mon Dec 12 14:02:15 2011 +0530 radio: iris: Fix the FM FTM Tx set station issue The get station parameters command failed during FM Tx as this is specific to Fm Rx.Add the check before issuing the get station parameters command CRs-Fixed: 323778 Change-Id: Ie1a00fe5bf742c2c8158cff563c56d7fea44a21e Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 5e96e69e15862ec28b0ebbd1790009e453e0278a Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Mon Dec 5 17:36:06 2011 +0530 radio-iris: Disable DC calibration. Disable do/set DC calibration. Change-Id: I3fdb39fb8fe3be3fd9f39aafe30b69f1127bedc8 CRs-Fixed: 322471 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit 862492da4d83cb2a5c3b2c6821e6a3329a56951c Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Tue Nov 29 11:51:24 2011 +0530 radio: iris: Handle error case for get & set frequency. Check the status and update the frequency. Change-Id: Ia529f92f0119ba6aaa46fa4559e88560f93f70cb CRs-Fixed: 317131 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit 61dc15eae13804a779dfd504a7d4875630b13820 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Dec 6 11:39:02 2011 +0530 radio-iris: Add place holder for TAVARUA specific commands. Change-Id: I83226f1d6dce998dab0bde990c6855b0763ac0f3 CRs-Fixed: 314648 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit c5320c2e36ef90f3c4b540f8361af4c6847c6185 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Mon Nov 28 14:28:51 2011 +0530 radio: iris: Fix the FM FTM Tx configuration failure FM configuration failure is due to two issues. Since the calibration will take around 6 seconds to complete, any commands sent to SOC during that time will fail.Added a state machine to prevent the execution of another command while FM calibration is in progress. The other issues is with the Get tuner command.FM kernel driver is sending the Rx specific command to get the Tx configuration. Send the proper command to get the TX configuration parameters. CRs-Fixed: 317658 Change-Id: I54e637c267cbdb88d15d68d8ad7ceb72f985c54d Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 45496f1b5ba4a2497bdefae56e770947a59c6868 Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Wed Nov 23 12:51:13 2011 +0530 radio-iris: Send the right channel spacing value to the SOC Send the set channel spacing command to SOC when there is a change CRs-Fixed: 318626 Change-Id: I7471ec83253a1400fec1565c155f15723f403dd7 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit f78dab8050e0c6611cadf477cac7a879d40108e5 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Tue Nov 29 10:57:31 2011 -0800 radio: iris: use the proper function to read from SMD Events are read from SMD in tasklet context, but The function used to read from SMD causes a deadlock as it only works in interrupt context. This patch replaces the read function with an appropriate function that can be used in tasklet context. CRs-Fixed: 322243 Change-Id: I02e65fe33f4eee6ff1296abffd010f1283682624 Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit 3a0b75d0af955926606ce97ae491d1fea02f3725 Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Wed Nov 23 17:03:27 2011 +0530 radio: iris: Fix the calibration issue. Fix the preset issue after the calibration Change-Id: I5c0c694304b70be48462feaf64f688109596e781 CRs-Fixed: 318867 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit 4944e69000f93253863c632b572e602975f6dad7 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Fri Nov 25 16:00:20 2011 +0530 radio: iris: Fix memory leak Fix the memory leak in transport driver.Free the memory after sending the command to SOC Change-Id: I2948debf882e004df41d6a1b5ce81581c1034ae2 CRs-Fixed: 320325 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit f1febce83b54ac1ee999672fee32fd08e5c243fa Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Wed Nov 9 10:30:16 2011 +0530 radio: iris: Fix stereo display issue There was a bug where the kernel driver was not sending the audio mode event.This patch adds the support to send the events to the upper layer. Change-Id: I08326f5de2796bf40ec25b5646bd21be4aa94b88 CRs-Fixed: 312918 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit dcf9919244b01bbc73ab4c16c97ae1cd8d1d30fb Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Mon Nov 7 17:55:48 2011 -0800 FM: fix the bug where SMD interrupts might not be processed radio_hci_smd_recv_event() function allocates memory with GFP_KERNEL which might sleep which can cause the interrupts not to be processed. This patch changes GFP_KERNEL to GFP_ATOMIC which prevents the function from sleeping while allocating memory. Change-Id: I0ff0feabf972c4ff5a9fb8474ec68611a13668bf Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit bab6b7ee8a65a87ae78160d707311618308528fa Author: Priyanka Vunnam <pvunnam@codeaurora.org> Date: Tue Nov 1 15:41:54 2011 +0530 radio: iris: Fix a few possible coding errors Add checks for null pointer dereferences, take care of memory leaks and handle buffer overflows. Change-Id: I0722f96707a8eeb2a231fc4601beeb3dbca9ceb9 CRs-fixed: 313392 Signed-off-by: Priyanka Vunnam <pvunnam@codeaurora.org> commit f856ae6f14473db110e4e538408f9f502136cfb8 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Mon Oct 17 18:43:26 2011 +0530 radio: iris: Implemen low power IOCTL's This patch adds the support for low power mode related IOCTL's Change-Id: Icbfb21c24b82d9dc40203bcaf37049160285cc4e CRs-Fixed: 312921 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit cb48ee690877fa3be1c9c367d169e3aec34b65ac Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Oct 25 09:57:06 2011 +0530 radio: iris: Added IOCTL's for FM calibration This patch adds support for FM Calibration IOCTL's to perform the FM calibration during the bootup and on every enable Change-Id: If1c9e1d131d67df1434e86debd214b52379cad61 CRs-Fixed: 313588 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 787af69e5f496a5c1af539b84a4b604296869eeb Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Fri Oct 14 21:23:03 2011 +0530 radio: iris: Added missing radio IOCTLs. Added IOCTLs for Read/Write default data commands CRs-fixed: 312337 Change-Id: I1012840bb94352041f1e5134054588cb0976eb62 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit 1c67b75359aebeb2aba90f0124c0f12afd7e1d72 Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Mon Oct 17 13:05:48 2011 +0530 radio: iris: Corrected the OGF values There was a bug where we were using wrong OGF values for set/get threshold, get station debug parameters, get RT and get PS commands. This patch is submitted with Correct OGF values CRs-Fixed: 307742 Change-Id: I6c47125e5749a22d82256e24101952778255a1b4 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit cf3a81185fc3c9130a61097ea3f0d5abe457988a Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Thu Sep 22 21:02:02 2011 +0530 radio: iris: Freeing memory after event handling There was bug where we were not freeing the memory after event handling. This patch adds the code to clear the skb memory. Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 3c7a8eb9d84fd4a0b7e931e8ea607a6e9e2e2c0d Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Sun Sep 18 09:10:21 2011 +0530 radio: iris: Added missing radio Events & IOCTLs. Added support for events rds availability, service availability, alternate frequency list and RDS group complete. Added IOCTLs for search on, radio state, search Program Type, search Program Identification, alternate frequency jump, stop Program Service name transmission and stop radio text transmission. CRs-fixed: 307369 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit f0d1374a2038d59170ad3b5953c8aa9e28859cd2 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Thu Sep 8 10:13:13 2011 +0530 radio: iris: Fix for Japan band setting failure There was a bug where we are using default configuration (Setting to US band)in FM enable. This patch removes the default settings. CRs-fixed: 305266 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 0f4098f5b445f624e821e5cc97f88b0635ec95c3 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Sep 6 16:46:28 2011 +0530 radio: iris: Added support for FTM commands This patch adds support for RDS group counters, Set HLsi and Set notch filter FTM commands. Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 8f972e5c91c3ff4f62852b65ae145c58d0e11118 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Wed Aug 24 11:48:32 2011 -0700 radio: iris: fix the seek bug during FM TX This patch fixes the issue we could not seek to another station in the TX mode when RDS was enabled. Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit cc62b1cce23459f8074f71567e9fe0f1e64c991b Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Mon Aug 22 19:15:29 2011 +0530 radio:iris:Fix for regional band settings issue This patch fixes the bug where the regional band settings were overwritten by default settings. And also sets proper high and low band limits for Japan band. Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 07522d9b9dfa7892b195f19bd3765dd8e8b1b627 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Aug 16 05:09:30 2011 -0700 radio:iris: fix the FM scan failure issue This patch fixes the bug where break statements were missing while setting the stereo mode and enabling FM in Transmitter mode. CRs-fixed: 301572 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit d928d54d59013dc82df80b4ee52f753cb5640a88 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Thu Aug 11 13:15:41 2011 -0700 radio: iris: adding support for TX functionality This patch adds the functionality for FM enable, disable, tuning, configuration and RDS functionality for FM TX Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit 6cc0e32a30b04ecb0376c99c5f97f06956feb537 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Fri Aug 12 10:54:48 2011 -0700 radio: iris: Fixed the ssbi riva poke issue This patch adds the proper command type for riva poke Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 58273f8b07b5f17b8287a9c06f59d977e4872583 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Wed Aug 10 19:07:45 2011 -0700 radio: iris: Fixed the issue with RDS configuration This patch configures the rds registers properly CRs-fixed: 298431 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 0ffb5d65b7783fd60f08272d68362272ed3de88b Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Aug 2 17:54:13 2011 -0700 radio: iris: Added code to enable soft mute This patch adds code to enable soft mute, signal blending and interference blending CRs-fixed: 297396 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit abc8efa59771639e344b95a01c1a4b0d8c67154a Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Aug 2 14:31:30 2011 -0700 radio:iris:Adding support for FM debug commands This patch adds new debug commands for FM driver Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 18fb80ef719e94493c257e3cd6c92e790cc6223f Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Sun Jul 17 17:33:00 2011 -0700 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> commit 7bb2210232d7a218a8a5dde43dddbcaafa76f745 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Thu Jul 14 11:27:30 2011 -0700 radio-iris: Adding offset to the search mode for RDS search command Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 78a782be53183ace3fb289e5ee9d6c1efc9e4af2 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Thu Jul 7 21:11:21 2011 -0700 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> commit 3f2bc4d6eb5a4fada842462ba22bb6bbb41d00c7 Author: Bryan Huntsman <bryanh@codeaurora.org> Date: Tue Aug 16 17:27:22 2011 -0700 Initial Contribution msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142 Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org> commit 8d8992e355f868f757044680f6a3ee97011fc170 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Thu Sep 22 21:02:02 2011 +0530 radio: iris: Freeing memory after event handling There was bug where we were not freeing the memory after event handling. This patch adds the code to clear the skb memory. Change-Id: I865fb9e62388a1fdff78a3ae3d852af8c4c16d8f Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 3e13e1f80d483b49c4863aba38e585bbd5526443 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Sun Sep 18 09:10:21 2011 +0530 radio: iris: Added missing radio Events & IOCTLs. Added support for events rds availability, service availability, alternate frequency list and RDS group complete. Added IOCTLs for search on, radio state, search Program Type, search Program Identification, alternate frequency jump, stop Program Service name transmission and stop radio text transmission. CRs-fixed: 307369 Change-Id: I0bb0f5cd2aef30e60c6af3d5deb7f1ddab93065a Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit ac31e78597cc8da6b66258abd84e9e33829351d3 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Thu Sep 8 10:13:13 2011 +0530 radio: iris: Fix for Japan band setting failure There was a bug where we are using default configuration (Setting to US band)in FM enable. This patch removes the default settings. Change-Id: Idb43920df86557dda5087fda39e599fb3705d1d5 CRs-fixed: 305266 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 70746090ff484139a57eeb2a73e92b6a3360d200 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Sep 6 16:46:28 2011 +0530 radio: iris: Added support for FTM commands This patch adds support for RDS group counters, Set HLsi and Set notch filter FTM commands. Change-Id: I6831cc870fdc0cf4ebaaafb9247614a9fd3dee56 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 480d7d564b0d3948231f23416ab6512f315a0818 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Wed Aug 24 11:48:32 2011 -0700 radio: iris: fix the seek bug during FM TX This patch fixes the issue we could not seek to another station in the TX mode when RDS was enabled. Change-Id: I8ed1c90aa51eccc15103de69b7b87488d2902e77 Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit 8662f02e39b782782c6ec7bf1bc9254aafa68ea6 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Mon Aug 22 19:15:29 2011 +0530 radio:iris:Fix for regional band settings issue This patch fixes the bug where the regional band settings were overwritten by default settings. And also sets proper high and low band limits for Japan band. Change-Id: If952ef44050a7449547968168e3ee14370c94efd Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit bf8e7d014c89b814c6eaff2d51d0f5a00e96a14b Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Aug 16 05:09:30 2011 -0700 radio:iris: fix the FM scan failure issue This patch fixes the bug where break statements were missing while setting the stereo mode and enabling FM in Transmitter mode. Change-Id: I8aeb109eedb2fdfb2d8084b263977794c6d0dbac CRs-fixed: 301572 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit 3e721410f5fb14d29c9d105baaed222d927e9c09 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Thu Aug 11 13:15:41 2011 -0700 radio: iris: adding support for TX functionality This patch adds the functionality for FM enable, disable, tuning, configuration and RDS functionality for FM TX Change-Id: I6a3c55db06fb712db2425906dbe2e4aed1dfa1f0 Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit b9eb8c4bb9eec935b04630bac04cebd8ce071fc3 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Fri Aug 12 10:54:48 2011 -0700 radio: iris: Fixed the ssbi riva poke issue This patch adds the proper command type for riva poke Change-Id: I878dc62a635abe3c3b5628fb524619e3962c7868 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 08ce3a00e2d9b04426c2a48793cb04be4ddedf38 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Wed Aug 10 19:07:45 2011 -0700 radio: iris: Fixed the issue with RDS configuration This patch configures the rds registers properly Change-Id: Iaf17ffbe6802a12ca0b528edc5e763f03903f219 CRs-fixed: 298431 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 4f33497a60134707b1c0d23711d77c5a06f3a6cc Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Aug 2 17:54:13 2011 -0700 radio: iris: Added code to enable soft mute This patch adds code to enable soft mute, signal blending and interference blending CRs-fixed: 297396 Change-Id: Idddbfb758cb45ffa28a2c972a44449c3239f5868 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 6ee7ee74e3bd5b48df34f60c0d656fb186341fdc Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Aug 2 14:31:30 2011 -0700 radio:iris:Adding support for FM debug commands This patch adds new debug commands for FM driver Change-Id: I6f92be14197f8ff6e16e1a6a0e6778eab61040f2 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 94d218b5185682de673f86d5527f9c48ac1ef35b Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Sun Jul 17 17:33:00 2011 -0700 radio: iris: Added code for search station list response This patch adds support to handle the search station list response event Change-Id: Ie6e9e4867427eaace9ef179de2ec0f4e4b870234 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit c7c4b59a4319b937d20ccd328349838f2babf6c8 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Thu Jul 14 11:27:30 2011 -0700 radio-iris: Adding offset to the search mode for RDS search command Change-Id: I05e8efc1c9e54098bdb7955599b0d4549f37a1b2 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 8ddd11bdaf5dccab3f8941db1051e3c8cc7e24a8 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Thu Jul 7 21:11:21 2011 -0700 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 Change-Id: Idc0d7caa77fef053cdd597426fd236de89649dff Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit 254e89abff8418d60d7d5f44db0f6782b6474937 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Tue Jul 12 16:07:11 2011 -0700 radio: iris: using correct OGF for cancel search Change-Id: I4ca6b99f482503d5f056d8a0ac43548b229c6ed2 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 0a7d32781050824c2130e9c2b8a7ea569100e686 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Thu Jul 7 20:05:41 2011 -0700 radio: iris: Sending an event to the app for disable This patch sends an event back to the app indicating disable has been completed Change-Id: I592f721885385e893c1cc38d18028b25bd8b3446 Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit cde6173f8e2223feaf14fa9d5ec8fb3a10dffda7 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Fri Jun 24 10:32:24 2011 -0700 radio: iris: returning a tune success event for FM tune command Change-Id: Ib2db48e85cef7d0cb909737954b863ecd6772146 Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit 4108d501b055c21d19396ce52686975916f93c50 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Thu Jun 23 23:01:13 2011 -0700 iris: msm8960: removing check for open/close calls in radio transport Change-Id: Ie64e8fe712b3b0bfbe5f137b463605ca99116566 Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit 96e6bba671f11ff39a901f6a71fd06efe74d2dd0 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Wed Jun 22 01:41:51 2011 -0700 radio: iris: adding wait_queue functionality and cleaning up code In this patch we add the wait_queue functionality so that the after sending a command the driver blocks until an event is recieved from RIVA. Change-Id: I9742f6db71e80f2931e796110adb034ea1cc2f5f Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> commit 4a8a4b1f27ccf01758c00e63451f1a69b32f2b36 Author: Archana Ramachandran <archanar@codeaurora.org> Date: Wed Jun 15 19:31:59 2011 -0700 msm: FM iris driver fix for enable, disable and tune FM iris driver fix for enable/disable and tune, removed tasklets and wait Change-Id: Ia4c065dd5f062f8e89bd5e7d3bd71fdf403f4773 Signed-off-by: Archana Ramachandran <archanar@codeaurora.org> commit 31abca6a78e2128358b9a3434bc7c23d84eab65d Author: Archana Ramachandran <archanar@codeaurora.org> Date: Tue Jun 14 11:33:45 2011 -0700 msm: FM iris Driver bug fixes for initialization and cleanup FM iris driver updates fixes for platform init, v4l registration, export symbol to dynamic modules Change-Id: I7107d174620248f2b465721da78f782a17f3ed89 Signed-off-by: Archana Ramachandran <archanar@codeaurora.org> commit f966cdb1ae7f5e99a719cc234a496c9a20ec8331 Author: Archana Ramachandran <archanar@codeaurora.org> Date: Wed May 11 15:07:11 2011 -0700 radio: iris: FM driver HCI code for async events and platform Modified FM driver to handle hci async events, added platform register and remove code, removed all the static objects and added DQBUF code to pass the data from the driver to the FM app Change-Id: I04c07083f4436ebe0f31ddb8a6738f2714fb305b Signed-off-by: Archana Ramachandran <archanar@codeaurora.org> commit 19f8510478edc3a4baed0e689ad7d57d7ac00f23 Author: Ankur Nandwani <ankurn@codeaurora.org> Date: Wed Apr 20 21:15:39 2011 -0700 radio: Iris: Add support for FM driver This driver provides support for FM on 8960. Messages are exchanged with RIVA using HCI protocol and SMD is used as the transport. Currently the driver dosen't handle RDS data and send asynchronous data to the FM App. Change-Id: I9eba2ee9b285e4f788b726bc45f50d589a3240b4 Signed-off-by: Ankur Nandwani <ankurn@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org> |
||
|
|
f01a4269de |
radio: tavarua: Add MSM FM radio driver
Including: commit a6757832d554710798747bf3b46e560370bc0427 Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Mon Sep 24 15:05:44 2012 +0530 radio-tavarua: Add support for WCN2243 v2.1 SOC Enable support for WCN2243 v2.1 SoC which is respin of WCN2243 v2.0 with the bug fixes. Change-Id: I883ec0407224d875b1ba1b062903a4eefeb962c4 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Signed-off-by: Ram Mohan Korukonda <rkorukon@codeaurora.org> commit 4c2dcd4a4cec5939fffda43f162c04757fdba42c Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Mon Jun 25 14:09:14 2012 +0530 radio-tavarua: Validate whether the current station is good or bad Provide mechanism to decide whether the currently tuned station is valid or not. CRs-Fixed: 371689 Change-Id: I1a28537d242fbb636732b120c9259ad5e7fffcc0 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 9efd5c923e5c8282ad7f80997732e4562cab1767 Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Fri May 11 21:18:45 2012 +0530 radio-tavarua: Add new IOCTL to set the soft mute Implement IOCTL to enable or disable the soft mute settings. Change-Id: Ie7f684f93e866d1126a59315bbe550e0677d35ee CRs-Fixed: 356774 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit a0d56b574b8d217b5aecde623da475596db35918 Author: Ayaz Ahmad <aahmad@codeaurora.org> Date: Tue Jun 26 15:58:41 2012 +0530 radio: tavarua: Add IOCTL to enable the FM TX Tone generator Implement IOCTL to set the Internal FM TX Tone generator values Change-Id: I2a94d5559a90362b9439ea510e98489102ed0c04 CRs-Fixed: 356789 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> commit 537e445794569b7d70726679ed02b6c879dd9d3b Author: Steve Muckle <smuckle@codeaurora.org> Date: Mon Jun 25 17:38:29 2012 -0700 radio-tavarua: compilation fix for gcc 4.6 The use of gcc 4.6 triggers a compilation warning regarding possible uninitialized use of a variable. Change-Id: I498ca7af5af88d91696c8d322ddc81795f961f31 Signed-off-by: Steve Muckle <smuckle@codeaurora.org> commit 93eb1769b8cc503bc431d266b4cd5aa5ea73a49e Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Mon Jun 4 13:41:07 2012 +0530 radio-tavarua: Add IOCTL commands to configure the SPUR Table Provide interfaces to allow host to update the SPUR Table with newly found spur frequencies and their RMSSI values. CRs-Fixed: 352591 Change-Id: I84f296ea313971cc1995c644d604f96581be5f7f Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 6be5660f48f46aec14c2c6ecc84eca4f52f18776 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Mon Apr 30 04:08:01 2012 -0700 Revert "radio-tavarua: Configure search direction as passed by FM APP" As per V4L2 framework APP should pass the parameter as '1' to search in forward direction and '0' to search in downward direction. Reverting the change that was uploaded as it configured the search direction directly that it received it from the APP. APP should pass '1' for SEEK UP and '0' for SEEK DOWN . The driver should check for the direction before configuring. To the FM SOC, '0' means SEEK-UP and '1' means SEEK-DOWN. If APP passes '1' driver understands that user is requesting SEEK-UP operation and will configure the direction as '0'. This reverts commit 75b90b2359fe55e9e98906fbc088a32fe5537675 Change-Id: I46d50994ec7eb52db389dc1b02e9a78600dbb5e1 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 00c882d6fc56349032062f8f17d556ef475c1e5f Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Thu Apr 12 10:50:53 2012 +0530 radio-tavarua: Fix corner cases in dqbuf - Sometimes user data getting corrupted and it is not available at the kernel level - Use the kernel buffer instead of user space buffer to copy the data from fifo. - Increase the STD_BUF_SIZE buffer size from 64 to 128 bytes CRs-Fixed: 344443 Change-Id: Ibb8c60f18b72cbcd63c2f39eb49fbbadb7af5443 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit af2eafc359250859c61f8b2c4fc33406b7eeab6a Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Wed Apr 4 11:58:28 2012 +0530 radio-tavarua: Update the low power mode flag during FM off operation The lower power mode flag is not updated after the interrupts have been disabled during FM turn Off operation. This causes the interrupts to not to be enabled during next FM turn On operation and this results in GPIO not toggling for XFR operations. Change-Id: I0f2199292b570f1add2bc23c9cf6bcd480781c03 CRs-Fixed: 344780 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit b49c2cb0221cabfa9f41891fa93ecdceeed55d17 Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Tue Apr 17 17:44:50 2012 +0530 radio-tavarua: Enable the I2S lines only when FM is in digital path. With this change I2S Path will not be enabled by default as part of FM on sequence. It will be enabled only when FM Digital Path is set. Change-Id: Iab09eb6a0c7ab06e880e15ce505fb94f5a61692e CRs-Fixed: 335908 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit 75b90b2359fe55e9e98906fbc088a32fe5537675 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Thu Mar 8 12:42:30 2012 +0530 radio-tavarua: Configure the search direction value as passed by FM APP Do not invert the values passed for the search direction. Configure the value of search direction as passed from the user-space. Change-Id: I93e14cc9e309e2e9429768e289c594003954cfe3 CRs-Fixed: 340401 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 1475c9390d9262cab388a9930a879ed9cf1af6b1 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Thu Feb 16 21:54:03 2012 +0530 radio-tavarua: Queue only the FM Shutdown work during FM Off Disable the IRQ line and do not add any work other than FM Shutdown work to the FM radio work queue as part of the FM "Turn Off" operation. Change-Id: I9bde2651a0e24ba8c0c50df6d41d030848f77dc0 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 0fa19849354c41e3ac89ec0b6b3bb411cb69b908 Author: Ayaz Ahmad <aahmad@codeaurora.org> Date: Wed Mar 14 22:54:53 2012 +0530 radio-tavarua: Send disable event Send disable event when FM turn off is completed so that file descriptor can be released safely CRs-Fixed: 339470 Change-Id: Ib66f4cd79a470498404a07759d730504f6615e33 Signed-off-by: Ayaz Ahmad <aahmad@codeaurora.org> commit 9ac855f01e3898663dba342cddc2b3d39a4457dd Author: Taniya Das <tdas@codeaurora.org> Date: Thu Feb 9 18:05:21 2012 +0530 radio: radio-tavarua: Re-org code for workqueue When fm task is killed from task manager rpc failure is seen. <3>[ 72.817162] pmapp_rpc_req_reply: rpc failed! len = -512 <3>[ 72.817173] fm_radio_shutdown: voting off failed with :(-512) RPC failure is because data to be sent from apps, was on behalf of the current process, but as the process is killed the current->pid given to rpc is a non-existing pid. To resolve the issue a valid pid is needed, which can be done by queueing a work in existing workqueue and wait for completion. Change-Id: I8181d0a398d79b493b92c899f068f008a8ff2d0f Signed-off-by: Taniya Das <tdas@codeaurora.org> commit a3dcce4029742d8e510c695b902cbe349bf98f44 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Thu Jan 5 19:27:57 2012 +0530 radio-tavarua: Add commands to configure the FM Search parameters. Provide commands to get/set the On channel and Off channel detection threshold search parameters to optimize the FM search performance. Change-Id: Id232ffe2d1231fbd44bb34b4b98263434763b7c0 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit d09f24a89c3bf1c9e8e2792a2c6d133dd98a1bae Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Fri Jan 13 19:10:39 2012 +0530 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> commit 31f45dafe0b257cd662e944dffd3cd5a57f5ae17 Author: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> Date: Fri Jan 6 14:58:13 2012 +0530 radio-tavarua: Modify FM Turn Off Sequence. Flush the event and work queues prior to queuing READY event. Change-Id: I95584006d252b2284bf15562edbca50fa5593384 CRs-Fixed: 327151, 326855 Signed-off-by: Venkateshwarlu Domakonda <Venkateshwarlu@codeaurora.org> commit 29f1d9352f5cf247ff0a4136bd2b43d894e4565c Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Thu Dec 29 21:17:29 2011 +0530 radio-tavarua: Set the lower and upper band limits for all regions Configure the lower and upper band limits for all regions. Change-Id: Ie9ceced02be0d3f5b335fb7eb6594d5783823f91 CRs-Fixed: 326007, 325078 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 71d6fa6ccd9d6bf6d47dda6b4e4b8b672161adca Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Dec 13 19:30:51 2011 +0530 radio-tavarua: Add place holders for IRIS specific commands Change-Id: I4bcf4316b23ce0f9c02815c0bc0d495ee49df51f CRs-Fixed: 324758 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 40bcd05937c63eca0965b6043b2c30bed5a60c81 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Mon Dec 5 15:28:29 2011 +0530 radio-tavarua: Add host side support for the new FM Search Algorithm Change-Id: Iba497b84e525d08fa588bb7f58ff6a238452c47c CRs-Fixed: 314648 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 71bea3c7b5426071b56ef2e58572466582a231d6 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Nov 15 07:36:49 2011 +0530 radio-tavarua: Perform suspend and resume only when device count is '0' CRs-Fixed: 321609 Change-Id: Ia377d22d96be7e46c04e80d4b5ba07760ca82d4d Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit bdb128c752857876e6ca229e4627296470466d97 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Mon Nov 21 17:51:26 2011 +0530 radio-tavarua: Add private IOCTLs to poke threshold values. Add V4L2 private IOCTL commands to poke On-channel and Off-channel detection threshold values. Change-Id: I299a2ba7c5f25bcb36688ae0f7de7aff255b7d03 CRs-Fixed: 320147 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit c72725ac8cfae7b51a4fd76e29a767616af97886 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Sep 6 09:28:22 2011 +0530 radio-tavarua: Configuring the FM Audio path This changes ensures that if 'Ananlog' path is enabled then 'Digital' path is disabled and vice-versa. Change-Id: I3492471ab69923d29c9912bb1a84784638b38ee1 CRs-Fixed: 304621 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit a2f9808c5848657e91c6a84d2abf3b2b6cfbdba3 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Oct 4 20:02:11 2011 +0530 radio-tavarua: Modified the device count handling mechanism Replaced the existing mutex lock with atomic increment/decrement operations for manipulating the device count. Change-Id: Ic08b3861f06620acbc68b6ca0aea7c622e7027b3 CRs-Fixed: 296214 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 4e38bfc56cfbc092a6edd3256d66756e5ebd7095 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Thu Sep 15 16:00:31 2011 +0530 radio: tavarua: Added place holder for notch filter ioctl This patch adds place holder for notch filter, to keep the driver compatible with the framework changes made for IRIS CRs-fixed: 306856 Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 3be3b2611624ebcc8f7758e115a13631a888093c Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Mon Sep 5 17:22:48 2011 +0530 radio-tavarua: Added changes to return the RMSSI Delta value This change involves returning the currently set RMSSI Delta value. CRs-Fixed: 304534 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit f225860718c7595b75d59c8fd6a3cee0ea6da4bb Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Thu Jun 30 01:32:09 2011 +0530 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> commit a02ef213066e163f2c9dfde2a3bab6cc0d94a090 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Jun 28 00:57:25 2011 +0530 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> commit 3b44cd4aeedfa3026caf379c4687d980ed3261b8 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Wed Jul 6 12:36:15 2011 +0530 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> commit e46ef6f1bc4d6d406e90e8e4dbcbeef0e2257cae Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Wed Jun 29 23:56:03 2011 +0530 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> commit c88b6e39d50f56e8a9d644d16352f5cb82709ec0 Author: Rahul Kashyap <rkashyap@codeaurora.org> Date: Thu Jul 7 10:52:16 2011 +0530 radio-tavarua: Set FM status before calling FM Shutdown. FM status is checked in FM shutdown function, based on which Bahama SYS RESET GPIO is put in Low power mode Signed-off-by: Rahul Kashyap <rkashyap@codeaurora.org> commit 3f2bc4d6eb5a4fada842462ba22bb6bbb41d00c7 Author: Bryan Huntsman <bryanh@codeaurora.org> Date: Tue Aug 16 17:27:22 2011 -0700 Initial Contribution msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142 Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org> commit 97e954c69fd028d044fea6f9a11e6666d32c5a82 Author: Srinivasa Rao Uppala <uppalas@codeaurora.org> Date: Thu Sep 15 16:00:31 2011 +0530 radio: tavarua: Added place holder for notch filter ioctl This patch adds place holder for notch filter, to keep the driver compatible with the framework changes made for IRIS CRs-fixed: 306856 Change-Id: I3b20c6138798c2eb19ece5be1c381f2297e204dd Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org> commit 011ecfecd703869bc6d8566a008d7496b3f75af2 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Mon Sep 5 17:22:48 2011 +0530 radio-tavarua: Added changes to return the RMSSI Delta value This change involves returning the currently set RMSSI Delta value. CRs-Fixed: 304534 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> Change-Id: I62725f08ba121f2d43d81943938f69bb36d54ede commit 675a1815dcb46cb3afc7a1877a6bb2f673852487 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Thu Jun 30 01:32:09 2011 +0530 radio-tavarua: Adding V4L2 private control to enable HLSI This change is to add a new private control to enable the high-low injection. Change-Id: Ib64b29e01bbfa950827514edafaf5fe1d5d97db4 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 04e89de8b7687459788b37a45b77c2f13c6af3fb Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Jun 28 00:57:25 2011 +0530 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. Change-Id: Ia2d26a09c4f79b22426bc13499c4c2a17d7d366e Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 4f5bfe8884d04a45cec3b293d3b1cce8cb3e05b8 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Wed Jul 6 12:36:15 2011 +0530 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 Change-Id: Ic18aae8eeddc7634033ac26aa5e6d2639a7d832e Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit c8dfdb17594429322b117fafecb0508d28885ad6 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Wed Jun 29 23:56:03 2011 +0530 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 Change-Id: Ic84bae6a11dbedee570388c9b74f11d4489dc9b4 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 7d1434c73bd05190048550e1f2611d39b2461081 Author: Rahul Kashyap <rkashyap@codeaurora.org> Date: Thu Jul 7 10:52:16 2011 +0530 radio-tavarua: Set FM status before calling FM Shutdown. FM status is checked in FM shutdown function, based on which Bahama SYS RESET GPIO is put in Low power mode Signed-off-by: Rahul Kashyap <rkashyap@codeaurora.org> Change-Id: I06162deb33e4f938246ea61c7db79f6aa02ae747 commit 44de9e51c6ed4fea63618121be09f8725ebed000 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Mon Jun 20 20:27:05 2011 +0530 radio-tavarua: Modified the processing of radio text(RT) header Saving the radio text payload in to the RT buffer after filling up the first 5 bytes with the contents of RT header. CRs-Fixed: 289884 Change-Id: I84513ceab215358153e018c41de51b8bf1f7a6f4 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 6870685de158946f94911ae778d798899d79f4be Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Thu May 5 10:39:44 2011 +0530 radio-tavarua: Added support for peeking MPX_DCC parameter CRs-Fixed: 285809 Change-Id: I1f7e8f22bfdbe1e6b2235e8b3fa31889568f17b5 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit baa2f80baebc44da31f81567cc81eca3ec52dfa0 Author: Srinivas Krovvidi <skrovvid@codeaurora.org> Date: Tue May 17 14:21:39 2011 +0530 FM: tavarua driver changes to update i2s gpios on start and stop FM. The direction of MSM GPIOs is different for BT and FM. So when ever FM is started or stopped these GPIOs are required to be updated. Change-Id: I39162ea964e3ffb2c1b7f27f8b90022cdc91c0c2 Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org> commit 86e15169938beb7deeb60589b62fc90ad90f0ce7 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Apr 19 19:12:01 2011 +0530 radio: tavarua: Handling BT-FM concurrency using a global mutex instance Change-Id: I4cf4ea1879775ab88e583f6da6795adcb6050ea8 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 5629ce1cc45fe4117359301dc5fbcae2eea6e2dc Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Fri Apr 29 00:42:41 2011 +0530 radio: tavarua: Added support for JAPAN-WIDE regional band Change-Id: Iffb02653afb3b496c3178c05774e4c1adc00b82a Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 17ce68c25984aa7a461bb72d6fa24a41e27301a9 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Apr 5 14:06:57 2011 +0530 radio: tavarua: Configuring FM SoC as I2S master/slave based on target Change-Id: I2b7b7895b9fc5e8ba3dd8d8b23ef5e596fc008a9 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 8e393f6c4d77b37e5a7a8fb9e7e495cd55e2fb47 Author: Michael Bohan <mbohan@codeaurora.org> Date: Thu Feb 24 12:10:11 2011 -0800 Initial contribution This commit takes the MSM and driver changes from git://codeaurora.org/quic/la/kernel/msm.git:android-msm-2.6.35 and applies them on top of git://android.git.kernel.org/kernel/common.git:android-2.6.38. Change-Id: I3e80240311c76c05d4177a4958a660fba80d5d14 Signed-off-by: Michael Bohan <mbohan@codeaurora.org> commit 218bf7f07f8c43cde535abfac5e0ba911cb87306 Author: Raj Kushwaha <rajk@codeaurora.org> Date: Mon Aug 8 10:38:31 2011 -0700 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> (cherry picked from commit 04e89de8b7687459788b37a45b77c2f13c6af3fb) Change-Id: I73df8688ec61a99dab0da1faee248c0a3e76c206 Signed-off-by: Raj Kushwaha <rajk@codeaurora.org> commit 76f3145f203b55ecd701cd7e8956f313129b7a29 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Mon Jun 20 20:27:05 2011 +0530 radio-tavarua: Modified the processing of radio text(RT) header Saving the radio text payload in to the RT buffer after filling up the first 5 bytes with the contents of RT header. CRs-Fixed: 289884 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> (cherry picked from commit 44de9e51c6ed4fea63618121be09f8725ebed000) Change-Id: I7abf3f13071a295afb75bfa59f56beb3c33ffc91 Signed-off-by: Shruthi Krishna <skrish@codeaurora.org> commit f71154eab0921fe407f14e46898db3913d0450b6 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Apr 19 19:12:01 2011 +0530 radio: tavarua: Handling BT-FM concurrency using a global mutex instance Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> (cherry picked from commit 86e15169938beb7deeb60589b62fc90ad90f0ce7) Change-Id: I403bb53d3735b5cf516cd4527b064f2bcbcb075f Signed-off-by: Shruthi Krishna <skrish@codeaurora.org> commit 057eeff9dd5de6be15500e9884515f92d8b84881 Author: Anantha Krishnan <ananthk@codeaurora.org> Date: Tue Apr 5 14:06:57 2011 +0530 radio: tavarua: Configuring FM SoC as I2S master/slave based on target Change-Id: I2b7b7895b9fc5e8ba3dd8d8b23ef5e596fc008a9 Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org> commit 1d697cb2ec68bd5ba724b10ea3a229115cd584d9 Author: David Brown <davidb@codeaurora.org> Date: Mon Mar 14 10:45:03 2011 -0700 radio: tavarua: Fix enum warnings The xfr_status variable is being read from an 8-bit unsigned register. Although the value definitions it is compared with are defined in an enum, these use bit arithmetic to define the cases (setting the high bit) which brings the constant values outside of the range of the enum. This causes warnings on gcc 4.5. Fix this by keeping the value as an unsigned char. Change-Id: Iab1ebe7692f62ba5a1716aca9dcf9690c65dcc5f Signed-off-by: David Brown <davidb@codeaurora.org> commit 48abd8198c1a848ed6dce104ac43fb5b7d3f28d4 Author: Srinivas Krovvidi <skrovvid@codeaurora.org> Date: Wed Mar 2 18:30:16 2011 +0530 radio: tavarua: Changes for supporting FM Tx power level Added changes to support setting different power levels at which FM transmitter can radiate. Change-Id: I99358bf7fac48fcc4c5337bc2750e0da0f79ecbc Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org> commit c36319f2c0acea7a8628f22da4c3507267775a70 Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org> Date: Fri Feb 18 10:53:42 2011 +0530 radio:tavarua: Adding new controls to get IOC and IntDet in FM Driver. Change-Id: I96f544bafc4a2ab6c8616644c989b24a92ad9fab Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org> commit ad4f9f3d7f62eb71a6eec5ba187995ba8b8d4227 Author: Srinivas Krovvidi <skrovvid@codeaurora.org> Date: Thu Feb 3 18:38:48 2011 +0530 FM: V4L2 driver changes for enabling FM Tx. Change-Id: Ife0209379bc697c89d43f89df2f715cb762b4046 Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org> commit 62604db9c8b7476c2e6981d7c20f3b84a0d4283e Author: Srinivas Krovvidi <skrovvid@codeaurora.org> Date: Wed Feb 9 15:21:31 2011 +0530 FM: Stereo/mono blending and SoftMute features enabled by default Change-Id: Idedd7b3542cf61543b1392189f8cdec050c313a9 CRs-Fixed: 273742 Signed-off-by: Srinivas Krovvidi <skrovvid@codeaurora.org> commit e9ac973a0f575b17a8d495c9541dc94887e0d8a7 Author: Rakesh KrishnaMoorthy <rakeshk@codeaurora.org> Date: Wed Feb 9 20:26:38 2011 +0530 radio/tavarua: Add implementation for returning the Mute mode status This change fixes the issue of not returning the correct status for get Mute mode request from user space CRs-Fixed: 261537 Change-Id: I7c213388b0e8f4077e611a8c0d5a1202aa5030dc Signed-off-by: Rakesh KrishnaMoorthy <rakeshk@codeaurora.org> commit b86d3dcc5704ac909a5db5d8b5dd782f67487ba7 Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org> Date: Thu Jan 6 15:44:38 2011 +0530 radio: tavarua: Use internal vreg controllers based on bt status This change checks the bt status and enables the internal vreg controllers accordingly for the optimal power usage. Change-Id: I887a64039524bee04bc3b38a50e0cc8ee8fc161f Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org> commit a19594bce16cce078c38f20af5d5334ed9152584 Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org> Date: Tue Dec 21 20:26:15 2010 +0530 FM: Adding support to WCN2243 v2 FM Change-Id: I129f50a8076fd2a0100d866fa9e0b1cb33990882 Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org> commit c053f1ab26af965a28d3f68298a709dee478abb1 Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org> Date: Mon Dec 13 12:25:51 2010 +0530 radio: Adding Fm shutdown down sequence for Marimba Change-Id: I8af146be2ef9fb724636ab12dc12437e34f9c718 Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org> commit df0fe1bb9141910151e27c0959de133fb094a8fc Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org> Date: Thu Dec 9 14:46:51 2010 +0530 radio: including slab.h for kfree and kzalloc declarations Fm driver uses kzalloc and kfree function, which is getting compiled in 7x30 case, as it is getting included from some other headers internally. But, It is giving compiler issues in 8x60. It is recomended to include the slab.h rather than depending on the other headers. Change-Id: Id111bd73ffb9346519847de9eff5576043576040 Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org> commit 1be9894ababe1d65da8a3a997a8f8f0a42921742 Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org> Date: Mon Dec 6 17:37:00 2010 +0530 radio: Adding support for the nested interrupt request. Using the generic irq interface which support both nested and non-nested GPIO interrupts. In MSM8x60, FM ISR is connected to PMIC GPIO which is nested interrupt. Change-Id: I32326f9e23839960b2ae8433363e4e194d53e3fa Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org> commit 31b2fd9ccd06f593ddd987dd13b29e42cebcf93a Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org> Date: Fri Nov 19 11:06:32 2010 +0530 radio: Adding changes FM driver to support WCN2243 This change makes the v4l2 driver to work for both Marimba and WCN2243 chips, FM driver will get the current connectivity type and call the corresponding i2c slaves. Change-Id: Id8e76e629276c78814885945569cd1ee105c7e59 Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org> commit 16b18b63619a491413546f6d8910615fb3042828 Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org> Date: Mon Nov 22 11:56:15 2010 +0530 radio: Initializing the work queue for raw rds read. This change initializes the work queue for raw rds read. Change-Id: I50fed2a1792e06ddc490c796351586a89c8ed8b5 Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org> commit 30beae9ef1644657be08fb94a9eb2068097e1f74 Author: Bhakthavatsala Raghavendra <braghave@codeaurora.org> Date: Thu Nov 18 16:40:07 2010 +0530 radio: Change to driver to set the chip-Id as the version This change sets the version of the v4l2 driver with the chip-Id of the FM SoC, so that the upper layers can get the chip-Id and perform the calibration and required firmware patch downloads. Change-Id: I0b5b84a8eb16c33ce4438def9dfe4cc135e8be03 Signed-off-by: Bhakthavatsala Raghavendra <braghave@codeaurora.org> commit 9709e34cb615584e13739e42cccf40e01c752940 Author: Laura Abbott <lauraa@codeaurora.org> Date: Thu Oct 14 13:14:33 2010 -0700 radio: Fix section mismatch The function tavarua_probe is reference outside of the __init section. This is fixed by calling platform_driver_probe instead of platform_driver_register since the device is not hotplugable. Change-Id: If4883d03c2e71a2f769401ef7fa1155b4a86187e Signed-off-by: Laura Abbott <lauraa@codeaurora.org> commit 826d26c4992b04b3775852b49071b14dab4f17e5 Author: Rajiv Kumar <rkumar@codeaurora.org> Date: Fri Oct 8 12:48:32 2010 +0530 radio: Fix for DP timeout and Tune response failure issue The suspend and resume routines in radio-tavarua modified to reduce the processing time to make sure that the DP timeout does not happen. This fixes the crash due to this timeout during the stability tests. Unwanted read of FM SoC Tune control registers on every Tune interrupt is removed to reduce the i2c bus transactions. This fixes the intermittent tune failures seen during FM tune stress tests. CRs-fixed: 256708, 252894 Change-Id: Ifb060f95336529f3bdf8bfa2ddc2cc1cb0e4d56c Signed-off-by: Rajiv Kumar <rkumar@codeaurora.org> commit 2712ccd9fb537934a2680fc57e363d3b46e59e68 Author: Vijayadurga Muthusamy <vmuthusa@codeaurora.org> Date: Tue Sep 21 15:38:51 2010 -0500 radio:FM Changes to read the threshold value as a signed integer FM driver code modified in such a way that it reads and interprets the threshold value as a signed integer. This ensures that framework/app layer will get the proper signed values as expected. CRs Fixed: 243833 Change-Id: I236d7a1fe20869043d3b59b09f070ba061453332 Signed-off-by: Vijayadurga Muthusamy <vmuthusa@codeaurora.org> commit 44e8afe41625f2a781192bcf15871e6e58dc402c Author: Vijayadurga Muthusamy <vmuthusa@codeaurora.org> Date: Wed Sep 22 11:30:58 2010 -0500 radio: FM fix for headset plug/unplug issue Waiting on a completion variable, which has timeout in its earlier wait was causing kernel crash at some occasions. Initialization of completion (struct completion) variable before waiting on it ensures the proper working of FM driver. CRs-Fixed: 256443 Change-Id: I03245254050d905bf0bdc7c483757942ca786481 Signed-off-by: Vijayadurga Muthusamy <vmuthusa@codeaurora.org> commit b53acb30b28eff7cbd18c1c16264544631ec3f34 Author: Vijayadurga Muthusamy <vmuthusa@codeaurora.org> Date: Thu Sep 16 10:07:17 2010 -0500 radio: FM Disable operation is made synchronous FM Disable operation is made synchronous to the top layers by waiting till the READY interrupt at the driver layers. This ensures that the Disable() will disable the FM in one go, so that the further cleanup of FM driver resources can be done by closing the device descriptors. Change-Id: Ic71379c2996ca8aa974c3020465e2fd83a39a492 CRs-Fixed: 250289, 251760 Signed-off-by: Vijayadurga Muthusamy <vmuthusa@codeaurora.org> commit 160d42d529f7a5563bbd7cd117c83b7f434f0c22 Author: Bryan Huntsman <bryanh@codeaurora.org> Date: Wed Sep 8 18:01:18 2010 -0700 Initial contribution. This commit takes the MSM and driver changes from git://codeaurora.org/quic/la/kernel/msm.git:android-msm-2.6.32 and applies them on top of git://android.git.kernel.org/kernel/common.git:android-2.6.35. Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org> commit 1919f250807e0c6eddd8fef847e664bfbe532496 Author: Simon Venshtain <simionv@codeaurora.org> Date: Mon Aug 16 11:19:20 2010 -0500 radio: tavarua: fixed low power support removed unnecessary i2c transaction to move between power modes when the requested power mode is already enabled. Changed the way the driver does user refernce count from atomic operations to semaphore synchronization. Also, disabled debugs. Change-Id: Iadc507984bf3a7c7e6e87b77224e58dcef19a6aa Signed-off-by: Simon Venshtain <simionv@codeaurora.org> commit e922b1be98b585e82ce4dcca5dba5e470475fe1c Author: Stephen Boyd <sboyd@codeaurora.org> Date: Wed Aug 4 14:18:08 2010 -0700 radio: tavura: Fix copy_from_user() warning The compiler is having a hard time determining that bytes_to_copy cannot be larger than XFR_REG_NUM. This causes a warning when strict user copy checks are enabled. Silence the warning by making bytes_to_copy unsigned, and use a more appropriate min function (min_t) on the bytes_left variable to help the compiler understand that the buffer will never overflow. In file included from include/linux/uaccess.h:5, from drivers/media/radio/radio-tavarua.c:32: In function 'copy_from_user', inlined from 'tavarua_fops_write' at drivers/media/radio/radio-tavarua.c:1408: arch/arm/include/asm/uaccess.h:417: warning: call to 'copy_from_user_overflow' declared with attribute warning: copy_from_user() buffer size is not provably correct Change-Id: I8294ecb31be2aa2cbd13a270b437a45e5cf51a36 Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> commit 637046dc2b30da935013272656b3681e2d7187b0 Author: Simon Venshtain simionv@codeaurora.org <simionv@codeaurora.org> Date: Mon Jun 21 10:42:58 2010 -0500 radio: tavarua: added comments and macros Added more detailed comments, function headers and macros for constants for better code maintainability. Change-Id: Ia18c4bbc38dcb5aca91360e3cdf5589f3d2b6817 Signed-off-by: Simon Venshtain <simionv@codeaurora.org> commit d9397555f617b2eb8afa748a8a35b7097098a360 Author: David Scherba <dscherba@codeaurora.org> Date: Tue Jun 1 18:13:27 2010 -0400 radio: tavarua: Setup FM Rx audio path when FM receiver is enabled Default FM Rx audio output path is set to analog. This is changed to digital I2S when the FM receiver is successfully enabled. Change-Id: I519c67dc3262bf7258a87d86b5ede05c0dc4d544 Signed-off-by: David Scherba <dscherba@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org> |
||
|
|
096874a08b |
msm: camera: videobuf mem extensions
Including: commit 76b9b4d881b32c13356c736a07b2ee363d5ddd9b Author: Mitchel Humpherys <mitchelh@codeaurora.org> Date: Mon Sep 17 14:33:22 2012 -0700 ion: remove obsolete ion flags The symbols CACHED and UNCACHED have been replaced by ION_FLAG_CACHED upstream. This removes them from the kernel. Change-Id: I565dcc4595298ce6a0e81dd8cb98b86a1b38fdb2 Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org> commit 7d72bad55a0e03392d81eee77a9a8c9df6b73a9a Author: Hanumant Singh <hanumant@codeaurora.org> Date: Wed Aug 29 18:39:44 2012 -0700 ion: Port heap mask change to ion Heap mask field passes as argument at allocation time to specify ion heap. Change-Id: I8881dfc491dc0f8f70581ad97b35756a6a33dd6d Signed-off-by: Hanumant Singh <hanumant@codeaurora.org> Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org> commit 79b9f2233530ce7f3af51a64d257dd4f7f5a0974 Author: Ankit Premrajka <ankitp@codeaurora.org> Date: Mon Jul 2 12:38:34 2012 -0700 msm: camera: Dynamically register domain and attach to device. Starting with B family chips, the IOMMU client is responsible for registering a domain (page table) and attaching it with the corresponding device context when required. Change-Id: I3b17ce6e27c74516325198f89d88d3635bdbff50 Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org> commit b14ed96f74b1258b1f102831a2b0ccd56f991132 Author: Laura Abbott <lauraa@codeaurora.org> Date: Mon Jan 30 14:18:08 2012 -0800 gpu: ion: Pull in patches for 3.4 Pull in Ion patches for 3.4 upgrade. Inclues the following patches from google: commit |
||
|
|
a01a8cabfd |
msm: video: vcap: Add video capture driver
commit 6a744e339817d68e2b371fa35b0040382b38d044 Author: Terence Hampson <thampson@codeaurora.org> Date: Fri Dec 7 15:50:32 2012 -0500 media: video: Allow NR threshold to be updated by motion est VCAP did not allow for client to update threshold values based on the motion estimation. By enabling an option for this threshold to be updated dynamically by hardware, this allows for a more aggressive noise reduction to be applied at the request of the client. Change-Id: I0ac590ef826ce4567c048745efafbeb05011f31e Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 06550627e1f08b3956e9bf190999cd14123acf9d Author: Terence Hampson <thampson@codeaurora.org> Date: Fri Nov 30 14:35:16 2012 -0500 media: video: Prevent memory leak in VCAP If a client were to do the following, VCAP would not free the ion handle: -Opened VCAP -Start initial configuration -Queues buffers -Close VCAP without ever calling stream on Since VCAP was not freeing ion this would cause a memory leak CRs-Fixed: 423881 Change-Id: I594924d85884aa5e0a647bc52fa9e89e720f4ff6 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 14600e5b94992cebb0cdc1b541293c8f6c952715 Author: Terence Hampson <thampson@codeaurora.org> Date: Wed Nov 7 17:16:27 2012 -0500 media: video: vp_enabled state incorrect after a forced reset After a forced reset occurred on VP, during a stream_off call, vp_enabled state was incorrect causing one extra call to disable_irq. This would result in VP isr to be called whenever interrupt was triggered. CRs-Fixed: 418792 Change-Id: Ia66b2d70506d4b06782bc5c25c83587c78f8e9c8 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit df1d4deafb7931eed7ae102440aea76647aab234 Author: Terence Hampson <thampson@codeaurora.org> Date: Mon Nov 5 17:06:02 2012 -0500 media: video: Stride alignment configurable by client Prior to this patch VCAP assumed that the line stride should be aligned to 16 bytes. It is possible that that the client needs a line stride to be 32 bytes aligned. Line stride is now a configurable parameter. Change-Id: Id05aa862813582c23b18c79bd9edf95b2cdfffbe Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit b0c58b1c28f95b653808a32e1069f88e474bfd0d Author: Terence Hampson <thampson@codeaurora.org> Date: Tue Oct 30 17:56:36 2012 -0400 media: video: Prevent buffer ion resource from being freed twice It was possible for the client to have two threads running where one would be blocked in dq_buf that would wake up while the other thread was in the process of turning the stream off. This cause two thread to try freeing the ion resource which would result in a crash. Change-Id: Ibbbf34c7770eed99e1a89d2a4c41ad48f5b6a13a Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit aa64d3a2c70286485c37ae640bf929c451ac6188 Author: Terence Hampson <thampson@codeaurora.org> Date: Mon Oct 29 13:05:37 2012 -0400 media: video: VC ISR restructure to make code more readable As new features were added to VCAP the ISR for VC has become increasingly complex and difficult to read. It was determined that the VC ISR code should be simplified and cleaned up in order to make the code flow more easier to read. Change-Id: If7bc0a41e14c40f67120dacde9a1544e8f1ef7b1 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 37b1ecc312d7fcc3baa4423dfde6a107d85c2500 Author: Terence Hampson <thampson@codeaurora.org> Date: Mon Oct 29 17:53:39 2012 -0400 media: video: Make VCAP properly call regulator_get VCAP was not providing a pointer to the device when calling regulator_get. Although the call was able to get the regulator, there was always an error message regarding not being able to create a debugfs node. The problem was because the device provided to the regulator_get call was NULL. Change-Id: I6b344cafd96db50e95abfbf46021a361ac0de638 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 1f0f274818326a871184fa3e5597d0d2d82002b1 Author: Terence Hampson <thampson@codeaurora.org> Date: Wed Oct 24 17:43:47 2012 -0400 media: video: VC to use data polarity given by client VC would ignore the polarity given by the client and hardcode the value to zero. Now client is properly reporting value, VC now takes the value provided by the client. Change-Id: I511b59ed3e9f6b47d14cd688592d85ab97a5204d Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit f0ab1ee4a19e9616b8726d7974b1fb89baec9086 Author: Terence Hampson <thampson@codeaurora.org> Date: Mon Oct 22 12:43:36 2012 -0400 media: video: Force drop 2nd field after VC drops 1st field If a field was dropped by the VC, the VP would not be able to de-interlace the content properly. The problem with the VP is it would have an unbalanced number of top fields and bottom fields. In order to alleviate this problem the subsequent field will also be dropped. That way there would be a balanced number of top and bottom fields in the VP which would prevent jumping behavior observed in the de-interlaced frame. Change-Id: I96e8c0670b5b29baea8d1574b21c259c16a7a32e Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 0857c97b89fdc6316ed3a1029179963a07c785b4 Author: Terence Hampson <thampson@codeaurora.org> Date: Wed Oct 17 16:24:21 2012 -0400 media: video: Prevent VCAP from dequeue buffers once turned off VCAP should not report any buffers ready to be dequeued or allow for any buffers to be dq once streamoff has been called. CRs-Fixed: 398896 Change-Id: I2eccf62b7ddff0f7cc0343c8e26bd699b335b9dc Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 8d1c327634466332a93c6d7403758e61de79f728 Author: Terence Hampson <thampson@codeaurora.org> Date: Fri Jul 27 16:36:31 2012 -0400 media: video: Use IOMMU mapping API The ion_phys API is being deprecated. Instead there is a new set of API. Change-Id: I701cc045fe5a0cb0026574dd08016a2bccbc4c72 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit f1b7b584430f6cd33bfee13b916a084fc1b80419 Author: Terence Hampson <thampson@codeaurora.org> Date: Tue Oct 16 11:49:24 2012 -0400 media: video: Shutdown VP before freeing VP buffers It was possible for buffers to be freed while VP was still using them. This patch ensures that VP has been stopped before that happens. Change-Id: Ifff689f690cdc43c935ee355dfaca61ade9e9d65 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 9d6f89cb2343ff5adaccb77a177fdc6c3844c65d Author: Terence Hampson <thampson@codeaurora.org> Date: Wed Oct 3 16:24:04 2012 -0400 msm: mpq8064: Correct VCAP stride calucation VCAP was not properly calucating the stride values. This patch allows for line stride to be 16 byte aligned. CRs-Fixed: 390191 Change-Id: Id9eca2fd3ec4a51347f2656271591f7bccf36ad5 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit c4aa4c09475ed3029d010417393a6a6368449772 Author: Terence Hampson <thampson@codeaurora.org> Date: Fri Aug 31 04:49:21 2012 -0400 msm: mpq8064: Adding debugfs support to VCAP In order to assist in debugging various VCAP issue it would be useful to have debugfs. This patch is about making everything to debug VCAP, from message to getting important data, available within debugfs. Change-Id: Ic9373036af6a5eb795da2d89d6f26fcd404264af Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit f3cd9a12838bfe4688e184f90ad16b6c304a8245 Author: Terence Hampson <thampson@codeaurora.org> Date: Fri Sep 21 11:18:02 2012 -0400 msm: mpq8064: Correct VP event type There is a VP error that was being incorrectly reported as a VC error event. This patch allows for the error to properly be reported. Change-Id: Ic2a1c6eb3b149bb7075417d54e2040d2261dda08 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 674f4799a54da7f5c38675308c3471c1b70bba4f Author: Terence Hampson <thampson@codeaurora.org> Date: Fri Sep 21 11:10:22 2012 -0400 msm: mpq8064: VCAP probe properly reports failures It was possible for VCAP probe to fail, but still return 0. Change-Id: I395cecea90475ea07491a57dde12aae1fa67166e Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit f51f6e6d43c8d1d9b5a8ed86e044f19020146407 Author: Terence Hampson <thampson@codeaurora.org> Date: Wed Aug 29 11:02:17 2012 -0400 msm: mpq8064: Improve VCAP performance This patch increase bandwidth request and VCAP core clock for 1080 interlace or progressive content. This increase helps VCAP capture and process content in a timely manner. Change-Id: I8cb8d6e87954272b28a8e83351152354ea75a184 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 911b4b702a63fbd241863966cad45909e40e4665 Author: Mitchel Humpherys <mitchelh@codeaurora.org> Date: Wed Sep 12 14:42:50 2012 -0700 ion: change ion kernel map function to not take flags argument Buffer flags are going to be specified at allocation time rather than map time. This removes the flags argument from the ion kernel map function. Change-Id: I91589ca7b1ab142bb5ac8e6b0f4c06fa1305f23a Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org> commit 7d72bad55a0e03392d81eee77a9a8c9df6b73a9a Author: Hanumant Singh <hanumant@codeaurora.org> Date: Wed Aug 29 18:39:44 2012 -0700 ion: Port heap mask change to ion Heap mask field passes as argument at allocation time to specify ion heap. Change-Id: I8881dfc491dc0f8f70581ad97b35756a6a33dd6d Signed-off-by: Hanumant Singh <hanumant@codeaurora.org> Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org> commit 8ba7ad9492496e12c5555da796bc1f60d52c46f8 Author: Terence Hampson <thampson@codeaurora.org> Date: Tue Sep 18 17:01:34 2012 -0400 msm: mpq8064: Improve VP de-interlacing completion time VP time to de-interlacing for 1080i content was over 20ms. This was way too long considering content updating at 60Hz requires latency to be under 16ms. This change allow for de-interlacing to complete within 7ms. Change-Id: Iae2be758ef8d5a6fcecb96df93448226c9ed9109 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 9c4f8a220532407fd890187522b0ddb365b1d660 Author: Terence Hampson <thampson@codeaurora.org> Date: Wed Sep 12 10:25:50 2012 -0400 msm: mpq8064: VC report field info that is used by VP VP assumed that the first field provided was a bottom field, if VP was incorrect in this assumption it would not properly de-interlace content. It was also possible for VC to drop a field, when this happened VP would become out of sync again causing de-interlacing to be incorrect. CRs-Fixed: 397534 Change-Id: I7a75a5dcd27149220273284a3d48f407bc5a4f31 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 3af95c07d0ff5be80502734f87ed90dc811face7 Author: Terence Hampson <thampson@codeaurora.org> Date: Tue Sep 18 16:43:38 2012 -0400 msm: mpq8064: VP report proper timestamp value There was a problem where de-interlace content was not getting a valid timestamp. Change-Id: Ief9e19c9d20bae3d785a7932b5021e2bba36d238 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit a1e8af4e6cf4bf8a4187a1be844a1462d37affff Author: Terence Hampson <thampson@codeaurora.org> Date: Tue Sep 18 16:41:57 2012 -0400 msm: mpq8064: Timestamp properly populated within VCAP Before this change VCAP was only populating the usec parameter in timeval. Now VCAP populates sec and accounts for timestamp counter overflows. Change-Id: I32b2c49604baba95f56faa483acfe787fdb13b34 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 616762dc78540d8cf82fed1cbbc19cf90956aa4b Author: Terence Hampson <thampson@codeaurora.org> Date: Thu Aug 16 17:47:44 2012 -0400 msm: mpq8064: Allow any client to control noise reduction parms It was requested that any client be allowed to modify the nr parameters. Reason for this is that there will be a separate pc tool that will be controlling NR for demos. Also fixed a bug with that cause s_fmt to failed with EINVAL when arguments were valid. Change-Id: Ie58972a036bb6637a938b48212ef85faf894002e Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 4b88553634efb3b8748a4c2462c71b69bf491947 Author: Terence Hampson <thampson@codeaurora.org> Date: Tue Sep 4 03:51:55 2012 -0400 msm: mpq8064: Prevent VC from running after error reported If VC continues to capture frames after receiving an error the frames do not contain a valid frame it is possible for a system crash to occur. This change resets NPL as soon as an error occurs, thus preventing VC from capturing any more frames. VC waits for client to handle error reported by VC. CRs-Fixed: 372564 Change-Id: I72bdbab3251852520801541ed6d5521dc75f7cf1 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 2cba63f9f64c1c5e7d53eeddefc67d075d78d6f8 Author: Terence Hampson <thampson@codeaurora.org> Date: Tue Aug 21 10:54:38 2012 -0400 msm: mpq8064: Allow client to select num bufs for VC to hold onto VC part of the VCAP driver was initial implmented for the hardware to 2 store and work with 2 buffers. Since hardware is capable of storing and filling up to 6 buffers, a new API was created to allow client to select how many they want VC to use. Change-Id: I0548f1322c9703d9ccf12700be05511b0e1eb0de Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit b128b98ac802c210dfb0ea0b279271c0c24bc2eb Author: Terence Hampson <thampson@codeaurora.org> Date: Thu Aug 16 14:41:19 2012 -0400 msm: mpq8064: Correct VCAP shutdown procedure VCAP hardware shutdown sequence was incorrect. This would cause the hardware to become unstable, which would result in the system crashing. This patch corrects it so the driver calls the correct shutdown procedure. Change-Id: I78273f2c70d9eab060dcc34aef0b3704ed685f40 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 72452631e2db3ca641414d05d2437144ac0366c6 Author: Terence Hampson <thampson@codeaurora.org> Date: Mon Aug 13 12:32:24 2012 -0400 msm: mpq8064: Fix false error reported by VP Logical or where there should have been a bitwise or. Also ignoring cadence change interrupt, because there is nothing for the driver to do cadence change occurs. Change-Id: I8a6214a66b67f6397a7b99ef54969761640abedf Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit a2cba0df366dc571feb8f8a750405f2ad8284cf6 Author: Terence Hampson <thampson@codeaurora.org> Date: Wed Aug 8 11:39:53 2012 -0400 msm: mpq8064: Use ION to alloc driver buffers Since VCAP is behind IOMMU, in order to get proper address for VCAP hw to write to driver needs to alloc buffer from ION and not kzalloc. Change-Id: I1f4fcc6834d0ea09ba0fc812b301219d35f40721 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit cc88c1256aaf04ad1ecc1d7ae6b35ae05112a397 Author: Terence Hampson <thampson@codeaurora.org> Date: Mon Jul 16 18:20:02 2012 -0400 msm: mpq8064: Avoid NPL clock overflow Since external components has its own variation there is a need for an additional 2% margin for the npl_clk Change-Id: I27d77ccd2f5cd9a9635975ea286bf3d0f8dba1d2 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 3dff4ef26eb40494eebb17adef80e66a0a469478 Author: Terence Hampson <thampson@codeaurora.org> Date: Wed Jun 13 15:20:59 2012 -0400 msm: mpq8064: Enable separate ioctl call for noise reduction (nr) NR for VCAP is capable of receiving manual tuning parameters. In order for the client to pass in these parameters a separate ioctl was developed. Change-Id: Ia8d7e8de80ee4fd7ccd2019d30b4457f1000e106 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit 54d3a6d39374c5fe3bd22be970717f57480d6ad8 Author: Terence Hampson <thampson@codeaurora.org> Date: Tue Jul 10 14:05:35 2012 -0400 msm: mpq8064: Dummy read to prevent false interrupt from triggering The VBIF is capable of triggering a false bus error the first time it performs a read. This fix creates a dummy read event that happens every time that the VCAP is powered on that will ignore the false positive VBIF interrupt error, so that during normal operation the error can be properly identified. Change-Id: Ie56e60faf2067fab7a05a0f16c2d840408c35035 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit ad33c513b4b9455f0822c125affc39138603459e Author: Terence Hampson <thampson@codeaurora.org> Date: Mon Jul 16 17:50:00 2012 -0400 msm: mpq8064: VCAP corner case bug fixes Closing VCAP devices could be called without calling stream off: This problem would make VCAP resources taken by devices no longer running. Using unsigned variable to store signed result: This problem would allow stream on to continue even when function returned error. Fix problem of reading VP irq status register too early: It was possible for cadence detection bit to be propgated faster by only a few clock cycles then the picture done bit. When the irq status read was performed and by the time a write to the clear register was performed the picture done bit would propgate. Since the irq is rising edge triggered this would cause a problem and the irq would not be triggered until VP was reset. Remove unused code Change-Id: Iba72354c06287efb27178edf64d8d3f459dbf954 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit a6c9648dd8e85e1e1e854347a78e4497578ebf51 Author: Terence Hampson <thampson@codeaurora.org> Date: Fri Jul 6 17:53:09 2012 -0400 msm: mpq8064: Separate q/dq buffer for VCAP de-interlacing mode This change fixes a crash when running VCAP in de-interlace mode. The problem was noticed in the introduction of kernel 3.4. VCAP was improperly using the videobuf2 framework APIs. Since VCAP is already reliant on queue structure provided by videobuf2 framework, we created our own basic version of the qbuf and dqbuf calls that have some similarities to the videobuf2 framework. This addition was necessary since we are calling qbuf from a kernel work thread. Since moving to kernel 3.4 there has been a change in videobuf2 qbuf that dereferences the current process.s mm_struct, from a kernel work thread this struct is NULL, which was causing a crash. When we are de-interlacing a captured video we are cycling the buffers internally in the driver, which is why we needed to create our own q/dq buffer functionality. Change-Id: Id51b775ae7f0a58bbac8a581e07fa02417802a30 Signed-off-by: Terence Hampson <thampson@codeaurora.org> commit b14ed96f74b1258b1f102831a2b0ccd56f991132 Author: Laura Abbott <lauraa@codeaurora.org> Date: Mon Jan 30 14:18:08 2012 -0800 gpu: ion: Pull in patches for 3.4 Pull in Ion patches for 3.4 upgrade. Inclues the following patches from google: commit |