summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2014-01-16usb: otg: tegra: add support for OTG Y-cabledaily-2014.02.03.0_rel-roth-r3-partnerRakesh Bodla
Below changes are made to support Y-cable (i) Bring vbus control into OTG driver if port is OTG. (ii) Detect Y-cable. (iii) Add vbus_bat_chg charging regulator. Bug 1375608 Change-Id: I41bab08ebce15d3f356c624de0b62ff8e4cc4a28 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/336278 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-on: http://git-master/r/356813 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2014-01-14tegra: dc: enable CMU for secondary display.Markus Hiienkari
Enable CMU for secondary display as default. If DC type is HDMI, use sRGB-to-sRGB (limited range) conversion configuration. Bug 1162082 Bug 1162069 Bug 1407045 Change-Id: Ibb75ae0522fcf3aca6cffd3cfd747dfe5c6038bd Signed-off-by: Markus Hiienkari <mhiienkari@nvidia.com> Reviewed-on: http://git-master/r/337981 Reviewed-on: http://git-master/r/353697 Tested-by: Sanjay Singh Chauhan <schauhan@nvidia.com> Reviewed-by: Thomas J. Meier <tmeier@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Michael I Gold <gold@nvidia.com> Reviewed-by: Xuezhou Ma <xuezhoum@nvidia.com>
2014-01-14tegra: dc: fix HDMI CMU enable.Markus Hiienkari
Initialize HDMI CMU with same parameters as in DC init when enabling it subsequently. Bug 1162082 Bug 1407045 Change-Id: I25a7cfb75a43c49487a2a3ec7569aa89727dd4ab Signed-off-by: Markus Hiienkari <mhiienkari@nvidia.com> Reviewed-on: http://git-master/r/337980 Reviewed-on: http://git-master/r/353695 Tested-by: Sanjay Singh Chauhan <schauhan@nvidia.com> Reviewed-by: Thomas J. Meier <tmeier@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Michael I Gold <gold@nvidia.com> Reviewed-by: Xuezhou Ma <xuezhoum@nvidia.com>
2013-11-15video: tegra: host: disable gr2d power gate.daily-2013.12.26.0_rel-roth-r3-partnerdaily-2013.12.03.0_rel-roth-r3-partnerAnkita Garg
Bug 1300659 Change-Id: I7e18c696ad2616b1696312c1244f52d44b250d85 Signed-off-by: Ankita Garg <ankitag@nvidia.com> Reviewed-on: http://git-master/r/326830 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-11-15i2c: tegra: Add debug prints for i2c timed out caseChaitanya Bandi
Added debug prints for i2c timed out case to help debug. Change-Id: Ib0696b8237b90cd511ac224a476dede8fae60ceb Signed-off-by: Chaitanya Bandi <bandik@nvidia.com> Reviewed-on: http://git-master/r/266050 (cherry picked from commit 3758f5013e3b9049bb0c6c8e58a60f017a825b28) Reviewed-on: http://git-master/r/330873 GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-11-08video: tegra: host: remove epp clock from ispDaehyoung Ko
to remove epp from the isp channel's clock list in order to get rid of conflict for epp clock between 2d and isp bug 1331777 bug 1322046 Change-Id: I5625aae7b693b00668d97839c0ae5cf21bf8f460 Signed-off-by: Daehyoung Ko <dko@nvidia.com> (cherry picked from commit 8e0ad7134904c27c27fa2dd68f7aaedb8797a94f) Reviewed-on: http://git-master/r/323822 Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com> Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>
2013-11-08USB: ehci: tegra: destroy mutex when driver removeSuresh Mangipudi
mutex_destroy to be called when the driver is removed. BUG 1401358 Change-Id: Idb6703c01c41d241d8bdb67ca19c80a78c52b513 Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-on: http://git-master/r/327454 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2013-11-07misc: tegra-profiler: send mapped memory regionsIgor Nabirushkin
Tegra Profiler: send information about mapped memory regions (on demand). Bug 1394970 Change-Id: Idf9a3c5d2d9fac0fd622f99bd226632c810a8ab6 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/309778 (cherry picked from commit 1a4a86d3faf8cd9a38cf80ed06f6a760264638be) Reviewed-on: http://git-master/r/326028 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-11-07misc: tegra-profiler: backtraces from the kernel contextIgor Nabirushkin
Tegra Profiler: collect backtraces from the kernel context Bug 1394804 Change-Id: I1db7435c9e1fc753dd8c02252076287572f5f5af Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/309768 (cherry picked from commit b5c40f131509f89609283a645f6e9d0b4abed365) Reviewed-on: http://git-master/r/326027 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-11-07misc: tegra-profiler: backtracing for Thumb codeIgor Nabirushkin
Tegra Profiler: add backtracing for Thumb code Bug 1387645 Change-Id: I43b6be4e14aa88d23a974a0cf7fa8d6bfbbb109f Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/309641 (cherry picked from commit 304e8f9f52bb2defd33640741bc639dd4375f1b0) Reviewed-on: http://git-master/r/326026 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-11-07misc: tegra-profiler: add /proc/quadd/statusIgor Nabirushkin
Add /proc/quadd/status It allows users to see current status of the Tegra Profiler. Bug 1374376 Change-Id: I70d548c47bc80f6a12e3637f0af38fe74403de2d Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/309638 (cherry picked from commit 895113159ac3fa814b3261446faa64d480c4f309) Reviewed-on: http://git-master/r/326021 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-11-07misc: tegra-profiler: add thumb flag into samplesIgor Nabirushkin
Tegra Profiler misc driver: thumb mode flag was added into samples Bug 1374335 Change-Id: If1a6b7e57071f6c9d645bc790e24cd1e3e405b6f Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/309637 (cherry picked from commit fb840196820effd627abe7779907db1e7db60101) Reviewed-on: http://git-master/r/326020 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-11-07misc: tegra-profiler: add poll supportIgor Nabirushkin
Tegra Profiler misc driver: add poll support Bug 1374312 Change-Id: Id0844b3b329f348763f22b831fc73ac64f04fd9b Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/309634 (cherry picked from commit d8e347f4e5636fd6face6fae3db572d64d6727f0) Reviewed-on: http://git-master/r/325990 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-11-07misc: tegra-profiler: send buffer fill countIgor Nabirushkin
Tegra Profiler misc driver: transmit the maximum buffer occupancy to the user space. Bug 1374266 Change-Id: Id078083a5493552c1f3bb697a1d3e4a5504e3f82 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/309633 (cherry picked from commit 757f16d5b83328d984feb3f37ebe6790fb42d15d) Reviewed-on: http://git-master/r/325975 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-11-06staging: ozwpan: Update to latest drop from ATMEL.Todd Poynter
Update the ozwpan driver to the latest drop from ATMEL. Bug 1394137. Change-Id: I9069c974cb665a8be68d43536f57c3b717b570a6 Signed-off-by: Todd Poynter <tpoynter@nvidia.com> Reviewed-on: http://git-master/r/304456 GVS: Gerrit_Virtual_Submit Reviewed-by: Mitch Luban <mluban@nvidia.com> Reviewed-by: Toby Butzon <tbutzon@nvidia.com>
2013-11-01Revert "Revert "mmc: Set suspend/resume bus operations if CONFIG_PM_RUNTIME ↵Pavan Kunapuli
is used"" This reverts commit 866353859bcd3328dd0be84e0f0ed6d1ba834772. Moving back suspend and resume to dev_pm_ops to ensure that bus suspend is done before device suspend and bus resume is done after device resume. Without bus suspend and resume, there is a chance of some requests being scheduled after device suspend or before device resume is done. Bug 1381236 Bug 1390987 Change-Id: I842b1e042982f8ac0547936800bbc996643c7d34 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/309911 Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-10-24thermal: pwm_fan: toggle gpio in suspend/resumeAnshul Jain
On suspend, this change sets the gpio high. On suspend: free pwm request gpio set gpio high On resume: free gpio request pwm set pwm Bug 1388303 Change-Id: I6905e4217dd170801d84ec98713067e5c2a53abf Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/302442 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-10-17misc: nct1008: Temperature bound checkAnshul Jain
This change does bound checking of temperature reads from NCT device, this is done to return error when NCT is not ready and TF tries to read temperture. Bug 1388303 Change-Id: I642ecb46feb39469c0b3b33ea513604c7ff4a893 Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/300670 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-10-17thermal: pwm-fan: lock during sysfs writesAnshul Jain
This change locks the whole sysfs function to ensure atomicity. Also, more logs are added for better visibility during suspend and resume. Bug 1388303 Change-Id: Iadf8bdc4309575ec42a1946ecfb28eb7654440e3 Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/299756 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-10-17misc: therm_fan_est: Fix for suspend/resume raceAnshul Jain
Now trip index will be nullified after cancelling the work. Bug 1388303 Change-Id: Icda3e232e98b4f504c1bebcd340b49749d1ebbc3 Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/299755 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-10-17misc: nct1008: Suspend LockAnshul Jain
Suspend lock is required to serialize suspend/resume, get_temp from thermal framework and work queue. Bug 1388303 Change-Id: Ib3e8873e3d2560aacd74ba02c726ec9fdc73e660 Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/299754 Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-10-17misc: bluedroid_pm: check BT TX and RX status before wake_lock releaseNagarjuna Kristam
bluedroid stack, updates only TX busy status through proc interface. When BT HID/PAN-U connection are active, high probability of data is RX only and no activity on Tx path. So, dis-allow suspend when either of BT TX or BT RX is active. Bug 1381466 Change-Id: Ib174b7d95d173c34e41ce393f93fda5fa204f217 Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: http://git-master/r/299894 GVS: Gerrit_Virtual_Submit Tested-by: Todd Poynter <tpoynter@nvidia.com> Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
2013-10-15input: touch: radyium: avoid deadlockXiaohui Tao
Fix potential deadlock in driver Raydium drop does not fix the problem. We need to have this temporary fix to solve the problem. Bug 1384590 Change-Id: Ifcb56ba5db34b42af0b4d441659d7a5fdd869943 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/289969 Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
2013-10-15Revert "video: tegra: dc: check ext enabled before flip"Ankita Garg
This reverts commit 047024eda0ce5f88ccb402ec02b6d85cae3e208b. Bug 1386004 Change-Id: I7cde647f89f65a4b112c6c76a3b16d610fc03469 Signed-off-by: Ankita Garg <ankitag@nvidia.com> Reviewed-on: http://git-master/r/299639 Tested-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
2013-10-15input: touch: raydium: import for service busyXiaohui Tao
Limit the number of service busy printks inside touch driver for power saving purposes from v60.0 to v56.2. Bug 1288488 Change-Id: I66d4fad29b90cf5eddcbb9f068596378d24ae925 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/299024 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
2013-10-10misc: tegra-profiler: kprobes is no longer usedIgor Nabirushkin
Tegra Profiler: kprobes is no longer used Use callbacks from the scheduler instead of kprobes Bug 1343930 Change-Id: I67589dbe972cc5c853addfb6ed82c488529eed55 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/281941 Reviewed-by: Daniel Horowitz <dhorowitz@nvidia.com> Reviewed-by: Eric Miao <emiao@nvidia.com> Tested-by: Eric Miao <emiao@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2013-10-10input: touch: raydium: release mutex in errorXiaohui Tao
The mutex needs to be released when there is an error inside the rm_tch_ts_send_signal. Bug 1384590 Change-Id: I269f1087724726c00eb31c8481dee3af577a2985 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/282913 Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Ankit Pashiney <apashiney@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-10-10input: misc: inv: prevent IRQ revivalSang-Hun Lee
Problem description: - nvi_work_function may revive IRQ which was disabled during suspend and shutdown Fix description: - Add a flag stop_workqueue which is set during suspend and shutdown - If the flag is set, make workqueue not revive the IRQ Bug 1361923 Change-Id: I498091602ef9c43b75c0a17d7fe0837624271959 Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-on: http://git-master/r/284347 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-10-09input: misc: inv: fix race in shutdown and suspendSang-Hun Lee
Problem description: - Write to shutdown flag is not mutex protected - nvi_work_func may be scheduled after shutdown or suspend - kfifo is being freed for shutdown, which could corrupt memory if there is a further access to kfifo by nvi_pm_exit and its function calls Fix description: - Encapsulate write to shutdown flag with a mutex, to ensure readers get valid information - Wait for nvi_work_func to complete during shutdown and suspend - Free kfifo only during remove Bug 1361923 Change-Id: I64dabfb21a289354e7f7c58ac408dc48bcff9267 Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-on: http://git-master/r/283813 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-10-07input: misc: inv: reset gyro on an interrupt stormSang-Hun Lee
Problem description: - Sometimes gyro sends more interrupts than the system could handle - This locks up the system for a long time if the system is locked up at a low power cluster Fix description: - If gyro sends more interrupts than the specification, disable interrupt and schedule a power cycle of gyro Bug 1311053 Change-Id: Ib6a3eb2991702a4ca41657cfc57179e16ebcd11d Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-on: http://git-master/r/280083 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-10-07input: misc: Fix self-testErik Lilliebjerg
- Fix self-test HW restore after test. - Fix register write failures due to PM cycle mode. Bug 1327608 Bug 1313284 Bug 1311053 Bug 1315609 Change-Id: I9b9fb1afc8b9a10309e0224e56813bc9e400598c Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/255171 (cherry picked from commit 029e3a6a8053e128c93b6bfc3850b74d5577ca66) Reviewed-on: http://git-master/r/280082 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-10-07input: misc: sensor driversErik Lilliebjerg
- reduce suspend time for compass and pressure - fix MPU possible interrupt storm - fix MPU sample frequency overrun - fix MPU 9250 support for sw_rev > 2 HW - add BMP280 support to BMP180 pressure driver - optimize MPU FIFO timestamp algorithm - add compass self-test - add data interface Bug 1313284 Bug 1311053 Bug 1295128 Bug 1256470 Bug 1236893 Change-Id: I4ffa906c07ed1d07ad3b89aea9eb83fb153b765d Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/246132 (cherry picked from commit 8cdf5b9ccfb47477229bf2cbb37f5132e81ad39e) Reviewed-on: http://git-master/r/248192 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-10-07video: tegra: dc: WAR of SHIFT_CLK_DIV update.Kevin Huang
Bug 1225291 Bug 1161019 Bug 1363029 Change-Id: I699e64a1f6464eeddae5275a55cd2b285badc698 Signed-off-by: Kevin Huang <kevinh@nvidia.com> Reviewed-on: http://git-master/r/195272 Reviewed-on: http://git-master/r/281537 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Rakesh Iyer <riyer@nvidia.com>
2013-10-07input: misc: mpu: Check suspend status before i2cXiaohui Tao
During suspend/resume period, it is possible that the i2c transfer still occurs after the power to the chip has already been cut. Add shutdown to regulator control in order to avoid timeout when anyone tries to send anything through the i2c bus when the chip has been removed power. Bug 1361923 Change-Id: I1cd37b56a7572955e1e8c29034d04c00c9c81e18 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/281110 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Ankit Pashiney <apashiney@nvidia.com> Tested-by: Robert Collins <rcollins@nvidia.com>
2013-10-04tegra: dc: hdmi: allow LP0 wakeup by hotplug GPIOAlexandre Courbot
Introduce a new TEGRA_DC_OUT_HOTPLUG_WAKE_LP0 flag which can be specified for DC controllers for which we want the HDMI hotplug GPIO to serve as a LP0 wake source. Bug 1345127 Change-Id: I9193be6ada4b0eca1c074c4b9a5888e3b0e49150 Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-on: http://git-master/r/266365 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Aaron Gamble <jgamble@nvidia.com> Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/281798 Reviewed-by: Todd Poynter <tpoynter@nvidia.com> Tested-by: Todd Poynter <tpoynter@nvidia.com> Reviewed-by: Kevin Bruckert <kbruckert@nvidia.com>
2013-10-01bcmdhd: Define miracast modes 3 & 4Srinivas
Improve QoS for Grid2shield stream by turning off AMPDU aggregation on 11n AP's Mode 3 - disable AMPDU for all CS's Mode 4 - re-enable AMPDU except CS 5 & 7 Driver command MAXLINKSPEED added to distinguish 11n and non-11n AP's Bug 1375583 Change-Id: I36a6b2426ea53696fac54681fda38f91eabc8956 Signed-off-by: Srinivas <srinivasra@nvidia.com> Reviewed-on: http://git-master/r/279441 Reviewed-by: Steve Lin <stlin@nvidia.com> Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-30misc: issp: add lock for usb reset operationJun Yan
usb reset operation should be in critical region. Add mutex lock to prevent two WARs resetting the USB together. Bug 1364476 Change-Id: I4c17a61a594cad496f5444e919cf101f8098da25 Signed-off-by: Jun Yan <juyan@nvidia.com> Reviewed-on: http://git-master/r/278072 Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com> Tested-by: Anshul Jain (SW) <anshulj@nvidia.com> Reviewed-on: http://git-master/r/279102 Reviewed-by: Automatic_Commit_Validation_User
2013-09-30misc: issp: hold wake lock while resetAnshul Jain
Hold wakelock to prevent system goto LP0 again. Bug 1364476 Signed-off-by: Anshul Jain <anshulj@nvidia.com> Change-Id: Id38d6dfaf6ed06a36a019d942786e09e89556875 Reviewed-on: http://git-master/r/276000 Reviewed-on: http://git-master/r/279101 Reviewed-by: Jun Yan <juyan@nvidia.com> Tested-by: Jun Yan <juyan@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-09-30misc: issp: add sysfs node to control issp pinsJun Yan
issp_reset: toggle issp reset pin. issp_usbreset: reload usb driver and toggle issp reset pin issp_data: read and write the state of issp_data pin issp_clk: read and write the state of issp_clk pin Bug 1364476 Change-Id: I3b470f0745ed002b16bdc71f661e0d18629f796f Signed-off-by: Jun Yan <juyan@nvidia.com> Reviewed-on: http://git-master/r/259787 Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com> Tested-by: Anshul Jain (SW) <anshulj@nvidia.com> Reviewed-on: http://git-master/r/279099 Reviewed-by: Automatic_Commit_Validation_User
2013-09-30power: bq2419x: Remove wdt reset printAnshul Jain
Change-Id: I1f8d19add271531bf6489e076da847582fd952f5 Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/275442 Reviewed-on: http://git-master/r/279100 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jun Yan <juyan@nvidia.com> Tested-by: Jun Yan <juyan@nvidia.com>
2013-09-26usb: gadget: tegra: Reduce CPU boost trigger sizeRakesh Bodla
Decrease the CPU frequency boosting trigger size. Bug 1343869 Change-Id: Ice4584196c053f06f58ca662dd7a4f67a7c57ab3 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/278169 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2013-09-24hid: hid-input: decrease hid joystick fuzz valueJun Yan
Decrease hid fuzz value to range/1024 to enable better joystick axis granularity on Linux/Android. Bug 1358167 Change-Id: Ib8713bdbe1f1edaa0e963d8472afbe30b6afe909 Signed-off-by: Jun Yan <juyan@nvidia.com> Reviewed-on: http://git-master/r/276540 Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-09-20video: tegra: dc: check ext enabled before flipSpencer Sutterlin
Bug 1346021 Change-Id: Id7d8050d33b861da555969dd77674e49b40e159a Signed-off-by: Spencer Sutterlin <ssutterlin@nvidia.com> Reviewed-on: http://git-master/r/274563 (cherry picked from commit 3d9bda712bd8c449c54506f55f45103758b0d00e) Reviewed-on: http://git-master/r/274073 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
2013-09-19power: bq2419x: Fix charger type status updatePradeep Goudagunta
We update charger type as AC even if the charging current is less than 500mA. Bug 1357573 Change-Id: I636eaaa13a2529b1d1d90559d4e634feb6771866 Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-on: http://git-master/r/275076 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2013-09-19misc: tegra-profiler: remove excess callchainsIgor Nabirushkin
Tegra Profiler: improve performance by removing unnecessary callchains Bug 1364258 Change-Id: Ib2b196660fbaecb9d11af65102145727aa22d110 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/272093 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-19misc: tegra-profiler: add /proc entriesIgor Nabirushkin
Tegra Profiler: show version and capabilities: /proc/quadd/version /proc/quadd/capabilities Bug 1364258 Bug 1312406 Change-Id: I08f549557a872e719dcca5f9ef4ec05a7ae01296 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/272090 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-19misc: tegra-profiler: fix incorrect namesIgor Nabirushkin
Tegra Profiler: fix incorrect names of modules. mmap buffers are created for each core Bug 1364251 Bug 1312406 Change-Id: I09e9c9c09e77ab480f53e9b1601554677b2d20e0 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/272089 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Maxim Morin <mmorin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-18input: misc: mpu: change self test criteriaXiaohui Tao
1) Increasing the at rest (Test #3) Threshold from 10dps to 40dps Invensense claims this was a programming error from their side and was updated in their code base over a year ago. They say all their customers are using (or should be) using the new code (with the relaxed threshold). 2) Increasing the ST compare (Test #1) Threshold from 14% to 50% Their response was 14% was set based on their factory results. However, over time, they had several customer investigations and found that their customer environments are a lot nosier than their factory. Based on more collected samples from the customer site, they increased this limit from 14% to 50%. They claim a major tablet manufacturer with 100.s of thousands of units has taken the new 50% threshold over a year ago and currently no reported test escapes with the new threshold. Bug 1343976 Change-Id: I684f186134db3717d4d1304c14f97dd310843cab Reviewed-on: http://git-master/r/263972 (cherry picked from commit 949749fdd3be199823c188a8993016bd63ab12e6) Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/266164 (cherry picked from commit a1f9ad5ac420618535d8206874b1de8d475dd0cb) Reviewed-on: http://git-master/r/273320 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-09-16mmc: tegra: 1.39V Tuning during device enumerationPavan Kunapuli
Tuning at 1.39V to find a valid tap value that works at all core voltages. Boosting emc clock to 900MHz before setting 1.39V and releasing the frequency after 1.39V setting is removed. Bug 1331018 Reviewed-on: http://git-master/r/252471 (cherry picked from commit 25efc183d9f57431c379fecce0e2cc541b0fbc93) Change-Id: Icbf009a90ba9d0bd88a5991aab2fad8f1783b823 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Change-Id: I512a29e94cb935c12a8e705da1d4478c640c9529 Reviewed-on: http://git-master/r/274994 GVS: Gerrit_Virtual_Submit Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-09-16mmc: tegra: Sysfs for changing tap valueNaveen Kumar Arepalli
Sysfs for changing tap value for wifi Reviewed-on: http://git-master/r/250897 (cherry picked from commit 6028c371506333406df500da2af53b1c52f454da) Change-Id: I08e0971c562cf1e491373173d5b3b7e5af1da6ba Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Reviewed-on: http://git-master/r/250724 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>