summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-07arm: tegra12_defconfig: set 3GB-16MB task sizetegra-l4t-r21.1daily-2014.11.07.1_l4t/l4t-r21Zheng Liu
The previously used 3GB-24MB task size caused relocation failures when loading kernel modules. This happened because part of the module loading area got beyond the 32MB relocation range from kernel .text segment. This problem is ARM32-specific and does not affect ARM64. Bug 1489463 Change-Id: I255eb605988b3095d49f05d4d4b199bf2c796bfd Signed-off-by: Zheng Liu <zhliu@nvidia.com> Reviewed-on: http://git-master/r/553996 Reviewed-by: Winnie Hsu <whsu@nvidia.com> Tested-by: Winnie Hsu <whsu@nvidia.com>
2014-10-07arm: tegra12_defconfig: make audio drivers inbuiltZheng Liu
Revert previous changes to modularize the audio drivers. The module probe/remove paths of these drivers are untested and buggy. Make these drivers built-in until the bugs are worked out, and schedule allows for thorough testing. Bug 1536426 Change-Id: Ic1698e7205b1d97461051cd1e25a513dac9649fe Signed-off-by: Zheng Liu <zhliu@nvidia.com> Reviewed-on: http://git-master/r/554287 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-10-07ASoC: tegra: fix avp module removeShreshtha SAHU
- avp module remove should not try to release client if avp pcm open was never called and client was never allocated - avp module remove should deregister offload ops Bug 200043253 Change-Id: I11a6d65afab4d88aa5669553809e99fd69cfd000 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/554153 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Zheng Liu <zhliu@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-10-02mmc: sdhci: tegra: initialize local variableBibek Basu
Initialize uninitialized variable vmin_tap_hole & vmax_tap_hole Bug 200042035 Change-Id: I5e9303f2b585423d936b289a59228028275ec5ec Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/542582 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-02firmware: enable default printing of direct loadingBibek Basu
Move pr_dbg to pr_info for direct firmware loading. Bug 200026940 Change-Id: I617fde8aac85be01857b963c0e18ae6cf22aa444 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/542581 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-01arm: tegra12_defconfig: max98090 as loadable moduleShreshtha SAHU
Bug 1550880 Change-Id: I6278cde7643dd3b298d72c54497cb5274a5de544 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/551903 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-01soc: codecs: max98090: free_irq during module removeShreshtha SAHU
Bug 1550880 Change-Id: I54697780893c17a1c117483fd9bf271ba31209d4 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/551902 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-01soc: tegra: max98090: laguna: fix error return pathsShreshtha SAHU
- Remove switch_dev_unregister and call tegra_asoc_switch_unregister instead in error return path corresponding to tegra_asoc_switch_register. - Skip max97236 registration for laguna erss platorm. Issues surfaced out on making max98090 as removable KO module. Bug 1550880 Change-Id: I6a6c0185a3980efab3592f0733bda214aac4fc81 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/551901 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-10-01asoc: rt5639: fix missing regmap_exit during removeShreshtha SAHU
without regmap_exit in remove, next modprobe of modprobe used to complain of "Failed to create debugfs directory" due to stale debugfs directory. Bug 200038898 Change-Id: Ie6373f40b50c1307ee7d114dc0f44164c4b426eb Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/542646 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-26gpu: nvgpu: Increase PBDMA timeoutTerje Bergstrom
PBDMA timeout can cause stale data in FIFO. Default value equals 1ms. Increase it to max. Bug 1537636 Change-Id: I1c6c6b10abaece3a64b77b9b3ef77ff726ff67cf Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/457047 (cherry picked from commit f516652f567a44e2e1c6313dccd3dc80172a980f) Reviewed-on: http://git-master/r/457067 (cherry picked from commit f5219cf5888502de3f6cabb2db3e8968b6d20b7c) Reviewed-on: http://git-master/r/504534 Reviewed-by: Automatic_Commit_Validation_User
2014-09-26media: tegra_v4l2_camera: set clock rate for pll_dBryan Wu
Test pattern generator in VI needs PLL_D running at certain clock rate, then CSI clock is a child of PLL_D can get the right clock for operation. If DC disable DSI and set PLL_D as a very low frequency and VI driver forgets to set PLL_D rate back, test pattern generator won't work. This patch will set PLL_D as 927M when we do test pattern generator testing. Bug 1515755 Change-Id: I8fd27d193a436e1057ce2bce8f8153630dc5cdce Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/489043 (cherry picked from commit e09393ad2a02309f63a3baeb567460e1e2f79cd9) Reviewed-on: http://git-master/r/498938 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26ARM: ardbeg: enable imx135 V4L2 sensor driverBryan Wu
Bug 1380143 Change-Id: I9292465b0652c5287db6bbc97a08c76c1ad48484 Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/337471 (cherry picked from commit e83a8827e9888f567a5859ecac6a1041edcf0db9) Reviewed-on: http://git-master/r/498937 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26media: tegra_camera: vi2: support for real sensorBryan Wu
Add code to support RAW10 capture from real sensor like IMX135. Add flag to skip register program from second frame. Fix sync point operations. Bug 1380143 Change-Id: I19bcd17ddfba0e16b4b3a34ae8a4e5a0119e85e1 Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/337470 (cherry picked from commit ff1055fa436ffb5c1d57eee2e09c17578774d65f) Reviewed-on: http://git-master/r/498936 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26media: soc_camera: add imx135 sensor driverBryan Wu
Sony IMX135 camera sensor can be found on Ardbeg/Laguna. This patch introduced sensor driver for imx135 using soc_camera interface. Bug 1380143 Change-Id: Ifa0becf1ec2d9931ebf9ea3a4e9ea3e1013a9e36 Signed-off-by: Bryan Wu <pengw@nvidia.com> Reviewed-on: http://git-master/r/337469 (cherry picked from commit 94a04c2c9b614519aab6f718d60bcf1d8032aa8f) Reviewed-on: http://git-master/r/498935 GVS: Gerrit_Virtual_Submit Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26video: tegra: nvmap: remove support for Deprecated GET_ID/FROM_ID ioctl'sManeet Singh
Remove support and add warning message for deprecated IOCTL's - NVMAP_IOC_FROM_ID and NVMAP_IOC_GET_ID. These ioctl calls are deprecated by corresponding FD ioctl calls. Bug 1553082 Change-Id: I3cd531422293f19496687f346692fa91ebe58a40 Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com> Reviewed-on: http://git-master/r/498045 (cherry picked from commit 420dce0a99231453ebbd091f110d0de816e4885e) Reviewed-on: http://git-master/r/538987 GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26video: tegra: nvmap: fix use-after-free race conditionManeet Singh
Incremented nvmap_handle ref count in utility function nvmap_get_id_from_dmabuf_fd() before the function release reference to dma buffer. This is required to avoid race conditions in nvmap code where nvmap_handle returned by this function could be freed concurrently while the caller is still using it. As a side effect of above change, every caller of this utility function must decrement nvmap_handle ref count after using the returned nvmap_handle. Bug 1553082 Change-Id: Iffc2e5819f8b493d5ed95a9d0c422ccd52438965 Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com> Reviewed-on: http://git-master/r/498135 (cherry picked from commit afddea745cc4f4a824be501ecbbb50f55e7e6f04) Reviewed-on: http://git-master/r/538986 GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-26video: tegra: nvmap: cleanup redundant functionsManeet Singh
Removed redundant function unmarshal_user_id() and replaced it with unmarshal_user_handle() which it internally calls without any other changes. Bug 1553082 Change-Id: I7d998966c593f11a3322b0503ef11311fc1ae5e7 Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com> Reviewed-on: http://git-master/r/498103 (cherry picked from commit 4880b6c2bdf5b10e4a71b5b79e7878343b9e7e3b) Reviewed-on: http://git-master/r/538985 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-24ARM: tegra12: add clock preinit code for U-BootBryan Wu
U-Boot doesn't setup clock as NVTBoot or fastboot, so clocks need to be preinit before our normal clock init. Bug 1482099 Change-Id: I5ad8dc7e61f1ad4864410a808c41298a91c7198f Signed-off-by: Bryan Wu <pengw@nvidia.com> Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com> Reviewed-on: http://git-master/r/408427 (cherry picked from commit 6682ca58527e47fe6db40855d2deba48a6d321d3) Reviewed-on: http://git-master/r/500873 Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-24ARM: tegra12: config: enable clock preinit codeBryan Wu
Enable clock preinit code by default for U-Boot. Bug 1482099 Change-Id: I72fa1e9b45f580813846c7506efec5a03347efcd Signed-off-by: Bryan Wu <pengw@nvidia.com> Signed-off-by: Prabhu Kuttiyam <pkuttiyam@nvidia.com> Reviewed-on: http://git-master/r/408428 (cherry picked from commit 8f2ff20c410a8b7a25e4132e6a194117e4f74361) Reviewed-on: http://git-master/r/500874 Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-24video: tegra: host: gk20a: reduce gr delaysPrashant Malani
The delay value used in gr usleep_range calls is too high. We can start at a much lower value. Bug 200032452 Change-Id: I7d196d0e3be0a5cd84e8c4dad537fae043da6274 Signed-off-by: Prashant Malani <pmalani@nvidia.com> Reviewed-on: http://git-master/r/335234 (cherry picked from commit 49bb8436a534496c70e6238d3bc20ed280d5b654) Reviewed-on: http://git-master/r/504632 Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com> Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-19edp: sysedp : CPU/GPU priority depends on fGPUMatt Longnecker
Provide sysedp_dynamic_capping with the instantaneous GPU frequency when notifying it of the GPU load. Modify the gpu/cpu priority decision logic to choose CPU priority until GPU frequency gets "near" the CPU-priority-limited-GPU-fmax. Introduce the priority_bias debugfs parameter to facilitate tuning of "near". priority_bias takes a value from 0 to 100. Change-Id: I57df17d50cd8077a512b5932f4a304ca5e6992aa Signed-off-by: Matt Longnecker <mlongnecker@nvidia.com> Reviewed-on: http://git-master/r/481720 (cherry picked from commit b2ac745a45e273e849d7b190913ee97092fdebc2) Reviewed-on: http://git-master/r/498901 GVS: Gerrit_Virtual_Submit Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-19asoc: rt56xx: fix missing device_remove_fileShreshtha SAHU
added missing device_remove_file during device remove this resulted failure in modprobe of module Bug 200038187 Bug 200037087 Change-Id: Ibbe8cf92162144d438f5b563bf6d2b9787acc04e Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/499745 Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Zheng Liu <zhliu@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-18video: tegra: dc: Avoid FRAME_END_INT conflictDaniel Solomon
Allowing for dc->lock to be acquired by the caller in function tegra_dc_config_frame_end_intr can result in FRAME_END_INT mask register being overwritten if the lock is actually acquired by another thread. Refactor the critical section into its own function and allow callers to call either function. Also Change the name of tegra_dc_wait_for_frame_end to indicate that it should be called with dc->lock locked. Bug 1534724 Change-Id: I87b1fc529f29f707a1bdadf18efa6bb19d6966b3 Signed-off-by: Daniel Solomon <daniels@nvidia.com> Reviewed-on: http://git-master/r/456988 (cherry picked from commit ec9b7f555b9648e3aee0cd9781a92b14178a3344) Reviewed-on: http://git-master/r/496581 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jong Kim <jongk@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-18video: tegra: dc: Fix and refactor FRAME_END_INTDaniel Solomon
- Fix a conflict with other DC interrupt masks when the DSI driver waits on FRAME_END_INT - Move generic FRAME_END_INT mask/unmask and wait-for functions to dc.c Bug 1534724 Change-Id: I40e26ada2f0494782979e32c1a22906361b214b5 Signed-off-by: Daniel Solomon <daniels@nvidia.com> Reviewed-on: http://git-master/r/451186 (cherry picked from commit 24a39c49f63eea704003ee27296f1f70d46bcbd0) Reviewed-on: http://git-master/r/496580 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Jong Kim <jongk@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-17ata: Skip ahci dump call if probe is not ivokedPreetham Chandru R
Skip ahci dump call if probe is not ivoked and even if CONFIG_TEGRA_SATA_IDLE_POWERGATE is not defined Bug 200010376 Change-Id: I4ec5f6643b3bc0dbbebbd65b6085d9ea2353eac1 Signed-off-by: Preetham Chandru R <pchandru@nvidia.com> Reviewed-on: http://git-master/r/455571 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-17arm: tegra12: jetson-tk1: add debounce to power keyBibek Basu
Continuous press & release of power key during resume cause power key to generate continious interrupt leading to hang of device. So add debounce time Bug 200037478 Change-Id: Ia3081700af3291813450dda7205f842f511e63db Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/499296 GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-16arm: tegra: Ram repair for slow clusterBibek Basu
Do ram repair for slow cluster also during boot Bug 1528461 Change-Id: I71ed7891aaff48f0b87438ad029b22ced9be0f04 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/494787 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-16ASoC: Tegra: Fix double regulator disableShreshtha SAHU
digital_reg was disabled second time instead of codec_reg Bug 200036995 Change-Id: I8e9b3aeafa613a5a58063b88ee81bf3d0aaf4e43 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/498837 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Vinayak Pane <vpane@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-16usb: xhci: tegra: remove PCIe dependencyHaribabu Narayanan
PCIe powergating dependency is now handled internally in the powergating module for t12x/t13x. This patch removes PCIe related powergating calls from XHCI driver for tegra. Bug 1451279 Bug 1524744 Bug 200027067 Change-Id: I0752cd745f218266e1636cc7c40a6c29dee3b3d4 Reviewed-on: http://git-master/r/424036 (cherry picked from commit 91e2bd6728ca1969615081c70be6b2f21acd43d5) Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-on: http://git-master/r/498662 Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-16arm: tegra: power: add pcie dependency to xusb opsHaribabu Narayanan
Due to a HW bug 1320346 in t12x/t13x, PCIE needs to be unpowergated when XUSB is to be accessed. Currently PCIE powergating ops need to be invoked from XUSB driver since powergating module doesn't internally handle this dependency. This patch implements this dependency within the powergating module so that xhci-tegra driver can stay chip-agnostic. Bug 1451279 Bug 1524744 Bug 200027067 Change-Id: I57da2645c9bde1c98b73a906f2ff5e407a3a8380 Reviewed-on: http://git-master/r/424035 (cherry picked from commit ff373b04f297ee653c58a86c6642325037f5d10e) Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-on: http://git-master/r/498661 Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-16usb: xhci: tegra: remove conditional powergatingHaribabu Narayanan
The powergate module now maintains reference count for PCIE. Remove conditional checks in XHCI driver before invoking powergating APIs. Bug 1451279 Bug 1455032 Bug 200027067 Change-Id: I186270dc86fba78a8c321ba5923382e642b14b60 Reviewed-on: http://git-master/r/418061 (cherry picked from commit b0f746945fccf025e2ab1764c0cc35eb1bc780b3) Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-on: http://git-master/r/498660 Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-16arm: tegra: power: add reference counters for pcieHaribabu Narayanan
Due to HW Bug 1320346, both XUSB and PCIE modules need to control powergating on PCIE block. Implement reference counter mechanism so that powergating is done only when neither of these two drivers are active. Bug 1451279 Bug 1455032 Bug 200027067 Change-Id: I6866ba0fb47433e211360b722abbb1b2c1a05c35 Reviewed-on: http://git-master/r/418060 (cherry picked from commit 70be55b824632252be36f6ee0d495d4c0f4e507c) Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-on: http://git-master/r/498659 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-15arm: tegra12: dtb: rearrange pmc registrationBibek Basu
PMC should be suspended as soon as interrupt- controller bus is suspended so that no wake signal is entertained in between leading to abnormal system behaviour Bug 200036432 Change-Id: I4de7462a8c0588f8cecde270a97c39040748a4b6 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/498280 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-15ARM: tegra: move pinmux dt node before gpio modeLaxman Dewangan
Move the pimx DT node before gpio node to make sure that pinmux get registered before the gpio. Bug 200033491 Change-Id: I55d5a5c1a1570c16d8332ba224e0ed9a1f7c257c Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/412630 (cherry picked from commit 463019f3158b58906f5b4c81463e5b0b1067576f) Reviewed-on: http://git-master/r/498813 Reviewed-by: Matthew Pedro <mapedro@nvidia.com> Tested-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-15pinctrl: tegra: fix pinconfig_group_setBibek Basu
Prepare config using param parameter to generate the right value for pinmux register Bug 200033491 Change-Id: I973cc449e8cf89cb3b6f5b5da1021d21d193b47d Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/496827 (cherry picked from commit 418c027e40353a4b99fe7fcfbc0743de7e07d15c) Reviewed-on: http://git-master/r/498329 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-15pinctrl: tegra: set tristate =1 and input =0 for unused pinsLaxman Dewangan
Set the tristate bit to 1 and e_input to 0 for unused pins to set it on low power and avoid conflict with any other pins. Bug 200033491 Change-Id: If83f6129dbf6c6fe28a7a7c596e5a3858a894914 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/416649 (cherry picked from commit 7e81b36f87cffdc5d473a39735877a1432ac3151) Reviewed-on: http://git-master/r/498328 GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-15pinctrl: tegra: configure pins for gpio directionLaxman Dewangan
If pin is configured on gpio mode and set for input direction then set e_input = 1 and if pin is set for output direction then set tristate = 0 for that pin. Bug 200033491 Change-Id: Ibcae17ad8bf4e45f0c74eb68d3bf975078fb67d6 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/416650 (cherry picked from commit 3dbac8e8382be0766e221c3f47f6254538b17030) Reviewed-on: http://git-master/r/498327 GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-15gpio: tegra: call pinctrl dirctions apis on direction input/outputLaxman Dewangan
Set the pins in different direction based on client request from gpio. This will help to non-tristate the pin on gpio output mode or enable input on gpio input mode without any explicit condition. Bug 200033491 Change-Id: I074451e344bfd8465aceb39c1091809da4f58f58 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> (cherry picked from commit c520a6048a942b5870f560979045c74659c8fe76) Reviewed-on: http://git-master/r/#/c/415991/ Reviewed-on: http://git-master/r/498326 Reviewed-by: Winnie Hsu <whsu@nvidia.com> Tested-by: Winnie Hsu <whsu@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-15gpio: tegra: Enable pinctrl_request_gpioshravanid
Call pinctrl_request_gpio when gpio is requested by tegra_gpio_request Bug 200033491 Change-Id: I0e0a129adf51775edaa5887b11188f0ed1776e0e Signed-off-by: shravanid <shravanid@nvidia.com> Reviewed-on: http://git-master/r/404352 (cherry picked from commit 7ba0a34569bff25730406a4c54967e4e2c470cbc) Reviewed-on: http://git-master/r/498325 GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Tested-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-12Arm: config: tegra12: Enable interactive governorRajkumar Kasirajan
The interactive governor provides better performance than ondemand governor. Enable it to improve the performance. Bug 1359622 Change-Id: Ibc51285531ce2ef0d20fc668e240ef59db1322b1 Signed-off-by: Rajkumar Kasirajan <rkasirajan@nvidia.com> (cherry picked from commit 42ad40e52df0423d1622b1aa9835033c1c8ef890) Reviewed-on: http://git-master/r/#/c/488018/ Reviewed-on: http://git-master/r/488030 Reviewed-by: Winnie Hsu <whsu@nvidia.com> Tested-by: Winnie Hsu <whsu@nvidia.com>
2014-09-11arm64: configs: tegra13: enable Tegra ProfilerIgor Nabirushkin
Enable Tegra Profiler for L4T. Bug 1540280 Change-Id: I13f22d512c1e42d4ad91c03ed7825a8bdbbf2e93 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/450456 (cherry picked from commit 395d3b5d3fad1ac49b06d3b78004cbfce660c504) Reviewed-on: http://git-master/r/481969 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
2014-09-08arm: configs: vcm30t124: enable Tegra ProfilerIgor Nabirushkin
Enable Tegra Profiler for vcm30t124 board. Bug 1540280 Change-Id: I75263020677b0dd7f210bbdc72a775a05370ef81 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/437635 (cherry picked from commit f0cd768a1d49bcadc0ced238b0ce24272219cd2f) Reviewed-on: http://git-master/r/481972 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-08arm: configs: tegra12: enable Tegra ProfilerIgor Nabirushkin
Enable Tegra Profiler for L4T. Bug 1540280 Change-Id: I700401a44e91370f3e811999b0017ac6ef2ff28a Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Reviewed-on: http://git-master/r/453861 (cherry picked from commit 25cfc076fc7b4133d4d3027c9530723325b8fa3d) Reviewed-on: http://git-master/r/481968 Reviewed-by: Winnie Hsu <whsu@nvidia.com> Tested-by: Winnie Hsu <whsu@nvidia.com>
2014-09-08arm: tegra12: initialize pll_a_out0Bibek Basu
Before initializing i2s clock we need to intialize its parent clocks pll_a_out0 Bug 200027051 Change-Id: I9fa42e82bbf3c7742a57ffc698c31e6ca1d94bd5 Signed-off-by: Bibek Basu <bbasu@nvidia.com> Reviewed-on: http://git-master/r/496028 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bryan Wu <pengw@nvidia.com> Tested-by: Bryan Wu <pengw@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-08tegra: fb: Notify fbcon DC is unavailablePankaj Dabade
In the absence of hotplug, monitor data and mode database is removed and DC is switched off. However, fbcon is unaware. This patch adds the change to fb_info state to suspend while updating monitor specs. This state will denote that the hardware is unavailable. Info will be restored to state running once modelist is available. Bug 200031817 Change-Id: I0d4a51fdaa383d9201ab299d602fb3cc9ed93f52 Signed-off-by: Pankaj Dabade <pdabade@nvidia.com> Reviewed-on: http://git-master/r/496027 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
2014-09-05arm: tegra12_defconfig: add Realtek wifi modulesMike Thompson
Adding kernel support for Realtek USB and minipci wifi modules. Bug 1512036 Change-Id: I44f52b5d2c0e55e56d0a53273f7c045d38ff485f Signed-off-by: Mike Thompson <mikthompson@nvidia.com> Reviewed-on: http://git-master/r/496144 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Zheng Liu <zhliu@nvidia.com> Reviewed-by: Winnie Hsu <whsu@nvidia.com>
2014-09-05arm: tegra12_defconfig: modularize kernel bitsZheng Liu
Modularize some components to shrink the kernel. The target is a .text section <=8MB in order to ensure successful relocations from the 22MB module loading segment. This gets us to about 10MB which may suffice for now. Bug 1536426 Change-Id: Ib3f91eef4dfc4d1e3c9620020a326f3f53f0491e Signed-off-by: Zheng Liu <zhliu@nvidia.com> Reviewed-on: http://git-master/r/494898 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Allen Martin <amartin@nvidia.com>
2014-09-05arm: tegra12_defconfig: renormalize the defconfigZheng Liu
No actual configuration changes. Config items have shifted around, causing confusion when making actuall configuration changes. This defconfig is generated with the following process under the kernel directory: make tegra12_defconfig make oldconfig make savedefconfig cp defconfig arch/arm/configs/tegra12_defconfig Change-Id: Ic0c197cf6bad4cb4ddd7742215fab8a1e8d30a50 Signed-off-by: Zheng Liu <zhliu@nvidia.com> Reviewed-on: http://git-master/r/494897 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Allen Martin <amartin@nvidia.com>
2014-09-05tegra: sound: export symbols for module accessZheng Liu
Export symbols so the sound driver can be built as a module. Bug 1536426 Change-Id: I86fa8800df1988f630b4e45d4cbf1733c039c837 Signed-off-by: Zheng Liu <zhliu@nvidia.com> Reviewed-on: http://git-master/r/494120 GVS: Gerrit_Virtual_Submit Reviewed-by: Allen Martin <amartin@nvidia.com>
2014-09-05arm: tegra: export symbol for module accessZheng Liu
Export tegra_get_board_info to allow sound driver to be built as a module. Bug 1536426 Change-Id: Id125cce6fbef1a70c438bec2eabadf5fdc698272 Signed-off-by: Zheng Liu <zhliu@nvidia.com> Reviewed-on: http://git-master/r/494119 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Allen Martin <amartin@nvidia.com>