summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-31ARM: tegra: cardhu: WAKE19 disableBitan Biswas
We see repeated WAKE19 (VBUS) resumes when USB device cable is connected for E1186/E1187 cardhu boards. Hence, this change disables the WAKE19 to prevent the problem bug 1025421 Change-Id: If7ebf68ebf257a9bea58652042d77f0c19f40366 Signed-off-by: Bitan Biswas <bbiswas@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-31ARM: configs: tegra: enable ISO9660 fsVishal Singh
Enabling ISO9660 file system (and its JOLIET extension) support in kernel. Bug 1018276. Change-Id: I1acaf5dc3a571b75a81860485d3c668ea82d822c Signed-off-by: Vishal Singh <vissingh@nvidia.com> Reviewed-on: http://git-master/r/117372 Tested-by: Vishal Singh <vissingh@nvidia.com> Reviewed-by: Sandeep Trasi <strasi@nvidia.com> (cherry picked from commit c35638147c3fa9d56f124b4d6c0435aadad53d97)
2012-07-31arm: tegra: p1852: Add USB_G_ANDROID supportAmlan Kundu
+ require for android adb bug 1005255 Change-Id: If2c8d197f987ddd43a9b6a6cc602ac1e2f4ae2f8 Signed-off-by: Amlan Kundu <akundu@nvidia.com> Reviewed-on: http://git-master/r/114562 (cherry-picked from 6640721b05059f03325abadfebe2f08026a41a88)
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-31arm: tegra: p1852: Add android defconfig for p1852Amlan Kundu
bug 1025348 Change-Id: I0206c273af45b51fdd67e94c80f915a33950a929 Signed-off-by: Amlan Kundu <akundu@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-31ARM: tegra: enterprise:all configuration through regulator init dataLaxman Dewangan
In place of using the separate platform data for configuring regualtor's init states, pass all information through regulator init data only. Change-Id: I76f05bfa0da1b8867e7d4d5578ed9067eed6a882 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-07-31arm: tegra: usb_phy: Separate the consumer supplyPenny Chiu
Add usb host controller device names for avdd_usb consumer supply. This change will make all usb host controller devices have separate regulator debugfs. Bug 946361 Change-Id: I8f2a49bffc4623eac2e3f71333b602fb7a6caf7d Signed-off-by: Penny Chiu <pchiu@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-31arm: tegra: usb_phy: add close operation for hsicVinayak Pane
hsic phy_power_off keeps hsic bus in suspend state through PMC interface. The bus should go in reset state at phy_close otherwise the connected device will not enumerate after ehci-remove. Bug 1003141 Change-Id: Ifa91d06a3c10221e74de67c68ea1f930d843d19f Signed-off-by: Vinayak Pane <vpane@nvidia.com>
2012-07-31kthread: disable preemption during complete()Peter Boonstoppel
After a kthread is created it signals the requester using complete() and enters TASK_UNINTERRUPTIBLE. However, since complete() wakes up the requesting thread this can cause a preemption. The preemption will not remove the task from the runqueue (for that schedule() has to be invoked directly). This is a problem if directly after kthread creation you try to do a kthread_bind(), which will block in HZ steps until the thread is off the runqueue. This patch disables preemption during complete(), since we call schedule() directly afterwards, so it will correctly enter TASK_UNINTERRUPTIBLE. This speeds up kthread creation/binding during cpu hotplug significantly. Change-Id: I856ddd4e01ebdb198ba90f343b4a0c5933fd2b23 Signed-off-by: Peter Boonstoppel <pboonstoppel@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-31ARM: tegra: wifi dpd control for resetBitan Biswas
Wifi On/Off needs to toggle GPIO pins under SDMMC that could be in IO DPD mode. bug 1021526 Change-Id: If514059372d2242c6f6512b30534536cbff455dd Signed-off-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-on: http://git-master/r/118940 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Tested-by: Pavan Kunapuli <pkunapuli@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-31ARM: tegra: usb: keep usb vdd regulator onRakesh Bodla
Adding the conditions during which USB vdd regulator should be kept ON. Bug 1024425 Bug 1012078 Bug 1018538 Change-Id: I3319c91ecc02891ea4467f73be2b84a3817dab36 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/119279 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-07-31ARM: tegra: usb: free allocated resources in errorRakesh Bodla
Free allocated resources at approriate error conditions. Change-Id: I548f6ac7ad65eae93f9f49b0a5fa7ffff9685241 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/119039 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
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-31ARM: tegra: usb_phy: Fix remotewakeup resume codeVinod Atyam
1) After remote wakeup resume code is not waiting until RESUME and SUSPEND bit cleared. Instead it is waiting for RESUME bit to get set. This is updated properly now. 2) During resume, no need to depend on port speed to take HSIC in high speed. Bug 1019619 Change-Id: I3d06255da65045bdf5c6a4deb10a3c6f96aef661 Signed-off-by: Vinod Atyam <vatyam@nvidia.com> Reviewed-on: http://git-master/r/118582 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-07-30arm: tegra: p1852: Fixes for I2S master modeNitin Pai
Change the Drive strength of DAP1 for I2S to operate in both master and slave mode. Changed the Pull Up/Down mechanism for I2S4 to operate in master/slave mode. Bug 1009249 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/114587 (cherry picked from commit 29ec5dfb81b823880f393bece5daf5396ef77629) Change-Id: I24a252370b993150a553c9f81fb44e6d8f86589a Reviewed-on: http://git-master/r/118251 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@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-30ARM: tegra: dvfs: enable regulator before using itLaxman Dewangan
The dvfs system require the regulator for regulating the voltage. The regulator should be enable before using it to make sure the reference count enabling rail of that rail should be properly counted. Change-Id: Ib8b673ecb7939ac80f46bdf90ffec27b8f62df6b Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/118598 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
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-30asoc: tegra: i2s: Fixes for audio_clock_2x rateNitin Pai
audio_clock_2x parent needs to be set first before changing the rate, else it will not work. Bug 1019017 Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/116682 (cherry picked from commit fdc4da6d96e7be4aa2accf098de48543e745cf11) Change-Id: I93aeb1afed8732e8a1b1cff4ab03b9a9f654804f Reviewed-on: http://git-master/r/118250 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bob Johnston <bjohnston@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@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-30ARM: tegra: Add profile that disables runnable threadsXiao Bo Zhao
Add profile [0, 0, 0] which effectively disables runnable threads Bug 1003531 Change-Id: Ia45e533d5a6531b06c44c6d95f2f7cfd93cf976e Signed-off-by: Xiao Bo Zhao <xiaoboz@nvidia.com> Reviewed-on: http://git-master/r/118219 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2012-07-30arm: tegra: Added sysfs knobs for RT thresholdsXiao Bo Zhao
Added different bias levels to RT and added the option to modify the bias level through sysfs knobs Bug 1003531 Reviewed-on: http://git-master/r/114271 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> (cherry picked from commit 654bc674034f384d8826806fb443d4e9c67b9b3b) Change-Id: I2e647a65fb89926dd9f0b2ac3edc3dca8eb659a1 Reviewed-on: http://git-master/r/118201 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Sai Gurrappadi <sgurrappadi@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-30ARM: tegra: Added sysfs knob that checks app profile supportXiao Bo Zhao
Currently app profile is only supported for AP37 hence added sysfs knob that uses cpu_speedo_id in order to check app profile support Bug 1003531 Change-Id: I12b9bc1700b3c925a1f1d51bb00584e7e5d6f0a3 Signed-off-by: Xiao Bo Zhao <xiaoboz@nvidia.com> Reviewed-on: http://git-master/r/117852 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
2012-07-30ARM: tegra: dvfs: Adjust VDD_CPU to offset agingAnshul Jain
Add silicon aging for VDD_CPU, this recovers some of millivolts based on the age of the chip. BUG 1006420 Change-Id: Idddb5861ab039e7ece262dec3697a69c3534ccf2 Signed-off-by: Anshul Jain <anshulj@nvidia.com> Reviewed-on: http://git-master/r/116911 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-07-30ARM: tegra3: clock: Put graphic clks to safe rangeJong Kim
Initialize graphic and video input clocks in to safe frequency ranges. bug 966041 Change-Id: I48a035b42bad5a6d36f56e2b0610baf0703c3bcd Signed-off-by: Jong Kim <jongk@nvidia.com> Reviewed-on: http://git-master/r/117484 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@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-30ARM: tegra: cardhu: report height/width for E1506Rakesh Iyer
For accurate Dots-per-inch computation we need to report height/width for the E1506 panel. Bug 1014380. Change-Id: Ic78b6843f65f44d6162e3c4313aae37bd0e96ba1 Signed-off-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-on: http://git-master/r/118438 Reviewed-by: Lokesh Pathak <lpathak@nvidia.com> Tested-by: Lokesh Pathak <lpathak@nvidia.com>
2012-07-30ALSA: usb-audio: register switch deviceRavindra Lokhande
regsiter android switch device which is used to convey device plug-in and plug-out to userspace. Bugs 1009921, 1019877 Change-Id: I8e3c2fce420cc0ce094a6d8f2cf00abb630fcf2f Reviewed-on: http://git-master/r/119033 Tested-by: Ravindra Lokhande <rlokhande@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Vijay Mali <vmali@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
2012-07-30arm: tegra: Add HSIC to list of wake up sourcesVenu Byravarasu
bug 1010916 Change-Id: I6d01e8d19be1583b7454cc731f8f30ec58eec672 Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-on: http://git-master/r/117338 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-07-30arm: tegra3: usb_phy: Add support for HSIC wakeupVenu Byravarasu
As part of this patch following changes are made: 1. HSIC regulator enable/disable is added 2. HSIC phy close is added. bug 1010916 Change-Id: I4607a3ac13417a201b62708c6fef5d1117dfdcc5 Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-on: http://git-master/r/116984 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-07-30arm: tegra: la: hack latency allowance formulaMichael Frydrych
Remove the ad-hoc scale factor of final latency allowance. Scale the fifo size to pretend that our FIFO is only as deep as the lowest fullness we expect to see. Bug 995270 Change-Id: I78ed2246d2031a2303f81a19fe05c95572a692b0 Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com> Reviewed-on: http://git-master/r/118816 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Graziano Misuraca <gmisuraca@nvidia.com> Tested-by: Graziano Misuraca <gmisuraca@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-07-30ARM: tegra: clock: increase Tegra3 pll post-lock delaySang-Hun Lee
Bug 1022877 Change-Id: I9200d3345a933ab0ccb31f833184ee4a621228f0 Reviewed-on: http://git-master/r/118774 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Tested-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>