Commit Graph

49888 Commits

Author SHA1 Message Date
Jay Chokshi
208dea470f mfd: 8821: Add support for pm8821 core driver
Add support for the Qualcomm PM8821 PMIC chip. The core driver
will communicate with the PMIC chip via the MSM SSBI bus.

Initial support is provided for: IRQ, MPP, and Debug

Change-Id: Ic072e634c55925292196a3e710d2dc628cbf2780
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
2013-02-25 11:31:39 -08:00
David Collins
494bb51ec7 mfd: pm8xxx: core: Add PMIC specific revision values
Add #define constants to describe the revision value of a given
PMIC (e.g. 8058, 8901, or 8921).

Change-Id: I45762c785622fa1259638d33c6529b210a2f143e
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-02-25 11:31:38 -08:00
Stephen Boyd
d984dfb6b4 power: pm8xxx-ccadc: Add pm8xxx ccadc subdevice
Until now only the BMS system was using the ccadc so there was
no need to create a separate ccadc driver.

However we can run in a configuration with BMS disabled
and clients won't be able to read battery current via ccadc.

Separate the ccadc from the bms, this change in is preparation
to add a ccadc api to read the battery current.

Change-Id: Ib96b146d91d01d196df9291eb23432cd430db4d0
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
[sboyd: Take only 8921-core parts]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:31:37 -08:00
Jay Chokshi
8f02c16c7f leds-pm8xxx: Pass LED flags from board file
Instead of hard coding the flag into led driver, pass it
from board file.
While at it, re-factor the code to separate led upstream
core data with board specific data.

Change-Id: I9726f8444d422fdbebdbd5d5e0c5beb6288aa5b1
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
[sboyd: only take pm8921 part]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:31:35 -08:00
Abhijeet Dharmapurikar
d174acc16f msm: restart: Handle reset interrupt from pmic
The reset interrupt in the pmic indicates the pmic will shutdown
the msm in few seconds - it does so by lowering the reset_n line
to the msm.

When this interrupt is triggered it is required that no more ssbi
transactions are initiated and the msm should cleanup and prepare
for the impending shutdown. There is no need to lower ps_hold in
this case as the pmic will shutdown the msm regardless.

Also since we don't want any ssbi transactions, force shutdown
nonboot cpus. This will prevent ssbi transactions to the pmic for
lower/raising nonboot cpu's voltages as they enter/exit idle states.

Change-Id: If2b392c2a0494356f17bf3b721e396da2af44dd2
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
[sboyd: take header part only]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:31:34 -08:00
Anirudh Ghayal
7ff767d87a mfd: pm8921: Add cell data for pm8921 vibrator
Change-Id: I0ddf2555d80ff8575ae85250b13aed46e21a0f0a
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-02-25 11:31:33 -08:00
David Collins
319e59cdc0 mfd: pm8921-core: add mfd cell for pm8921 battery alarm device
Add an mfd cell for the PMIC 8921 battery alarm into the
pm8921-core.

Change-Id: Ia856c88050aa99822e6541311f40417ec63964d4
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-02-25 11:31:32 -08:00
David Collins
66cc83fb29 mfd: pm8921-core: Add mfd cell for pm8921 thermal alarm device
Add an mfd cell for the PMIC 8921 thermal alarm into the pm8921-core.

Change-Id: Icd791e879b5289a4b0af374f0f08d928c6b15719
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-02-25 11:31:31 -08:00
Anirudh Ghayal
96f7e2cfbd mfd: pm8921: Add LEDs mfd cell data
Change-Id: Ia3948b2743599321573665ad7a2a4be7b3954b52
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-02-25 11:31:30 -08:00
David Collins
c67a49d5ef mfd: pm8921: remove VBAT IRQ from charger driver control
The VBAT IRQ needs to be controlled by the pm8xxx-batt-alarm
battery alarm driver.  Remove VBAT IRQ control from the
pm8921-charger driver.

Change-Id: I478b4b572e4c08cfcd50ba4c288f847ea549f775
Signed-off-by: David Collins <collinsd@codeaurora.org>
[sboyd: Drop charger part]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:31:29 -08:00
Abhijeet Dharmapurikar
063f5400e0 mfd: pm8921: add bms cell
pm8921 chip is equipped with a smart battery gauge called bms.
BMS is capable of intelligently measuring battery parameters
under various loads, the software uses these reading to
accurately determine battery capacity.

