summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-07-21ARM: tegra: restore voltage to nominal when reboottegra-11.2.11Bo Yan
At the time of reboot, all rails need to be set to nominal to ensure the success of subsequent boot bug 821969 bug 797082 http://git-master/r/#change,42117 (cherry picked from commit 34a922bbf6cad91dd4f5129a1c7ad96f475f34fe) Change-Id: I5044109866a032dc89d7cd0b83938ecd4b3f360a Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/42297 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-21video: tegra: dc: Add basic audio EDIDScottPeterson
Add support so that when the EDID is read from an HDMI display we set the spk_alloc flag to Left+Right, even if the optional SPeaker Allocation Block is not present. This provides a default audio configuration. Bug 849686 Change-Id: I549bfb356ba594f7b38baec0f4e5f18ac91602c0 Reviewed-on: http://git-master/r/42173 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-21ARM: tegra: ventana: support power sequence timingKen Chang
below variables should be defined according to power sequence specifications of panels. - timing between panel power on to lvds singal enable - timing between lvds signal enable to backlight enable bug 818959 Change-Id: Idcc6de22178fa455e6e65ea89bbabd8a5eb9e6d9 Reviewed-on: http://git-master/r/41669 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-21video: tegra: nvhost: reduce HOST off timeoutXin Xie
Change-Id: I48cdaf6cd8e716a720ec24b56d1ee54d50ade36e Reviewed-on: http://git-master/r/40676 Reviewed-by: Xin Xie <xxie@nvidia.com> Tested-by: Xin Xie <xxie@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-21crypto: tegra-aes: store keys in individual requestsVarun Wadekar
store the keys in the individual request context structure, since there is no other way to manage keys across different crypto operations. also retry requests thrice in case of errors Bug 833165 Bug 818126 Change-Id: I7d3381477b5bc134da5727bb39ea89abe05dc17c Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/40008 Reviewed-by: WooJung Min <wmin@nvidia.com> Tested-by: WooJung Min <wmin@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-21tegra: dc: change EMC efficiency for bandwidthXin Xie
BUG 835372 Change-Id: I571ca8785893df339175306f548daa31158721fd Reviewed-on: http://git-master/r/39277 Reviewed-by: Xin Xie <xxie@nvidia.com> Tested-by: Xin Xie <xxie@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-21tegra: dc: set EMC clock for every frameXin Xie
BUG 835372 Change-Id: Iccd8ee1e6222e2661e7b3fbbfde615ead6116e02 Reviewed-on: http://git-master/r/38170 Reviewed-by: Xin Xie <xxie@nvidia.com> Tested-by: Xin Xie <xxie@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-21tegra: dc: set EMC clock dynamicallyXin Xie
If the screen is idle (no POST for some time), reduce the DC EMC clock according the windows size. If external display connected, the EMC clock will not be reduced. BUG 828306 Reviewed-on: http://git-master/r/37106 Change-Id: I88c76ef3afe5036f47d91f6540846fd767c399e4 Reviewed-on: http://git-master/r/38149 Reviewed-by: Xin Xie <xxie@nvidia.com> Tested-by: Xin Xie <xxie@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-21arm: tegra: manage graphics clockWen Yi
Provides clock information for camera use cases to achieve optimal power saving. BUG 813159 Reviewed-on: http://git-master/r/31237 (cherry picked from commit 8180aabdb727b171ae9c49fbec991b3983ec87c8) Change-Id: I19e99d39ff00bf0619d314854ce1b2fff670a8ff Reviewed-on: http://git-master/r/37955 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-20ARM: defconfig: enable USB_NET_AX8817X by defaultVandana Salve
This option adds support for ASIX AX88xxx Based USB 2.0 Ethernet Adapters and it works with TrendNet TU2-ET100 devices. Bug 834417 Similar change was done by http://git-master/r/35699 Change-Id: Iad0ba1df837db5b560cc3b942d55c6ea83ee34cc Reviewed-on: http://git-master/r/42116 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-20ARM: tegra: dc: Disable EDID dumpArtiste Hsu
tegra_edid_dump() causes audio noise when plugin HDMI cable during video playback and should not be enabled by default. Bug 837728 Change-Id: Ib06926e30420c0aa26c7a6a3949429bbd3f2f9e1 Reviewed-on: http://git-master/r/42006 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-20tegra: power: restore cpufreq governor targetAlexandre Courbot
Restore the target cpu frequency on exit from suspend. Also save target frequency if set when the device is suspended. Bug 841559 Change-Id: Id17a5945215e324d49e3d74b9603cc919a736c64 Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-on: http://git-master/r/41710 Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-20arm: tegra: whistler/ventana: dynamic cpufreq governorWen Yi
To improve the power consumption situation for MP3 playback the scaling governor is set to conservative when display is turned off and the default governor is saved. The governor is restored when display is turned on. Bug 817727 Change-Id: I2184b422b6e25504a0fb7d78573c748599256908 Reviewed-on: http://git-master/r/28270 Reviewed-on: http://git-master/r/37936 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2011-07-20ARM: tegra: das: Add port check before set DAP tristateArtiste Hsu
If tagra_dap_port_info_table.dac_port is tegra_das_port_none, das_set_pin_state() should not control tri-state for the DAP pingroup. Bug 824362 Change-Id: Id48945c21c0e383f5b43cc62ccc610af3a0fd2ee Signed-off-by: Artiste Hsu <chhsu@nvidia.com> Change-Id: I13bc31f0935547a0446c4e300ed0089042822e26 Reviewed-on: http://git-master/r/41489 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Yu-Fong (Foster) Cho <ycho@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-07-20video: tegra: fix divide by zero exception in hdmi moduleSanjay Singh Rawat
Bug 851086 Change-Id: Ia7f9ae6f43903fee3b1ea28331bfc621a995d338 Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/40788 Reviewed-by: Donghan Ryu <dryu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-19arm: tegra: dvfs: use 1.1 v for usbWen Yi
Set the working voltage for USB to 1.1 v. Bug 796594 Reviewed-on: http://git-master/r/30219 (cherry picked from commit af08f51a8c51b7b8d3f25ee7a2372f9d423b78e7) Change-Id: I3a5a97dae925262453e19fc9b597c0d4be5b2ba6 Reviewed-on: http://git-master/r/40684 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-19ARM: tegra: Modify DDC (i2c2) clock rate as 100KHzHaley Teng
Per the 8.4.1 section of HDMI spec version 1.4a, 100KHz is the maximum clock rate of DDC i2c bus. Bug 820552 (cherry picked from commit 588d82e5106558e1c218506ea5067f23c3888db6) Change-Id: Iba08e5ea9c46ab2c50f0716dee950bcc40a9fc4e Signed-off-by: Haley Teng <hteng@nvidia.com> Reviewed-on: http://git-master/r/41490 Reviewed-by: ChihJen Hsu <chhsu@nvidia.com> Reviewed-by: Alok Chauhan <alokc@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-19usb: host: tegra: don't clear other port events for phy_clk_vld irqKenji Chen
1st hot-plug event on utmip port can't be detected after LP0 exit. For utmip phy_clk_vld interrupt, the corresponding service routine wants to clear WCKN bit in portsc and it also clears other port events, such as PORT_CSC ,PORT_PEC ,PORT_OCC. Bug 845254 Change-Id: Ib9aac9d411821220c99de0e3f85a7922fdcf2fca Reviewed-on: http://git-master/r/40354 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-14arm: tegra: fuse: accept strings starting with 0x/xVarun Wadekar
some users might enter fuse data starting with 0x/x. this will mess up the fuse programming. do not consider 0x/x while programming the fuses. also fix some compilation warnings Change-Id: I5e888a769eb15dbe7eb35ce2d290246fcf9788c9 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/38933 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-14ARM: defconfig: enable USB accessory for VentanaDavid Schalig
bug 846277 Change-Id: I6a3eed59ab2a906afea2b55213e0346491c19c58 Reviewed-on: http://git-master/r/40613 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: David Schalig <dschalig@nvidia.com> Tested-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
2011-07-14arm: tegra: correct 3D power gate WAR.Roger Hsieh
3D power gate should be always disabled to keep the power. Set T20 enabled by default. Bug 843271 Change-Id: I17745e37436414b3d5f905eb01e347743a012830 Reviewed-on: http://git-master/r/40342 Reviewed-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com> Tested-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com> Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Karan Jhavar <kjhavar@nvidia.com> Reviewed-by: ChihJen Hsu <chhsu@nvidia.com> Reviewed-by: Yu-Fong (Foster) Cho <ycho@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
2011-07-13ARM: tegra: rw permissions for TEGRA_MC_ATTRIBUTESManoj Gangwal
Change the permission to 644 for 'enable' and 'quantum' TEGRA_MC_ATTRIBUTES to disable the write permission as CTS test "android.permission.cts.FileSystemPermissionTes t#testAllFilesInSysAreNotWritable" requires it as non-writable. Bug 840411 Reviewed-on: http://git-master/r/36878 (cherry picked from commit 88982e06ac4d0b91828542ec9eaabf6e2c9a03e0) Change-Id: Ie99ee941d976b08a5b145fafe9160d44ddcb9990 Reviewed-on: http://git-master/r/40797 Reviewed-by: David Schalig <dschalig@nvidia.com> Tested-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
2011-07-13ARM: tegra: ventana: register USB accessory driverDavid Schalig
bug 846277 Change-Id: Ib435d07993d9987d6028e783fdce2d1ed68d19ca Reviewed-on: http://git-master/r/40605 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: David Schalig <dschalig@nvidia.com> Tested-by: David Schalig <dschalig@nvidia.com>
2011-07-13video: tegra: dc: Reduce usage count of nvmap clientVandana Salve
Carveout memory leak occured in video playback on abnormal termination as the tegra overlay driver didn't had the implementation to reduce the usage count of nvmap client on device closure. Hence on abnormal termination of mediaserver, the carveout memory remained allocated causing memory leak. The usage count of nvmap client for overlay driver is incremented on ioctl TEGRA_OVERLAY_IOCTL_SET_NVMAP_FD.It should be decremented on device closure. Added the code to decrement the uage count of nvmap client on release, so that the client and the carveout memory is free'd whenever the count reaches zero on successful as well as abnormal termination of mediaserver process. Similar implementation is done by NvHost channel driver, The NvHost drivers takes care of nvmap client usage count.i.e. decrement the uasge count of nvmap client which is incremented by NVHOST_IOCTL_CHANNEL_SET_NVMAP_FD ioctl. Bug 845676 Reviewed-on: http://git-master/r/40157 (cherry picked from commit c10173d70affb7117284b57fb0870c90823a5880) Change-Id: Ibe71a5daa8e6e3e2618e6b1a43338ff46fc27062 Reviewed-on: http://git-master/r/40837 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-12Revert "tegra: usb: prevent crash if irq occurs while sleeping"Alexandre Courbot
This reverts commit d7b102eca117b41c0f244b292d076e574608c565. Above change prevented USB3 hotplug to work at all. Change-Id: I197dfb727d48ce8627574da4736e0407f2adcb90 Reviewed-on: http://git-master/r/40315 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-07-12net: ppp: Reduce GFP_ATOMIC memory usageBenoit Goby
100% of the time on stingray, only 1 skb is allocated in the ppp_async_input loop. Pre-allocate this skb out of atomic context. Signed-off-by: Benoit Goby <benoit@android.com> (cherry picked from commit 27b6adb1ebbd0deb1cc0c9886d8371f9ddf854ab) Change-Id: I4cb9a4dffe983a34ad5724c9f0ebbada2fddb555 Reviewed-on: http://git-master/r/36703 Reviewed-by: Amit Kamath <akamath@nvidia.com> Tested-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-12usb: misc: out-of-band wake for usb devicesJames Wylder
Allow interrupts to wake usb bus for devices/hosts that don't support remote wakeup. Signed-off-by: James Wylder <james.wylder@motorola.com> (cherry picked from commit d843d79035c5286a0241c473a96ad02e9c48f307) Change-Id: I307f8d44603daf77f20b18dcb252c02df90659bd Reviewed-on: http://git-master/r/36702 Reviewed-by: Amit Kamath <akamath@nvidia.com> Tested-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-12media: video: tegra: Correct mclk settings for ov5650John Kramer
Signed-off-by: John Kramer <john.kramer@motorola.com> (cherry picked from commit 498e62c0b48548b07481927e02decd9a00c815d2) Change-Id: Ib616ea4b9ca2a8915db59c60c84511b2b0ac725f Reviewed-on: http://git-master/r/36701 Reviewed-by: Amit Kamath <akamath@nvidia.com> Tested-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-12USB: gadget: f_mtp: Don't block waiting for online state in read()Mike Lockwood
Return -ENODEV instead if USB is not connected. Signed-off-by: Mike Lockwood <lockwood@android.com> (cherry picked from commit 89f57cb6b93c3ac3a3b46480574054e603c47c36) Change-Id: Ia3527d3f9a2a5a6a4aa56b717602ab28a8716e0e Reviewed-on: http://git-master/r/36700 Reviewed-by: Amit Kamath <akamath@nvidia.com> Tested-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-12net: wireless: bcm4329: Prevent working thread to run during suspend pathDmitry Shmidt
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com> (cherry picked from commit c53be2ce81658292e6e1ef67c070c120d92e06c7) Change-Id: I29d7b8c9d09471850af44e7aefd88eb6395d04bf Reviewed-on: http://git-master/r/36699 Reviewed-by: Amit Kamath <akamath@nvidia.com> Tested-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-12USB: gadget: f_mtp: Add support for queueing multiple interrupt requestsMike Lockwood
Fixes problem sending "store added" events when there are multiple stores Signed-off-by: Mike Lockwood <lockwood@android.com> (cherry picked from commit f937994b15d9d0433c027b9314afe0eabdbe0103) Change-Id: I9233074bc0ef1abb149df1e41e3c97eeebf66be4 Reviewed-on: http://git-master/r/36698 Reviewed-by: Amit Kamath <akamath@nvidia.com> Tested-by: Amit Kamath <akamath@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-12ASoC: tegra: wait on amplifier to be enabledChao Jiang
According to the datasheet of wm9001 amplifier, it needs 100ms to enable itself for Class D with Vmid capacitor 4.7uF. Some sound data will be missing without the msleep call. Fixed bug#831138 Change-Id: I047355875c2ee8debffc5b4c3adaa4e236a21b26 Reviewed-on: http://git-master/r/40536 Reviewed-by: Chao Jiang <chaoj@nvidia.com> Tested-by: Chao Jiang <chaoj@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-07-12video: tegra: check for hdmi peripheral during resumeSanjay Singh Rawat
As HDMI is not a wakeup source. To detect HDMI peripheral which is connected after suspend, we scan for it during HDMI resume. Bug 846365 Change-Id: I8746f18159758887aecca384bba3dd662b96710e Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com> Reviewed-on: http://git-master/r/39776 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-12ASOC: tegra: Fix wired jack suspend/resumeSumit Bhattacharya
To properly handle any jack insertion/removal during suspend snd_soc_jack functions should be used for disabling/enabling wired jack gpios. Bug 850424 Change-Id: I71cfee4c0afb955ef2f67f1a3ec1b266e5e94550 Reviewed-on: http://git-master/r/40643 Tested-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Peterson <speterson@nvidia.com>
2011-07-11kernel: Fix the issue of counters not being resetlicheng
EMC state control register is not programmed correctly as the value is not reset after previous write is done. Bug 829087 Change-Id: I6d1db2e605101d248ed08777135cb1a404fb3350 Reviewed-on: http://git-master/r/40230 Tested-by: Liang Cheng (SW) <licheng@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com>
2011-07-11ASOC: tegra: Disable wired jack IRQShridhar Rasal
Added suspend for tegra_wired_jack. Disable tegra_wired_jack GPIO interrupts while going into suspend and enable in resume. Bug 827709 Change-Id: I5174fec2727c116bb7cb3d95deeedf4e59318cee Reviewed-on: http://git-master/r/40363 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Shridhar Rasal <srasal@nvidia.com> Tested-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
2011-07-11arm: tegra: ventana: Revised resume sequence for link ulpi.Raj Jayaraman
Revised version of lp0 resume code for link ulpi. Bug 786136 Change-Id: I6b644a596148ec975d2e74113499358fc115066e Reviewed-on: http://git-master/r/39113 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com>
2011-07-11i2c: tegra: Avoid duplicate write into Tx FifoAlok Chauhan
Dvc I2C_DONE_INTR_EN interrupt bit is always enable into dvc control register3.During normal transaction on dvc i2c bus sometimes one transaction written two times in TX fifo buffer because of triggered dvc interrupt.This is causing to corrupt the next transaction header and send wrong address over dvc i2c bus.To solve this issue dvc i2c interrupt has to disable during filling of Tx fifo and enable after that. Writing last packet into Tx Fifo is generating i2c interrupt immediately if IE bit is enable in Packet header. Data shared between isr and normal thread are not in sync. So alway update these data before writing into Tx fifo. Updated the following things in code: (1) Add the code to mask/unmask I2C_DONE_INTR_EN into dvc control reg3 (2) Always updates the i2c driver required field structure data before writing into Tx Fifo register. (3) Add the code to handle tx fifo overflow condition also. (4) Put delay before resetting the controller BUG 839528 Change-Id: Iac45e628e71b8a727d3211024b7e980d33fd128a Reviewed-on: http://git-master/r/39981 Reviewed-by: Alok Chauhan <alokc@nvidia.com> Tested-by: Alok Chauhan <alokc@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
2011-07-11usb: host: ehci: Increase IAA watchdogBenoit Goby
The IAA watchdog has been added to work around flaky controllers that sometimes miss IAA interrupts. We don't need it on Tegra and it is known to cause panics. Increase it to a large value to make sure it does not fire unexpectedly. Signed-off-by: Benoit Goby <benoit@android.com> Change-Id: I0d7a9568f7f438f2b33c350fb7b2a129fbfc9510 Reviewed-on: http://git-master/r/40065 Tested-by: Cho-Che Cheng <jacheng@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-07-06ARM: tegra: ventana: set usb2 phy typetegra-11.2.10Ken Chang
set usb2 phy type to TEGRA_USB_PHY_TYPE_LINK_ULPI bug 845612 Change-Id: I35ae7a2e3eb6e0666a1b54e5249faad4f77bd299 Reviewed-on: http://git-master/r/39603 Reviewed-by: Manish Tuteja <mtuteja@nvidia.com> Tested-by: Manish Tuteja <mtuteja@nvidia.com> Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>
2011-07-06arm: tegra: usb: usb registration orderSuresh Mangipudi
Modified the usb registration order, otg is the first to be registered. Bug 835678 Change-Id: I709a944a49aa59886f906bd4184e80b35836125c Reviewed-on: http://git-master/r/39505 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Reviewed-by: Alex Courbot <acourbot@nvidia.com> Tested-by: Alex Courbot <acourbot@nvidia.com>
2011-07-06arm: tegra: otg: Remove host stopSuresh Mangipudi
Remove the stop host call when device is entering suspend. Need to be detect the host device even after the device exits from LP state. Bug 835678 Change-Id: Icf32c828078bb0f42237f49373af25d0c768a301 Reviewed-on: http://git-master/r/39506 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Reviewed-by: Alex Courbot <acourbot@nvidia.com> Tested-by: Alex Courbot <acourbot@nvidia.com>
2011-07-06usb: ehci: tegra: fix hotplug issue on usb2Ken Chang
usb hotplug is supported only for UTMI phy. usb_phy_type should be carefully checked in ehci irq. bug 845612 Change-Id: I2fdc7c79b9816dd3465353375448b07f138ff950 Reviewed-on: http://git-master/r/39338 Tested-by: Ken Chang <kenc@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Yu-Fong (Foster) Cho <ycho@nvidia.com> Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>
2011-07-04media: video: update copyright headersFrank Chen
update headers for camera files bug 846086 Change-Id: I1986152a0edc184a458e5be1bc98a480b1badfd6 Reviewed-on: http://git-master/r/39141 Tested-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
2011-06-30video: tegra: hdmi: support for edid like datasyed rafiuddin
- Added support for eld extraction from edid and support for propogation of eld to HDA. - Differentiate video/audio hotplug - Change the value sent to HDMI hotplug switch class driver so that we can get hdmi hotplug events without audio enabled based on whether the display has audio or not. bug 836548 Change-Id: I89475049df19ed36d9b77eb15f3aee2e0fdf8f71 Reviewed-on: http://git-master/r/35672 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com>
2011-06-30arm: tegra: fuse: new programming sequenceVarun Wadekar
- vdd_core needs to be 1.14V min before fuse write/read - add wait_for_idle before accessing fuses - add proper programming of PRIV2INTFS field Bug 841766 Change-Id: Ie9ec27bdbc975a4e3ce40a0ce60fe7049f7c2429 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/37618 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
2011-06-30arm: tegra: dvfs: add entry for fuse_burnVarun Wadekar
Bug 841766 Change-Id: I24e7102f3c2fb17b9f2095cf12feccefbcdf8dce Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/37617 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Andy Carman <acarman@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-30arm: tegra2: clocks: add fuse and fuse_burn clocksVarun Wadekar
keep fuse clock always enabled to allow fuse read writes from multiple clients Bug 841766 Change-Id: I01391ff88e1af5d622fe52b8fad30e2dfc02f38c Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/38402 Reviewed-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2011-06-29tegra: usb: prevent crash if irq occurs while sleepingAlexandre Courbot
In some rare cases, EHCI irqs interrupts be triggered while the block is suspended. This is notably the case when unplugging a host cable to which no device is attached. In this case, the interrupt handler will be called with the block powered off, which will eventually crash. This patch workarounds this by returning from the interrupt handler immediatly if the block is not powered on. Change-Id: I7763f56f20a984e3db716306b6bf8ec223c90363 Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Reviewed-on: http://git-master/r/35604 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
2011-06-28video: tegra: nvmap: fix GART pin lockupsKirill Artamonov
Fix GART lockups caused by fragmentation by evicting mapped areas from iovm space after unsuccessful array pinning attempt. Fix double unpin error happening during interrupted submit. Fix possible sleep in atomic context in iovmm code (semaphore inside spinlock) by replacing spinlock with mutex. Fix race between handle_unpin and pin_handle. bug 838579 bug 838073 bug 818058 bug 844307 Conflicts: drivers/video/tegra/nvmap/nvmap_mru.c Change-Id: Ie44fa88510f62ce5c7d31af3b07afdf69a3ad4a6 Reviewed-on: http://git-master/r/38430 Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com> Tested-by: Kirill Artamonov <kartamonov@nvidia.com> Tested-by: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>