summaryrefslogtreecommitdiff
path: root/drivers/misc
AgeCommit message (Collapse)Author
2012-09-11video: tegra: host: add idle time estimate in 3dfsIlan Aelion
When a throughput hint is available, still keep track of the idle time percentage and use both in gpu scaling. Also modifying fallback scaling code to use same idle estimate used when a throughput hint is available. Dropping different time frames for scaling up and down. Bug 1034948 Bug 965517 Change-Id: Ib3945642768e36a6c0c50f4195c89e3bb67f8442 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/129410 (cherry picked from commit 1e9974097286a78f34367683a3921c9b5bf77d4d) Reviewed-on: http://git-master/r/131155 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2012-08-16video: tegra: dc: disuse notifierIlan Aelion
Due to issues with rcu notifiers on secureos, modifying dc flip notifications to use a simple callback instead. Bug 1028850 Change-Id: Iebf2a6d64d7316e3df2b88444201f9f9a29698c5 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/123103 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
2012-08-14misc: throughput: move client calls to work queueIlan Aelion
Perform throughput notifications to clients on work queue rather than synchronously to dc flip notifications. Bug 1028850 Change-Id: Ib9446a4ab87a476230a90a1f23c260bcf98e01dc Signed-off-by: Ilan Aelion <iaelion@nvidia.com> (cherry picked from commit f48bec5168232d7a50ecfb193146a4be214af3d7) Reviewed-on: http://git-master/r/#change,122160 Reviewed-on: http://git-master/r/123102 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2012-08-10arm: tegra: xmm: device set to null in unregisterVinayak Pane
hsic_unregister is being called multiple times during two step enumeration process of xmm. In failure cases when enumeration does not complete properly, kernel panic is seen because of extra unregister-ehci device. Bug 1016593 Change-Id: Ibaeb20ed0dab0e906741fdfad78f7d89a3672f60 Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/116626 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-09misc: tegra-throughput: warn on short framesIlan Aelion
issue a warning on flip events less than 1 microsecond apart. Bug 1027664 Bug 1028850 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/121810 (cherry picked from commit 6c0e907b437765fb9f7093599911b71a836d49a6) Change-Id: Ie15256e35475d345b2ebe6ddb637ccc181fcb61e Reviewed-on: http://git-master/r/122326 Reviewed-by: Donghan Ryu <dryu@nvidia.com> Tested-by: Donghan Ryu <dryu@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2012-08-08misc: tegra-throughput: prevent race on initIlan Aelion
prevent a race condition on initialization which could result in multiple notifier registrations. Bug 1027664 Change-Id: I2e7dcad159f631a7e244d43019169fdaf195bc34 (cherry picked from commit 06ad60cd85a221eec673654c73d55fba34455a3a) Reviewed-on: http://git-master/r/121143 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-by: Michael I Gold <gold@nvidia.com>
2012-08-08misc: tegra-throughput: prevent division by 0Ilan Aelion
Prevent division by 0 on subsequent flip notifications at an interval shorter than 1 micro-second. Bug 1027664 Change-Id: I6e2f886721216fc2479adc1a24504b707c7ebe45 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> (cherry picked from commit 92807179cbbd60be67e09ff40bdaab313e3a55fe) Reviewed-on: http://git-master/r/121142 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Donghan Ryu <dryu@nvidia.com> Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Michael I Gold <gold@nvidia.com>
2012-08-07misc: bcm4329: get rid of tegra_gpio_enable()Laxman Dewangan
The gpio mode of pin is configured when setting direction and hence this call is no more required. Change-Id: I38dac94bd0eb753c779db61f71c1e01295faa89e Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/120848 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
2012-08-02misc: tegra-cryptodev: treat warning as errorschowdary
- Add compilation flag to treat warning as error bug 949219 Change-Id: Iacd963ea85f9a29b79776b7cd504838d992ff1bc Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118076 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-02misc: tegra: treat compilation warning as errorschowdary
- Add compilation flag to treat warning as error bug 949219 Change-Id: Ib5f433fc2ef9cf3777c34eda91b1eff8e815bcb9 Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118073 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-08-01misc: tegra_baseband: power: get rid of tegra_gpio_enable()Laxman Dewangan
The gpio mode of pin is configured when setting direction and hence this call is no more required. Change-Id: I19296beb619cb6adc8daa02cde825aef45d8d42f Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/119613 Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
2012-08-01MPU6050: Disable irq when suspend all sensorsHunk Lin
When we suspend all sensors, MPU6050 continue generating irqs. So set MPUREG_INT_ENABLE to 0 for saving power. Bug 1021448 Signed-off-by: Hunk Lin <hulin@nvidia.com> Change-Id: I90acb0b5e297c61c205a20b8eb54e6164a4d5b32 Reviewed-on: http://git-master/r/119344 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Prem Sasidharan <psasidharan@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-07-30video: tegra: host: adding throughput hint in 3dfsIlan Aelion
adding support for using a throughput hint given by the tegra-gfx misc device in the 3d scaling code. If throughput hint usage is enabled and the latest throughput hint is recent enough (less than 1 second old), the throughput hint is used to control 3d frequency scaling. Otherwise the existing idle time percentage estimate is used. Bug 991589 Change-Id: I68893e5ce7ef922b95ce5f5b3664eb8e1fdd4027 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/116866 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2012-07-30misc: tegra-throughput: adding throughput dev nodeIlan Aelion
Creates a miscdev at /dev/tegra-throughput which gl will use to set a target frame rate. In addition it receives notifications from dc on flip events. On each notification the percentage ratio of the actual frame time to the target frame time is calculated. In subsequent changes this ratio will be reported to other modules as a throughput hint. Bug 991589 Change-Id: Ieaa2b2755b63d2d071de31e3ef819d4c3b51a956 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/116865 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-07-11drivers: misc: fixed therm estimator bugJoshua Primero
Fixed hi and lo limit bug in thermal estimator driver. bug 1007726 Change-Id: I2be90ca7d875dbed34004b83f070fb5cbd8bc467 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/113564 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-07-06misc: tegra-cec: Initial CEC Driver for T3x platformAnkit Pashiney
READ API: read API ignores count and will always return 16 bit data. read API expects user to supply it with min of 16 bits data it returns CEC packet in following format bit 0-7: data bit 8: EOM bit 9: ACK WRITE API: write API ignores count and will always accept 32 bit data. write API expects user to supply it with min of 32 bits data it accepts CEC packet supllied in following format bit 0-7: data bit 8: EOM bit 12: Address mode, 0 = Direct, 1 = Broadcast bit 16: Generate Start bit, 0 = Disable, 1 = Enable bit 17: Retry frame, 0 = Disable, 1 = Enable Logical address is set to 4, as of now there is no mechanism to change this address from userspace. Driver is disabled by default in Kconfig Change-Id: Ia3835cec0bb717e63dabca5c5fcb1236847bf492 Signed-off-by: Ankit Pashiney <apashiney@nvidia.com> Reviewed-on: http://git-master/r/105520 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-07-05misc: tegra-baseband: treat compilation warning as errorSanjay Singh Rawat
- Handling warning of wrong return type from function. bug 949219 Change-Id: I49e74de9314ee4934a5a58a8e406f9bade278aaf Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/112906 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-06-28drivers: misc: Thermal estimator driverJoshua Primero
Added driver which estimates temperature based on a linear formula from other temperature sensors. bug 1007726 Change-Id: Ic0d3ba7f0d369d4321f55b03e6326ff4efbb512e Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/105988 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-06-28drivers: nct: exposed nct internal/external tempsJoshua Primero
Added function that exposes nct1008's internal and external temperature measurements. bug 1007726 Change-Id: Iffaca95f5e4267e09a0c3ebb2fbfb909a3bed89d Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/101377 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-06-06misc: rfkill: rephrase gpio warning messagesPreetham Chandru
The current BCM4329 rfkill driver assumes usage of 2 GPIOs known as RST and SHUTDOWN and the driver makes a particular GPIO mandatory. Some of the platforms does not define both GPIOs, instead a single either RST/SHUTDOWN GPIO is used to setup the chip. Hence print a less alarming message if gpio is not found. Bug 975333 Signed-off-by: Preetham Chandru r <pchandru@nvidia.com> Change-Id: I229844d9d5dfc94ea00bb086d1091ac41bf97b99 Reviewed-on: http://git-master/r/106158 Tested-by: Preetham Chandru <pchandru@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kiran Adduri <kadduri@nvidia.com> Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-05-24usb: tegra: modify USB platform data structuresRakesh Bodla
Modify USB structures of platform data. Based on the new platform data structures modifying the initialization in board files. Bug 887361 Change-Id: Ie6347a078c9a596a4debe21a353e127ddde35220 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/103597 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-23misc: nct1008: add id for nct72Chandler Zhang
Add id for nct1008 compatible thermal sensor: NCT72 Bug 961970 Change-Id: I792af664f73b6d1c8317a35c66330cf571cf3aba Reviewed-on: http://git-master/r/100465 Signed-off-by: Chandler Zhang <chazhang@nvidia.com> [danifu@nvidia.com: resolved conflicits in nct1008.c] Signed-off-by: Daniel Fu <danifu@nvidia.com> Reviewed-on: http://git-master/r/103581 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-05-15misc: bt rfkill: toggle power GPIO based on current power stateNagarjuna Kristam
check if requested state and current BT power state is same, if yes, do not toggle BT power GPIO's. if not, set requested power state. Bug 982600 Bug 928604 Change-Id: I82c65fd6d43940c86cc3de440295ba179a4ade33 Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/102190 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-04-19drivers: resolve compilation time warningsSanjay Singh Rawat
bug 949219 Change-Id: I5942ba86bd1cbe1f1bd06a7c9f51a10d83e6cabb Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/92819 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-04-12misc: tegra-cryptodev: Enhancement to support user space testsvjagadish
Enchancement to support user space tests such as OFB, CTR, sha1, sha224,sha256, sha384, sha512. BUG 903375 Change-Id: I52767978bd3758671ec6fff988223ac046f5579c Reviewed-on: http://git-master/r/84296 Tested-by: Venkata Jagadish <vjagadish@nvidia.com> Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-04-05drivers: misc: nct: Remove regulator error messagePreetham Chandru
Print only a warning message if vdd regulator is not registered. Some board do not have a seperate vdd regulator and hence print only a warning message in such cases. Bug 961258 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Change-Id: I953d17ae14650c622e06febe415362e5cb096236 Reviewed-on: http://git-master/r/93777 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-03-15GPS: GPS Char Driver for Texas Instrument's Connectivity Chip.Satish Chandra
This enables the GPS driver for TI WL128x BT/FM/GPS combo devices. It will provide a character device for the TI GPS host software to access the GPS core on the WL128x. Bug 933797 Change-Id: If0ea53a1b246a88fc895a95599d8bd38689b72fc Signed-off-by: Satish Chandra <x0141690@ti.com> Reviewed-on: http://git-master/r/90110 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Maria Bornski <mbornski@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-03-15misc: bluetooth: clean ti_bluesleep patchRakesh Goyal
Remove dead code Remove whitespace Remove platform callback function and add wake_lock/wake_unlock Fix compilation warnings Bug 933054 Bug 931931 Change-Id: I5b0947ad2053f9e0437ffe89879df2c84786ec9c Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-on: http://git-master/r/89274 Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com> Tested-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-03-15TI Wl128x support of bluesleep & Wake on BT Driver changesAnjan Rao
Bug 933054 Bug 931931 Change-Id: Id84bcc1791114a50d26547de41daeb4774f6026b Signed-off-by: Anjan Rao <anjan.rao@ti.com> Reviewed-on: http://git-master/r/89136 Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com> Tested-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-03-12misc: tegra-baseband: Add support for L2 and cleanup code.Raj Jayaraman
Bug 886459 Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com> (cherry picked from commit 9032b38a76d8337ee6b9582265171ca09473a3e9) Change-Id: Ifa5ad5bdb3a782119a2920281bc39ce5f6fd2a5a Reviewed-on: http://git-master/r/88868 Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com> Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-03-08drivers: misc: nct: Fixed spurious nct interruptsJoshua Primero
Enabled one-shot mode in the bottom half handler of nct interrupts to force a conversion/comparison. This effectively stops repeated nct interrupts. Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/85277 (cherry picked from commit bc90335e0201cba073333c679b2fddff7bb293f1) Change-Id: Id0bd19f8f464ffbd9079fc2910a1bbcd0e621843 Reviewed-on: http://git-master/r/88373 Reviewed-by: Joshua Primero <jprimero@nvidia.com> Tested-by: Joshua Primero <jprimero@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2012-03-07mpu3050: remove warning for unassigned irqPritesh Raithatha
Bug 924470 Change-Id: I55310652512bf87ab5fc83479a18a4c685958884 Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/88327 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-03-07ti-st: do not free skb in st_send_frame if receive call returns errorNagarjuna Kristam
In st_send_frame, do not free skb when recveive[hci_recv_frame] function call returns failure. Since, skb is already freed in hci_recv_frame on failure. Bug 946756 Bug 949028 Change-Id: I3ef9a77f408a6a5329a0817547e0c0e08ec45f87 Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/87138 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-02-27drivers: misc: nct: Fixed nct interrupt handlerJoshua Primero
Fixed nct bug where interrupts would go missing because thermal_alert would not correctly set the state of the thermal device. Change-Id: I09f4e7816fe606e576b257281acd498428f0d941 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/84674 (cherry picked from commit 5bba6f1b63225ce9ab0ab45a8513541d4435ace5) Reviewed-on: http://git-master/r/85945 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2012-02-15drivers: misc: ti-st: remove set_power callRakesh Goyal
set_power() should not be called as BT module(wl12xx) need power rail to be always switched on. Bug 937381 Change-Id: If5b7c6939b57c4384a8b434c58227a84d69e94e5 Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com> Reviewed-on: http://git-master/r/83134 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-02-14mpu6050: Motion Libraries: Add kernel files for Invensense MPU6050.Robert Collins
Invensense kernel files for MPU6050. MPL version 4.1.1. Bug 825602 Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/70372 (cherry picked from commit 8852d46c35632f960aa1753097bb9d1c448d3602) Change-Id: I1660a52debaaae39af94199a08e1f3eb88f08b6e Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/82716 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com>
2012-02-03misc: tegra-baseband: Add usb core notification support.Raj Jayaraman
Add support for notification from USB core about device atachment and removal. Add ARR support for M7400 modem. Bug 886459 Reviewed-on: http://git-master/r/78301 Change-Id: I583714498e17501cbfb620440a24b43094bc9573 Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78900 Reviewed-by: Automatic_Commit_Validation_User
2012-02-03misc: remove android pmem driver, it's obsolete.Dima Zavin
(cherry picked from commit d1e94136fc4fe8ea608f4e9d21befa00c86e1e29 from android.googlesource.com/common.git) Change-Id: I48d9778007e1e9eed2bb34e33ceee818c23afaa5 Signed-off-by: Dima Zavin <dima@android.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78885 Reviewed-by: Automatic_Commit_Validation_User
2012-02-03drivers: misc: ti-st: remove commented codeRakesh Goyal
Removing commented and unused code from the driver Bug 926128 Reviewed-on: http://git-master/r/77038 Change-Id: I373112b09cdb5bcb25f409e31da17f678590aaa1 Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78438 Reviewed-by: Automatic_Commit_Validation_User
2012-01-31drivers: misc: ti-st: apply wl12xx patch from TIRakesh Goyal
patch is for following feature 1) use set_power() defined in platform file to switch on/off BT. 2) send_ll_cmd according to state Reviewed-on: http://git-master/r/77318 Change-Id: I48ccb310ee4ce97c82835ef5701673c6f40231d4 Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/78018 Reviewed-by: Automatic_Commit_Validation_User
2012-01-19drivers: misc: nct: Show lo/hi alerts in nct debugDiwakar Tundlam
Also fixed some error strings Reviewed-on: http://git-master/r/75035 Change-Id: Ia071d25f4e0402c55bdc9830cca948759e4aea2c Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Joshua Primero <jprimero@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/75877 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Joshua Primero <jprimero@nvidia.com>
2011-12-22drivers: misc: nct: Added low temp nct interfaceJoshua Primero
Added function to retrieve lowest supported temperature for nct1008 driver. Change-Id: Icd418a7383908ff335a27d94d6d5e586b1e95e57 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/70932 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2011-12-21misc: tegra-baseband: Refactor power code.Raj Jayaraman
Bug 886459 Change-Id: I6005ba8081951a015f101ad864c00232ea88590a Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com> Reviewed-on: http://git-master/r/69567 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2011-12-21misc: mpu3050: Allow accelerometer to enter suspend during LPDaniel Solomon
The KXTF9's control reg PC1 bit was being set for both suspend and resume config structs in kxtf9_set_odr(). This caused the accelerometer to be turned on during both suspend and resume. Bug 902379 Cherry-picked From: http://git-master/r/#change,65983 Signed-off-by: Daniel Solomon <daniels@nvidia.com> Change-Id: If0a17af5b4538008dbf4d4f8b2d280f8d3981e3f Reviewed-on: http://git-master/r/69260 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Daniel Solomon <daniels@nvidia.com> Tested-by: Daniel Solomon <daniels@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com>
2011-12-16misc: Fix bad merge of MPU KconfigDan Willemsen
Commit 7fbb6eaca74d961fde208be87c89d703d5eff5ad in android-tegra-nv-2.6.39 replaced mpu3050 with inv_mpu. The cherry-picked commit on this tree just adds inv_mpu commit f1e961e877025f60cc409180350a3def85f26f64 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Change-Id: I46194ea10cc8154c50a8b16c163bedf29a35d544 Reviewed-on: http://git-master/r/70628
2011-12-15misc: tegra-baseband: Control M7400 service pin.Raj Jayaraman
M7400 service pin should be held high by a pullup internal to it for flashless mode. This is not working. As a fix, drive the signal high from AP. Bug 886459 (cherry picked from commit 1516ce643ca9c6e52540023342c27791b8a69867) Change-Id: I8a5ba9be6bcaf9119f5b81fe30de20cb8dc412d0 Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com> Reviewed-on: http://git-master/r/68505 Reviewed-by: Steve Lin <stlin@nvidia.com>
2011-12-15misc: tegra-baseband: Add support for M7400 modem.Raj Jayaraman
Bug 878736 Bug 886459 (cherry picked from commit 6f6a3b6759f95b833a3c98ee45015592f388b161) Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com> Change-Id: Ieb5e9313ad9d6a32a813dadd911f448d8b334b42 Reviewed-on: http://git-master/r/68289 Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com> Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
2011-12-08misc: nct1008: remove busy checkMatt Wagner
Reverts 664afa7de06d4c1df98f6cec50c2c850cd48fee6. Busy check was causing reads of the temperature to block until conversion was completed. This caused issues with higher level code perf. Bug 909918 Change-Id: I57dd9d2ac1df8e3272aba03cd7f0c1e55bfd4eb8 Reviewed-on: http://git-master/r/68043 Tested-by: Matt Wagner <mwagner@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2011-12-08misc: tegra-baseband: Add power management driver.Raj Jayaraman
Bug 886459 (cherry picked from commit 5bf5402a2c966197b03845852171ae310e2e69e7) Change-Id: I1bbbeaa2abce338655b4ac3e5bce90b8ba316282 Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com> Reviewed-on: http://git-master/r/66963 Reviewed-by: Steve Lin <stlin@nvidia.com>
2011-12-08mpu3050: Motion Libraries: Update Kernel files for MPL v4.1.1.Robert Collins
Bug 825602 Bug 834422 Bug 843573 Change-Id: I13cd5d5faac6a33b36ae1129180f13f255192064 Reviewed-on: http://git-master/r/66083 Reviewed-by: Alex Courbot <acourbot@nvidia.com> Tested-by: Alex Courbot <acourbot@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>