Add code to support the bms driver.

Change-Id: I5f14a82db0fda11adc0404ba58704a25fa7713af
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2013-02-25 11:31:29 -08:00
Siddartha Mohanadoss
ea5d427cc2 mfd: pm8921-core: Add mfd cell for pm8921 adc
Add a mfd cell of adc as part of the pm8921 core. It adds the
interrupts allocated for the ADC/BTM driver.

Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
Change-Id: I68e1f8df9e24a2512869f238cb3b2fccf09aa8de
2013-02-25 11:31:28 -08:00
Vijayavardhan
b8be9d3d34 pm8921: Add support for USB PMIC ID interrupt
PHY OTG comparators can be disabled for maximum power savings.  PHY
can not generate ID interrupt in this case.  As USB id line is routed
to PM8921 on MSM8960, depend on PM8921 for ID interrupt.

Change-Id: If375274d30235f7e950e284fabc72a4d6b5bc269
Signed-off-by: Vijayavardhan <vvreddy@codeaurora.org>
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
[sboyd: only take the pm8921 part and reword subject]
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:31:27 -08:00
David Collins
734855546a mfd: pm8921-core: Add mfd cell for pm8xxx-misc device into core
Add an mfd cell in the pm8921-core for a pm8xxx-misc device.

Change-Id: I0bc955c118aa427e45a4d2ce80065ca1d7c146a9
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-02-25 11:31:25 -08:00
David Collins
1c9c29f301 pm8xxx: core: Add pm8xxx functions to get PMIC version and revision
Add a pair of APIs in pm8xxx/core.h: pm8xxx_get_version which returns
an enum representing the type of the PMIC (8058, 8901, 8921, etc) and
pm8xxx_get_revision which returns the silicon revision of the PMIC
chip.

Update pm8921-core to implement this new API and remove core data
members previously used to pass revision information.

Change-Id: Ib2aaf5843e4aef9281745919908c530b85717510
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-02-25 11:31:24 -08:00
Abhijeet Dharmapurikar
bee2afbfda mfd: pm8921: Add charger cell
The 8921 pmic is equipped with a charger block that can trickle charge
and fast charge a battery. The charger block has 32 interrupts for
notifying various charging events. It needs some parameters such as max
and min voltage of the system, charging resume voltage.

Add code to support the charger module in the core file.

Change-Id: I082b3009dd070af4120b1cd170972e7bf88ce810
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2013-02-25 11:31:23 -08:00
Willie Ruan
982fe07ec4 mfd: pm8921-core: add pwm device for PM8921
Qualcomm PM8921 has a PWM module which can output 8 channels
of PWM signals. This patch adds a PWM device in the sub device
list of PM8921 core driver.

Change-Id: I0799f12dafdffaedcb7cd13bee0d13993931d3a2
Signed-off-by: Willie Ruan <wruan@codeaurora.org>
2013-02-25 11:31:22 -08:00
David Collins
9c38a8d17d regulator: pm8921-regulator: Add regulator driver for PM8921
Create a regulator driver to control all regulators on the Qualcomm
PM8921 PMIC chip.  This chip contains many different types of
regulators with a wide range of abilities and voltage ranges.

Eight different regulator types are available on the PM8921.  These
are managed via 7 different type values in the driver:

LDO      - low drop out regulator (supports both NMOS and PMOS LDOs)
NLDO1200 - 1.2A NMOS LDO (different control structure than other LDOs)
SMPS     - switched-mode power supply
FTSMPS   - fast transient SMPS
VS       - voltage switch
VS300    - 300mA voltage switch (different control structure than
             other switches)
NCP      - negative charge pump

The driver interfaces with the PMIC using Qualcomm's SSBI bus.
Calls to this bus are abtracted through the pm8xxx_readb/writeb API.

