summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-12ARM: tegra: clock: Update emc monitor preset mechanismAlex Frid
- Allowed per-SoC code to select emc monitor preset rate. For now, rounded down boot rate is used as monitor preset rate (round down to not over-clock on boot). - Skipped emc clock update when monitor preset rate is set, but not yet enabled (to avoid temporary dip in EMC rate). EMC rate is updated only when monitor preset is enabled. - Preset EMC monitor rate after iso usage table is initialized. Signed-off-by: Alex Frid <afrid@nvidia.com> Change-Id: I2b724df9dc95231d6a5760171aa18bd10bdb409a Reviewed-on: http://git-master/r/250525 (cherry picked from commit 0a3c757d15fc8360ba54e123907dbb4dd46c8d22) Reviewed-on: http://git-master/r/253677 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: clock: Preset EMC monitor rateAlex Frid
Use EMC boot rate as EMC monitor output reading during initialization until actual monitoring starts. Bug 1239168 Change-Id: I64d397623eeafe459769db106d0bfe80223f654f Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250524 (cherry picked from commit 157a08636241aeb0886807190ab7d83b7e226c7b) Reviewed-on: http://git-master/r/253676 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra: clock: Record boot rates for all clocksAlex Frid
Change-Id: Iea43edd693d1489aa87eff893a1cfcfca1379552 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250523 (cherry picked from commit 42ce0d9e5770de7452f487493d033fece17bce88) Reviewed-on: http://git-master/r/253675 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: clock: Add cbus fine granularity regionAlex Frid
Added fine granularity region to cbus possible rates. In this region requested cbus rate is not clipped to dvfs steps, but rounded to fine granularity resolution. The latter is set as 12MHz, and the region is defined as 5 resolution steps below the top dvfs rate, assuming this top rate is reachable on the particular chip bin/sku. Change-Id: If1096ae068367819e64c55172c1a1c0a46c38b86 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250033 (cherry picked from commit 0c7b83bffdf79615bf15301f8643ac1dfabdefd9) Reviewed-on: http://git-master/r/253673 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: dvfs: Update T40T tables and limitsAlex Frid
Updated dvfs and edp tables, clock and voltage limits for T40T part. Change-Id: Ic256a6f3aa8026c96443ecc33204309275fcbe2e Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250032 (cherry picked from commit d4add7fa3c1f5d26cb3a39e3431ca7c3fdb849e4) Reviewed-on: http://git-master/r/253672 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: power: Add T40T core edp tablesAlex Frid
Change-Id: Id5c2163224cdb1c862ef708e0790d99e4f04775e Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250031 (cherry picked from commit 8c0649dc948f198068cce0086210309761194f82) Reviewed-on: http://git-master/r/253671 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra11: dvfs: Don't throttle T40T nominal voltageAlex Frid
On T40T parts removed throttling of nominal voltage by boot core edp. Used the latter to specify detached mode (boot, disable, suspend) limits. Change-Id: Ifa846ec8c7cb79df91b80cc81ffdef0f02a45372 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250030 (cherry picked from commit 08f29bd004f440272fdf75bf198638e9aceb8424) Reviewed-on: http://git-master/r/253670 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-12ARM: tegra: dvfs: Decouple nominal and detached voltagesAlex Frid
DVFS rail nominal voltage is minimum voltage required to run all associated clocks at maximum allowed rates. DVFS rail can be detached from clocks during initial boot, on suspend entry/exit, or when voltage scaling is disabled. So far, rail voltage in any detached mode was set to nominal level. This commit introduced separate voltages for each detached mode. If any of these levels is not specified, backward compatible nominal voltage is used. Since, suspend voltage may now be different from nominal (below), it is important for dvfs to suspend after suspend edp rate caps are set, and resume before edp. Hence, priorities of dvfs suspend notifiers were adjusted accordingly. Change-Id: Id05e0b16f24dc7d28b1ee9e87afd63d98a9ab86e Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/250029 (cherry picked from commit 57d1ea085f098f43db40a9484e5f9d13ec49a45b) Reviewed-on: http://git-master/r/253648 Tested-by: Shaoming Feng <shaomingf@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-10netfilter: xt_qtaguid: Allow tracking loopbackJP Abgrall
In the past it would always ignore interfaces with loopback addresses. Now we just treat them like any other. This also helps with writing tests that check for the presence of the qtaguid module. Bug 1343922 Change-Id: I55d31277056d24172d22d32ad26c47dc8c55250a Signed-off-by: JP Abgrall <jpa@google.com> Reviewed-on: http://git-master/r/270087 Reviewed-by: Bibhay Ranjan <bibhayr@nvidia.com> Tested-by: Bibhay Ranjan <bibhayr@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-04driver: led: Avoid calling pwm_disable and pwm_enableJun Yan
These two routines use semaphore to protect pwm resource. However they can be called via led timer ISR, thus causing linux BUG. Remove the call to these two functions and use pwm_config instead Bug 1333079 Change-Id: I6db788218f74c030956272ee0fcb9c7ec8a0652f Signed-off-by: Jun Yan <juyan@nvidia.com> Reviewed-on: http://git-master/r/253619 Reviewed-by: Tao Xie <txie@nvidia.com> Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com> (cherry picked from commit 65c8a35800bcd61ee5287a4c723380cae7a1d105) Reviewed-on: http://git-master/r/269659
2013-08-29misc: tegra-profiler: Do not expose kernel IPsIgor Nabirushkin
In Tegra Profiler misc driver, do not expose kernel-space IPs for security purposes (for non-root users). Bug 1312406 Bug 1349673 Change-Id: I2934c3d92fb9aa88b397bf468bc69fbffc065a90 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/263688 GVS: Gerrit_Virtual_Submit Reviewed-by: Daniel Horowitz <dhorowitz@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com>
2013-08-26crypto: tegra-se:Correct RSA context save sequenceShravani Dingari
While saving LP0 context, save RSA modulus first and then RSA exponent Bug 1346862 Change-Id: I1865ca0b810bc622e9e7f205aa90ad0e05913620 Signed-off-by: Shravani Dingari <shravanid@nvidia.com> Reviewed-on: http://git-master/r/265321 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2013-08-22audio:Remove i2s enable/disable for tfa powerdown.Vinod Subbarayalu
Bug: 1333902 Change-Id: I201720cd976fa61a51a793c8d67be6bf304e7b76 Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> Reviewed-on: http://git-master/r/264482 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-08-21tegra11: config: enable selinux to permissive modeJames Zhao
- Enable SELinux for JB MR2 - Set config option AUDIT, EXT4_FS_SECURITY for SELinux dependency Change-Id: I03a218ca421cc3337a82aca99e6c784732e6e650 Signed-off-by: James Zhao <jamesz@nvidia.com> Reviewed-on: http://git-master/r/257184 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
2013-08-14audio:Support Tfa9887 at different samplerateVinod Subbarayalu
Configure Tfa9887 at 16k for voip+nvoice usecase. Add missing copyright info. Change-Id: I080e874510255f1b2a4bf7d8045ef8fa6e2faadc Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> Reviewed-on: http://git-master/r/257042 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
2013-08-12misc: tegra-profiler: fix backtracingIgor Nabirushkin
check_vma_address function: sometimes (rarely): address value may be overflowed. Bug 1312406 Change-Id: Ibf268000dfcba4046c499f734c368a0854d0f942 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/258236 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bo Yan <byan@nvidia.com> Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com> Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
2013-08-12misc: tegra-profiler: allocate memory on demandIgor Nabirushkin
Tegra Profiler misc driver: allocate memory on demand from the user space, not on boot. Bug 1312406 Change-Id: Idc5e8365e38b7faca236e011d9e665f53ac992e6 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/256309 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com> Tested-by: Andrey Trachenko <atrachenko@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com>
2013-08-07net: wireless: bcmdhd: Ensure OOB interrupt is registeredMichael Hsu
Ensure OOB interrupt is always registered when bus is active. Fixes this bug: If there was an SDIO error during the initial firmware download, the OOB interrupt will not get registered. Then, on subsequent device resets, the code for registering OOB interrupt did not get called again - causing a persistent wifi failure. Bug 1327983 Change-Id: Ie0bca0a1ae757074140cc78e9b7c44175eec8581 Signed-off-by: Michael Hsu <mhsu@nvidia.com> Reviewed-on: http://git-master/r/253016 (cherry picked from commit c3602b567c7c15b0a78bf2a7ba63adc45fa786c5) Reviewed-on: http://git-master/r/258418 Reviewed-by: Steve Lin <stlin@nvidia.com>
2013-08-02bcmdhd: adds sysfs control "idletime" at "/sys/kernel/bcmdhd/idletime"bibhayr
1.idletime can be controlled by accessing this file on the sysfs 2.read current value by "cat /sys/kernel/bcmdhd/idletime" 3.set by "echo X > /sys/kernel/bcmdhd/idletime" set idletime value to "0" before starting sd tuning. After sd tuning done, restore idletime value(currently, it is "5"). Bug 1332062 Change-Id: Ifb74ee3e30a8f2b5a064d476d6253bd085f6bda8 Signed-off-by: bibhayr <bibhayr@nvidia.com> Reviewed-on: http://git-master/r/252786 GVS: Gerrit_Virtual_Submit Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-07-31mmc: tegra: Don't skip tuning for 2nd core voltageNaveen Kumar Arepalli
Even if nominal_vcore_tun_done, override_vcore_tun_done are set don't skip tuning for 2nd core voltage. Bug 1330031 Reviewed-on: http://git-master/r/242764 (cherry picked from commit 57b7008d0ad3cfdea888416e8b1db3ebb0c7cda7) Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Change-Id: I0f2b0b755b82ecb8d584d00f5b627fb3c82f05cb Reviewed-on: http://git-master/r/254829 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-07-31mmc: tegra: full win should be 50% of partial winR Raj Kumar
Continue tuning procedure for full window calculation, for the full window size is greater or equal to 50% of partial window size, else choose partial window. Bug 1320353 Reviewed-on: http://git-master/r/250260 (cherry picked from commit c9c82cd6ae70e5bab292680f34269f09ae7b25d4) Change-Id: Ibe8e800cfcb106976bedd51e1be3b38fe3904d8f Signed-off-by: R Raj Kumar <rrajk@nvidia.com> Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Reviewed-on: http://git-master/r/254826 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-07-26ARM: tegra11: dvfs: Update CPU dvfs tablesAlex Frid
Bug 1291764 Change-Id: I92c652e9ecbec366c017ab2eda0e51b1dd42cb17 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/230033 (cherry picked from commit 8c42909312f5082d3e62f0fbc7b0556e7aed099d) Reviewed-on: http://git-master/r/242587 GVS: Gerrit_Virtual_Submit Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Tested-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-07-26ARM: tegra11: dvfs: Update DVFSMatt Wagner
Set CPU Vmin in DFLL mode 1.0V Change the tune high voltage to 1050mV Bug 1291764 Change-Id: I84a6854b0d7c85e602a6bc21d3fcb497613e5cae Signed-off-by: Matt Wagner <mwagner@nvidia.com> Reviewed-on: http://git-master/r/242586 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
2013-07-26ARM: tegra: config: set panic timeout 5 secsJean Huang
Change-Id: I342d1f1505caedabaefa0b2f0eb5dccdf5046bca Signed-off-by: Jean Huang <jeanh@nvidia.com> (cherry picked from commit 7b01f4f1251efc02b2688c60fec162462f9c3aae) Reviewed-on: http://git-master/r/246201 Reviewed-by: Harshada Kale <hkale@nvidia.com> Tested-by: Harshada Kale <hkale@nvidia.com>
2013-07-25usb: gadget: tegra: fix schedule work for non-std chargerRohith Seelaboyina
Work is scheduled to detect non-standard charger whenever can_pullup is successful. Bug 1316950 Change-Id: I8c8b7eb381d311273a77f039964601d5b2535bb2 Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com> Reviewed-on: http://git-master/r/251164 (cherry picked from commit 7d9bf6522525659f68559c077c817e0305765da7) Reviewed-on: http://git-master/r/252724 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
2013-07-25arm: tegra: thor: fix wlan-bt power sequenceMichael Hsu
Use mutexes to prevent concurrent wifi / bluetooth turn on sequence. Bug 1302412 Bug 1215325 Change-Id: Icd086b616af2f5ccbff7968d613310c365ad549a Signed-off-by: Michael Hsu <mhsu@nvidia.com> Reviewed-on: http://git-master/r/236533 (cherry picked from commit 3d4c996407fc1b98464a2e148619f4b8fb6a8de0) Reviewed-on: http://git-master/r/238184 Reviewed-by: Bibhay Ranjan <bibhayr@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: Bibhay Ranjan <bibhayr@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
2013-07-25hwmon: ina3221: ignore cpu notification when offJun Yan
When ina3221 is in suspend mode or off mode, ignore all cpu notifications Bug 1283995 Change-Id: I5c6bf66bfb401ce697b18828fbcb34ed916bfe3e Signed-off-by: Jun Yan <juyan@nvidia.com> Reviewed-on: http://git-master/r/230999 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
2013-07-24input: touch: raydium: re-enable cpu boosting codeYogish Kulkarni
NV_ENABLE_CPU_BOOST was enabled based on ENABLE_AUTO_SCAN. Raydium v55 drop removed ENABLE_AUTO_SCAN macro, that caused cpu boosting logic to be always disabled. Re-enable cpu boosting code. Bug 1306792 Change-Id: Ic4dcbaa515b1c09b46fc095fb651984e37b80785 Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com> (cherry picked from commit da13b7aa1f7464b39d4e2debe048e16f9ce33a2e) Reviewed-on: http://git-master/r/238027 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-07-12ARM: tegra: usb: Increase CPU frequency rangeRakesh Bodla
Now tegra chips cpu frequency has increased and updating the range accordingly. Bug 1216779 Change-Id: I57d530bcc5f4b8d5969ed7b5ffc21987e23809e8 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/207587 (cherry picked from commit e338bb00cb8e4b286147add38e652221b91ff73c) Reviewed-on: http://git-master/r/247769 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2013-07-10ARM: defconfigs: Enable Tegra profilerIgor Nabirushkin
Enable Tegra profiler for Tegra platforms Bug 1312406 Change-Id: If1bf645d40fec2de7ffcd17ac260deb0f8c2a4ee Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/242401 Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
2013-07-10ARM: tegra: Add Tegra ProfilerIgor Nabirushkin
Add Tegra Profiler kernel misc driver Bug 1312406 Change-Id: Ifeadff529dbc949c40f91534fa059fde2b5f76b4 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/242395 Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bo Yan <byan@nvidia.com> Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
2013-07-10ARM: kprobes: Fix kprobes buildIgor Nabirushkin
Fix incorrect changes in the arch_arm_kprobe function (commit: 3b3f4d24917c97fa75aa4fba2b09797ef94cea38) Bug 1228659 Change-Id: Iee16e3d5f6475acd9cd08060b16d015e8757a286 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/208435 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
2013-07-09arm: tegra: roth: Enable FAST init mode for smps9Anshul Jain
Bug 1315200 Change-Id: If1bfc2a17d302f10b4d5439fa5e1ba5914b2fcc5 Signed-off-by: Anshul Jain <anshulj@nvidia.com> (cherry picked from commit a85da1ba4c7249722caf3c0c75683f08cc0860e1) Reviewed-on: http://git-master/r/246316
2013-07-09drivers:misc:issp: Hold wakelock while recoveryAnshul Jain
This change takes a wakelock before stating the recovery mechanism of JS Bug 1306389 Change-Id: I0109455647988248f1e37d5a000e1e34654e40e5 Signed-off-by: Anshul Jain <anshulj@nvidia.com> (cherry picked from commit 7ead3698de496deb876fddc747221dc79e09997c) Reviewed-on: http://git-master/r/246315
2013-07-09misc: issp: Add usb js recovery mechanismAnshul Jain
This change recovery the JS uC after USB resume failure by unloading USB, resetting uC from ISSP and then reloading USB Bug 1306389 Change-Id: I086636d4b7b91e3a2874f584fa6efbfd2cae6014 Signed-off-by: Michael Hsu <mhsu@nvidia.com> Signed-off-by: Anshul Jain <anshulj@nvidia.com> (cherry picked from commit e10f9579dbd6e3d37b127995520b9dee036be199) Reviewed-on: http://git-master/r/246314
2013-07-09drivers:misc:issp: Reset Device on USB resume failAnshul Jain
This is a WAR to reset the USB device if the device fails to resume. We assume that the resume failure is because of the uC hang. Signed-off-by: Anshul Jain <anshulj@nvidia.com> Change-Id: I6fc85cd0ce2fad7a7dbff5b6ddee0a96149a5d76 (cherry picked from commit 0c87ac97b15b35b41cf333611fa81b1ff3cff04d) Reviewed-on: http://git-master/r/246313
2013-07-09video: tegra: dc: hdmi: calling tegra_hotplug_signal to queue deferred worksharath sarangpur
Call tegra_hotplug_signal to queue deferred work after a delay of 30ms and call gpio_get_value in tegra_dc_hpd bug 1310096 bug 1298680 Change-Id: Iab37af3258429b1e281705eb5b077be31b53b07f Signed-off-by: sharath sarangpur <ssarangpur@nvidia.com> Reviewed-on: http://git-master/r/241633 GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com> Reviewed-on: http://git-master/r/243635 Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-07-05net: wireless: bcmdhd: Set dpc rt thread priority to maxMohan T
Dhd dpc rt thread is getting starved on CPU load scenarios. NIC driver has to get the data in real time, So we need to set dpc rt thread priority to max. RT thread with SCHED_FIFO schedule policy priorities are in ascending order (i.e. 1 is lowest priority, 99 is highest). So setting the dhd_dpc_thread priority to 99 to avoid starvation. - Set CUSTOM_DPC_PRIO_SETTING to 99 Bug 1286848 Change-Id: Iec4a9ff8f1d8c4cf70e4c9c1ec055f1a0584a346 Signed-off-by: Mohan T <mohant@nvidia.com> Reviewed-on: http://git-master/r/244976 Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-06-28firmware: p2560-uc firmware update v59Jun Yan
v58->v59: - Keep uC USB buffer unchanged for about 1 second when exiting suspend mode, in order to fix false wakeup events issue Change-Id: I175bb0328af1840cbfe8c70e0607d7d8023e0c26 Signed-off-by: Jun Yan <juyan@nvidia.com> (cherry picked from commit 5f337115955a3dffa7b2522c43f9844f8416bec7) Reviewed-on: http://git-master/r/243054 GVS: Gerrit_Virtual_Submit Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
2013-06-25firmware: p2560-uc firmware updateJun Yan
v57->v58 -changed dead band to 38 -changed cal window to 80 Bug 1266521 Change-Id: I686ef709df77ad7d29e8cee6420683ee901a73cf Signed-off-by: Jun Yan <juyan@nvidia.com> (cherry picked from commit 20434a424e4c535f8105bd26a220ae6f1f999067) Reviewed-on: http://git-master/r/237706 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
2013-06-25firmware: p2560-uc firmware updateAnshul Jain
v56->v57 added changes to uC FW that will check to make sure if LED PWM timer0 == Started then check the timer0 start bit and if not set then set it to start running again. v55->v56 - Bump revision to v0_56. - Changed the following End Point 2 commands: LED_UC_DRIVE- This function now does Nothing. Left it in for backwards compatibility. (Previously this function setup the Port 1.1 pin to drive from tri-state. And also set the LED pin high (ON).) LED_BREATHE_ON- This function now sets up port 1.1 in a drive state from tri-state and starts timer0 for the SW PWM. LED_BREATHE_OFF- This function now sets up port 1.1 in a drive state from tri-state. Also keeps the same logic as before stopping the SW PWM timer0 and set P1.1 LED LOW (OFF). Bug 1266521 Change-Id: I2ef12fe6c66e03d299b0135e749498d8154f3937 Signed-off-by: Anshul Jain <anshulj@nvidia.com> (cherry picked from commit 95b376f67b759bf783c76cc6701d9103d065ada5) Reviewed-on: http://git-master/r/237705 Reviewed-by: Jun Yan <juyan@nvidia.com> Tested-by: Jun Yan <juyan@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-06-25firmware: p2560-uc update v55Anshul Jain
- Bump revsion to v0_55. - Center point calibration window (power on/reset) now 40 from 80 - power on defaults for Right/Left Joystick X,Y axes are now 250 from150. Note: doing this makes the scaling values less granular or smaller steps on power on. Thus helps with RS mouse drift being a larger value just outside the center dead band. Noticed that the RS mouse drift can go away after moving the joysticks to its max and min points. - power on defaults for right/left analog triggers are now 600 and 300 max/min. The original version had this at 300 and 700 reversed. Hence, on the very first trigger pull, you only had to move a very small distance to hit max. NOTE: Center point stiction dead band is still set to 37. Same as v52. Bug 1266521 Change-Id: I071c9b1ef2cb837787fd4f21f0e4a6bee9aafc01 Signed-off-by: Anshul Jain <anshulj@nvidia.com> (cherry picked from commit b2528f22257dcbd32e7e89113d5a532376ef95a5) Reviewed-on: http://git-master/r/237704 Reviewed-by: Jun Yan <juyan@nvidia.com> Tested-by: Jun Yan <juyan@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-06-24bcmdhd: Add support for channel 165bibhayr
channel 165 is not the side band of 40MHz 5G channel Bug 1298751 Change-Id: I9f29d11d30b1394ab097c82f97b177acd98149a2 Signed-off-by: bibhayr <bibhayr@nvidia.com> Reviewed-on: http://git-master/r/240198 GVS: Gerrit_Virtual_Submit Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-06-21usb: gadget: tegra:fix non-standard charger detectionRakesh Bodla
Fixing the non standard charger type detection. Also, fix commit messages and free pm_qos request during driver unregistration. Bug 1281401 Change-Id: I39da0847c10c1109fa95afe16866951848b694ab Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/239297 (cherry picked from commit 2cebf65e6c30959ab7d144dd21b1e4b65b0e4065) Reviewed-on: http://git-master/r/240245 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2013-06-21usb: gadget: tegra: set cpu normal in work contextRakesh Bodla
Once USB transfers are completed, set cpu frequency to normal in work context. Bug 1292315 Change-Id: I34e6f6d85f3be8be31e5d87a742894d0ca10f8bc Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/231064 (cherry picked from commit c2b7bf3f3a0414ef0216e822fa9f5205d5b3075d) Reviewed-on: http://git-master/r/240244 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2013-06-18asoc: roth: Headphone detection improvementScott Peterson
Improve headphone jack detection in certain scenarios. Bug 1296602 Change-Id: I748f7649680ad60edbc450c09027cb3b76552f8c Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/233081 (cherry picked from commit 482977e3c5e948394bdafb638dfc5a3813232a3d) Reviewed-on: http://git-master/r/235178 Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
2013-06-18arm: tegra: board support for sensorsErik Lilliebjerg
Added support for BMP180 pressure sensor and auto-detection of AKM89XX compass. Change-Id: I3e45250e7b4e2887d79bd62a402ddcdc0d057b92 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/211081 (cherry picked from commit 00811e96be2c6ac4139a6b24b39cf44ddcf20bda) Reviewed-on: http://git-master/r/216710 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Xiaohui Tao <xtao@nvidia.com> Tested-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-06-18arm: tegra: configs: Add BMP180 moduleErik Lilliebjerg
Add BMP180 pressure sensor driver as module. Bug 1253718 Bug 1242566 Change-Id: Ia2de59ccbe833b9f444fb56234954729edf7b5a3 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/210854 (cherry picked from commit f891baec733e839d02c220fcb934097c29a266be) Reviewed-on: http://git-master/r/216711 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Xiaohui Tao <xtao@nvidia.com> Tested-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2013-06-18input: misc: fix sysfs permissionsErik Lilliebjerg
- Fix sysfs permissions. - Fix raw accelerometer access. - Fix autodetection behind MPU. - Add self-test. Bug 1224709 Bug 1243584 Bug 1291044 Bug 1295651 Bug 1290313 Bug 1298831 Change-Id: I55847fd158abdb9f12dc830218619c6ed7913396 Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/237428 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Xiaohui Tao <xtao@nvidia.com> Tested-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-06-18driver: sensor: change compass value from int to shortRobert Collins
Bug 1266211 Change-Id: Ib4a9f9cd58bd526c0afd3d815b29f0a72defac79 Signed-off-by: Robert Collins <rcollins@nvidia.com> Reviewed-on: http://git-master/r/217421 (cherry picked from commit 984398033a9f4c26454e2018ab025f52a115cf91) Reviewed-on: http://git-master/r/216731 (cherry picked from commit 24cdec613f41532522fc79346e1754bb8bbc183f) (cherry picked from commit dfd3dcd3fd3c777435c948f064aca05a953a2820) Reviewed-on: http://git-master/r/237426 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Xiaohui Tao <xtao@nvidia.com> Tested-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-by: Matt Wagner <mwagner@nvidia.com>