summaryrefslogtreecommitdiff
path: root/arch
AgeCommit message (Collapse)Author
2012-06-18video: tegra: dc: Revert "Revert "video: tegra: dc: Set default videomode""Marvin Zhang
bug 991805 This reverts commit 64655badec17cea1c3ad43a5fff4ed92ad862aed. Change-Id: Ic9b4b97953f7452e32e91eae930f631b5d5444af Reviewed-on: http://git-master/r/109625 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Ryan Wong <ryanw@nvidia.com> Tested-by: Ryan Wong <ryanw@nvidia.com>
2012-06-18Input/Output: SPI: board file for kaiDavid Jung
Split the transaction to equal the maximum fifo depth of 128 bytes. Touch driver uses ~1430 bytes so performance could be impacted. However, with preliminary testing, no noticable performance issues has been seen. Bug 971393 Change-Id: Ib9f98ff5912c35149c634f6b265be24ece438b9c Signed-off-by: David Jung <djung@nvidia.com> Reviewed-on: http://git-master/r/109627 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Ryan Wong <ryanw@nvidia.com>
2012-06-14ARM: Tegra: cardhu: Change pin for LVDS_SHTDN_N on PM313Graziano Misuraca
Change pin used for LVDS_SHTDN_N from GMI_AD9 to VI_D4 Bug 958167 Change-Id: I19804126df1616860c5d177f971f4c1658651ee5 Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com> Reviewed-on: http://git-master/r/108612 Reviewed-by: Ryan Wong <ryanw@nvidia.com>
2012-06-14Revert "video: tegra: dc: Set default videomode"Marvin Zhang
This reverts commit dfd813141283891e397d73958aabad38eddfe350. It causes HDMI HDCP test to fail. bug 991805 Conflicts: drivers/video/tegra/dc/dc.c Change-Id: I6c5d9049a2bd53b12b6da9f8578f9e2e901f8f9a Reviewed-on: http://git-master/r/108724 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Marvin Zhang <mzhang@nvidia.com> Tested-by: Marvin Zhang <mzhang@nvidia.com> Reviewed-by: Ryan Wong <ryanw@nvidia.com>
2012-06-13mm: Ensure pte and pmd stores ordering.Krishna Reddy
Bug 974153 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/105215 (cherry picked from commit 25c3334f0e1ea6bde84c0514bad0eb1859566dba) Change-Id: I3a77ce812fab77f785c488a3aac9d0bc66e8236d Reviewed-on: http://git-master/r/108446 GVS: Gerrit_Virtual_Submit Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Tested-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2012-06-12Modified the hot-plug governor down_delay to be 500ms instead of 2sXiao Bo Zhao
Change-Id: I72d5ece9998cff57c6b88b9c7d7d1cccb1a5cb14 Reviewed-on: http://git-master/r/108154 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ryan Wong <ryanw@nvidia.com> Tested-by: Ryan Wong <ryanw@nvidia.com>
2012-06-12emc: tegra3: Change debug eack_state permissionsHao Tang
Remove write permission of eack_state for cts verification. The init script will make it acessible on engineering builds Bug 906796 Reviewed-on: http://git-master/r/106668 (cherry picked from commit d17475fbb28d4881510372919453af5d28b11df0) Change-Id: I5e742729c30980aa4c1020db20819f1e3088ab36 Reviewed-on: http://git-master/r/107933 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Hao Tang <htang@nvidia.com> Tested-by: Hao Tang <htang@nvidia.com> Reviewed-by: Ryan Wong <ryanw@nvidia.com>
2012-06-11Tuned the runnable threads threshold from 5/9/13 to 5/9/10 in order to ↵Xiao Bo Zhao
improve performance Change-Id: Iae3aa9e92388df74897c90951567325fe3d88550 Reviewed-on: http://git-master/r/108074 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ryan Wong <ryanw@nvidia.com> Tested-by: Ryan Wong <ryanw@nvidia.com>
2012-06-11ARM: tegra: power: Use runnable threads average for hotplugAlex Frid
Sample scheduler runnable threads average in auto-hotplug work function and use it to determine the auto-hotplug target for number of on-line cores. Use cpu up delay as sampling period, and enforce down delay by checking last cpu configuration change time stamp. Bug 958978 Change-Id: I922dc9d03c653b3465c2b7bac0498aa59ae71af0 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/108073 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ryan Wong <ryanw@nvidia.com> Tested-by: Ryan Wong <ryanw@nvidia.com>
2012-06-07ARM: tegra: usb_phy: turn off clocks during suspendRakesh Bodla
To save power turning off/on clocks (controller, emc, sclk) appropriately depending upon the features supported on particular controller. Bug 991262 Bug 993380 Reviewed-on: http://git-master/r/105887 (cherry picked from commit bd44232c77e49bba4f23f5c7dde68a82414c722b) Change-Id: I7c67935cd20cd35087e00eb09bfe3ab1a17af8f3 Reviewed-on: http://git-master/r/106711 Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Tested-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-06-07arm: tegra: usb: fix UTMIP auto suspend issuesRakesh Bodla
Fixing the UTMIP auto suspend issues. Bug 992463 Bug 989400 Change-Id: Ia0d536cd66081b263f7f2bde5debcc600dcef22a Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> (cherry picked from commit 016674fc4984a1701b9b279ce7b54840c9b55baa) Reviewed-on: http://git-master/r/105869 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-05-30arm: tegra: usb: add null ulpi baseband opsRakesh Bodla
Adding the implementation of null ulpi baseband ops. Bug 991485 Change-Id: Ic5ed9b2143650a07528189c80c5b6b8b8a9657c7 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/105400 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-05-30ARM: tegra: usb: enable pmu vbus interruptsKrishna Yarlagadda
Enable pmu vbus interrupt for Enterprise and Whistler to save power by turning off controller clock Change-Id: I691bdd76ca71d63d98f83e2a3a18bbfcfc16a473 Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-on: http://git-master/r/105352 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-05-30arm: tegra: usb: fix suspend resume issues of ULPI phyVenu Byravarasu
Fixing suspend resume issues observed with ULPI phy during entering/exiting LP0 on enterprise. bug 989510 Change-Id: Iaf5da7597281b5e1a78df7bdf32c46422cb5c6ef Signed-off-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-on: http://git-master/r/105326 Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-05-30arm: tegra: kai: disable hotplug for usb instance 1Hunk Lin
Kai's USB1 instance is used for modem, so disabling the hotplug. Bug 989441 Bug 989400 Change-Id: Ia1e84a727f8343a55d6afc5360b35e5afed6947c Signed-off-by: Hunk Lin <hulin@nvidia.com> Reviewed-on: http://git-master/r/105325 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-05-30arm: tegra: cardhu: disable hotplug for usb instance 1Rakesh Bodla
USB 1 instance is used for modem, so disabling the hotplug. Bug 989441 Bug 989400 Change-Id: I94ad80e75f5b1f5d2cdb009e0d474943e11393e3 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/105324 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-05-30arm: tegra: usb_phy: fix remote wakeup issuesRakesh Bodla
This change fixes remote wakeup issues when usb line is in suspend state. Bug 989441 Bug 989400 Change-Id: I90a417c1d0a5e273c87a079133bb0ca1b4d18041 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/105323 Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-05-30arm: tegra: enable 1.8 volts through ocr_mask for sdionaveenk
sdio supports 1.8 volts, setting 1.8 volts for cardhu, kai, ventana, whistler Bug 979504 Bug 978735 Change-Id: Iff7e7a15592aed82c4dbc574aa3bcd9d777d2f24 Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com> Reviewed-on: http://git-master/r/105302 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
2012-05-30Revert "Revert "arm: tegra: disable built_in support for sdio""naveenk
This reverts commit 88b3a4769d18aa5bee35b8422f8afc226abd615e. If this patch is not reverted wifi issues can be seen on multiple devices Bug 979504 Bug 978735 Change-Id: Ib4b37f8c564c664312f98dae68b511ae5045f9fc Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com> Reviewed-on: http://git-master/r/105294 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
2012-05-25Revert "arm: tegra: disable built_in support for sdio"Shridhar Rasal
This reverts commit 52643b967355478d895cfe37fe68de7d356f1b8f. Change fix whistler booting up issue as in mentioned bug 979606 Change-Id: Ifc588cd5a393f9dc33e0016808a1c9e8f467b3a1 Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-on: http://git-master/r/104691 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2012-05-25ARM: tegra: clock: Update secondary pll dividers resumePrashant Gaikwad
During resume from LP0 on Tegra2 always enable pll secondary dividers before clocks restoration (to make sure clock sources are enabled). Restore actual secondary dividers settings after clocks are restored. Bug 965928 Bug 953030 Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed on http://git-master/r/#change,104661 (cherry picked from commit 6350d1fd475373779cf5110403717b2c84e723ba) Change-Id: I048e3f925daf02074312472afa667609a8338c15 Reviewed-on: http://git-master/r/104698 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2012-05-25Revert "Revert "arm: tegra3: change min_rate for clocks""Hunk Lin
This reverts commit 18ed77b122dd1fbb9a6a5373da36ab32d0f0cee1. The noisy audio playback on Tegra3 with secure-OS issue is fixed by updating TL's SDK to 1.08. Change min_rate for clocks back to 12Mhz. Bug 939415 Change-Id: Ic9d5c865059d0a4847adba44b23deefffe5da40d Signed-off-by: Hunk Lin <hulin@nvidia.com> Reviewed-on: http://git-master/r/104685 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2012-05-24arm: tegra: usb_phy: add common phy interfaceRakesh Bodla
Refactored the phy interface to scale multiple usb phy hardware versions and for ease of maintenance. Bug 887361 Change-Id: I08ea9e728f760ca123af7777d3ffabbd71a1aa99 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/103598 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2012-05-24usb: tegra: modify USB platform data structuresRakesh Bodla
Modify USB structures of platform data. Based on the new platform data structures modifying the initialization in board files. Bug 887361 Change-Id: Ie6347a078c9a596a4debe21a353e127ddde35220 Signed-off-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-on: http://git-master/r/103597 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
2012-05-24arm: tegra: Enable arm errata 764369Krishna Reddy
Enable arm errata 764369 for TEGRA_2x and 3x. Bug 981223 Bug 885467 Change-Id: Ie013dc1ed4f1417a72dda72ea2d079a6534c3933 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/104181 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-23video: tegra: detect fbmem alignment on probeJon Mayo
Detect the stride size used by the bootloader. If DC is not enabled, fallback to a default stride size. Bug 973111 Change-Id: If04647ddf04a44987cd841062ff30e03fa4d6a02 Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/104031 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-23arm: tegra: cardhu: add TEGRA_CARDHU_DUAL_DSI_PANEL config optionPreetham Chandru
add TEGRA_CARDHU_DUAL_DSI_PANEL config option to enable or disable dual dsi panel in cardhu Bug 935764 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Change-Id: I9a93386c046f5845a3dcf55c575de6b8e67f188d Reviewed-on: http://git-master/r/96706 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-23arm: tegra: kai: change thermal sensor to nct72Chandler Zhang
Kai board uses OnSemi NCT72 thermal sensor. NCT72 is pin and register compatible to NCT1008. Change the i2c device id from "nct1008" to "nct72" to avoid confusion. Bug 961970 Reviewed-on: http://git-master/r/100466 Signed-off-by: Chandler Zhang <chazhang@nvidia.com> (cherry picked from commit 07ed4a320ff7e18e615270e0e15bd4212e6a7c9f) Change-Id: I6ef858d27b1b1f35ddd071542bb22caed2e776ab Reviewed-on: http://git-master/r/103582 Tested-by: Daniel Fu <danifu@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Chandler Zhang <chazhang@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-05-21arm: tegra: Added support for TDM mode paramsNitin Pai
Added TDM mode params to be passed from platform to the machine driver Bug 948478 Change-Id: I909db0ceebde002fcebcf7635cebe98c6a74142d Signed-off-by: Nitin Pai <npai@nvidia.com> Reviewed-on: http://git-master/r/103594 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Scott Peterson <speterson@nvidia.com>
2012-05-21ARM: tegra: clock: Account for memory BW efficiencyAlex Frid
Account for memory efficiency when processing requests from Tegra3 EMC shared bandwidth users. Do not round requests from these users until they are aggregated. The respective debugfs node: /d/tegra_emc/efficiency (in %). Bug 952739 Signed-off-by: Alex Frid <afrid@nvidia.com> (cherry picked from commit 86929087f68c4366d6179101eb9a6a6473a4f084) Change-Id: I4acdd89f44de1401ce5dad8fc4936932df014458 Reviewed-on: http://git-master/r/103499 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Jihoon Bang <jbang@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-05-21ARM: tegra: clock: Share Tegra3 camera EMC bandwidthAlex Frid
Change Tegra3 camera EMC shared user mode from SHARED_FLOOR to SHARED_BW and combine requests from ISO clients (camera and display, which is already in SHARED_BW mode). Bug 652739 Signed-off-by: Alex Frid <afrid@nvidia.com> (cherry picked from commit f1107ea4fe229d9807c1fba79a003753d0a8be7f) Change-Id: If5b7f578060a646df1794dde8c9be2944d88e942 Reviewed-on: http://git-master/r/103498 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-05-21arm: tegra: apbdmaio: Add dma_sync* callsPradeep Kumar
Add dma_sync* calls to make memory coherent between CPU and Device. Bug 983988 Change-Id: I40c514e01130762a12833c3ab7e0613f984870c6 Signed-off-by: Pradeep Kumar <pgoudagunta@nvidia.com> Reviewed-on: http://git-master/r/103336 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> GVS: Gerrit_Virtual_Submit
2012-05-21ARM: tegra: define/enable ARCH_HAS_SUSPEND_PAGETABLEChris Johnson
For Tegra, the CPU suspend code path installs its own 1:1 pagetable setup once at init time. This pagetable is used by all CPUs doing suspend/resume. We want to use the common ARM code for CPU suspend/resume, but don't want the MMU reenable code to patch the current pagetable as it's shared (and could cause problems if the pagetable loads/stores were were interleaved). The installed pagetable already covers the cpu_resume_turn_mmu_on VA, so we're able to just use the existing pagetable. This sets up the CONFIG option to skip this part of the MMU reenable. Bug 929856 Change-Id: Ibbac258122df6def7f7a2d511778a6f11d474938 Signed-off-by: Chris Johnson <cwj@nvidia.com> Reviewed-on: http://git-master/r/92350 Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com> Tested-by: Sang-Hun Lee <sanlee@nvidia.com> Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Ahung Cheng <ahcheng@nvidia.com> Tested-by: Ahung Cheng <ahcheng@nvidia.com> Reviewed-on: http://git-master/r/103205 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-21ARM: vfp: ensure preemption is disabled when enabling VFP accessWill Deacon
The vfp_enable function enables access to the VFP co-processor register space (cp10 and cp11) on the current CPU and must be called with preemption disabled. Unfortunately, the vfp_init late initcall does not disable preemption and can lead to an oops during boot if thread migration occurs at the wrong time and we end up attempting to access the FPSID on a CPU with VFP access disabled. This patch fixes the initcall to call vfp_enable from a non-preemptible context on each CPU and adds a BUG_ON(preemptible) to ensure that any similar problems are easily spotted in the future. originally from http://git.kernel.org/?p=linux/kernel/git/will/linux.git;a=commit;h=468c963e0210bf8108b17cf75066f25f39cabb56 Change-Id: I26fff8abe4c18bd3291613f70d0228aa2313811a Reported-by: Hyungwoo Yang <hwoo.yang@gmail.com> Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Reviewed-on: http://git-master/r/102315 GVS: Gerrit_Virtual_Submit Reviewed-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2012-05-21Revert "ARM: vfp: Prevent process migration"Hyungwoo Yang
This reverts commit 68667feb8eae225f1293a7044c989ab0bba8dbd1. Change-Id: I59023f2d83392465f7a989693b67cef96d565ed9 Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com> Reviewed-on: http://git-master/r/102314 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2012-05-21arm: tegra: governor: change governor using cpufreq interfacePuneet Saxena
Older code sets "conservative" governor in early-suspend using sysfs entries.This implementation changes governor in early-suspend using cpufreq interfaces. bug 871958 Change-Id: I721afb6184982a063dc5f330da31f8fb88481cfd Signed-off-by: Puneet Saxena <puneets@nvidia.com> Reviewed-on: http://git-master/r/100849 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-21ARM: tegra: decouple mode from flagsBo Yan
When doing LP2 on last standing CPU, we currently pass "mode | flag" to a few functions as argument, with the assumption that "mode" will be confined to lower 22 bits in PMC_CTRL register and "flags" will occupy higher 10 bits. If "flags" grows downward or "mode" grows upward, without this explicit knowledge, LP2 will break on the last standing CPU. Therefore we need to decouple them. Currently only "flags" part is being used when passed to other subroutines, so use "flags" only. Change-Id: I299c998145d81c17760bda8a0b56311fed553958 Signed-off-by: Bo Yan <byan@nvidia.com> Reviewed-on: http://git-master/r/100358 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-21ARM: Tegra: P1852: changed nor timing regs and freqMohit Kataria
Nor frequency and timing registers changed as per values provided by syseng Bug 978870 Change-Id: I18313c7df6265ddd4140d264ac2751ed8f1982df Reviewed-on: http://git-master/r/103355 Reviewed-by: Automatic_Commit_Validation_User Tested-by: Mohit Kataria <mkataria@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-05-21ARM: tegra: cardhu: add A07 memory tableRay Poudrier
Bug 970890 Change-Id: If0ebb1ad76dfe3267bc0acd3feae70a701c1dfdb Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com> Reviewed-on: http://git-master/r/103237 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2012-05-21arm: thermal: Removed nonTEGRA_THERMAL_SYSFS logicJoshua Primero
All throttling must go through the Linux thermal sysfs framework now. Change-Id: Ia871e0b06e548d5d82211a65979bea52a6c28fb0 Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/103183 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-21arm: tegra: thermal: removed TEGRA_THERMAL_SYSFSJoshua Primero
Removed the CONFIG_TEGRA_THERMAL_SYSFS option. Any throttling activities must go through the Linux thermal sysfs framework now via CONFIG_THERMAL. Change-Id: Ibe680d82d3225994e6bebcfe75a0f058e567e35c Signed-off-by: Joshua Primero <jprimero@nvidia.com> Reviewed-on: http://git-master/r/103182 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-21arm: tegra: xmm: pm qos for modem enumerationVinayak Pane
XMM modem first enumeration has timing requirement, so khubd should perform enum within 1 second. An issue is seen sometimes when the hub events are not sent on time (on fully loaded system) and then khubd timesout. This patch adds PM QOS request to bump up the cpu frequency for 2 seconds. Bug 946027 Change-Id: I1a43c043d42cfa442517a2a7ad8d69a934d4ab47 Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/102697 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-21arm: tegra: xmm: simultaneous L3 to L0 wakeupVinayak Pane
In AP initiated L3->L0 wakeup xmm power state is set BBXMM_PS_L3TOL0 but if CP is also trying to wakeup then ipc_ap_wake_irq with falling edge treats it incorrectly as CP wakeup pending - new race condition. Adding a check to fix this scenario for both L3 and L3TOL0 states. Bug 966077 Change-Id: I3af3538b48745588f17e4c13a3e23e4033f21821 Signed-off-by: Vinayak Pane <vpane@nvidia.com> Reviewed-on: http://git-master/r/102698 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Steve Lin <stlin@nvidia.com>
2012-05-21video: tegra: dc: Init hdmi's platform data and fbShashank Sharma
1. Change hdmi platform data structure's xres and yres values. These values were made same as LVDS panel (1366x768). LVDS runs fix display mode,but HDMI can switch to different modes. The new values (640x480) are corresponding to HDMI's fallback mode resolution. 2. Map bootloader's framebuffer content to fb1 also, to initialize fb1's content, and to avoid black & white strips when hdmi gets enabled but has no content in fb. It sometimes causes inconsistency on fb_console mapped on HDMI. Bug: 930136 Change-Id: Iecf0d8c1cdd6a1baec2aec9c5dded3d73d1347e1 Signed-off-by: Shashank Sharma <shashanks@nvidia.com> Reviewed-on: http://git-master/r/103381 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2012-05-18ARM: tegra: pcie: Fix for second pcie port detection.Manoj Chourasia
PCIE card on second port doesn't get detected if the first port is empty. If the link for first port is reset and the second port is queried for card, it doesn't get detected. Fix for the issue is do not reset the link if the port is not detected in third attempt. bug 970206 Change-Id: I4e4d32c22697b817381834ac746417437016d7f3 Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com> Reviewed-on: http://git-master/r/101986 (cherry picked from commit c085f6b1b3a77b7aae3b04e22c7a9bfed8517c1e) Reviewed-on: http://git-master/r/103077 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-18ARM: tegra: cardhu: add initial A07 supportRay Poudrier
Bug 970890 Change-Id: I24c3b1e2c621afbb90ced552194403f147e20a6c Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com> Reviewed-on: http://git-master/r/102984 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2012-05-18arm: tegra: nvmap: remove nvmap.h from mach-tegra/include.Krishna Reddy
It is moved to kernel/include. Bug 854182 Change-Id: I3fb729c88e29a9f213656fbf20810c10dfd9d7a6 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/102727 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Bo Yan <byan@nvidia.com>
2012-05-18ARM: tegra: cardhu: add pm267 to kbc int keysRay Poudrier
Bug 896071 Change-Id: I1bcd8069bfccdd80a1506e71bb9cc0353b9ea9a6 Conflicts: arch/arm/mach-tegra/board-cardhu-kbc.c Change-Id: I29af7c5289ae06757eb9cffce3065db08b3e8d06 Reviewed-on: http://git-master/r/97734 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2012-05-18ARM: defconfig: enable background opsVishal Singh
Enable background ops on p852 and p1852. Bug 847037. Change-Id: Ib72d361aba5cf08c171976e6f5bf0ffa555e1471 Signed-off-by: Vishal Singh <vissingh@nvidia.com> Reviewed-on: http://git-master/r/99121 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
2012-05-18ARM: tegra: smmu: Use non-secure register for sync-readHiro Sugawara
Bug 973463 Change-Id: Ia2e42232e6f10d12387b2bc3bbee1f996e7aea9d Signed-off-by: Hiro Sugawara <hsugawara@nvidia.com> Reviewed-on: http://git-master/r/101837 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>