Change-Id: I01fb755c6be8e3f32c86fef079b5740edfc39f14
Signed-off-by: David Collins <collinsd@codeaurora.org>
[sboyd: Take only pm8921-core bits]
2013-02-25 11:31:19 -08:00
Anirudh Ghayal
28d08f40ce drivers: mfd: Add keypad mfd cell for PM8921
Change-Id: I1aacec2aa638bb1e21b96128b485d479cf4c5a94
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-02-25 11:31:19 -08:00
Anirudh Ghayal
047bb07d5a drivers: mfd: Add power/end key mfd cell for PM8921
Change-Id: Idc13abf078d742c959eabc7aa5bfbac074e8538e
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-02-25 11:31:18 -08:00
Ashay Jaiswal
a6321ca2f4 mfd: pm8921-core: Add support for RTC driver
Add RTC to PMIC subdevices.

Change-Id: I654ccc8e00fda38fc360c7b00dd632dd00fabdb7
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
2013-02-25 11:31:17 -08:00
Bobby Crabtree
36efb4f201 mfd: add PMIC8901 driver for QCOM PM8901 chip
This driver is to provide a shim layer between ssbi driver (under i2c
framework). It provides interrupt multiplexing and MPP control.

Change-Id: I13c05d8477f3ea66dd368f167453ec19c8a622c3
Signed-off-by: Bobby Crabtree <bobbyc@codeaurora.org>
2013-02-25 11:31:16 -08:00
Stephen Boyd
d68c25bb0b mfd: Add TPS56023 driver
This is used on the MSM 8x50 devices.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:31:15 -08:00
Trilok Soni
d4d6de7e0c mfd: Marimba TSADC driver
TSADC is part of marimba multi-function chip, which is
driver over SSBI as well as having die-to-die
connection with TSSC - Touchscreen controller in MSM.

Signed-off-by: Trilok Soni <tsoni@qualcomm.com>
2013-02-25 11:31:14 -08:00
Patrick Lai
dbe61a9366 msm: mfd: Add Timpani Codec Driver
This driver programs Timpani Wideband Codec for
input/output of audio signal.

Change-Id: Id7fb88c0599437e4bfb138c3c1deb124af6c4104
Signed-off-by: Parick Lai <plai@codeaurora.org>
2013-02-25 11:31:13 -08:00
Lai, Patrick
6bfbb5a524 marimba-codec: Create marimba wide-band codec driver
Marimba wide-band codec driver controls audio codec on marimba
die. The driver conforms to multi function device model. Thre audio HW
paths are supported. They are RX, TX, and loopback. Three clients
can access service of driver simultaneously as long as they don't try
to configure same path.

Signed-off-by: Patrick Lai <plai@quicinc.com>
2013-02-25 11:31:12 -08:00
Bryan Huntsman
0c57373a58 mfd: Add marimba Core driver
Marimba driver supports adding Marimba slave
devices(FM, Codec and TSADC) as sub devices
to the Marimba Core. Provides interface to
read/write registers using I2C to access the
registers on the Top level and subdevices.

It also adds ssbi-client driver intialization
to access registers of TSADC which is part of
marimba and accessed through SSBI. Provides
interface to read/write registers of the
sub-device over SSBI.

Acked-by: Siddartha Mohanadoss <smohanad@qualcomm.com>
Signed-off-by: Bryan Huntsman <bryanh@quicinc.com>
2013-02-25 11:31:11 -08:00
Trilok Soni
7145c8edff leds: pmic8058: Add PMIC leds driver
Add PMIC8058 based keyboard backlight and low current leds driver.

keyboard backlight led supports upto 16 levels of backlight intensity,
which is mapped to 0..255 levels of brightness of led subsystem.

Three low current(40mA) led drivers of PMIC are also supported
in this driver.

CRs-Fixed: 211772
Change-Id: Ia65b083f6070666aaad95851c9b843332ce35c82
Signed-off-by: Trilok Soni <tsoni@qualcomm.com>
2013-02-25 11:31:07 -08:00
Trilok Soni
406324fb62 led: pm8xxx: Add pm8xxx leds driver
Add support for Qualcomm PMIC8XXX keyboard
backlight, flash and low current leds.

