summaryrefslogtreecommitdiff
path: root/drivers/misc
AgeCommit message (Collapse)Author
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>
2011-12-08misc: nct1008: Refactored nct1008 driverJoshua Primero
Refactored nct1008 driver so that it can be controlled by the Tegra Thermal framework. Reviewed-on: http://git-master/r/58044 Reviewed-on: http://git-master/r/63339 Cherry-picked as e420f67c427173403a9669a67cfe98ad3c8482e1. Change-Id: Id47205bb2d8f148dc919de7f1a53f1c562899d5e Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/66552 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2011-12-08drivers: nct1008: Generic therm funcs to nct1008Joshua Primero
Preparing nct1008 for refactoring overhaul. Added generic functions which will be used by Tegra thermal module. Reviewed-on: http://git-master/r/57952 Reviewed-on: http://git-master/r/63337 cherry-picked from 2d5e2369511fb49f1895938fea935b12d72c4827 Change-Id: Ia850db408f533318db4b634e6f29b68c1ad8a1de Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/66549 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2011-11-30misc: sensor: AK8975 fix compilation errorMursalin Akon
The update is based on 2.6.36 code line. It fixes compilation error. Bug 877219 Change-Id: I31769438e16a6405d3868bdc1fef1092bc6cc36f Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/52463 Reviewed-by: Allen Martin <amartin@nvidia.com> Rebase-Id: Rcea57c2b2c7ffd179ee7ecd0c1896c9531c03a88
2011-11-30Merge branch 'korg-android-tegra-3.1' into after-upstream-androidDan Willemsen
Conflicts: arch/arm/mach-tegra/Kconfig arch/arm/mach-tegra/board-ventana.c drivers/misc/Kconfig drivers/video/tegra/dc/hdmi.c Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
2011-11-30arm: tegra: power: thermal sysfs hooks in nct1008Joshua Primero
Added the thermal sysfs hooks in the nct1008 driver. Reviewed-on: http://git-master/r/55832 (cherry picked from commit 20931817652d41c17359360644666f3d4d770f6d) Change-Id: Ifb9550c7136330f1a008b4ff6799ed2f1c639304 Reviewed-on: http://git-master/r/62572 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R75d734c463398f45ee2204d268645275e7dccc26
2011-11-30arm: tegra: power: Improved thermal accuracyJoshua Primero
Instead of rounding up when measuring temperature in celsius, report back temperature in millicelsius. Reviewed-on: http://git-master/r/59466 (cherry picked from commit 242cd79fbf25d8ad55088e95e632c02aede86bbb) Change-Id: Ie7597f1dbd11d1d23ae658167d4ff04cf55198c3 Reviewed-on: http://git-master/r/62571 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Re42a7cd9fca598fa09178ba958ca975748c3068a
2011-11-30gcov-kernel: Add GCOV_KERNEL := y to MakefilesJuha Tukkinen
These changes have no effect if CONFIG_GCOV_KERNEL is not set in defconfig. It is easier to trigger GCOV for kernel if this patch is in by only setting the before mentioned flag. Change-Id: I8aade309da2da62c4b3889bd84e4123ba8f182da Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com> Reviewed-on: http://git-master/r/62999 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Rebase-Id: R4c238f707f1db600f188ae83426336753992b7be
2011-11-30misc: nct1008: idle read temperatureBitan Biswas
Check for nct1008 status busy bit before reading temperature Reviewed-on: http://git-master/r/#change,56945 (cherry picked from commit 5a258b6567797bb402fe65ae01770bd593420431) Reviewed-on: http://git-master/r/61750 (cherry picked from commit 20706ea39f7793567230faab86cbc4dcb107d1aa) Change-Id: If275f8f4449cc39c73b7d9fa4b9b610db8d0fa7b Reviewed-on: http://git-master/r/62327 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com> Rebase-Id: Rbdc6b7f88fcb59ec3928505a4446a32c13ed683b
2011-11-30arm: tegra: power: Reduced throttling hysteresisJoshua Primero
Set different hysteresis values for the EDP and throttling cases. bug 862301 (cherry picked from commit 357e8bcd3df61ff2803049e38e8a99dfbcaee99b) Change-Id: I6cb3ea9bf7f9e288e2b1481862b8aee214ca853f Reviewed-on: http://git-master/r/62569 Reviewed-by: Joshua Primero <jprimero@nvidia.com> Tested-by: Joshua Primero <jprimero@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Rfd9c2c7990606c4ed0a10f534a15d2d589327d53
2011-11-30misc: nct1008: debugfs changeBitan Biswas
debugfs API usage corrected to return dentry type. - nct1008 register dump message modified based on review comments Reviewed-on: http://git-master/r/60711 (cherry picked from commit 7d06b1a5fd610dcc0f7d4389ab35f4f2991eeb09) Change-Id: If012b03b055724bceec65efa9367248623a6c61f Reviewed-on: http://git-master/r/62068 Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R490ece304bf77178de2d703f6ad30e29b131634f
2011-11-30misc: nct1008: extended range enable sequence changeBitan Biswas
Extended range mode enable sequence for nct1008 updated as per recommended steps bug 869823 Reviewed-on: http://git-master/r/57552 (cherry picked from commit 75c6f5173cd4cfa3b0cf114cbbbf6ac1e355a09b) Reviewed-on: http://git-master/r/58328 (cherry picked from commit 9f2c9004b4f30f9297ef3a7aa8def8a8000934b7) Change-Id: Ic339d322450187f0ad417030d5da717fa5020592 Reviewed-on: http://git-master/r/59150 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Re46ba9dba83b3e12d6341f9afc913514a9a1031a
2011-11-30misc: nct1008: debugfs support for reg dumpBitan Biswas
Debugfs support added in nct1008 driver to enable register dump. Reviewed-on: http://git-master/r/51856 (cherry picked from commit 4e7b8c8e1a7a43e4d745289fc9f20a11556eca96) Reviewed-on: http://git-master/r/54992 (cherry picked from commit 5b512a6c63bd65375c9362057105f76a7ef97d4a) Change-Id: Icf9607b12462146e3e046cfc10c3e89424142e5f Reviewed-on: http://git-master/r/58598 Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Rebase-Id: R95221409d54694937ef226f01572b58c009a8361
2011-11-30mpu3050: Motion Libraries: Eliminate long latencies during boot.Robert Collins
Bug 843573 Change-Id: Ib4422a7a836c14b0f84c0ae069faf6ba0664e784 Reviewed-on: http://git-master/r/56042 (cherry picked from commit cf9063c34b6fb4d50cb9c4cd57e579f3d993c228) Reviewed-on: http://git-master/r/56043 Reviewed-by: Robert Collins <rcollins@nvidia.com> Tested-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R7e449d759d37b3873b468def5ffa6dbdbf1d024e
2011-11-30misc: nct1008: driver clean upBitan Biswas
nct1008 driver has been changed as follows: 1. debugfs create file error check corrected. 2. pr_err usage replaced with dev_err calls Reviewed-on: http://git-master/r/56651 (cherry picked from commit 5b6c784d9caf4e0551361b3601711fc9641a4dba) Reviewed-on: http://git-master/r/57358 (cherry picked from commit eadf4dae6c4e2cd1e4daa618f69605683faaa540) Change-Id: Ib2f914822691ac7d03bb1b2235544aff5e7abee3 Reviewed-on: http://git-master/r/57876 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Joshua Primero <jprimero@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: Rbab698ab6544b8e275c19e51049d9f7ec586e471
2011-11-30misc: nct1008: error handling changeBitan Biswas
Error handling in the driver was not correctly done earlier. Changes done are as follows: - error returned stored in int data type instead of u8 or s8 - few places error was not checked, added the checks needed. Reviewed-on: http://git-master/r/51855 (cherry picked from commit c8e014fa9d8a7cad2d78d91fad8fe056b4ea0714) Reviewed-on: http://git-master/r/54990 (cherry picked from commit 8f9f4a8e72998fef8bea9aa00e9ac136920f8dc0) Change-Id: Id6da54e8d6d39d47962fa8e74ac91934788267fa Reviewed-on: http://git-master/r/57365 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Rebase-Id: R2fd8ef10485da58395e352974384e3f20e913d38
2011-11-30misc: nct1008: fixing regulator handlingvenu byravarasu
Corrected regulator handling of NCT1008 bug 869217 Reviewed-on: http://git-master/r/51296 (cherry picked from commit 6b39c9f51b3c09c6aa0b1cd7e7a3fdb122200d14) Change-Id: Ibae0c651322e9191942a1be8f544916f7333d967 Reviewed-on: http://git-master/r/54224 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R942722fef526eda21b1296ecefb17b08f29ad44f
2011-11-30misc: nct1008: allow to program fractional offsetsDiwakar Tundlam
to adjust for sku specific guardbanding of temperatures bug 844025 Original-Change-Id: I1193eae50736ae3dbf3ce0a26653e01962c21c8d Reviewed-on: http://git-master/r/49316 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: Rc6f03d281542bff48b2d41ff29cd0c90d2ad65c3
2011-11-30misc: nct1008: sub-zero temperature supportBitan Biswas
Added support for sub-zero temperatures Original-Change-Id: Id35590ee4d058f35625088089623cc063f9a711a Reviewed-on: http://git-master/r/48690 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: Rf705a1b4f3c246029abc55570f26e876ae3bfaa9
2011-11-30drivers: misc: mpu: do not register pm_notifierMayuresh Kulkarni
this is causing timing issues with kernel suspend/resume sequence causing late_resume failure. thus display does not come-up since none of the late_resume handlers are executed. fix for bug 858630 Original-Change-Id: Ia622c03891daf794f73bdfcb6a2dcbf2c6653879 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/45847 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Robert R Collins <rcollins@nvidia.com> Rebase-Id: R26bf4bf2aadcdc57cd01611ff8ee59318a45571d
2011-11-30Arm: Tegra: Power: Set throttling ext-sensor temp correctlyDiwakar Tundlam
Bug ID: 844882 - Set throttling temperature in ext temp sensor nct1008 for cardhu to 75C - Fix bug in nct1008 temp sensor driver in disable throttling logic Original-Change-Id: I2ed8aab63186f16c554ca459e71f3437119bd4e6 Reviewed-on: http://git-master/r/42707 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Rebase-Id: Rf31aea08df5ebd2d2895cc40f9d8c591f6a0fae8
2011-11-30misc: nct1008: extended mode first reading fixBitan Biswas
nct1008 first temperature reading in extended mode is incorrect. A valid temperature is available in next measurement cycle after changing temperature range. - using table with delay expected for supported conversion rate of nct1008. bug 852754 Original-Change-Id: Id68cbf6a83fe2a11ae2a6d94f0df51a3ebd37ac7 Reviewed-on: http://git-master/r/41506 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R9fc8a721f1b25372324f7e38c3c477b9769d51bf
2011-11-30misc: nct1008: ext-temperature sysfs fixBitan Biswas
In extended temperature range ext-temperature reported was incorrect. Fixing this. bug 850512 Original-Change-Id: I45b8e3630cad3ca5f78960c16402b77e9bc25cc9 Reviewed-on: http://git-master/r/41261 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: R1ac2c365793129d20c76eace2ea2723d0c178a70
2011-11-30misc: tegra-crypto: enable prints for some errorsVarun Wadekar
Original-Change-Id: I2effe3ad6454965a4f48c4185c325ad3355c3661 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/41011 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R67b8963788605425c044e68b082ecb1d622d7b33