summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2012-08-02video: tegra: host: use strcmp in nvhost_bus_matchMayuresh Kulkarni
- replace the usage of strncmp with strcmp in nvhost_bus_match() - strncmp was needed when we had device name as <name.ip-version>. but now the device name is <name> which matches with the driver name. - multiple devices get bind with the same driver using id_table which uses .version field as an index in id_table Change-Id: If0b6f0ee18626d5e7ff801b8515ef5168069c3f2 Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com> Reviewed-on: http://git-master/r/117953 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ken Adams <kadams@nvidia.com> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
2012-08-02w1: master: tegra: treat compile warning as errorschowdary
- Add compilation flag to treat warning as error bug 949219 Change-Id: Ifc6b454e3debf44c14720d2aa908147902d57b79 Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118087 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-08-02video: tegra: treat compilation warning as errorschowdary
- Add compilation flag to treat warning as error bug 949219 Change-Id: Ib183b75f73df1a141f1dfdbc330369da838b24b9 Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118086 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-08-02crypto: tegra: treat compilation warning as errorschowdary
- Add compilation flag to treat warning as error bug 949219 Change-Id: Ie5b8eb8ebb3ca37ac111fb0acc64cd8667e2c8e1 Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118079 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-08-02misc: tegra-cryptodev: treat warning as errorschowdary
- Add compilation flag to treat warning as error bug 949219 Change-Id: Iacd963ea85f9a29b79776b7cd504838d992ff1bc Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118076 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-02misc: tegra: treat compilation warning as errorschowdary
- Add compilation flag to treat warning as error bug 949219 Change-Id: Ib5f433fc2ef9cf3777c34eda91b1eff8e815bcb9 Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118073 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-08-02power: tegra: enable warnings as errors flagDeepak Nibade
-enable warnings as errors compilation flag bug 949219 Change-Id: Iccacce77b98498e7d13119cf41db9d34d2bea492 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/118044 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-08-02net: caif: tegra: enable warnings as errors flagDeepak Nibade
-enable warnings as errors compilation flag bug 949219 Change-Id: Ifeaba174d59c437e0068324b73dffd287f90c957 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/118041 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
2012-08-02watchdog: tegra: enable compile warning as errorschowdary
- Add compilation flag to treat warning as error - Handle error of unused variable - Handle error of uninitialised variable bug 949219 Change-Id: I07437be5eaa7bf7abe5494c828690b6be3b98178 Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118039 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-08-02usb: gadget: treat warning as errors for tegra_udc.cDeepak Nibade
bug 949219 Change-Id: If76cece9a5c929216024b165f48f37c4046faffc Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/118037 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-08-02nand: tegra: treat warnings as errorsDeepak Nibade
add compilation flag to treat warnings as errors bug 949219 Change-Id: Iac1b0e608ac5b19f5f84380ab7ffc76e14c3d7a0 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/118033 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-08-02iommu: tegra/gart: resolve compilation warningschowdary
- Add compilation flag to treat warning as error - resolve label defined but not used error in smmu bug 949219 Change-Id: Ie6693cf21904008bbe927b27817a9cd02ed0d34f Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118025 Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com> Tested-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-08-02serial: tegra: treat warnings as errorsDeepak Nibade
-add compilation flag to treat warning as error bug 949219 Change-Id: I1b4eb4a38abbf6140ab5929bb51eec469b96b710 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/118024 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
2012-08-02tegra: sata: treat warnings as errorsDeepak Nibade
-add compilation flag to treat warning as error bug 949219 Change-Id: I23c961756ebe7b84ff019995e5c0704693fdf13f Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/118016 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Yen Lin <yelin@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com>
2012-08-01regulator: tps80031: make regualtor_init_data as pointer typeLaxman Dewangan
The platform data of tps80031 have the regualtor_init_data as non-pointer type. Converting this as pointer type for aligning to regulator driver policy and easy support for DT. Change-Id: I07f574953b09e0ed9ec3735d0ee7999ca35bee61 Reviewed-on: http://git-master/r/119974 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-01regulator: tps80031: rename regulator-name enumsLaxman Dewangan
Renaming the regulator name from TPS80031_ID_* to TPS80031_REGULATOR_* for better readability. Change-Id: I627b6ddb78a60e44da2a869c0d51dd84166302ed Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/119972 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-01Revert "Revert "regulator: tps80031: rename regulator-name enums""Simone Willett
This reverts commit 70e40e9cf025c73fde46d1a5577547dc37182a64 Change-Id: Iaf390c0d3ea16686f619f321bceea572ee7434fc Reviewed-on: http://git-master/r/119802 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-01misc: tegra_baseband: power: get rid of tegra_gpio_enable()Laxman Dewangan
The gpio mode of pin is configured when setting direction and hence this call is no more required. Change-Id: I19296beb619cb6adc8daa02cde825aef45d8d42f Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/119613 Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
2012-08-01mmc: host: tegra: get rid of tegra_gpio_enable()Laxman Dewangan
The gpio mode of pin is configured when setting direction and hence this call is no more required. Change-Id: I2c9bce83a283f6ef45754075cf3b7b1bc5c1d9ac Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/119612 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-01MPU6050: Disable irq when suspend all sensorsHunk Lin
When we suspend all sensors, MPU6050 continue generating irqs. So set MPUREG_INT_ENABLE to 0 for saving power. Bug 1021448 Signed-off-by: Hunk Lin <hulin@nvidia.com> Change-Id: I90acb0b5e297c61c205a20b8eb54e6164a4d5b32 Reviewed-on: http://git-master/r/119344 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Prem Sasidharan <psasidharan@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-08-01mfd: tps65090: align driver with mainlineVenu Byravarasu
Align the driver with mainline. This is vbased on commit 3c33be06f9aa0949ad24e67dfcae1f2a3006f4e1 --------------- mfd: Add support for TPS65090 TPS65090 is a Texas Instrument PMIC. It contains 3 Step-Down converters, 2 always on LDO's and 7 current limited load switches. Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> -------------- Change-Id: I26545520f2cc72100a927cb60b38693153a4afce Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/119320 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2012-08-01regulator: tps62361: make all register as non-volatileLaxman Dewangan
All register fo TPS62361 is non-volatile and so implementing this api for regmap actual caching. bug 993297 Change-Id: I7695ed54bdb0fd9dec13e735264c12b60e18777a Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/119592
2012-08-01mmc: tegra: treat compilation warning as errorschowdary
- Add compilation flag to treat warning as error - Modified sdhci-tegra.c to remove compile warning bug 949219 Change-Id: I704ea95e3b8ca8862482b6793b71ca4e5114f832 Signed-off-by: schowdary <schowdary@nvidia.com> Reviewed-on: http://git-master/r/118036 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-08-01ARM: Tegra: Added support to run at two frequency modesXiao Bo Zhao
CPU clock is now capped at an normal frequency that is below its maximum and allowed to run at a high frequency only once within a period of time. By default the delay is set to 5*DOWN_DELAY, allowing a maximum of 20% high frequency time. Sysfs knobs were also added that allows userspace tuning Bug 1003531 Change-Id: Ie4a0e565630187bdacd6f31b1f35778eb31bfc81 Signed-off-by: Xiao Bo Zhao <xiaoboz@nvidia.com> Reviewed-on: http://git-master/r/118163 Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-07-31Revert "regulator: tps80031: rename regulator-name enums"Simone Willett
This reverts commit 5bc340e408aa3f009651735c71f3c97676fbe79f Change-Id: I70e40e9cf025c73fde46d1a5577547dc37182a64 Reviewed-on: http://git-master/r/119800 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-07-31media: tegra: ov5650: update 320x240 modeWei Chen
Add default values for coarse time and gain settings. Bug 990513 Change-Id: I7f6bae50de911f26d10991e1094de211c8f05632 Signed-off-by: Wei Chen <wechen@nvidia.com>
2012-07-31video: tegra: dc: suppress underflow warningJay Cheng
change printk to trace_printk Bug 995270 Change-Id: I71caadb76f6101f377e44ad3f3dc24ede0a099d5 Signed-off-by: Jay Cheng <jacheng@nvidia.com>
2012-07-31usb: otg: tegra: correct improper register updateRakesh Bodla
Value of WAKEUP register is not updated properly. Correcting it to take appropriate value. Bug 1008660 Change-Id: Ic1dcfed6639c8e8c686bc6931216fd268e4521ed Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
2012-07-31video: tegra: nvmap: Fix two integer overflows.Tuomas Tynkkynen
nvmap_ioctl_pinop kmalloc's a temporary buffer, whose length is directly given by ioctl parameter from usermode. The total size of the buffer is not checked for overflow, which will cause a kernel panic with some inputs. Also, a sizeof() is applied to wrong type when calculating the amount of bytes to copy from userspace. nvmap_map_into_caller_ptr attempts to validate that the memory range to be mapped is correct, but integer overflow can cause the check to fail. This will lead to mapping wrong pages from the allocated handle later on, when the page fault handler gets called. Bug 1025502 Change-Id: I71a09c40c209dba9c5b37c3912e92a81e6f87e80 Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
2012-07-31usb: cdc_ether: Add rmnet device info to ZM5250BH Hsieh
Modified device info element for ZM5250 to sync with framework. Change-Id: I855678edccef50c549960ee209e500ec6d692e36 Signed-off-by: BH Hsieh <bhsieh@nvidia.com>
2012-07-31regulator: tps80031: rename regulator-name enumsLaxman Dewangan
Renaming the regulator name from TPS80031_ID_* to TPS80031_REGULATOR_* for better readability. Change-Id: I6176cb213d23e44061549fd1e81306756a324523 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-07-31i2c: tegra: treat compilation warning as errorschowdary
- Add compilation flag to treat warning as error bug 949219 Change-Id: If40890724e2ba6b9c8356c9b031216eb526a5fd8 Signed-off-by: schowdary <schowdary@nvidia.com>
2012-07-31hwmon/tegra: treat compilation warning as errorschowdary
- Add compilation flag to treat warning as error bug 949219 Change-Id: I1106e3d7d13e0c6305a8709ddfdf85e7652f26a1 Signed-off-by: schowdary <schowdary@nvidia.com>
2012-07-31rtc/tegra: treat compilation warning as errorschowdary
- Add compilation flag to treat warning as error bug 949219 Change-Id: Ic52b13519b817ab3861bd56692ec6b6da60edc48 Signed-off-by: schowdary <schowdary@nvidia.com>
2012-07-31gpio: tegra: treat warnings as errorsDeepak Nibade
add compilation flag to treat warnings as errors bug 949219 Change-Id: Icc202aabd0a43a7c48a32e40fdf7bffe0142c2ff Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
2012-07-31Revert "mmc: host: Disable SDIO card clock when idle"Pavan Kunapuli
Without card clock, inband interrupt is not working on some wifi chips. Bug 981683 This reverts commit b31946b34507209f26c6d709e23fd1c0cedd25f8. Change-Id: I2dd86edb2445bd6db7917adf509b7a018d31aaed Reviewed-on: http://git-master/r/110839 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Change-Id: I6f2266ac5b6bd9585272958b4b8a89af1b3cdffb Reviewed-on: http://git-master/r/119009 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2012-07-31regulator: tps65090: align driver with mainlineLaxman Dewangan
Align driver with mainline. This is based on mainline change 452534e50780697a7e1d3cf87cdfdd2b5a0d3c6b ------------------ regulator: Add TPS65090 regulator driver Add TPS65090 regulator driver TPS65090 PMIC from TI consists of 3 step down converters, 2 always on LDOs and 7 current limited load switches. The output voltages are ON/OFF controllable and are meant to supply power to the components on target board. Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> ----------------- Change-Id: I2aeacc948e2aa15aedd73c704787eef8ace9d336 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/119321 Reviewed-by: Automatic_Commit_Validation_User
2012-07-31mfd: tps80031: add subdevs through mfd_add_devices()Laxman Dewangan
Add provision to register sub devices through mfd sub devices. This will help to move all sub devices as mfd subdevices. Change-Id: Ibc9f56a210d852749cdc3be7da92d54aad298a21 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/118957
2012-07-31mfd: tps80031: rewrite exit path in probe failureLaxman Dewangan
Rewrite exit path in case of failure in registration in probe. Change-Id: I6c2a8ce3d4fcc01dff97eeea63124d2da419da27 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/118956 Reviewed-by: Automatic_Commit_Validation_User
2012-07-31mmc: core: Fix PowerOff Notify suspend/resumePavan Kunapuli
Modified the mmc_poweroff to resume before sending the poweroff notification command. In sleep mode only AWAKE and RESET commands are allowed, so before sending the poweroff notification command resume from sleep mode and then send the notification command. PowerOff Notify is tested on a Synopsis Designware Host Controller (eMMC 4.5). The suspend to RAM and resume works fine. Change-Id: Ib4642a29e423aee6041a92cc72a388d677674ae3 Signed-off-by: Girish K S <girish.shivananjappa@linaro.org> Tested-by: Girish K S <girish.shivananjappa@linaro.org> Reviewed-by: Saugata Das <saugata.das@linaro.org> Signed-off-by: Chris Ball <cjb@laptop.org> Bug 1007644 Bug 936069 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Change-Id: I2e3d421c82eb765cb640876691ffe4818d7e146b Reviewed-on: http://git-master/r/118918 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-07-31mmc: core: Add option to prevent eMMC sleep commandUlf Hansson
Host may now use MMC_CAP2_NO_SLEEP_CMD to disable the use of eMMC sleep/awake command. This option can be used when your platform has a buggy kernel crash dump software, which is supposed to store the dump on the eMMC, but is not able to wake up the eMMC from sleep state. In particular, failures have been seen with u-boot; even if it is fixed there, platforms will be slow to update their bootloader binaries. Change-Id: I403f4b2a231dde087095a660189dc2f4e79edfd5 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Reviewed-by: Hanumath Prasad <hanumath.prasad@stericsson.com> Reviewed-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com> Acked-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Chris Ball <cjb@laptop.org> Bug 1007644 Bug 936069 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Change-Id: I8b2834e154e338a97bd6d82f177809d47d318ff0 Reviewed-on: http://git-master/r/118914 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-07-31mmc: sdhci: Avoid power on/off during sleepPavan Kunapuli
If eMMC sleep support is enabled, set MMC_PM_KEEP_POWER to avoid host power off and power on. Instead, restore the host context in resume. Bug 1007644 Bug 936069 Change-Id: I74578bb1f9e297b3af6bd79b9215364334984836 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/118913 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Min-wuk Lee <mlee@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-07-30mmc: tegra: Don't set MMC_PM_KEEP_POWER by defaultPavan Kunapuli
For SDIO devices, MMC_PM_KEEP_POWER would be set by wifi driver during suspend. It need not be set by default. Bug 1011349 Change-Id: I779a438b45afed2cc0fd7283d89c24e9049cfe39 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-on: http://git-master/r/118954 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-07-30video: tegra: dsi: Fix host HS transmissionAnimesh Kishore
Fixing host transmission with HS enabled. Bug 999141 Change-Id: I9dcc5282971830865dacf16dbbbebf4096aeb00e Signed-off-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-on: http://git-master/r/118315 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-07-30spi: tegra: enable warning as error flagDeepak Nibade
-enable warnings as errors compilation flag -handle error of uninitialised variable bug 949219 Change-Id: I9e754b1cbf086f99433d47aef793a8635185a25e Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/118239 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Sanjay Singh Rawat <srawat@nvidia.com> Tested-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-07-30net: wireless: bcmdhd: power off card when not in useOm Prakash Singh
Power off the card when wifi is off and power up only when wifi is turned on Bug 1011349 Change-Id: I26a8188d932516c0490dec858acd9e8ea2c5adf8 Signed-off-by: Om Prakash Singh <omp@nvidia.com> Reviewed-on: http://git-master/r/118097 Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-07-30video: tegra: host: use fps in 3dfs by defaultIlan Aelion
enable using frame rate information in 3d frequency scaling by default Bug 991589 Change-Id: I410c86e3a56ddf00610133333dd518b4f46aa9ec Reviewed-on: http://git-master/r/116867 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2012-07-30video: tegra: host: adding throughput hint in 3dfsIlan Aelion
adding support for using a throughput hint given by the tegra-gfx misc device in the 3d scaling code. If throughput hint usage is enabled and the latest throughput hint is recent enough (less than 1 second old), the throughput hint is used to control 3d frequency scaling. Otherwise the existing idle time percentage estimate is used. Bug 991589 Change-Id: I68893e5ce7ef922b95ce5f5b3664eb8e1fdd4027 Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/116866 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2012-07-30gpio: tegra: configure pins during irq_set_typeStephen Warren
When a Tegra GPIO is used as an IRQ, it should be enabled as a GPIO (so the pinmux module isn't driving it as an output) and configured as a GPIO input (so the GPIO module isn't driving it as an output). Set this up automatically whenever an IRQ is requested, so that users of IRQs don't need to do this. Signed-off-by: Stephen Warren <swarren@nvidia.com> Acked-by: Olof Johansson <olof@lixom.net> Change-Id: I5159fe099e483145977ecdba63a2bc4302105932 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/118658 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Stephen Warren <swarren@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-07-30spi: tegra: create workqueue before register spi masterLaxman Dewangan
Create all resource require for spi transfer before registering spi master as the spi communication is possible during the registration. bug 1023003 Change-Id: I1f77385866f358effeffb89c6af53a6a2f1c8738 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/118267