Change-Id: I460480e0c7f98da4cb27c76ca7ac65807df74a7f
Signed-off-by: Trilok Soni <tsoni@codeaurora.org>
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-02-25 11:31:05 -08:00
Trilok Soni
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>
2013-02-25 11:31:01 -08:00
Ravi Kumar V
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>
2013-02-25 11:31:00 -08:00
Ankush Khandelwal
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>
2013-02-25 11:30:59 -08:00
Ravi Kumar V
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>
2013-02-25 11:30:58 -08:00
Ravi Kumar V
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>
2013-02-25 11:30:57 -08:00
David Brown
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>
2013-02-25 11:30:56 -08:00
David Brown
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>
2013-02-25 11:30:55 -08:00
David Brown
d1098dd2a8 tspp: Add transport stream packet processor
Including:

commit 6bac783fae7e7c5a5bfc95e2cdc9b4f22ca53d44
Author: Hamad Kadmany <hkadmany@codeaurora.org>
Date:   Thu Dec 20 18:30:40 2012 +0200

    tspp: Disable read-complete interrupt

    Read-complete interrupt can be generated from TSPP HW for test
    purposes only. It is generated for each TS packet TSPP fetches from
    TSIF interface. Having it enabled cause great load of interrupts
    that are not used by the SW.

    Change-Id: If2038f184a8b0904fba3e1cca5e110fd9daa52d3
    Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>

commit 81cee0596e3cdf8102bf8c8ef45e5f3a07fc8a4d
Author: Hamad Kadmany <hkadmany@codeaurora.org>
Date:   Thu Nov 29 14:15:57 2012 +0200

    tspp: Improve data-path handling

    Existing driver allocated BAM descriptor at fixed sizes each
    with interrupt flag set. Notification on data was received when
    the descriptor is fully consumed by the HW. The descriptor size
    on one hand need to be big enough so that we don't receive too much
    interrupts for high-bitrate streams, and on other hand needs
    to be small enough so that for low-bitrate stream we are not starved
    waiting for data for a long period of time.

    The change adds support of allocating small descriptors and set
    interrupt flags on part of descriptors. In addition, expiration
    timer is used so that if interrupt is not received after long period
    of time the timer handler reports back descriptors are already ready
    to be consumed. This allows low-rate of interrupts and
    handling of low-bitrate streams.

    As descriptors are smaller now (size of single TS packet), exposed
    API within SW demux that handles a single packet to save the function
    call to the API that handles multiple packets for efficiency. Information
    regarding the new buffer allocation was added to debugfs.

    CRs-Fixed: 420818
    Change-Id: I4bb05177774ab0e0bad0737ca1106a0c33f843ae
    Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>

commit 44307d32e23a2bb2a190d88bb049cc34d1e20418
Author: Hamad Kadmany <hkadmany@codeaurora.org>
Date:   Sun Nov 25 09:49:51 2012 +0200

    misc: tspp: Enable notification of TSIF status and expose it in debugfs

    Enable TSIF status interrupt to expose the following
    information in debugfs:
    - stat_rx_chunks: Counts number of TS packets chunks received from HW.
    - stat_overflow: Counts number of times buffer has overflowed.
    - stat_lost_sync: Counts number of times TSIF lost sync with input.
    - stat_timeout: Counts number of times TSIF reached timeout
    waiting for packets.

    All counters can read and reset by writing to the respective file.

    Change-Id: I475c2c0845c85ac22ea720059fb28c4a588fedcf
    Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>

commit 72b785570b265c6fcb4cb907c0c3a3a4b311f1f1
Author: Liron Kuch <lkuch@codeaurora.org>
Date:   Tue Oct 30 17:47:50 2012 +0200

    media: dvb: mpq: TSPP output buffer allocation by demux plugin

    The TSPP driver can allocate its output buffers internally or
    externally. External buffer allocation is required when Demux wishes
    to use the ION driver to allocate a physically contiguous buffer
    (e.g. to pass to TZ).
    This commit improves the TSPP driver support for external buffer
    allocation and implements the external memory allocation and free
    functions in the Demux driver.

    Change-Id: I71da4f18c090ef224c4fc7b23f55b9b3636be996
    Signed-off-by: Liron Kuch <lkuch@codeaurora.org>

