summaryrefslogtreecommitdiff
path: root/drivers/staging/cg2900/bluetooth/cg2900_uart.c
AgeCommit message (Collapse)Author
2012-06-18cg2900: Fix for softirq warning during bootingstable-ubuntu-ux500-3.4integration-ubuntu-ux500mjain001
spin_lock_bh called in interrupt mode, which is incorrect. Changed from spin_lock_bh/spin_inlock_bh to spin_lock_irqsave/spin_lock_irqrestore. Signed-off-by: mjain001 <mridul.jain@stericsson.com>
2012-05-22cg2900: firmware download at 115kbps CG2910/05Nitin Dhingra
There is a bug in CG2910/05 PG1, due to which ARMSS firmware patch has to be downloaded at 115kbps. CQ Ticket for this hardware bug is CM0033243 ST-Ericsson Linux next: Not Tested, ER 373024 ST-Ericsson ID: 373024 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10019 Change-Id: I4965618f5a1b0ab40f683a5f720a99790d80c3da Depends-On: 09e279e3710a122eccd1ebd4929f79c244c78c9e Signed-off-by: Nitin Dhingra <nitin.dhingra@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43862 Reviewed-by: QATOOLS
2012-05-22cg2900: Support new connectivity chipsHemant Gupta
This patch adds support for new connectivity combo chips. Support is added for CG2905 and CG2910 chips firmware downloading. CG2910 supports NFC, therefore a new HCI H4 channel is added. ST-Ericsson Linux next: Not Tested, ER 373024 ST-Ericsson ID: 373024 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10019 Change-Id: I18158e26e6e651c0ba7e6b98b872a20d5fcaa423 Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com> Signed-off-by: Nitin Dhingra <nitin.dhingra@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33716 Reviewed-by: QATOOLS
2012-05-22CG2900: changing sleep timersNitin Dhingra
Reducing the sleep timer value from 10 sec to 150ms, to put CG29XX chip to sleep. and after 50ms checking CG29XX has gone to sleep then release the wakelocks for system to go in sleep mode. This will decrease the power consumption greatly. ST-Ericsson Linux next: NA ST-Ericsson ID: 375669 ST-Ericsson FOSS-OUT ID: trivial Change-Id: I48b8b2c3962747743fc8fef5288bcd05921be8f6 Signed-off-by: Nitin Dhingra <nitin.dhingra@stericsson.com> Depends-On: I0618c5f7e507b540907546d10fd217b046484263 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/43737 Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com> Reviewed-by: QATOOLS
2012-05-22CG2900: Fix timings for CG29XX during breakNitin Dhingra
In Reference to CG29x0 low power mode control document, there are some fixes required in CG2900 protocol driver for break conditions. 1)Pre-break - 900usec - This is the minimal time before Host sending a break after it completes sending data on Tx_Host line. 2)in-break - 5msec - This is the minimal time that Host should maintain the break. 3)post-break - 200usec - This is the minimal time before Host starting sending data on Tx_Host line after it exits break. ST-Ericsson Linux next: Not Tested, ER 410756 ST-Ericsson ID: 410756 ST-Ericsson FOSS-OUT ID: trivial Signed-off-by: Nitin Dhingra <nitin.dhingra@stericsson.com> Change-Id: I0618c5f7e507b540907546d10fd217b046484263 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45521 Reviewed-by: QATOOLS Reviewed-by: Nitin DHINGRA <nitin.dhingra@stericsson.com> Tested-by: Nitin DHINGRA <nitin.dhingra@stericsson.com>
2012-05-22cg2900: Code optimizations for CG2900 init timenitin.dhingra
Some general code optimizations during intialization done. Also we are releasing clock user like WLAN earlier as READ SELF TEST is not required for WLAN functionality. All these optimizations are done to reduce CG2900 init time which will also impact WLAN start-up time. Also ESD Clamp workaround has been removed from the code completely. This is not required anymore. ST-Ericsson Linux next: NA ST-Ericsson ID: 370603 ST-Ericsson FOSS-OUT ID: trivial Change-Id: I7895e21193d20d24ff65a51ff3591108d575399c Signed-off-by: Nitin Dhingra <nitin.dhingra@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/37998 Reviewed-by: QATOOLS
2012-05-22cg2900: Fix for race conditionLukasz Rymanowski
Fix for race condition which leads to double kfree_skb. ST-Ericsson Linux next: 365852 ST-Ericsson ID: 365852 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10019 Change-Id: Ia951a283d9e3774b29a51280b0536838926c99f9 Signed-off-by: Lukasz Rymanowski <lukasz.rymanowski@tieto.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34863 Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Tested-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com> Reviewed-by: SZYMON JANC <szymon.janc@tieto.com> Reviewed-by: Nitin DHINGRA <nitin.dhingra@stericsson.com> Reviewed-by: Ulrik LAUREN <ulrik.lauren@stericsson.com>
2012-05-22cg2900: updates for 3.2Philippe Langlais
Update for headers file (linux/module.h + linux/pm_qos.h) Replace CONFIG_MFD_SUPPORT by HAS_IOMEM + select MFD_CORE Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
2012-05-22cg2900: Add support for 3.25 MbpsLukasz Rymanowski
With this patch it is possible to set baud rate 3.25 Mbps on CG2900 UART. ST-Ericsson ID: 364789 ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: Not tested, 364789 Signed-off-by: Lukasz Rymanowski <lukasz.rymanowski@tieto.com> Change-Id: If54af597b949038e9ef4c05d80c9235666e127a4 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32689 Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Tested-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com>
2012-05-22cg2900: Use PM QoS for CG2900 UARTPar-Gunnar Hjalmdahl
This patch adds usage of PM QoS in the CG2900 UART driver. This is to assure that data throughput is not lowered due to CPU going to sleep too often during data transfer. ST-Ericsson ID: 361013 ST-Ericcson FOSS-OUT-ID: Trivial ST-Ericsson Linux next: 361013 Change-Id: Ib79dee9bd95817d459acd477715d95d7aade06a7 Signed-off-by: Par-Gunnar Hjalmdahl <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/33109 Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Ulrik LAUREN <ulrik.lauren@stericsson.com> Tested-by: Ulrik LAUREN <ulrik.lauren@stericsson.com> Reviewed-by: Hemant GUPTA <hemant.gupta@stericsson.com>
2012-05-22mfd/cg2900: Error opening HCI Raw ChannelHemant Gupta
This patch fixes the corner case issue in driver, due to which if the port is closed while data is being read, the driver state is not correct next time the port is re-opened. ST-Ericsson Linux next: Not tested, ER356425 ST-Ericsson ID: 356425 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I82090c25ce7dd3aea07bacd96856d62361bcd741 Signed-off-by: Hemant Gupta <hemant.gupta@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32208 Reviewed-by: Henrik POSSUNG <henrik.possung@stericsson.com> Reviewed-by: Par-Gunnar HJALMDAHL <par-gunnar.p.hjalmdahl@stericsson.com>
2012-05-22cg2900: Fix after 3.1 rebasePhilippe Langlais
Signed-off-by: Philippe Langlais <philippe.langlais@stericsson.com>
2012-05-22cg2900: Fix crash when transport is closedPar-Gunnar Hjalmdahl
This patch fixes crashes caused by transport being removed while users of the CG2900 driver still exist. ST-Ericsson Linux next: Not tested, ER 336652 ST-Ericsson ID: 336652 ST-Ericsson FOSS-OUT ID: Trivial Change-Id: I6318ce1086097a4fa63a1793b6795b01ea939715 Signed-off-by: Par-Gunnar Hjalmdahl <par-gunnar.p.hjalmdahl@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21781 Reviewed-by: QATEST Reviewed-by: Lukasz RYMANOWSKI <lukasz.rymanowski@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29795 Reviewed-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com> Tested-by: Virupax SADASHIVPETIMATH <virupax.sadashivpetimath@stericsson.com>
2012-05-22staging: Add ST-Ericsson CG2900 driverPar-Gunnar Hjalmdahl
This patch adds support for the ST-Ericsson CG2900 Connectivity Combo controller (Bluetooth, FM, GPS). Signed-off-by: Par-Gunnar Hjalmdahl <par-gunnar.p.hjalmdahl@stericsson.com> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org> Signed-off-by: Robert Marklund <robert.marklund@stericsson.com>