summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2014-02-12mmc: core: Increase timeout for sanitizedaily-2014.02.24.0_rel-tegranote-r4-partnerHarry Hong
Increae timeout value for sanitize operation based on Hynix 16GB emmc Max delay. Bug 1453048 Change-Id: I2509de6613f0fd3c52ea2fa361b96bd8e3806bbf Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/366290 Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> GVS: Gerrit_Virtual_Submit
2014-02-03usb: gadget: tegra: check ep->desc before accessRohith Seelaboyina
This changes adds condition to check ep->desc before accessing its contents. ep->desc seems to get Null on releasing the spin_lock. Bug 1401730 Change-Id: I48b4c880ced0cd131bd45840839e6635fc1a219c Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com> Reviewed-on: http://git-master/r/362353 (cherry picked from commit 790be48ddf070df3e6357b4e290d8fb4c603a34e) Reviewed-on: http://git-master/r/363103 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-02-01usb: ehci: Tegra:don't boost cpu from ehci layerDavid Pu
don't boost cpu freq to 816MHz blindly from ehci layer for usb host instance 1(Bruce Modem). Bug 1441442 Change-Id: I73d925186976095b62267a806bce30e906202833 Signed-off-by: David Pu <dpu@nvidia.com> Reviewed-on: http://git-master/r/360253 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-01-31ts :tn7c: support load switch for touch power railNine Feng
lcd power rail of EN_LCD_1V8 is shared with touch module. We should make sure it is enabled before touch suspend. Therefore, we add a new consumer for lcd fix regulator, then it would be more reasonable to turn off/on in terms of use counts. Bug 1445143 Change-Id: Ieef0fc9ae46918c724d6129f9878be12641f66d0 Signed-off-by: Nine Feng <nfeng@nvidia.com> Reviewed-on: http://git-master/r/360705 Reviewed-by: Danny Song <dsong@nvidia.com> Tested-by: Danny Song <dsong@nvidia.com>
2014-01-31icera: acm: remove pm qos request in disconectionMartin Chi
remove pm qos request when acm disconects, otherwise, pm_qos_add_request() will be called again as it's already added, and then cause some kernel warning bug 1448534 Change-Id: I16d0cd823132ac79cc03bd1fc53d12114d6ceb0e Signed-off-by: Martin Chi <mchi@nvidia.com> Reviewed-on: http://git-master/r/360679 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2014-01-29input: misc: sensor: Add mutex for the bias readingXiaohui Tao
Bug 1431360 Bug 1443158 Change-Id: Id3654deb1012d0b0826dbf2a11287a000234fd27 Reviewed-on: http://git-master/r/349890 Signed-off-by: Jajambo Liao <jajambol@nvidia.com> Reviewed-on: http://git-master/r/358110 (cherry picked from commit ed6a521e79b8faadd945e686f6cd415e64221387) Signed-off-by: Jake Park <jakep@nvidia.com> Reviewed-on: http://git-master/r/361184 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
2014-01-27mmc: tegra: Implementation of new tuning algorithmPavan Kunapuli
Implemented the new tuning algorithm that - Removes the tap holes from auto tuning windows - Adjust window ends with margins for Vmin for the corresponding freq - Dynamically updates dvfs table entry if a new Vmin is found from auto tuning calculations - Calculates the best tap value from the windows after removing tap holes and margin additions. Disabling external loopback clock for SDMMC3 as per characterization results. Bug 1423423 Reviewed-on: http://git-master/r/352306 (cherry picked from commit 26615d96514fc9ccbdcdc9ab89d92def5c1bf977) Change-Id: I56fd58473ab5b7642d703fc17f0afd5820fe64ea Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/356523 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-27staging:iio:ltr659ps: Change regulator routineChen Jian
- Only enable/disable regulator when sensor is enabled/disabled. Bug 1446066 Change-Id: I5bff3066f47cbd08e7f88309ec65b41b69763367 Signed-off-by: Chen Jian <jackchen@nvidia.com> Reviewed-on: http://git-master/r/360408 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: David Pu <dpu@nvidia.com> Tested-by: David Pu <dpu@nvidia.com> Reviewed-by: Danny Song <dsong@nvidia.com>
2014-01-27mmc: sdhci: tegra: fix power rail policyDavid Yu
Keep power rail on unless otherwise specified on shutdown. Bug 1445876 Change-Id: I5a0309226177c10ab52f25703c7133be63faa6b4 Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/360385 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-27Revert "Revert "mmc: Set suspend/resume bus operations if CONFIG_PM_RUNTIME ↵ximingc
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 1446176 Reviewed-on: http://git-master/r/309656 (cherry picked from commit de13dd1f8b0d802914ec4143c42730d4f90f880b) Change-Id: I842b1e042982f8ac0547936800bbc996643c7d34 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Change-Id: I7b72b956a617762741854d49b4560d3848cf2b12 Reviewed-on: http://git-master/r/326379 Reviewed-by: R Raj Kumar <rrajk@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> Change-Id: I0cc4d85c879dcedf671f14a83978524cd0c7f287 Signed-off-by: Ximing Chen <ximingc@nvidia.com> Reviewed-on: http://git-master/r/360331 GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com>
2014-01-27usb: acm: No hangup for Bruce during reset resume.glei
Set NO_HANGUP_IN_RESET_RESUME flag to Bruce model to prevent tty hangup during reset resume procedure. Bug 1446181 Change-Id: I3866e49e8c36ec8627791cd63a237b3bca63e0b9 Signed-off-by: glei <glei@nvidia.com> Reviewed-on: http://git-master/r/359777 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-01-26gpio:tegra:Add sleep gpio functionximingc
Some GPIO pins need re-configure when system enters LP0 Bug 1439735 Change-Id: I3d9c864b5c099ab834543e2f3c905cab8a957372 Signed-off-by: ximingc <ximingc@nvidia.com>
2014-01-26mmc: core: Handle card shutdown from mmc_busDavid Yu
Considering shutdown of the card, the responsibility to initate this sequence shall be driven from the mmc_bus. This patch enables the mmc_bus to handle this sequence properly. A new .shutdown callback is added in the mmc_driver struct which is used to shutdown the blk device. Bug 1445876 Change-Id: I947315a7102606a1873eeebf136d741c98b46c76 Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org> Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/359692 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-26mmc: sdhci: tegra: fix shutdown orderDavid Yu
Fix mmc command error caused by early regulator shutdown. Bug 1445876 Change-Id: I446dba2b216ca6fdebf38aa7d1afaf88370b5bee Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/359698 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-26misc: tegra-baseband: Don't abort suspend notifyDavid Yu
Bug 1445863 Change-Id: I6d58eed1ffbfc4012f2e4543a87d5f06e59542a7 Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/359590 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-25usb: ehci: Tegra: add echi wake lockMartin Chi
For now, only apply it in tegra_ehci_irq when it's triggered by remote wake-up irq, since, without wake lock hold here, device may continue the suspend if remote wake-up comes in suspending. bug 1431546 Change-Id: I44ea268ca168a1a3a9098ad9f5f6f7b1270a0fa5 Signed-off-by: Martin Chi <mchi@nvidia.com> Reviewed-on: http://git-master/r/359090
2014-01-25usb: ehci: Tegra: change to noirq suspend/resumeMartin Chi
Chnage ehci suspend/resume to noirq suspend/resume to enable it get more chances to handle the remote wake-up which may come after normal suspend/resume bug 1430974 Change-Id: I0e27435c729b515c968990507a1d6ab53c4ce37a Signed-off-by: Martin Chi <mchi@nvidia.com> Reviewed-on: http://git-master/r/359052
2014-01-23xhci: tegra: support override fused hs_curr_levelJC Kuo
This change add the capability to override hs_curr_level value read from usb_calib0 fuse register. Some board designs need different hs_curr_level value to optimize USB 2.0 signals. bug 1340062 Change-Id: Ic2435dc1b8c85bea507144558267b8bd29c2dad0 Reviewed-on: http://git-master/r/281745 (cherry picked from commit 938d7343c0f835772aa0f50c9df6cb32ba6b0345) Conflicts: arch/arm/mach-tegra/include/mach/xusb.h Change-Id: I611dc365c27caad14d17cb95e4e0d469ec03cc62 Signed-off-by: JC Kuo <jckuo@nvidia.com> Reviewed-on: http://git-master/r/358216 Reviewed-by: WK Tsai <wtsai@nvidia.com> Reviewed-by: Joy Wang <joyw@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Henry Lin <henryl@nvidia.com> Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
2014-01-22input: touch: maxim: revert device splittingYoungjin Kim
Set number of input devices back to 1 and disable the mutual exclusion of finger and stylus. Bug 1439868 Change-Id: I104cd8f4fa71c542399e61ae0015465638f27d3c Signed-off-by: Youngjin Kim <nkim@nvidia.com> Reviewed-on: http://git-master/r/356008 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-21USB: 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/328852 (cherry picked from commit 739f06547bff816641eb998e6f109e64b614ebfe) Reviewed-on: http://git-master/r/358170 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-21xhci: tegra: fix DFE/CTLE control sequencejoyw
According to PG to adjust DEF and CTLE context save/restore programming sequence on T114 rel17 branch. Bug 1345950 Change-Id: Ie7ef0385ea70616ab69dd251d0b383cd9c62afa8 Signed-off-by: joyw <joyw@nvidia.com> Reviewed-on: http://git-master/r/271323 (cherry picked from commit 107b3dc2c5feb25e14cf29328323a0dfdec717ce) Reviewed-on: http://git-master/r/358118 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-21usb: xhci: tegra: enable clock after unpowergatejoyw
Follow PG, enable host partition clock after unpowergate host partition. Bug 1333946 Change-Id: I47d7bfaedded3d8ca07edd9c1315ade2cccdc579 Signed-off-by: joyw <joyw@nvidia.com> Reviewed-on: http://git-master/r/258633 (cherry picked from commit 02c7352077ef00448f12132478f46b106d4b3033) Signed-off-by: joyw <joyw@nvidia.com> Reviewed-on: http://git-master/r/280137 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com> (cherry picked from commit d844bb935c1aaec4d873175cc8c2270c5247ed45) Reviewed-on: http://git-master/r/358084 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-21staging: iio: ltr659ps: changing permission.Harry Hong
Chaning sys node of "enable" attr from 0x666 to 0x644 due to cts failure. Bug 1443978 Change-Id: I41d03b8a39a553d8c210791086bbe440416e7415 Signed-off-by: Harry Hong <hhong@nvidia.com> Reviewed-on: http://git-master/r/358046
2014-01-21input:misc: Add unified sysfs location for managementXiaohui Tao
Provide a unified sysfs location so that init.xxx.rc can change the permission without frequent update. Change-Id: Ic35a122d96de60896f386a042d336ef5dd0a9765 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/263540 (cherry picked from commit 5a56bb9fce86683037a1689d137aa4416938d5c0) Reviewed-on: http://git-master/r/358088 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-20ARM:tegra:tn7c:Suppress kernel warning messageChen Jian
- Pair enable_irq/disable_irq to remove kernel warning message. Change-Id: I7c935e3ad6bdfbf5cc4775ab6977dcb811c168a3 Signed-off-by: Chen Jian <jackchen@nvidia.com> Reviewed-on: http://git-master/r/357580 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-01-20staging: iio: cm3217: fix i2c no ackDavid Yu
When power button is repeatedly pressed fast, i2c no ack error occurs due to unbalanced regulator on/off. tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10 tegra-i2c tegra11-i2c.0: no acknowledge from address 0x10 [ERR][CM3217 error] I2C_TxData retry over 10 [ERR][CM3217 error]_cm3217_I2C_Write_Byte: I2C_TxData fail Change-Id: I55495221340ffa3aa796f4d932daca9e4cadc640 Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/357632 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-20input: gpio_keys: Fix disordered wakeup key reportsDavid Yu
- If power key is released before gpio_keys_gpio_report_wake() called, power key press-release events pair will be reported twice and supress display from coming back up. - If power key is released before enabling device driver to receive interrupts, power key release interrupt will be lost due to the previous pending key press intterupt, and we can only get the released key state. Change to call gpio_keys_gpio_report_wake() and gpio_keys_report_state() in gpio_keys_resume_noirq() callback to avoid the disordered reports. Bug 1372600 Bug 1346985 Bug 1437458 Change-Id: I8e35f6012f2fc600f4dd830e1c191f9f2782e621 Signed-off-by: Allen Yu <alleny@nvidia.com> Reviewed-on: http://git-master/r/280231 Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/357540 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-16usb: gadget: Tegra: don't boost cpu freq on bootDavid Yu
Change-Id: I375e92e55b6f37e29e384f979f09158eadf7269f Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/356537 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-16video: tegra: host: Fix memory leakage in msencAhung Cheng
Add kfree for msenc in deinit bug 1402255 (Cherry-picked from commit bd1fc938268f40581c2ff7f6f698bdd7c8c8bc2a) Reviewed-on: http://git-master/r/327535 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Change-Id: I8b921d2b221126097ebf48e14c679b0e08245bed Signed-off-by: Ahung Cheng <ahcheng@nvidia.com> Reviewed-on: http://git-master/r/353527 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-14USB: cdc-acm: fix data reordering issueYu-An Shih
There is a race condition between acm_tty_unthrottle and acm_process_read_urb; new data can be added to the tty buffer before the data queued when throttled. Bug 1436086 Change-Id: I76364cc69fb718e34ae646497591ddc8a717e6e1 Signed-off-by: Yu-An Shih <yshih@nvidia.com> Reviewed-on: http://git-master/r/353617 (cherry picked from commit 381e5c6d0bc2f3a5eb266b5a54d83d491cbac20d) (cherry picked from commit ee96ff10770213e6376027556efe8a5959f61320) Reviewed-on: http://git-master/r/355823 Reviewed-by: Gray Lei <glei@nvidia.com> Tested-by: Gray Lei <glei@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-01-14usb: gadget: Tegra: fix audio stutterDavid Yu
Boost CPU freq when cable is plugged in/out. Use high priority single thread workqueue to run work function earlier. Bug 1435328 Change-Id: Ib2192fa5c30546d0b4e47dec6479c715d58bf795 Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/354831 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-14tegra: hdmi: support HDMI VSDB VIC parsingEmma Yan
Bug 1167856 Bug 1357380 Bug 1366416 Bug 1369156 Bug 1375947 (cherry picked from commit f649c7aded9902bbeb6e79423e1af87553441949) Reviewed-on: http://git-master/r/280300 Change-Id: Ifd2fce407405bed92d8c399c742635f6e9c59918 Signed-off-by: Emma Yan <eyan@nvidia.com> Reviewed-on: http://git-master/r/353721 GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com>
2014-01-14video: tegra: host: Fix race in gr3d scalingArto Merilainen
The scaling code used cancel_work_sync() while holding a mutex. As the work itself uses the same mutex, we risk causing a deadlock. This patch refactors the code so that the mutex is not hold while calling cancel_work_sync(). Bug 1371500 Change-Id: I3aa0de168cebcc1d8d1843813caee5e82fe3df06 Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/280730 (cherry picked from commit 763125fba1c9a8a67a9968c8502c17465665eb35) Reviewed-on: http://git-master/r/354208 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Gabby Lee <galee@nvidia.com> Reviewed-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2014-01-13usb: gadget: tegra: remove spin_unlock/lock pairRohith Seelaboyina
Remove the extra spin unlock/lock pain while building dtd, as data corruption seems to happen by swapping of dtd when multiple gadget functions are loaded. This changes will make build dtd as part of Critical section, there by swapping of dtd's doesnt occur. Bug 1380570 Change-Id: I69ffc92a294cba13e79e2a02382b0c8f6b8cb28d Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com> Reviewed-on: http://git-master/r/334929 (cherry picked from commit 1716e1b6e87ce0765eaab4c0fb62007735b33ee8) Reviewed-on: http://git-master/r/354900 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-13xhci: tegra: Reset EMC bandwidth before elpgHenry Lin
xhci fw informs driver the changes to maximum bandwidth requirement by MBOX_CMD_SET_BW mailbox command. Driver should reset the required bandwidth to 0 before going to elpg. Bug 1371282 Change-Id: Ic7cdd4d95335a02bce6b017d9d5af101bd4b1365 Signed-off-by: Henry Lin <henryl@nvidia.com> Reviewed-on: http://git-master/r/304734 (cherry picked from commit f21d0ee5e1cadd578ad962df02f90a38adf16369) Signed-off-by: Henry Lin <henryl@nvidia.com> Reviewed-on: http://git-master/r/354846 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-13icera: cdc-acm: fix message lost in modem loggingMartin Chi
When CPU freq is too low (e.g. 51MHz), AP may fail to receive all the modem log under some cases (e.g. 3G call) when modem generates a lot of log. Boosting CPU freq to 696MHz can fix issue. Bug 1432121 Change-Id: I92f7be137ee205b9936129242ab723d343e31046 Signed-off-by: Martin Chi <mchi@nvidia.com> Reviewed-on: http://git-master/r/351425 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2014-01-13input: cfboost: Add module parameter callbackAntti P Miettinen
Cancel PM QoS request upon frequency changing to zero. Change-Id: Ie6bba1eb3f3177751449d53d9237e021140edf82 Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com> Reviewed-on: http://git-master/r/280744 (cherry picked from commit 8623a52d17f0e0788d393fbc4e8a9b2987ae492d) Reviewed-on: http://git-master/r/298656 (cherry picked from commit ad5110686a0596cf8a1b1373b14d37e8b83284b9) Reviewed-on: http://git-master/r/353767 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2014-01-13usb: gadget: tegra: Add callback to boost_enableAntti P Miettinen
Cancel PM QoS request upon enabled to disabled transition. Change-Id: Iaf28d2d0daca312996e2cb1a1280769d814fd066 Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com> Reviewed-on: http://git-master/r/280232 (cherry picked from commit 9a25a04c42ed0feeb1aff1dcf696b54e122a8c65) Reviewed-on: http://git-master/r/353766 GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com>
2014-01-12Arm: tegra: usb: set run bit after disabling PMCMartin Chi
Set run bit soon after disabling the PMC so that the delay in releasing the pmc_lock is avoided. Also add delay in phy_restore_end so that the resume will driven for minimum of 20ms. Bug 1264731 Bug 1382457 Bug 1438066 Change-Id: If4d53359d8a3f33898ed0663cbdf7d4c8310bcf9 Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com> Reviewed-on: http://git-master/r/309449 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com> Signed-off-by: Martin Chi <mchi@nvidia.com> Reviewed-on: http://git-master/r/354696 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2014-01-12mmc: sdhci: tegra: exclusive clk controlBitan Biswas
Exclusive access to Tegra sdhci set clock API to prevent race between multiple callers bug 1405624 Change-Id: If83f4bf7e0f4c9e39e0f581403d33f4efc9f8476 Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/334014 Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/339783 (cherry picked from commit 9d5e83e800ed775ccabed82746b7ea07f952be06) Reviewed-on: http://git-master/r/353625 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-12video: tegra: dc: use cancel_delayed_work_sync()Deepak Nibade
- nvhdcp driver uses flush_workqueue() - instead make use of cancel_delayed_work_sync() since work scheduled is delayed work Bug 1308191 Change-Id: I40f841c417cda9b6f40bb9da5c86c0b8944807e9 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/302383 (cherry picked from commit 058f6085fe89ba3eb4f8cececa42af3dc781c084) Reviewed-on: http://git-master/r/353592 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-12misc: cec: cancel workqueue in suspendDeepak Nibade
- cancel the workqueue in suspend method before turning off the clock Bug 1360341 Change-Id: I126da686a6ba0c5eec55b67df1e9f962ce16fc48 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/280159 (cherry picked from commit 7cc6da6e41c7889f7ed8da7833d293b3b884bc0e) Reviewed-on: http://git-master/r/353591 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-12drivers: misc: therm_est: Add of_match_tableJinyoung Park
Added of_match_table in the driver structure. If there is therm_est binding data in device tree, we don't need to add platform_device_register() for therm_est device in board file. Bug 1240803 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/224875 (cherry picked from commit 71deb2ba7174b010c63155a47c54de9a9ea7f7d7) Change-Id: Ia85a74d3c7b69c3bd4be7859ec8daa8d09d0a4e1 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/353278 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-12misc: therm_est: Robustify history managementJinyoung Park
Added below things to prevent bad temp estimation by wrong history management. - Set current temp estimation with 25C if history initialization is failed. - Store last temp as current history if temp reading is failed. Bug 1375775 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/280251 (cherry picked from commit d498f2502ba9135bfaf137aecfd2576f39b88463) Change-Id: If97275cc3ba36914b43afc2b98ba3163e2ac8255 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/353272 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-08video: tegra: Fix filtering with SCAN_COLUMN onMichael Frydrych
When SCAN_COLUMN is enabled, swap input width and height when deciding if filter needs to be turned on for respective dimension. Bug 1413155 Change-Id: I9d6048e567fbbbb90a27b27cb66418be9ecc9bfc Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com> Reviewed-on: http://git-master/r/350551 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
2014-01-07misc:tegra-baseband:USB_HOST_RELOAD for Bruce BBMartin Chi
Add USB_HOST_RELOAD capability for Bruce modem. bug 1431677 Change-Id: I1c88aac7a6640f8a867509597d842f559d991d68 Signed-off-by: Martin Chi <mchi@nvidia.com> Reviewed-on: http://git-master/r/352523 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Gray Lei <glei@nvidia.com> GVS: Gerrit_Virtual_Submit
2014-01-04RM:tegra:tn7c:Update LTR659PS drv with TN7CChen Jian
- Add PS parameters. - Add sysfs node: ps_data and enable - Update interrupt routine. - Initialize sensor with default paramters. - Update suspend/resume routine. - Add voice call proceding. Bug 1410904 Change-Id: I1569e5bae3c1dbc5c3b65c47d1725bf0f45f06fa Signed-off-by: Chen Jian <jackchen@nvidia.com> Reviewed-on: http://git-master/r/351242 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-01-04ARM:tegra:tn7c:proximity sensor LTR659PSChen Jian
Bug 1410904 Change-Id: Iec927ec18063cfcab399ab9a4eb22ef23a91ce8e Signed-off-by: Chen Jian <jackchen@nvidia.com> Reviewed-on: http://git-master/r/351213 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-01-04video: tegra: dc: hotplug_report for DTChen Jian
- Change pin pull-down state when HDMI cable plug/unplug - Update copyright information as well. Bug 1431621 Change-Id: I07ab372683d74aeff1581af3972235bfd4077d6a Signed-off-by: Chen Jian <jackchen@nvidia.com> Reviewed-on: http://git-master/r/351625 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Min-wuk Lee <mlee@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
2014-01-04misc: tegra-baseband: short autosuspend for native remote wakeNeil Patel
Add support for short autosuspend when native remote wakeup is used. Bug 1362837 Bug 1430974 Change-Id: I13cab913645d00a1d37caabf0d274bb2e557e0c3 Signed-off-by: Neil Patel <neilp@nvidia.com> Reviewed-on: http://git-master/r/324075 (cherry picked from commit c3d9eaafe053f5d8f8859811e01e3a0dac314ba3) Reviewed-on: http://git-master/r/328441 GVS: Gerrit_Virtual_Submit Reviewed-by: Steve Lin <stlin@nvidia.com> Reviewed-on: http://git-master/r/349730 Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com> Reviewed-on: http://git-master/r/351587