commit 92705b3eb380826abf8ddefc25a8d210ffa64ff5
Author: Hamad Kadmany <hkadmany@codeaurora.org>
Date:   Tue Oct 23 14:15:41 2012 +0200

    tspp: Add option to inverse tsif signals

    TSIF signals (clock, data, enable and sync) may be configured
    to be inversed at TSPP unit input. This is useful in case
    TSIF signals from external units need to be inversed.

    Change-Id: Idd21948baccedc7499b31ed1d4df0f737538c870
    Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>

commit 435ad8e2157eec5783a435f1e7ec47f67d759882
Author: Joel Nider <jnider@codeaurora.org>
Date:   Wed Dec 14 16:53:30 2011 +0200

    tspp: add kernel api for video demux component

    The demux is an in-kernel software component whose purpose is to take
    an incoming TSIF stream and split it into multiple output channels
    based on the PID field in each TS packet. Each output channel can be
    used for a different purpose, such as audio, video or channel
    information. In order to get good performance when moving such large
    data streams around, the demux was placed in kernel-space as to
    prevent copying memory buffers between kernel-space and user-space, at
    least at this early stage in processing the traffic. Originally the
    design of the TSPP driver was based on the earlier TSIF driver, so it
    contained only a user-space API.

    Change-Id: I22799eb19d9049e3635d5c589b02f999d9b8e1c7
    Signed-off-by: Joel Nider <jnider@codeaurora.org>

commit 6544f3e52c9c1707a5a8fa90d32f89d80dabb4b9
Author: Joel Nider <jnider@codeaurora.org>
Date:   Tue Jul 10 13:50:06 2012 +0300

    tspp: use new clock preparation functions

    Replace the clk_enable() with clk_prepare_enable() and replace
    clk_disable() with clk_disable_unprepare() functions.

    Change-Id: I63479090eccbeac46f091bf95faeb857139d23a4
    Signed-off-by: Joel Nider <jnider@codeaurora.org>

commit b9662ca49cfe619e076476dcf8297a4031f0c310
Author: Joel Nider <jnider@codeaurora.org>
Date:   Sun Jun 10 14:21:11 2012 +0300

    tspp: use device name when getting clock

    The new method for requesting clocks requires a driver to pass its
    device name for comparison to the list of available clocks.

    Change-Id: Ica5b09447de177beead90f8b7c721b84820fbdf7
    Signed-off-by: Joel Nider <jnider@codeaurora.org>

commit 5556a8524591e4d1c4c9188316551900e8b8382d
Author: Joel Nider <jnider@codeaurora.org>
Date:   Sun Oct 16 10:52:13 2011 +0200

    misc: tspp: adding TSPP driver files

    The TSPP driver manages the transport stream packet processor.  This core
    is used to offload the main CPU by handling MPEG TS packets, generally
    coming from a broadcast modem using the ISDB-T (or variant) protocol.

    Change-Id: Ia4c16dcce970ae0f52d8d17957a92fce34ecdb44
    Signed-off-by: Joel Nider <jnider@codeaurora.org>

Signed-off-by: David Brown <davidb@codeaurora.org>
2013-02-25 11:30:54 -08:00
Mohan Pallaka
a3bbf8ce4c input: ft5x06_ts: Add driver for ft5x06 series
Ft5x06 controllers are single chip capacitive
touch panel controller ICs with a built-in 8 bit
Micro Controller Unit. It supports multi-touch
capability and can detect up to five touches.

Change-Id: I39eb1175d473d1f2c463e1c4a0a1606307da9dc0
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2013-02-25 11:30:53 -08:00
Stephen Boyd
8835b4caf2 input: touchscreen: Add msm_ts driver
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:30:52 -08:00
Anirudh Ghayal
b5a1434021 input: tsc2007: Specify max/min coordinates from platform data
Provides flexibility to specify max/min x and y coordinates from
platform data. Useful in cases where the TS controller reports
coordinates at an offset from the predefined min/max values
(0 and 4096 respectively).

Change-Id: Ia93a8940078aa5960d1d900ac56b0b3354c82e40
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-02-25 11:30:51 -08:00
Anirudh Ghayal
6f1bfa9f89 input: tsc2007: Power optimization in suspend/resume for TSC2007
Disable/enable the voltage regulators during suspend/resume operations.

