summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-15[arm/tegra] cache kfuses on boottegra-10.9.5Jon Mayo
Cache the fuse contents early in boot before DMA is active to ensure exclusive access on that bus. This cache is exposed at /sys/firmware/fuse/kfuse_raw and it can be read() or mmap()'d. Bug 741232 Change-Id: I83bc991c89beb837ec22b2e03ceac11ab696cb6f Reviewed-on: http://git-master/r/10482 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-11-15[ARM/Tegra] Solve DMA race condition on closeScott Peterson
Fixed a race condition when calling NvRmDmaAbort while a DMA transfer is in progress causing a kernel panic Bug 750317 Change-Id: I280971e509857d08e7bf28d676513814095c30ca Reviewed-on: http://git-master/r/10633 Reviewed-by: Scott Peterson <speterson@nvidia.com> Tested-by: Scott Peterson <speterson@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-11-15[arm/tegra] Support for Wake-On-Wireless Event.Rahul Bansal
Support for device wakeup on receiving SDIO interrupt in LP1/LP0 for incoming wifi pakcket. Bug: 730157 Change-Id: Ia2e9bf2af215f33d6d6d8d78ba0cdf2d71011917 Reviewed-on: http://git-master/r/9813 Reviewed-by: Rahul Bansal <rbansal@nvidia.com> Tested-by: Rahul Bansal <rbansal@nvidia.com> Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-11-12[ARM/tegra] RM: Disabled 3D module power gating.Alex Frid
Dependency on tegra core commit a1d2bb33b65c991f6dd21db10e32e8f0c8a302cf. Bug 753226 Change-Id: I03f0cc42946994e6aeb4015f6bca9831d608de2c Reviewed-on: http://git-master/r/10407 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-11-11[tegra/nvos] Handle -EINTR in NvOsSemaphoreWaitInterruptiblevdumpa
Handle the -EINTR case in NvOsSemaphoreWaitInterruptible API. This would avoid forcing user process to handle the error correctly. Bug 745410 Reviewed-on: http://git-master/r/8696 (cherry picked from commit 3ca38fe2c7851e7dc464cdd332c3eeb97a3089aa) Change-Id: Id71c7d82cb7d613bc3726c32d15779defe783723 Reviewed-on: http://git-master/r/9723 Tested-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-11-10[arm/tegra] i2c:Using direct native dma calls in i2c driver.Laxman Dewangan
RmI2c driver is using the nvrm dma calls which is implemented on top of the native dma calls. Changing the rm i2c driver to use directly the native dma apis for dma based transfer inplace of nvrm_dma apis. Change-Id: I247e5176e4e167c1e055058236899065740a9da4 Reviewed-on: http://git-master/r/10362 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com> Reviewed-by: Gabby Lee <galee@nvidia.com> Tested-by: Gabby Lee <galee@nvidia.com> Reviewed-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-11-06[arm] harmony: Enable PCIe/SATA config in gnu_linux configuration.Winnie Hsu
Enable config flags to turn on PCIe and SATA in linux. Bug 744622 and bug 686766 Change-Id: I186dd44ffac054ba5f8785083c929028255cd076 Reviewed-on: http://git-master/r/9663 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Winnie Hsu <whsu@nvidia.com>
2010-11-06nvmap: Improved compaction algorithm implementedKirill Artamonov
Fast compaction algorithm: for every free block from the beginning of CO, try to reallocate block before and after the free block. Once enough free space for requested allocation is freed, return. Full compaction triggers if fast one fails: it works like fast one but also uses block moving algorithm which doesn't require extra CO memory. It compacts all heap, merging as much free space as possible. Also fixed few bugs. bug 740842 bug 746972 (cherry picked from commit 171edd17a191c8a4a4f9a8434dec796089cda141) Change-Id: I40ec2c49a3c3f37fd7149e8123eda59da4caef39 Reviewed-on: http://git-master/r/10149 Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com> Tested-by: Kirill Artamonov <kartamonov@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-11-06[ARM/Tegra] nvmap fix for crash in spin_lock() callThomas Roell
Gate access to h->carveout.co_heap by (h->alloc && !h->pg_alloc) Bug 743185 (cherry picked from commit daba1dc0a3e050a2739293904cad9e65eb27a559) Change-Id: I5014fb40074e79e4db293767e3ef512ea35401d8 Reviewed-on: http://git-master/r/10148 Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com> Tested-by: Kirill Artamonov <kartamonov@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-11-06[ARM/tegra] RM: Updated power ungating procedure.Alex Frid
Since core power partition can be un-gated at low voltage - e.g., on exit from LP1, disable partition clocks before de-asserting reset (instead of disabling clocks immediately after reset is de-asserted). Change-Id: Ic56685186d14525fcc1fca1c933e90b7879e7b6c Reviewed-on: http://git-master/r/10199 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-11-04odm: enable bluetooth wake conditinal to CONFIG_BT_BLUESLEEPUday Raval
Enable bluetooth wake up only when CONFIG_BT_BLUESLEEP is defined. This is to prevent system wake up when bluetooth is not enabled. Bug 753730 Change-Id: Ia929881de0f57a0420a1ed2920a6abee2be71b1c Reviewed-on: http://git-master/r/10189 Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Tested-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-11-04ARM: Add SWP/SWPB emulation for ARMv7 processors (v5)Leif Lindholm
The SWP instruction was deprecated in the ARMv6 architecture, superseded by the LDREX/STREX family of instructions for load-linked/store-conditional operations. The ARMv7 multiprocessing extensions mandate that SWP/SWPB instructions are treated as undefined from reset, with the ability to enable them through the System Control Register SW bit. This patch adds the alternative solution to emulate the SWP and SWPB instructions using LDREX/STREX sequences, and log statistics to /proc/cpu/swp_emulation. To correctly deal with copy-on-write, it also modifies cpu_v7_set_pte_ext to change the mappings to priviliged RO when user RO. Signed-off-by: Leif Lindholm <leif.lindholm@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Change-Id: I10616601fb05643561e5301064c115ee268846bf (cherry picked from commit 81b437e0fabd3049f141bc5820970c325c478574) Reviewed-on: http://git-master/r/10091 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-11-04[arm/tegra] enable SWP/SWPB emulationJon Mayo
enable SWP emulation for 5 defconfigs. Bug 753223 Change-Id: I92137877cc50b6648541d6b6cd685fe670d7104b Reviewed-on: http://git-master/r/10092 Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-10-29[ARM/tegra] RM: Increased PLLC VCO for HDMI config.tegra-10.9.4Alex Frid
Increased PLLC VCO for HDMI configuration to reduce jitter. Bug 734868 Change-Id: Ie898b3806e4e3c69310e9ea7e45c45fa7862de80 Reviewed-on: http://git-master/r/9660 Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-10-29[ARM/tegra] RM: Updated PLL configuration procedure.Alex Frid
Updated PLL configuration procedure to stop PLL before new settings are loaded and to keep PLL's differential output disabled after PLL is re-started until it is locked. (cherry picked from commit cf47eb637bb505bf199710bdc2f8158b8ac9223c) Change-Id: I29ba04ea6d931b168eb47a11f12d0a1241d4a266 Reviewed-on: http://git-master/r/9788 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-10-28[tegra/bluesleep]enable BT_BLUESLEEP for csr boardsrgoyal
enabling kernel configuration variable BT_BLUESLEEP to support bluesleep functionility on csr based boards. BUG 691608 Change-Id: Ia51b39326d2333382ac2318f4d80a51b43975c02 Reviewed-on: http://git-master/r/9692 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-28csr lowpower mode:adding bluesleep support for csrrgoyal
Adding bluesleep support for CSR chip BUG 691608 Change-Id: I5cb9420201e99b36a9ee26a411c0312b3c6e3fa1 Reviewed-on: http://git-master/r/9678 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-27[ARM/TEGRA] ventana odm_kit power supply rail usage correctionNarendra Damahe
Bug 745437 (cherry picked from commit 40234b8f9194860cc6634a94b6b093ce42c2b45c) Change-Id: I3686f931edf8167b01175480a005dca909078166 Reviewed-on: http://git-master/r/9541 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-27[arm/tegra]ventana:Set pingroup SDD, SDC to lp on suspendSuresh Mangipudi
The POR value of SDD and SDC pin groups is PULL_UP. Now setting to NORMAL when entering lowpower state and reset back to PULL_UP when resuming from low power mode. Bug 718123 (cherry picked from commit e8de286c6c8e06f67c0102d26b52c3249e416e64) Change-Id: I7d97312a43953103493762720efc4cf678b6dc25 Reviewed-on: http://git-master/r/8863 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-27[[ARM/Tegra] Clean up build warning messagelazhao
Clean up warning message caused by unused variable and improper struct type. Bug 682070 Change-Id: I3409ad22e67252df14d6d14898aa8792a0019574 Reviewed-on: http://git-master/r/8436 Reviewed-by: Lance Zhao <lazhao@nvidia.com> Tested-by: Lance Zhao <lazhao@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-27[ARM/tegra] RM: Restored core lock sysfs node.Alex Frid
Restored core lock sysfs node accidentally deleted by commit 41aebc5456d4c6ae5f8d1543b478739331d500ec Bug 749303 Change-Id: I87644bf90b7dfe24fb1e8c03f9bfda44048ecd11 Reviewed-on: http://git-master/r/9607 Reviewed-by: Jeff Weintraub <jweintraub@nvidia.com> Tested-by: Jeff Weintraub <jweintraub@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-26[arm/tegra] support RTC alarm interrupt in odm_kitJon Mayo
New API added to odm_kit to register a callback to use on RTC interrupt. Supported added for RTC alarms in the max8907b PMU. Bug 717253 Bug 734529 Change-Id: I34abebd7dd3caf4ef8923fcf651c50f6d245f6b4 Reviewed-on: http://git-master/r/7328 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Tested-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-25sdhci-tegra:Detect SD cards inserted during suspend.Pavan Kunapuli
Update card_present variable during resume by reading card detect gpio value inorder to detect cards inserted during suspend. Change-Id: Ie3eb7cb09cf84fa0795a21c44b28e07e6302adb7 Reviewed-on: http://git-master/r/8060 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-25nvmap: various fixes for bug 743185Venkata (Muni) Anda
Fixed the following: Missing node creation for debug_fs while doing compaction. Missing locks in handle_free Split heap functionality was not creating debugfs node Misc code clean-up. roll up of unmerged changes from other branch Bug 743185 (Cherry picked from commit 396c587981b2d0d1abb1daf481a5fe4bbd0ba70d) Change-Id: I55249e14ea69c3780b24efbfaea9ceef9ef23534 Reviewed-on: http://git-master/r/8236 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Reviewed-by: Thomas Roell <troell@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-25defconfig: install apps on sdcardTom Cherry
Added dm-crypt, loop device support so that applications can be installed on external storage locations like /sdcard. Change-Id: I84ad2216b889ea31347ecef3cc84dbac281620c8 Reviewed-on: http://git-master/r/8818 Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-25[arm/tegra]ventana ODM:getBoardInfo() correctionNarendra Damahe
corrected the function which was not returning correct board id causing emc dfs to not scale after resuming from suspend. Change-Id: Iea1a8e8241ccca45d6b7961f82175c37f33f25fb Reviewed-on: http://git-master/r/7786 Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-22[Arm/config]Harmony: Enable config USB MASS_STORAGERakesh Bodla
On Harmony LDK, USB command verifier tests are failing due to non availability of the usb function driver to handle the USB requests. This is fixed by enabling the mass storage client function for device mode. With this all chapter-9 tests are passing on Harmony LDK. Bug 749305 Change-Id: Ic9c0901f4fff955de761127fef3ab8056a1039e5 Reviewed-on: http://git-master/r/9549 Tested-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-22[ventana/usb] turn off vbusSuresh Mangipudi
Pull up/down the gpio for vbus when entering or exiting out of suspend/resume. Bug 718123 (cherry picked from commit 65f04654231877fdf29d766f73f4e60a251fd975) Change-Id: I9653dd0241b859da5faf19755b2f8f3e494d3beb Change-Id: I39f07bdd12a6c9c7038b0a9d4d7318f85664fc53 Reviewed-on: http://git-master/r/9008 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-22sdhci-tegra:Passing the correct handle to read/write macros.Pavan Kunapuli
The tegra_sdhci structure pointer is passed to the sdhci_readl and sdhci_writel macros instead of the required sdhci_host structure pointer. Corrected this. Change-Id: Icc7172387fc206c65c685e5ee5ee6ab390e9ad89 Reviewed-on: http://git-master/r/9020 Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Rahul Bansal <rbansal@nvidia.com> Tested-by: Rahul Bansal <rbansal@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-21[ARM]: touch: low power mode for touchscreen.Suresh Mangipudi
The late resume of touch was not invoked when display was not turned on. This has been handled now. Bug 740740 (cherry picked from commit ef6a066e3ad9254312660bbb725be9ed49448ffa) Change-Id: Id2f1cd255ed59019fb46778da1b93cbe7aa3b8bb Reviewed-on: http://git-master/r/7973 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-21[ehci-tegra] Fix VBUS handling in OTG modeVenkat Moganty
When USB cable is removed from the USB1 port side then VBUS is turned off but, if USB cable is removed from the device side then VBUS is not getting turned off and is showing high even when USB cable is removed completely from the USB1 port. Fixed this by checking the OTG state "OTG_STATE_A_SUSPEND" and then turning off the VBUS and phy power down. Bug 741587 Change-Id: Ib8f3dbddc48de0d12179dbd504503621854f44cd Reviewed-on: http://git-master/r/8199 Reviewed-by: Lance Zhao <lazhao@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Tested-by: Lance Zhao <lazhao@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-20[arm/tegra] serial: Stop rx dma only if transfer in progress.Laxman Dewangan
If serial core driver request for the stop rx then dequeue the dma request and read the rx fifo only if rx is in progress. Change-Id: I8cd8a75a59773f0195ed876f7faeb89ac0f2cbec Reviewed-on: http://git-master/r/7579 Reviewed-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-20[ARM/tegra] suspend: Consolidated dvfs/TMON resume.Alex Frid
Moved dvfs resume into finish suspend ops call (from the 1st dvfs thread invocation after suspend). This would guarantee dvfs re-start in case when suspend is aborted by other driver. Bug 742504 (cherry picked from commit 3a8bf2922f2f266381c887f3c05b7a755b40fae2) Added thermal monitor (TMON) suspend/resume functionality. Bug 698425 Bug 746601 (cherry picked from commit d6aa039689b31d311c836fe478c5943470d7203d) Change-Id: I643f5bd9021989af569bd0ebba40af60738a6bdf Reviewed-on: http://git-master/r/8719 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Tested-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-19[arm/tegra] kbc: Adding scanning timeout configuration.Laxman Dewangan
Keyboard controller goes to continuous polling mode from wakeup mode if any key is pressed and stay for hw default to 5 second. This parameter was not configurable from odm. It is require to configure this parameter from odm based on platform. Adding support for keeping this time as configurable. The default time still be 5 second if it is not configured from odm. Change-Id: I0fc11cc2a2d64db33b00c048f87081b6181354fa Reviewed-on: http://git-master/r/8644 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Chun-Hung (Alex) Wu <chuwu@nvidia.com> Tested-by: Chun-Hung (Alex) Wu <chuwu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-19[ARM/tegra] clocks: Enabled clock before set rate.Alex Frid
Made sure graphics and sdhci clocks are enabled before the respective rate is configured. Change-Id: I2d09ad111321b296a8d8fbb2d4bff02016e12feb Reviewed-on: http://git-master/r/8272 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-19[tegra/ventana] Enable PPP and USB serial driverRakesh Kumar
Enable PPP and USB serial driver used by huawei EM700 modem. Bug 721467 Change-Id: Ibeedb2660b041c0d08478ecd26c3e958f775d678 Reviewed-on: http://git-master/r/8471 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-15[ARM/tegra] clock: tuned 2d busy hint for emc clk.tegra-10.9.3Alex Frid
Tuned recently added (commit 98b1475bce96ad088e4105a73d34f1cf803f2ee0) 2d busy hint level to reduce NV omxplayer video-playback power. Change-Id: Ic8f807e761e13cefed84a1fdaccb81e8c3c79535 Reviewed-on: http://git-master.nvidia.com/r/8473 Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-15[ARM/tegra] nvhost: Tuned ACM timeout.Alex Frid
Drastic reduction of ACM timeout to 2ms (from 1sec) resulted in power increase for NV omxplayer video-playback (bug 738557). The reason is that short-term scheduling does not provide enough idle time for LP2 state (CPU powered down). On the other hand, 1 sec timeout prevented core voltage scaling during Android music audio-playback (bug 735111). Hence, tuned ACM timeout to 25ms. (cherry picked from commit 32c727ae2c4f91e8d7c9c261921bb62ad14217c9) Change-Id: I96c46c43e9b3089b6a7e01db5f6d122122758c90 Reviewed-on: http://git-master.nvidia.com/r/8470 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Hoang Pham <hopham@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-15[ARM/Tegra] nvhost : unpin context memory handle before freeingAndrew Wright
Bug 731923 Reviewed-on: http://git-master/r/7002 (cherry picked from commit b927a389930941297f987cc7967d10d319deba6b) Change-Id: I576de9b2dfd4245f471ca26636a146ead3df021b Reviewed-on: http://git-master.nvidia.com/r/8430 Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com> Tested-by: Andrew Wright <awright@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-14[tegra] huawei EM770 modem supportRakesh Kumar
Added EM770 vendor and product id in usb serial driver. Bug 721467 Change-Id: Ib64820f25b02a69c8a366b9251f9419dd4bfa786 Reviewed-on: http://git-master.nvidia.com/r/8385 Reviewed-by: Rakesh Kumar <krakesh@nvidia.com> Tested-by: Rakesh Kumar <krakesh@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-13[ARM/Tegra] Fix commit f3824fd58e2654a0d8d3159cb1f776d3ad0169a2Zhijun He
Check for pgalloc is not required. Bug 731923 Reviewed-on: http://git-master/r/7218 (cherry picked from commit 665dba4dd0617f763815bce96dec4a14f8a0c6f6) Change-Id: I82e701555605f4322a95a66b75ffe3f3bce2a5a6 Reviewed-on: http://git-master.nvidia.com/r/8266 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-13[ARM/Tegra] nvmap: fix a crash in _nvmap_handle_freeZhijun He
When the memory for a handle is not allocated, and then if the caller calls _nvmap_handle_free it should not do the cache operations on the memory as there is no memory allocated Bug 731923 Reviewed-on: http://git-master.nvidia.com/r/7166 (cherry picked from commit f3824fd58e2654a0d8d3159cb1f776d3ad0169a2) Change-Id: Icf11ece6d07e122991e0d9b6b4a3dbf8c45ea017 Reviewed-on: http://git-master.nvidia.com/r/8265 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-13video: tegra: nvhost: fix race condition in hostintr wait listZhijun He
Reviewed-on: http://git-master/r/6507 (cherry picked from commit 3708cd7a859d1ca4f3230bc8bfb018894bb6277e) Change-Id: I1609b8b8d1f2de51f7eafa2105fb1f695903a252 Reviewed-on: http://git-master.nvidia.com/r/8262 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-13[Android Camera]: ref count for i2c and gpioZhijun He
Code added to track i2c and gpio object types on NVRM reftracker. This can be used to release handles whenever a system crash happens. This can help properly shutdown and deinitialize imager peripherals. Bug 728160 Reviewed-on: http://git-master/r/5877 (cherry picked from commit 2661d755bfb401204cacafcc5f944085c19df627) Change-Id: Iae3d08ef0fa5ef21d1e243249caa386f2a37fc3a Reviewed-on: http://git-master.nvidia.com/r/8261 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com>
2010-10-12[ARM/tegra] clock: added 2d busy hint for emc clk.Michael Frydrych
Bug 731173 (cherry picked from commit 8961b22287d3f7b6ea33744905675ebd2df236a2) Change-Id: Icc323fec5507991184b20fcb22e017d2acadd4e3 Reviewed-on: http://git-master/r/8127 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-10-12[ARM/tegra] RM: Restarted EMC digital dll.Alex Frid
Restarted EMC digital dll after EMC clock change. Bug 722440 Change-Id: Id8b0ea4381302eb9dec85757840587d782a7a793 Reviewed-on: http://git-master/r/8259 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Hoang Pham <hopham@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-10-12[arm/tegra] Tristate pta pingroupHoang Pham
The pta pingroup is in NORMAL at POR. Tristating this pingroup at init by default to reduce the power when enter LP0 mode Bug 740749 Change-Id: I5ff86c3ddbeb5c608eaee9e11db462acff8ea222 Reviewed-on: http://git-master/r/8109 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Hoang Pham <hopham@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
2010-10-11[arm/tegra] gpio: Correcting pingroup of gpio M6 to ldiLaxman Dewangan
There was typo bug in the gpio-pingroup table where gpio M6 is configured for LD1 pingroup. Correcting table entry to configure GPIO M6 to pingroup LDI. Change-Id: I6938e3e7b28525a920c8a8c6eb59d7013c1f97d0 Reviewed-on: http://git-master/r/8182 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Martin Chi <mchi@nvidia.com> Tested-by: Martin Chi <mchi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2010-10-08[ARM/tegra] nvhost: Reset syncpoints on host initialization.Alex Frid
Added syncpoints reset to host initialization, to synchronize h/w state with shadow variables. Bug 743910 Change-Id: I09420fe2fb85b0e79f0e5d11ade8515e28e96910 Reviewed-on: http://git-master/r/8038 Tested-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Andrew Howe <ahowe@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2010-10-07[ARM/tegra] power: Fixed assert in suspend init.Alex Frid
Set correct field offset in assert on CPU power request polarity during suspend initialization. Bug 741736 Change-Id: Ie7c6589b47b92af815151f6d95ae0acd3030c9cc Reviewed-on: http://git-master/r/7794 Reviewed-by: Hoang Pham <hopham@nvidia.com> Tested-by: Hoang Pham <hopham@nvidia.com> Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>