summaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)Author
2010-06-16[ARM/tegra] Kernel configs for USB tetheringMichael Hsu
Enable kernel filter / nat tables for iptables program. Enable Android USB RNDIS gadget. Change-Id: I684771da7bcf260b2f9dd6c02b0100fdcc7191a4 Reviewed-on: http://git-master/r/2604 Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-16[ARM] harmony: enable VIDEO_* and USB_VIDEO_CLASSSachin Nikam
In order to USB camera to work needs Video for Linux framework and USB Video Class support. Enabling CONFIG variables for V4L2 and UVC. Change-Id: I8c9a0c9082a0be2f86621348edeb0a89a26375f6 Reviewed-on: http://git-master/r/2742 Tested-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-16tegra: Remove unused function definitionScott Williams
McErrorIntHandler() is no longer used. Remove it. Change-Id: Ie63c2227bd9090fa2873ac17fadf2ed2fc3f4395 Reviewed-on: http://git-master/r/2795 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-16[ARM/tegra] Enable USB tetheringMichael Hsu
Add rndis USB function and platform device to tegra board config. Bug 693505 Change-Id: I4e8a16948f4081e7387502bed8f02991d9b4bd7c Reviewed-on: http://git-master/r/2600 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-16[ARM/tegra] dma: allow NULL threshold callback, mark shared channel usedVinod G
not all continuous clients will need callbacks for halfbuffer full, so handle NULL callback functions as no-ops. also, since CH_MIN is used as the channel for shared DMA interrupts, it needs to be reserved so that it isn't allocated for exclusive clients Change-Id: I7880eaeb0e7151b7617f7f93e83029797d2ad0f4 Reviewed-on: http://git-master/r/2733 Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-16tegra nvodm sdio: tap delay for WLAN SDIOKapil Hali
Setting the sdio pad strength to optimal value('0xC') Bug ID: 687140 Change-Id: I1ddf930f7030baa60dba0267a4cc93b35beb3689 Reviewed-on: http://git-master/r/2738 Tested-by: Kapil Hali <khali@nvidia.com> Reviewed-by: Rahul Bansal <rbansal@nvidia.com> Reviewed-by: Anantha Idapalapati <aidapalapati@nvidia.com> Tested-by: Anantha Idapalapati <aidapalapati@nvidia.com> Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
2010-06-15[ARM/tegra] nvrm_dma: initialize threshold callback to NULLVinod G
Change-Id: I0841c494462e4c2b2fd9f58cc0a3ad0305e5914a Reviewed-on: http://git-master/r/2735 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-15ARM: Convert VFP/Crunch/XscaleCP thread_release() to exit_thread()Russell King
This avoids races in the VFP code where the dead thread may have state on another CPU. By moving this code to exit_thread(), we will be running as the thread, and therefore be running on the current CPU. This means that we can ensure that the only local state is accessed in the thread notifiers. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Change-Id: I195ea8ce8f5f438166b402411eaff3f33f4b2490 Reviewed-on: http://git-master/r/2731 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Tested-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-15ARM: VFP: fix vfp thread init bug and document vfp notifier entry conditionsRussell King
When the VFP notifier is called for flush_thread(), we may be preemptible, meaning we might migrate to another CPU, which means referencing the current CPU number without some form of locking is invalid, and can cause data corruption. For the most cases, this isn't a problem since atomic notifiers are run under rcu lock, which for most configurations results in preemption being disabled - except when the preemptable tree-based rcu implementation is selected. Let's make it safe anyway. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Change-Id: Ib6b75f8fc31efac2a874494af576fc334e2771d4 Reviewed-on: http://git-master/r/2730 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Tested-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-15[ARM/tegra] Apply 2.6.29 USB network driver fixes to 2.6.32Michael Hsu
Bug 596345 Fixes USB CDC class modem, IP packet corruption. Change-Id: Ib703ed1e226d1d659038f3ebb61674e912ec73c4 Reviewed-on: http://git-master/r/2626 Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-15[ARM/tegra] nvrm spi: use lazy disable for spi busy hintMichael Hsu
SPI driver normally enables / disables CPU and bus frequency boost at the start / end of each SPI transaction. Instead of turning off frequency boost immediately at the end of each SPI transaction, use a timeout period after which frequency boost hints will time out. The timeout period is calculated based on the number of bytes in the SPI transaction and the SPI clock rate. The timeout insures that frequency boost is still active in between multiple SPI transactions. This has the side effect of increasing SPI data transfer rate for multiple SPI transactions. This was a cherry-pick from android-tegra-2.6.29 id: I088127ebb5ea07810dac824bfafd3f99ae6c96f2 and applied to the android-tegra-2.6.32. Change-Id: I765e892cb34a4fff8d8607cdf52cec065979c6e7 Reviewed-on: http://git-master/r/2338 Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-15tegra touch: support more than 2 fingersVarun Wadekar
The kernel touch stack can support a max of 5 fingers at a time. Adding support in the driver to suport 5 fingers too. The touch odm for whistler is broken, hence disable pressure and width support. Change-Id: I9e148bab2efa0116a6513cc8b1cb2ffc2ea27cc8 Reviewed-on: http://git-master/r/2327 Tested-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-15nvec-keyboard: move suspend-resume code to odmBharat Nihalani
Moved NvEc calls from nvec-keyboard driver to keyboard odm kit where all the remaining communication with NvEc resides. Change-Id: I12c528a7b54a02ccef5129d022934da3476e0fcf Reviewed-on: http://git-master/r/2471 Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-15harmony: Enabling LP wakeup keyevent from GPIOV2.Laxman Dewangan
Enabling the wakeup keyevent from the GPIOV2. This is required for the E1206 based board wakeup. Change-Id: I012d881ea154433cf568ac41a63d02b909672962 Reviewed-on: http://git-master/r/2460 Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-15[ARM] harmony: disable ANDROID_PARANOID_NETWORK, enable ALSAGary King
Change-Id: I7d9bc94317f1c069f124cd9889c27ce22578e50e Reviewed-on: http://git-master/r/2577 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-15[ARM/tegra] dma: clean up APB_DMA_IRQ_MASK_SET usageGary King
since several DMA channels are reserved for the multimedia engine, restrict block IRQ_MASK_SET to the channels available to the OS on resume, write the saved IRQ mask value to APB_DMA_IRQ_MASK_SET, not to APB_DMA_IRQ_MASK Change-Id: I1e00dc665d93c49f59d75f602e38b67289403a51 Reviewed-on: http://git-master/r/2622 Reviewed-by: Trivikram Kasivajhula <tkasivajhula@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-15[ARM/tegra] suspend: fix lp0 scratch register mappingsGary King
fix a couple of typos in the lp0 scratch register mappings Change-Id: If72859c592011fce8f356553bf1ab1ad8f5d43a7 Reviewed-on: http://git-master/r/2609 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-15[ARM] harmony: enable TOUCHSCREEN_TEGRA_ODMJitendra Lanka
Enabling TOUCHSCREEN_TEGRA_ODM to include touch functionality in the kernel by default. Change-Id: Ia964269f395ab869018f7213426d8729dd43153c Reviewed-on: http://git-master/r/2569 Tested-by: Jitendra Aditya Lanka <jlanka@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-14[ARM/tegra] power: Updated CPU complex suspend/resume.Alex Frid
- Added CPU clock divider to saved/restored CPU complex context. - Made sure flow controller event flag is cleared on resume - Stopped tegra wake trigger timer after LP2 suspend Change-Id: I27c5a7d25d4cb4e820836e52fcee152566177edf Reviewed-on: http://git-master/r/2602 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-14[ARM/tegra] whistler ODM: change rainbow 570 power on pulse to 1200msSteve Lin
Changing the Rainbow 570 modem power on pulse time. Rainbow 570 modem requires power on pulse more than a second. This change increases the power on plus time and correct the DAP connection table for Rainbow 570. The Rainbow1 modem also works after the pulse time change. Bug 640843 Change-Id: I533dbaf89387a38d4ce1aa6a5f98085f79b2abbc Reviewed-on: http://git-master/r/2522 Tested-by: Szming Lin <stlin@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-14[ARM/tegra] aes: Disable read access to key slots.Kasoju Mallikarjun
To prevent unauthorized access to keys loaded into key slots in AES engines, disabling read access to all key slots. Bug 649783: AES driver must disable read access to keys in all key slots Change-Id: Id5cd8a059b9b6cef76e4e1817748f84825636d97 Reviewed-on: http://git-master/r/2553 Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-14[ARM/tegra] spi: Adding support for the hw based CS.Laxman Dewangan
It is require to use the hw based CS to meet the timing requirement as: - Minimum CS setup time i.e. time from CS active to first clock. - Maximum CS hold time i.e. CS should be active after last clock. SW based CS can support the above 1 but not 2 because it dpeneds on os load and system performance. To meet the above requirements, it is require to enable the hw based CS. As spi controller support for the hw based CS for the smaller number of packet, enabling this feature. Driver use the sw based CS by default. If client want to use the hw based CS, then it need to enable this through nvodm query NvOdmQuerySpiDeviceInfo table for different CS. For this, client need to set device info as CanUseHwBasedCs = TRUE, CsSetupTimeInClock = xx CsHoldTimeInClock = xx Change-Id: I9e943e0b39f2d75272826cc2ec7687b3434b1c2a Reviewed-on: http://git-master/r/2536 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-12[ARM/tegra] whistler ODM: configure GMA pingroup as pull-upSuresh Mangipudi
The gma pingroup was not pulled up. doing a pull up of the gma pingroup reduces the power on the VDDIO_NAND rail by 1.5 mW. Bug 688283. Change-Id: I73fcd4bf6ebef66ae4cfc1ffcfeef8bed659b611 Reviewed-on: http://git-master/r/2470 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11[arm] tegra : added SYSVIPC for GNU Linux configurationYu-Huan Hsu
Added CONFIG_SYSVIPC and CONFIG_SYSVIPC_SYSCTL into harmony and whistler GNU Linux configuration. Change-Id: I57db6adf55eecf5b5f7c141c00f1bedb97979d3d Reviewed-on: http://git-master/r/2532 Tested-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-06-11tegra: Move SOC-specific pinmux data to SOC-specific filesScott Williams
Change-Id: I9bb3607e9605eefd5c0eec07a8be3fafce9bae64 Reviewed-on: http://git-master/r/2528 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11[ARM/tegra] rename cortex_a9_save to tegra2_saveGary King
more of the code in this file is tegra power-state specific than common CPU save and restore routines, so rename it to reflect that it won't run on non-Tegra SoCs Change-Id: I22643da41309b48a7f85e62407ec8b7d9f75baff Reviewed-on: http://git-master/r/2244 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11tegra: gpio based keyboard driver for E1206 platform.Laxman Dewangan
Adding the gpio based keyboard driver support for the E1206 based platform. The gpio-key driver will get the platform data from odm. The odm will return gpio pin group information for E1206 based platfrom otherwise return NULL. The gpio pin information is converted to platform data which will be used by the gpio key driver. Change-Id: I9fd34f82abef86157a92aabcb01cc3ebe0059886 Reviewed-on: http://git-master/r/2420 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11[ARM/tegra] suspend: add support for LP0 and LP1 suspend modesGary King
in both LP0 and LP1, SDRAM is placed into self-refresh. in order to safely perform this transition, the final shutdown procedure responsible for * turning off the MMU and L1 data cache * putting memory into self-refresh * setting the DDR pads to the lowest power state * and turning off PLLs is copied into IRAM (at the address TEGRA_IRAM_BASE + SZ_4K) at the start of the suspend process. in LP1 mode (like LP2), the CPU is reset and executes the code specified at the EVP reset vector. since SDRAM is in self-refresh, this code must also be located in IRAM, and it must re-enable DRAM before restoring the full context. in this implementation, it enables the CPU on PLLP, enables PLLC and PLLM, restores the SCLK burst policy, and jumps to the LP2 reset vector to restore the rest of the system (MMU, PLLX, coresite, etc.). the LP2 reset vector is expected to be found in PMC_SCRATCH1, and is initialized during system-bootup in LP0 mode, the core voltage domain is also shutoff. as a result, all of the volatile state in the core voltage domain (e.g., pinmux registers, clock registers, etc.) must be saved to memory so that it can be restored after the system resumes. a limited set of wakeups are available from LP0, and the correct levels for the wakeups must be programmed into the PMC wakepad configuration register prior to system shutdown. on resume, the system resets into the boot ROM, and the boot ROM restores SDRAM and other system state using values saved during kernel initialization in the PMC scratch registers for simplicity, the outer cache is shutdown for both LP0 and LP1; it is possible to optimize the LP1 routine to bypass outer cache shutdown and restart v2 fixes from Vik Kasivajhula: * restore PLLC during LP1 resume * fix typo which set the CPU clock burst policy to PLLM, rather than PLLP Change-Id: Icb1d2cbcbac8503369a10d16fd5c8b561af5a35a Reviewed-on: http://git-master/r/1773 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11[ARM/tegra] suspend: add scratch register mapping for tegra 2 LP0Gary King
to restore from LP0, a large number of memory, arbitration and PLL settings need to be preserved in scratch registers in the AO domain for the boot ROM to reload them after exiting LP0. Change-Id: Ic446ef47c3cba9b792dd7b86b176157757504bde Reviewed-on: http://git-master/r/2154 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11[ARM] outer_cache: add outer_restart callback and l2x0 implementationGary King
outer_restart should be called by platform suspend_ops to restore the outer cache to an active state following a power transition which disables or otherwise invalidates the outer cache state. Change-Id: I07a5268d1783fecd36491138e20913fca24a26d9 Reviewed-on: http://git-master/r/2243 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11[ARM/tegra] dma: don't save & restore the channel status registerGary King
CHAN_STA is the interrupt status register (write-to-clear), so preserving it across power transitions doesn't make a lot of sense Change-Id: Ibf4d6da17da5afbbde7572295207844cca63d38a Reviewed-on: http://git-master/r/2516 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11[ARM] harmony: enable CONFIG_GPIO_KEYSLaxman Dewangan
Enabling the gpio key config to enable the functionality of gpio based key driver for the E1206 based platform. Change-Id: I9296051993a8e93034cc3a90edf988a1df9a5925 Reviewed-on: http://git-master/r/2459 Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-11[ARM/tegra] aes: obfuscate cached keysKasoju Mallikarjun
- Clearing dma buffer after ECB operation - Removed acquisition / releasing of hardware lock in AesCoreEcbProcessBuffer. Change-Id: I942d1758ef08af2b3bd0c2d72207a90daeffba20 Reviewed-on: http://git-master/r/2416 Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-11[ARM/tegra] RM: speed up clock usage API.Alex Frid
Skipped spare clock h/w access when DVFS is running - it was not used, anyway, since all rates in this case are available in DVFS variables. Change-Id: Id324c7904e30ea8fe50b319cfd06c75a721b6b3f Reviewed-on: http://git-master/r/2458 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-11tegra: disable_nonboot_cpus() requires CONFIG_PM_SLEEP_SMPScott Williams
Change-Id: I56e56dc8ad7d848be8363845dff5bd48a7e4fe38 Reviewed-on: http://git-master/r/2507 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-11tegra: Fix potential data abort if module doesn't existScott Williams
This is a port of change 1465 from android-tegra-2.6.29. Change-Id: Ibca32ecc0424fae28e4db04977722f7d7a6c6938 Reviewed-on: http://git-master/r/2502 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11tegra: Perform DSB immediately before WFIScott Williams
As per ARM recommendation, perform a DSB immediatly before a WFI. Change-Id: I8a94ca13c73e7a1d2d96712b0e29122a0b4c1618 Reviewed-on: http://git-master/r/2501 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11tegra: Avoid the use of literals in assembly codeScott Williams
Literals can be problematic in certain types of code. Avoid them by taking advantage of ARMv7 architecture features. This is a port of change 1255 from android-tegra-2.6.29. Change-Id: I728177cd940a9524feca6bc1de7353a98dfc1878 Reviewed-on: http://git-master/r/2495 Reviewed-by: Gary King <gking@nvidia.com> Tested-by: Gary King <gking@nvidia.com>
2010-06-11[ARM/tegra] dma: set dma burst for slink based on transfer size.Laxman Dewangan
Setting the dma burst size for slink based on tarnsfer size. If transfer size is multiple of 16 bytes then set burst size as 4 word otherwise 1 word. For other dma requestor, the dma burst size is 1 word. Change-Id: I9c699b124c5f8f4c4b1fb3b916da5f235faa8704 Reviewed-on: http://git-master/r/2476 Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-10[ARM/tegra] ODM: added PMU power off properties.Alex Frid
Added support for wake event delay, and CPU power off time controls. Exposed the respective settings as ODM PMU properties. Bug 690326. Change-Id: I2c30365de3fce4e2d45b1e66c7af9087f10d8451 Reviewed-on: http://git-master/r/2377 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-10[ARM/tegra] time: forced delay routine alignment.Alex Frid
Forced delay routine alignment - without it calibration results (BogoMIPS and loops_per_jiffy) may very depending on the code layout. Change-Id: I0abcacf947c6e451b72bdb4f2ec5fee160ad68b2 Reviewed-on: http://git-master/r/2455 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-10[arm] whistler: Add non-Android configuration fileYu-Huan Hsu
Added non-Android configuration for Tegra Whistler platform. Bug 694513 Bug 693422 Change-Id: I9696d1ce44bfd4195e1544ae90344a9afe6558c3 Reviewed-on: http://git-master/r/2435 Tested-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com> Tested-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-06-10[arm] harmony: Added non-Android configuration fileWinnie Hsu
Added non-Android configuration for Tegra Harmony platform. Bug 694513 Bug 693422 Change-Id: I3eae367803868373ff9c0e10686f535aa8ee4151 Reviewed-on: http://git-master/r/2448 Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Tested-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-06-10[arm] harmony: Fixed compilation issue when CONFIG_USB_ANDROID is not set.Winnie Hsu
Change-Id: Ie08e1384cc8896ad23eac96e942cf54ae7792015 Reviewed-on: http://git-master/r/2444 Tested-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-06-10[ARM/tegra] RM: expanded CPU power off (LP2) policies.Alex Frid
Expanded CPU power off (LP2 state) policies as follows: (a) "Enter in Low Corner" - LP2 is entered and DVFS tick interrupt is masked only when DVFS is in low corner. (b) "Mask in Low Corner" - LP2 is entered independently of DVFS, but DVFS tick interrupt is masked only when low corner is hit (c) "Ignore Low Corner" - LP2 is entered and DVFS tick interrupt is masked independently of DVFS low corner. Ported from android-tegra-2.6.29, but set default policy to (c), which is the same as current android-tegra-2.6.32 kernel behavior (on 2.6.29 kernel (a) was default). Added sysfs node to change and evaluate policies. Change-Id: I22e89f4d58dfa2e2fb668154c1ae2cd301fbe1ca Reviewed-on: http://git-master/r/2359 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-10 tegra usb: Resume the device without re-enumerationSeshendra Gadagottu
When fast wakeup feature is supported by a host controller port, then avoid the restarting of controller. Fast wakeup is enabled on the port where device like usb modem is connected always. BUG 692574: Fast Wakeup for USB modems BUG 594395: Fast Wakeup Change-Id: Iaee9f184189f8a1aa8aa0e440879600c0eb625cc Reviewed-on: http://git-master/r/2375 Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-09tegra nvrm: fixing access permission for nvrm.vdumpa
Bug 663469 nvrm is split into two nodes, /dev/knvrm and /dev/nvrm. /dev/nvrm has access to limited set of API's. Added validation of params in the API's that can be accessed from /dev/nvrm. Change-Id: I57c2aae000bf873fe85db00df66ec004c2882b5c Reviewed-on: http://git-master/r/2300 Reviewed-by: Gary King <gking@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Tested-by: Krishna Reddy <vdumpa@nvidia.com>
2010-06-09[ARM]tegra:enable config USB_SUSPENDNarendra Damahe
Bug 696988 Change-Id: Id814b03c89d5cd48c6b779b55fdb7f5ee56f06f8 Reviewed-on: http://git-master/r/2347 Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-09tegra framebuffer - dsi one shot supportArthur Spence
DSI one shot support requires register access in the tegra framebuffer to poke the frame trigger bit (with both the trigger bit and the tearing effect signal are high, a frame of pixels will be sent to the panel). The boot args must also be expanded to have a "use tearing effect" flag. tegra RM: Expanded Display clock configuration options. Added an option for restricted Display clock synchronization with MIPI PLL - select MIPI PLL as a pixel clock source, but preserve PLL settings. To specify this option flag NvRmClockConfig_InternalClockForPads should be set by RM client along with NvRmClockConfig_MipiSync flag (in the absence of the former flag, MIPI PLL can be re-configured at RM discretion - current behavior). Change-Id: I495c2d76656efe8653aa5731c07180c2bfcd2fc0 Reviewed-on: http://git-master/r/2342 Tested-by: Arthur Spence <aspence@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>
2010-06-09[ARM/tegra] move MC error interrupt out of NvRmGary King
MC error interrupts are useful debug features, so implement them separately from the RM; also, enhance the printouts to include the client name, so that cross-checking the status value against a separate list isn't necessary Change-Id: I9aa2857388bf252bbcd2f3048eae0fb63d90a011 Reviewed-on: http://git-master/r/2280 Tested-by: Gary King <gking@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Gary King <gking@nvidia.com>