Change-Id: I0d10edc87d07c01327fa2258aae964d430cae7e3
CRs-Fixed: 258762
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-02-25 11:30:49 -08:00
Anirudh Ghayal
efe979e255 input: tsc2007: Add features to the TSC2007 driver
The following features are now supported -

1. Inverse coordinates
2. Suspend / resume
3. Interrupt flags from platform data

Change-Id: I08adcdf0fd1c983ffaa958bea23e2ed06aa6e086
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-02-25 11:30:48 -08:00
Anirudh Ghayal
d00232f331 input: touchscreen: Add support for TMG200 touch controller
The TMG200 touch controller supports upto two touches. This
driver supports both TMG200 and TMA300 controllers.

CRs-Fixed: 226967
Change-Id: I32871e76d3dd77fec0a723e1c306492bda2de897
Signed-off-by: Anirudh Ghayal <aghayal@qualcomm.com>
2013-02-25 11:30:44 -08:00
Mohan Pallaka
e501de3c01 input: cyttsp-i2c: Enable firmware loading feature from driver
TTSP firmware can be loaded during driver's probe by updating
the firmware header file. This header file contains the firmware
data as part of an array and it's version number.

Change-Id: Ia80aab77d654d64ab3bb14c9b316bb851b90f241
Signed-off-by: Kevin McNeely <kev@cypress.com>
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2013-02-25 11:30:44 -08:00
Taniya Das
d079c123d2 input: touchscreen: Add support for synaptics clearpad3000
Change-Id: Ie00815ed507d81c6934ac0d4b1dfa745215ff01a
Signed-off-by: Taniya Das <tdas@codeaurora.org>
2013-02-25 11:30:41 -08:00
Mohan Pallaka
3c93af8b20 input: atmel_mxt_ts: Fix to reject coordinates outside active touch area
Firmware reports minimum/maximum coordinates when touches are
from outside of active area. Generate a release event in this
case to handle touches that are going to inactive area. Add
pdata entries for minimum values and check before reporting
the coordinates to userspace.

CRs-fixed: 326858
Change-Id: I385fb80eb670e539b45d232c04969c4502cdf65a
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2013-02-25 11:30:35 -08:00
Anirudh Ghayal
e8e167997e Input: atmel-mxt_ts: Support firmware upgrade in bootloader mode
If a firmware upgrade fails, on subsequent boot retry a firmware
upgrade based on the bootloader id. This can be initiated through
the userspace program by writing into the update_fw sysfs entry.

Change-Id: I1d428c52f2cbfff8fe572a2bc6f0cd124111b810
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-02-25 11:30:34 -08:00
Anirudh Ghayal
3890f46e4a input: atmel-mxt-ts: Provide firmware name via platform data
This allows firmware upgrade only when a firmware name is provided.
The platform data (config data) of the latest firmware will point
to a NULL string which prevents auto firmware upgrade at boot
(if enabled by the userspace).

Change-Id: Ifef57a9dab9306cf4f1fe7a6c7e52c5e92a25d4a
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2013-02-25 11:30:33 -08:00
Amy Maloche
55ac8f9124 input: atmel-mxt-ts: Provide max touch coordinates via platform data
The atmel_mxt_ts driver manipulates the touch coordinates
if they are < 1024. In cases when the display < 1024 and
virtual key area > 1024, there is a problem in reporting
the coordinates for the virtual key area. Add new pdata
variables which can handle this.

Change-Id: Ic31db032a1598c60c01bff31c7b36042f42c9817
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2013-02-25 11:30:29 -08:00
Jing Lin
b921d6a574 input: atmel_mxt_ts: Support runtime selection of config data
Add support for dynamic configuration data update if the target can
support more than one Atmel chip. Platform data contains an array of
supported config data along with family ID, variant ID and firmware
version. Driver searches for matching family ID, variant ID and
firmware version, and uses the corresponding config data to program.

Change-Id: I684da4bdef56a3445acab3bb8fe47dd5279bebe5
Signed-off-by: Jing Lin <jinglin@codeaurora.org>
2013-02-25 11:30:27 -08:00