summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2013-07-25driver: led: Avoid calling pwm_disable and pwm_enabledaily-2013.07.31.1_rel-roth-ota-1-partnerJun 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: Automatic_Commit_Validation_User Reviewed-by: Tao Xie <txie@nvidia.com> Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
2013-07-25net: 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 Reviewed-by: Kyeong Kim <kyeongk@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com>
2013-07-24mmc: 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 Change-Id: Icbf009a90ba9d0bd88a5991aab2fad8f1783b823 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/252471 Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com> Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-07-22mmc: 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: I0a90a9d317bd46558eaa9112391c33cc867b247e Reviewed-on: http://git-master/r/251897 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-07-20regulator:palmas: Sysfs node to change smps45 modeAnshul Jain
This change creates a sysfs node /sys/bus/platform/devices/palmas-pmic/auto_smps45_ctrl echo 1 : force multi phase mode echo 0: auto phase selection Bug 1323712 Change-Id: Ibbac78cf841b1cda3444ad388426a0da4a67c38a Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/251057 GVS: Gerrit_Virtual_Submit Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com> Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-07-20mmc: tegra: Sysfs for changing tap valueNaveen Kumar Arepalli
Sysfs for changing tap value for wifi Change-Id: I08e0971c562cf1e491373173d5b3b7e5af1da6ba Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Reviewed-on: http://git-master/r/250897 Reviewed-by: Matt Wagner <mwagner@nvidia.com> Tested-by: Matt Wagner <mwagner@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-06-25video: 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>
2013-06-21drivers: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> Reviewed-on: http://git-master/r/241103
2013-06-21misc: 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> Reviewed-on: http://git-master/r/240004
2013-06-20input: misc: inv: Add critical section protection for power on/offXiaohui Tao
Unbalanced irq_enable/disable will cause potential risk of the sensor data not being sent out. Add critical section and flag to prevent this situation. Change-Id: I4a8b3ebfd07b3e4901ad807c8052c38e3f23315e Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/239385 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: Anshul Jain (SW) <anshulj@nvidia.com>
2013-06-20input: misc: Change self test variationXiaohui Tao
Change DEF_ACCEL_ST_SHIFT_DELTA and DEF_GYRO_CT_SHIFT_DELTA to 500. Change-Id: Id4db11789d561dfc3899d8de592421f04dbf19db Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/239833 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
2013-06-17drivers: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 Reviewed-on: http://git-master/r/239086 GVS: Gerrit_Virtual_Submit Reviewed-by: Tao Xie <txie@nvidia.com> Tested-by: Tao Xie <txie@nvidia.com> Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
2013-06-07arm: tegra: thor: fix wlan-bt power sequenceMichael Hsu
Use mutexes to prevent concurrent wifi / bluetooth turn on sequence. Bug 1302412 Change-Id: Icd086b616af2f5ccbff7968d613310c365ad549a Signed-off-by: Michael Hsu <mhsu@nvidia.com> Reviewed-on: http://git-master/r/236533 Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
2013-06-05video: tegra: host: Do not reset MC on powerup_resetMatt Wagner
Change-Id: I2158918b6a22a4ceeadecdfa5a51fc87a624a105 Signed-off-by: Matt Wagner <mwagner@nvidia.com> Reviewed-on: http://git-master/r/235510 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2013-06-05net: wireless: bcmdhd: mask excessive wifi chip interruptsMichael Hsu
On P2560 hardware only, wifi chip generates excessive wifi activity interrupts: - on first boot after flashing image WAR is to mask this specific wifi activity interrupt to prevent it from keeping application processor awake. Bug 1299635 Change-Id: Idf0fdaf817621e3ae5e0f63864c488366dbbcaba Signed-off-by: Michael Hsu <mhsu@nvidia.com> Reviewed-on: http://git-master/r/235330 Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-05-31video: tegra: host: Disable Powergate for T114 3dMatt Wagner
Change-Id: Ib87ff58487c324124987a563fc0621d8f8482784 Signed-off-by: Matt Wagner <mwagner@nvidia.com> Reviewed-on: http://git-master/r/234417 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Tao Xie <txie@nvidia.com> Tested-by: Tao Xie <txie@nvidia.com>
2013-05-24power: bq2419x: disable otg for 30s when fault happensSyed Rafiuddin
disable OTG mode when over temprature and over current interrupt occurs and re-enable OTG mode after 30sec. Bug 1285652 Change-Id: Ic7ee97a3b14cea03462d16b24f8de670e0e76904 Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-on: http://git-master/r/226994 (cherry picked from commit 4e8d08beb0a8659862018eda355c845167adac9d) Reviewed-on: http://git-master/r/231751 GVS: Gerrit_Virtual_Submit Reviewed-by: Matt Wagner <mwagner@nvidia.com> Tested-by: Matt Wagner <mwagner@nvidia.com>
2013-05-23misc: nct1008: talk to nct1008 only when poweredSang-Hun Lee
Problem description: - nct1008_suspend powers off nct1008 - nct1008_suspend does stop the workqueue and irq, but if there is a kernel thread which would trigger nct1008_read_reg or nct1008_write_reg, nct1008 would still be accessed after it is powered off Fix description: - Rename the existing flag shutdown_complete to nct_disabled - Update the value of nct_disabled when powering nct1008 on and off Bug 1288427 Change-Id: Id885794eb39a71025ad9f5c3615156c19039d13f Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-on: http://git-master/r/228011 (cherry picked from commit 08eed1ddbacece2f1c8b4fba633c01c0f87ba2cd) Reviewed-on: http://git-master/r/232275 Reviewed-by: Matt Wagner <mwagner@nvidia.com> Tested-by: Matt Wagner <mwagner@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-23input: misc: inv: disable irq when powering offSang-Hun Lee
Problem descritpion: - Even after powering off the device through inv_set_power_state, inv_read_fifo can be running in paralell, still talking to the device Fix description: - When powering off the device, also disable the irq to avoid talking to a powered off device - As a side effect, this change will also ensure interrupts from gyro do not result in a lock up of i2c bus during suspend even in case of an interrupt storm Bug 1285239 Change-Id: I42dfa094b645944e22d600b64abc18b10b7fb38b Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-on: http://git-master/r/227781 (cherry picked from commit a2ce58ee6da12bbe3f9d18dfcef1e6a48a4572a9) Reviewed-on: http://git-master/r/232274 Reviewed-by: Matt Wagner <mwagner@nvidia.com> Tested-by: Matt Wagner <mwagner@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-23Input: touch: raydium: Update to Raydium v56.1 driverXiaohui Tao
1. CTS failure 2. Suspend/Resume time Bug 1283362 Change-Id: I5cbd85bbab26f029dd7400cd17c9bb1358fc2ef8 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/231660 (cherry picked from commit 10c3573c922e79d81be2d2e0812b1945d4fab0f4) Reviewed-on: http://git-master/r/232253 Reviewed-by: Matt Wagner <mwagner@nvidia.com> Reviewed-by: Tao Xie <txie@nvidia.com> Tested-by: Tao Xie <txie@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-23ARM:Tegra:Roth: Update speaker settingsScott Peterson
Update speaker model, EQ, and configs for the NXP tfa8997 device. Change-Id: Iabed2761aa6156eaac1ca3753d8c58599f885726 Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/231741 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-05-23HDCP: Only Wait for Communication to stop if HDMI is PluggedMatt Wagner
Don't wait for communication to stop if HDMI isn't plugged Bug 1275577 Change-Id: Ifb56bc8a4b36ac2cb40614811398920b7e293e04 Signed-off-by: Matt Wagner <mwagner@nvidia.com> Reviewed-on: http://git-master/r/231350 (cherry picked from commit fc774f94ffa54b1a6ce1771ac82b82c3a1eea39f) Reviewed-on: http://git-master/r/231692 Reviewed-by: Automatic_Commit_Validation_User
2013-05-21net: wireless: bcmdhd: new driver version 1.28.28.2bibhayr
- Fixed Miracast discovery issue after P2P disconnection. - Fixed P2P action frame issue when multiple P2P IEs are in the probe response. - BW allocation for VSDB - Support offset for RSSI report Bug 1282745 Change-Id: Ie55a05c51e95941e09e5c582c4936909f490575e Signed-off-by: bibhayr <bibhayr@nvidia.com> Reviewed-on: http://git-master/r/#change,228838 (cherry picked from commit 6147573414026a4ff978885f38e4842de55fb4fe) Reviewed-on: http://git-master/r/230104 Reviewed-by: Narayan Reddy <narayanr@nvidia.com> Tested-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-05-21input: touch: raydium: Update to Raydium v55.9 driverXiaohui Tao
Code drop from raydium 1. RESET signal correction during suspend/resume 2. The LP0 touch not work issue fix 3. The old functionality such as environment variable and calibration should remain the same. Change-Id: Ibb71c2ddb4a7b6760baa991a737fa6c3580b893a Signed-off-by: Xiaohui Tao <xtao@nvidia.com> (cherry picked from commit 7df8f34a4b4a26305afac8aff42eeaa528655d33) Reviewed-on: http://git-master/r/230050 Reviewed-by: Matt Wagner <mwagner@nvidia.com> Tested-by: Matt Wagner <mwagner@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-21mmc: Limit MMC speed to 52MHz if not HS200Al Cooper
If "caps2" host capabilities does not indicate support for MMC HS200, don't allow clock speeds >52MHz. Currently, for MMC, the clock speed is set to the lesser of the max speed the eMMC module supports (card->ext_csd.hs_max_dtr) or the max base clock of the host controller (host->f_max based on BASE_CLK_FREQ in the host CAPS register). This means that a host controller that doesn't support HS200 mode but has a base clock of 100MHz and an eMMC module that supports HS200 speeds will end up using a 100MHz clock. Change-Id: I2967fcc733b7178bdf54d6f75f65bdff253fc1cc Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Signed-off-by: Al Cooper <alcooperx@gmail.com> Signed-off-by: Chris Ball <cjb@laptop.org> Reviewed-on: http://git-master/r/227758 (cherry picked from commit ed5cc4ef1e8bcdae292b6f234dbb7054cf5542cb) Reviewed-on: http://git-master/r/230047 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matt Wagner <mwagner@nvidia.com> Tested-by: Matt Wagner <mwagner@nvidia.com>
2013-05-21mmc: core: fix the decision of HS200/DDR card-typeSeungwon Jeon
Current implementation decides the card type exclusively. Even though eMMC device can support both HS200 and DDR mode, card type will be set only for HS200. If the host doesn't support HS200 but has DDR capability, then DDR mode can't be selected. Change-Id: Id2b9095f8ffe59c520850acd40681a9ef15c3ff9 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org> Reviewed-on: http://git-master/r/227757 (cherry picked from commit 084aa8cc074b0e95883934f82f5521d0cc5e0941) Reviewed-on: http://git-master/r/230046 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matt Wagner <mwagner@nvidia.com> Tested-by: Matt Wagner <mwagner@nvidia.com>
2013-05-21bcmdhd: Clear dhd driver hang eventMichael Hsu
Clear dhd driver hang event upon device close, so that next open will not be blocked. Prevents condition where wifi cannot be turned off / on because of a previous hang event flag being set. Bug 1280309 Change-Id: I6569cd39c8866682c7a19fa840b32162c2a4dd5b Signed-off-by: Michael Hsu <mhsu@nvidia.com> Reviewed-on: http://git-master/r/229999 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matt Wagner <mwagner@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-21video: tegra: dsi: Enable MIPI auto calibrationVineel Kumar Reddy Kovvuri
Updated the auto calibration values. Fixed call to register access function. Bug 1166307 Bug 1283871 Change-Id: I39976bd3cbdcc09df682589c418b06281d7eec97 Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/229915 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matt Wagner <mwagner@nvidia.com> Tested-by: Matt Wagner <mwagner@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-21video: tegra: dsi: Enable MIPI auto calibrationVineel Kumar Reddy Kovvuri
Implementation of DSI MIPI auto calibration Bug 1166307 Change-Id: Id4be420978b56d662d77c6d145f9e51dc881d159 Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com> Reviewed-on: http://git-master/r/229914 Reviewed-by: Matt Wagner <mwagner@nvidia.com> Tested-by: Matt Wagner <mwagner@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-17power: bq2419x: Update charger typePradeep Goudagunta
Update charger type up on connection. Bug 1281945 Change-Id: Iea2bf0323636ae54e2e911705fd795c273de50f7 Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-on: http://git-master/r/225208 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com> Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
2013-05-15tegra: dc: don't call tegra_dc_hpd in atomic contextRay Poudrier
tegra_dc_hpd(), which uses gpio_get_value_cansleep(), is called from tegra_dc_hdmi_irq() in atomic context. Move this call outside of the atomic context to avoid potential lockup. Change-Id: If62a3d257ab29eae34fd0999e6d182906a568846 Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com> Reviewed-on: http://git-master/r/226531 (cherry picked from commit e0a5c3a078138b9db103aa428a6667efb3e3a1d0) Reviewed-on: http://git-master/r/228493 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matt Wagner <mwagner@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-15HDCP: finish hdmi access before turning nvhdcp offRakesh Iyer
Wait for hdmi accesses to finish before turning nvhdcp off. Bug 1275577. Change-Id: Ieef8635b66cfdddece7b2e1140b776b91350d272 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/227243 (cherry picked from commit ac6205a26fbf52d8439524543321012ed95c9d78) Reviewed-on: http://git-master/r/228104 Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-05-15input: misc: MPU sensor disable LPAErik Lilliebjerg
Low Power Accelerometer is disabled due to known HW bug. Bug 1279237 Change-Id: I8477fb84bbca7f8d139f5495ab7f584df528f44d Reviewed-on: http://git-master/r/224897 (cherry picked from commit e0a3ba3b906cda0c54242c37e1fb5e03af5ba562) Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-on: http://git-master/r/227973 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Robert Collins <rcollins@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-05-13Revert "mmc: core: Retries WAR for SDIO RW CMD"Pavan Kunapuli
This reverts commit 1c48c746ea721f95c594c08f5f1320ba78de40e4. Bug 1281367 Change-Id: I78ad0f9886d4834b2a19542331bfd2b2e0f823af Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/227044 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Nitin Bindal <nbindal@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2013-05-09net: wireless: bcmdhd: removed duplicated definesNarayan Reddy
Change-Id: I9df90c7774a30f5e512d492b3dce85d3f689cfff Signed-off-by: Narayan Reddy <narayanr@nvidia.com> Reviewed-on: http://git-master/r/222776 Reviewed-by: Harshada Kale <hkale@nvidia.com> Tested-by: Harshada Kale <hkale@nvidia.com>
2013-05-08misc: Remove debugfs warning on tfa9887Scott Peterson
Remove warning about creation of debugfs nodes for the NXP tfa9887 devices. Bug 1284011 Change-Id: Iaf67b5e0e50a803d2d934370165c7887809f0685 Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/226353 Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-08Revert "Revert "bcmdhd: enable mpc during p2p search/listen""Nitin Bindal
This change is needed since we are moving to the new firmware version which has disconnect and RSSI issue fix Bug 1264805 This reverts commit c635cc0776dd095c805d22c882a4d92eb82454c8. Change-Id: I54263803e75329f610541880d5a01eb047359def Signed-off-by: Nitin Bindal <nbindal@nvidia.com> Reviewed-on: http://git-master/r/222741 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-05-07mmc: core: Retries WAR for SDIO RW CMDPavan Kunapuli
Adding WAR to have 3 retries for SDIO RW CMD52. Bug 1281367 Change-Id: I1167126d46021f6725f5fe91ebdf8e9d85a106e6 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/224935 Reviewed-by: R Raj Kumar <rrajk@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
2013-05-06arm: Reduce tfa9887 speaker popsScott Peterson
Reduce speakers pops when enabling/disabling the NXP speaker protection device. Add an alsa mixer control to mute the device from the audio HAL prior to disabling the device. Bug 1268519 Change-Id: I2d16c0443bd833b65d07ec2fabc36102443cc8ad Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/224002 Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-05-06misc: nct1008: prevent irq revivalSang-Hun Lee
Problem description: - nct1008_shutdown and nct1008_suspend disable nct1008_irq - If nct1008_irq triggers during shutdown or suspend, the irq handler will schedule nct1008_work_func, which will re-enable nct1008_irq - This work could trigger after disabling the power rail as well, causing an access of nct1008 after disabling its power rail Fix description: - Add a new flag stop_workqueue - While the flag is set, nct1008_work_func will return without doing anything - After setting the flag to effectively disable nct1008_work_func, wait for running nct1008_work_func to complete then disable nct1008_irq Bug 1280843 Change-Id: I69176ad466f4c49e62932425fdf7a8583b2cf8bf Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-on: http://git-master/r/223906 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gaurav Batra <gbatra@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2013-05-06mmc: tegra: Use full win for nominal vcore tuningPavan Kunapuli
If minimum override voltage tuning is not done or if the nominal core voltage details are not specified, find full window using tuning and set the best tap value as 50% of the full window. Printing tuning window and tap value details. Bug 1280293 Change-Id: I5d77f5b03e0543cb33ac97420a92ca08cb4f21a8 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/224224 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Matt Wagner <mwagner@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-04-30input: touch: raydium: Update to Raydium v55.3 driverXiaohui Tao
Raydium code drop for v55.3 driver (1) Does not let the suspend/resume fail if there is no internal clock It will allow external clock to pass suspend/resume. (2) Turn touch off when display off Bug 1280093 Change-Id: Ie1e46727531cad3314ae39c0e9a90b275880ea57 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/223624 Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-04-30input: touch: raydium: Update to Raydium v55.2 driver.Xiaohui Tao
Code drop from raydium to update kernel to v55.2 Change-Id: I3562e487cdbf55b45428139f093aa245cd8e0b90 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/223425 Reviewed-by: Matt Wagner <mwagner@nvidia.com>
2013-04-30mmc: tegra: Release lock before dvfs override callPavan Kunapuli
Release the spinlock before calling the dvfs override API to set/unset tuning override voltages. Bug 1259286 Change-Id: Ib247ca3e6f7d7e86c52c8f762b4331adddb95dfe Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/222944 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2013-04-30ARM: Misc: More volume curve tuningScott Peterson
Additional adjustments to the curves used on the NXP tfa9887 device. Change-Id: I5b311d6c499c36f440c865f4fa8b909588b689be Signed-off-by: Scott Peterson <speterson@nvidia.com> Reviewed-on: http://git-master/r/223498 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Tested-by: Rajat Aggarwal <raggarwal@nvidia.com>
2013-04-25arm: tegra: fan: defer fan resume for 3 secsJean Huang
Bug 1267612 Change-Id: Ibaaa09491776e45b85f8850b3c2c1faa4ca3375a Signed-off-by: Jean Huang <jeanh@nvidia.com> Reviewed-on: http://git-master/r/222626 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2013-04-25misc: issp: add support for force updateAnshul Jain
This change adds support for the firmware to be force updated. This flag can be used to downgrade the firmware. Bug 1270341 Change-Id: I2c7eee9029cce38fdb902b211fb2800071579ff9 Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/222598 Reviewed-by: Richard Zhao <rizhao@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-04-25arm: tegra: fan: clear next fan state before suspendJean Huang
Original design was to restore fan to the state before suspend, but fan-thermal detection should work itself to decide fan state after resume. Bug 1273984 Change-Id: Ieac7688ed2ccf3dca3427c61e3d51a209cda79a3 Signed-off-by: Jean Huang <jeanh@nvidia.com> Reviewed-on: http://git-master/r/222157 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
2013-04-25tegra: dc: don't call tegra_dc_hpd in atomic contextAlexandre Courbot
tegra_dc_hpd(), which uses gpio_get_value_cansleep(), is called from tegra_dc_hdmi_resume() in atomic context. Move this call outside of the atomic context to avoid potential lockup. Change-Id: I983e58724727803c67a4145e11630746aff86a52 Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-on: http://git-master/r/216593 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2013-04-25sdhci-tegra: move kzalloc out of interrupt contextAlexandre Courbot
sdhci_tegra_sd_error_stats can be called from sdhci_irq. Move memory allocation to the probe() function so we don't perform it in interrupt context. Change-Id: Ic4278526f72ebeb11d59bfe8a7d3e112172035a8 Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-on: http://git-master/r/216591 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>