summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-11-30media: tegra: avp: Add channel based AVP driverGajanan Bhat
New AVP driver based on channel model. The AVP acts as s/w host1x channel and has a syncpoint allocated to synchronize audio/video operation submitted by the host. The driver is responsible for loading the AVP kernel and initializing s/w channel. Original-Change-Id: I20b68fc3cbb88b7c95542bae0a1acf5edc52c715 Reviewed-on: http://git-master/r/37420 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rfa4a49bb322192861df6c9cc16ada6ae1040f8be
2011-11-30regulator: tps6586x: add SMx slew rate settingXin Xie
bug 815933 Original-Change-Id: I3b8f8910b12ff4f8a5f9588615bd0bb6452bdc3b Reviewed-on: http://git-master/r/40263 Reviewed-by: Xin Xie <xxie@nvidia.com> Tested-by: Xin Xie <xxie@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R18292e6e68c95b9f67d24281a9f2b80439452ba8
2011-11-30crypto: tegra-se: add support to use sskVarun Wadekar
support to use ssk for some special encrypt decrypt operations. algo names changed to match the ones accessed by /dev/tegra-crypto Bug 850434 Original-Change-Id: I8f13ae1fd15ffeae4aceee5799552d173560479a Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/41012 Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Rebase-Id: R86620bd834ae7740377f43c285ba86aee74bb4cc
2011-11-30nvhost: Enable 3D powergatingTerje Bergstrom
Enables 3D power gating on chips that support it. Bug 793861 Original-Change-Id: Iadc40b65ac4897550d3b0d2076cc7efe98c95dfa Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/37821 Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Karan Jhavar <kjhavar@nvidia.com> Tested-by: Karan Jhavar <kjhavar@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R14eebcaa38b71d81b5286f922d0d10e15a121b13
2011-11-30video: tegra: host: Channel based AVP driverSoumen Kumar Dey
Reserving syncpoint for channel based AVP driver. Original-Change-Id: I2829341417a9bdc010ba51f4416d8648b7068b17 Reviewed-on: http://git-master/r/41148 Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Gajanan Bhat <gbhat@nvidia.com> Tested-by: Gajanan Bhat <gbhat@nvidia.com> Reviewed-by: Chris Johnson <cwj@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: Rffd00ab1a181b331fc5e309f68f61748b8d2bd65
2011-11-30video: tegra: update copyright and commentsJon Mayo
added correct copyright comment. removed funny block comments. Original-Change-Id: I1a86083e3467bba208e5cafc3886a3800cb52e1d Reviewed-on: http://git-master/r/39246 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R50e415ae0c7d0f52ab7313a55ad757cec8910d9f
2011-11-30nvhost: Do not crash if wait syncpt > maxTerje Bergstrom
If user space is waiting for a syncpt value higher than max, nvhost_wait_timeout() panics the kernel. This panic is based on the assumption that nobody should wait for sync points higher than indicated by a submit from user space. As the API has nothing to disallow waiting for future sync points not indicated by any submit, this patch removes the panic and treats this as a normal case. Bug 843238 Original-Change-Id: I367c46e42bd683f1023e7fe04e523a99ab3d666b Reviewed-on: http://git-master/r/36470 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R18a509f85dfd657c3dcbbd7db1fa95d71113cea0
2011-11-30misc: nct1008: extended mode first reading fixBitan Biswas
nct1008 first temperature reading in extended mode is incorrect. A valid temperature is available in next measurement cycle after changing temperature range. - using table with delay expected for supported conversion rate of nct1008. bug 852754 Original-Change-Id: Id68cbf6a83fe2a11ae2a6d94f0df51a3ebd37ac7 Reviewed-on: http://git-master/r/41506 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R9fc8a721f1b25372324f7e38c3c477b9769d51bf
2011-11-30media: video: tegra: enable ov9726 sensorCharlie Huang
initial support for sensor ov9726 bug 829399 Original-Change-Id: I67315dfce7baf2c14f49bf526c10fe19cf32d1d3 Reviewed-on: http://git-master/r/40472 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Chonglei Huang <chahuang@nvidia.com> Tested-by: Chonglei Huang <chahuang@nvidia.com> Rebase-Id: R31312b2b0fda96348bb14461651ccb27aa30b0de
2011-11-30video: tegra: dc: Fix no_vsync hang issue.Gaurav Sarode
no_vsync was causing random hangs due to unwanted interrupts were enabled on default. Fix bug 801463 Original-Change-Id: I8dabf4b9b7b98cd64f2caff94efe949e2768bdd2 Reviewed-on: http://git-master/r/40616 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R2aeb2a584b04dd36317bbd405e907ab6f45c2a41
2011-11-30misc: nct1008: ext-temperature sysfs fixBitan Biswas
In extended temperature range ext-temperature reported was incorrect. Fixing this. bug 850512 Original-Change-Id: I45b8e3630cad3ca5f78960c16402b77e9bc25cc9 Reviewed-on: http://git-master/r/41261 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Rebase-Id: R1ac2c365793129d20c76eace2ea2723d0c178a70
2011-11-30tegra: video: dc: prevent division by zeroJon Mayo
Do not pass 0 to PICOS2KHZ() macro, as it causes Division by zero in kernel. Bug 850852 Original-Change-Id: Ice913aaf756719aaf49bf6fab54b5f1618fb07d5 Reviewed-on: http://git-master/r/41116 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rc77772df52dfd42db53be2c8cb4281a04262ad69
2011-11-30video: tegra: dsi: Power optimization for dc one-shot modeAnimesh Kishore
Disable TE signal from panel when display off for power saving. Bug 851754 Original-Change-Id: If00f9bde9c358c7b49050a32f68d04881e6641da Reviewed-on: http://git-master/r/41031 Reviewed-by: Animesh Kishore <ankishore@nvidia.com> Tested-by: Animesh Kishore <ankishore@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com> Rebase-Id: R6df302cd2af2105e2dd3384a222965f0b9180bd0
2011-11-30video: tegra: dc: Fix wrong handling of dc enable.Gaurav Sarode
DC reset disables dc for sometime. If IOCTL_FLIP occurs during that time then wrong status will be reported. Add dc mutex around dc->enable to prevent wrong value read. Fix bug 852345 Original-Change-Id: I27674abc45fca6bed061f7d34e1454235458fc1c Reviewed-on: http://git-master/r/41201 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R0d10fb5ff9dfc2ee2c9dcc7e65a2bfafb8a88d4d
2011-11-30mfd: tps6591x: Reorganise GPIO definitionLaxman Dewangan
Adding the TPS6591x gpio definition in tps6591x core header files. bug 849976 Original-Change-Id: I1f7a7cc38e220c091ccf44db5af6e43c34daa1cd Reviewed-on: http://git-master/r/41040 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rcaf75875841aab0b12f3876086245701eb754669
2011-11-30arm: tegra: usb: Exclude incompatible device from CDC-ACM driver.Michael Hsu
A certain flashless modem has a boot ROM which incorrectly reports itself as being USB CDC-ACM class compliant. Prevent the CDC-ACM driver from printing error message about "This device cannot do calls on its own. It is not a modem." when this device is present on usb bus. Original-Change-Id: If1ef27980b3cc454233309a5066070e6250dd24e Reviewed-on: http://git-master/r/41105 Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Ra7b68fb265acffe22a2de5d31bad82363607b87e
2011-11-30arm: tegra: usb: Add kernel config USB_EHCI_ONOFF_FEATURE.Michael Hsu
Allow usb host to turn off / on usb device, usually after firmware has been downloaded to usb device. BUG 828389 Original-Change-Id: I2dc92e8c8950fff27a20e651ef7b3c5537e6c5ff Reviewed-on: http://git-master/r/40944 Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rb599f90846bcdf043fa988a53da50451e4c0ee39
2011-11-30video: tegra: dc: apply latency allowance windowsJon Mayo
Calculate per window bandwidth and apply latency allowance factors to each active window. Reuses much of the emc bandwidth code. Bug 820273 Original-Change-Id: I24f9c5749d8ea646c5f5861cfe19c73536dbf7dc Reviewed-on: http://git-master/r/40134 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rb7c7fb7813fbd61302e51e86e86cab4063e7050b
2011-11-30video: tegra: dc: remove emc clock workerJon Mayo
remove the support to delay changing emc clock. Bug 850852 Original-Change-Id: Ibc125e7789ad96059c53c82eb51091afd7b880fc Reviewed-on: http://git-master/r/40133 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rc136721574d4337ce8538abcf852d4d64857cdbf
2011-11-30video: tegra: dc: only set supported filtersJon Mayo
Not all windows are created equal, only set vertical or horizontal filters when the window supports them. Bug 850852 Original-Change-Id: I69b40ff47fd8ed8499857408c249ddd35299ae95 Reviewed-on: http://git-master/r/40132 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R339412d8ca44cd3bbe69f4af8c9bdde32a6d56c7
2011-11-30video: tegra: dc: clean up dynamic emc codeJon Mayo
refactor emc code and centralize it in one place. Bug 850852 Original-Change-Id: Icddd270d1ea4f47de11aa3633dd2dbb205a15742 Reviewed-on: http://git-master/r/40131 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R50b0fc763281d1ce1b0758caf5e42bfb2d4a3050
2011-11-30video: tegra: host: Balance 3D clock control in module initAlex Frid
Remove extra 3D, 3D2 clock disable from module init. This calls were necessary to compensate un-balanced clock enable done while powering 3D partition on. Power-gating control is balanced now, so the calls in question do nothing except generating warnings. Original-Change-Id: Ic46e8f80102cf9166ab37532b2b92b3e83f28107 Reviewed-on: http://git-master/r/40957 Tested-by: Aleksandr Frid <afrid@nvidia.com> Reviewed-by: Narendra Damahe <ndamahe@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Karan Jhavar <kjhavar@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R622ac19ee7fdcdf4b6bcfd9240dc85e8d7d69ba0
2011-11-30arm: tegra: comms: Add baseband character driver.Michael Hsu
Add raw character device driver for baseband modems. Suitable for downloading modem software image to flashless modem, or sending AT modem commands after modem software is running. Original-Change-Id: I0de126c5eb8700db196e9d6838d65ccce1480c42 Reviewed-on: http://git-master/r/40936 Reviewed-by: Michael Hsu <mhsu@nvidia.com> Tested-by: Michael Hsu <mhsu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R76607c0d7b47938fa49d4ec57e9962f2d683a5cb
2011-11-30video: 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) Original-Change-Id: I4de52d89b70a1f5ed401f807e76a6160f65d9917 Reviewed-on: http://git-master/r/40840 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Ra474156806eacf67c6de82480ded1580ddcdb93f
2011-11-30media: video: tegra: support multiple camerasJihoon Bang
Separate board specific sequence from ar0832 driver and add it to board files. Add function that changes device slave address in real time to support multiple devices in the same I2C bus. Bug 844021 Original-Change-Id: I48641909eb531b4ba827096bc30fa4eccf83469e Reviewed-on: http://git-master/r/40385 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Reviewed-by: Jihoon Bang <jbang@nvidia.com> Tested-by: Jihoon Bang <jbang@nvidia.com> Rebase-Id: R4b761bd3b09ed2b0101b03e8be737c25e5c3ee5f
2011-11-30arm: tegra: net: Support multiple RAW-IP devices.Michael Hsu
Change RAW-IP network driver to support multiple instances. Bug 818895, 847608 Original-Change-Id: I30d79a4af38611693c0cc4e045f6ec50a6baff7d (cherry picked from commit 32bacea781788f43fdf16d1f9edc782e9d599c41) Reviewed-on: http://git-master/r/39313 Tested-by: Wang-Kai (WK) Tsai <wtsai@nvidia.com> Reviewed-by: Wang-Kai (WK) Tsai <wtsai@nvidia.com> Reviewed-by: ChihMin Cheng <ccheng@nvidia.com> Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rea54001cfbb6d0fe53c2e91695db9f023b9e2828
2011-11-30misc: tegra-crypto: enable prints for some errorsVarun Wadekar
Original-Change-Id: I2effe3ad6454965a4f48c4185c325ad3355c3661 Signed-off-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-on: http://git-master/r/41011 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R67b8963788605425c044e68b082ecb1d622d7b33
2011-11-30tegra: video: dc: Add sys interface to read display CRC.Kevin Huang
- Add attribute in sys to read TEGRA_DC_CRC_CHECKSUM_LATCHED - Fix some minor formatting issue of dc_sysfs.c Bug 834332 Original-Change-Id: I48f75fcb1d5403ab40d0da438200a5552ba4e6ff Reviewed-on: http://git-master/r/37912 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rde819259112b14ed1ae67b41d66b1785d68a2b7f
2011-11-30arm: enterprise: Clean some of tps80031 definitionLaxman Dewangan
Adding public definition in the 80031 header so that client can used directly in place of defining at client level. Original-Change-Id: Ifb64e0ffc83bc29c470d08a49d0915613a677537 Reviewed-on: http://git-master/r/40208 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R981610616a78797050538c2a4eb5160ea11384c8
2011-11-30video: tegra: dc: fix hdmi mode filterDonghan Ryu
If there are more than one hdmi modes that have same xres, yres, and vmode, tegra_dc_hdmi_mode_equal can return true even though pixclocks are way different from each other. Now, tegra_dc_hdmi_mode_equal will retun false if pixclock has more than 1Hz of difference. Also, tegra_fb_set_par will use fb_find_nearest_mode instead of fb_find_best_mode to take refresh rate into the consideration. Bug: 815409 (cherry picked from commit 8cf6e47dd3d4efaa3a1f0a15f1bd36ad34d3a951) Original-Change-Id: I744d3c6dfb553bfab190e7d82a9dc5d8782e45d5 Reviewed-on: http://git-master/r/37419 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R4a93c72ba0a73c561864322014a8c9a33e86304b
2011-11-30hwmon: tegra: tsensor: set STOP bit in suspendBitan Biswas
tsensor STOP bit is set before suspend. This disables the counters and prevents OVERFLOW interrupt in LP1 mode bug 850683 Original-Change-Id: I01fbc9529ecc25ce96f50a5fbf599c9bce2157b5 Reviewed-on: http://git-master/r/40656 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: Rbdf02380a72c8f75449a0a3e52007e5883f62d4b
2011-11-30video: tegra: remove unused list.h from dc_priv.hRobert Morell
Original-Change-Id: I7a2d2e3016a0289b9df6e73e5d0234f6ace07904 Signed-off-by: Robert Morell <rmorell@nvidia.com> Reviewed-on: http://git-master/r/39306 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Ra44aa094ba19c367576af4e2cfa5e571e1e05ef9
2011-11-30video: tegra: dc: Remove tegrafb dependencyRobert Morell
The common dc.c code shouldn't include tegrafb.h; this breaks modularity. Fortunately, it was only being used to count windows, and there's a non-FB-specific version of that. Original-Change-Id: I81a082ce9cf6f7da32da0c2399344c017863c6ee Signed-off-by: Robert Morell <rmorell@nvidia.com> Reviewed-on: http://git-master/r/39300 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rf9ef44ad4e17af87126f017b014915a7b9ab8df2
2011-11-30video: tegra: Remove unused variable 'val'Robert Morell
This change removes the unused variable 'val' to fix the warning: drivers/video/tegra/dc/dsi.c: In function 'tegra_dsi_host_trigger': drivers/video/tegra/dc/dsi.c:1214: warning: unused variable 'val' Original-Change-Id: I5b602299c11cb37b6c803245ec6d03b0a512695d Signed-off-by: Robert Morell <rmorell@nvidia.com> Reviewed-on: http://git-master/r/39299 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rf2005859d27a4501c68a2139a7f23450707076b8
2011-11-30video: tegra: Conditionalize variable 'reg_addr'Robert Morell
This change conditionalizes the declaration of variable 'reg_addr' with the same condition that it's used to fix the warning: drivers/video/tegra/dc/hdmi.c: In function 'tegra_dc_hdmi_setup_audio': drivers/video/tegra/dc/hdmi.c:1129: warning: unused variable 'reg_addr' Original-Change-Id: Ifc4ace5a9fef06e7e880782c4ee3d4b75aeb8595 Signed-off-by: Robert Morell <rmorell@nvidia.com> Reviewed-on: http://git-master/r/39298 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rca23cf803a6035704e22c5ce88b4f5e12e841b70
2011-11-30video: tegra: fix the free sequence in tegra_fb_register.Jubeom Kim
Fix err_delete_wq and err_put_client of error handling. Reviewed-on: http://git-master/r/37870 (cherry picked from commit 794cd34757fe7193b0e2f1847335d127840fd4a3) Original-Change-Id: If8bf04b6a5a473b3c13017ea8ad2c33cd7b4954e Reviewed-on: http://git-master/r/38447 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R2a5f0f6e618d8d3a728f2ecb28eddb613280c99e
2011-11-30spi: tegra: fix uninitialized values and if statementJubeom Kim
- Initialized the read_words value. - (tspi->irq < 0) is not valid because tspi->irq is unsigned value. Reviewed-on: http://git-master/r/37868 (cherry picked from commit 4c0d22c83294ca081e90f588fdcb67fdc54fff23) Original-Change-Id: Ic37df9d29e305699abeda1f8b8aa48b7fcd9b394 Reviewed-on: http://git-master/r/39583 Tested-by: Jubeom Kim <jubeomk@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R8e088031295c334cf3026ee8a49738605b7fcf7f
2011-11-30rtc : tps6586x: move NULL checking to the front.Jubeom Kim
Reviewed-on: http://git-master/r/37866 (cherry picked from commit 4299db4686321fb3017f9118a36610898f172639) Original-Change-Id: Icbfef4dc5604506d30592317c94a7d4fc1bcf16c Reviewed-on: http://git-master/r/39582 Tested-by: Jubeom Kim <jubeomk@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R7d8f5628cde155fe54d31f37eeacb4b5bb4962d1
2011-11-30Arm: Tegra: Tsensor: Added guardbanding to temperaturesDiwakar Tundlam
Bug 844025 - Guardband to account for hotspot offset and sensor accuracy. - Throttling point specified independent of EDP, but constrained to be one of the specified EDP points. Original-Change-Id: Ic9231ad6887ca282bb520ea23229526ac7a243be Reviewed-on: http://git-master/r/40566 Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Tested-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: Rb582312d40da8f1cc753666bdef6068138358cd0
2011-11-30video: tegra: host: separate the different kinds of ACM timeoutsChris Johnson
Let the delay in making sure a module is idle for some amount of time before powering it down be module specific. This typically occurs at the end of a INTR_ACTION_SUBMIT_COMPLETLETE. Some modules have more work (e.g. 3D) to power down, so should have a longer delay than a module with a lower latency (e.g. 2D). This change adds the infrastructure a subsequent change will assign different values. Make use of a separate #define for the timeout used in waiting for a system suspend to go idle. Original-Change-Id: I4d675375e7c2ad841168449bd7f6db3d38d6d6c3 Reviewed-on: http://git-master/r/40044 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rdacbc9caab0bf60064d6c27a7c919b9a759da97a
2011-11-30regulator: tps80031: Correcting voltage range for LDOs.Jin Park
The LDOs are supporting 1.0V to 3.3V on TPS80031, but current driver was implemented 1.1V to 3.3V. So corrected this. And adding bit mask in ldo_get_voltage to prevent wrong voltage calculation. Signed-off-by: Jin Park <jinyoungp@nvidia.com> Original-Change-Id: Ic3779730fd8ad1dec6cf156b4582b0099734e7e6 Reviewed-on: http://git-master/r/39515 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rffc735384a266c5d8cde7697e25d9d3f3081597c
2011-11-30video: tegra: remove 1080p@30HZ define from kernelDonghan Ryu
CONFIG_TEGRA_ENABLE_SUPPORT_FOR_1080p_30HZ define is not needed anymore since this can be filtered from user space driver Bug: 815409 (cherry picked from commit 14e0e21a7357722b8be6bba191665e3ead17dd11) Original-Change-Id: I914d2811d757228864d0ae13950d0fc5cce7f972 Reviewed-on: http://git-master/r/37026 Reviewed-by: Donghan Ryu <dryu@nvidia.com> Reviewed-by: Jonathan Mayo <jmayo@nvidia.com> Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R74b621cfd8928797b348ee20bcbcf27492085959
2011-11-30media: tegra: avp: Fix avp_svc_thread shutdownKaz Fukuoka
Fix the race condition between kthread_stop() and wait. Without this fix, the following message was printed. "avp_svc_thread: timed out while waiting for kthread_stop" bug 840262 bug 836806 Original-Change-Id: I5acf75859e6512923506a3c508f62e7d7ef9a1dc Reviewed-on: http://git-master/r/39736 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rf58fd998c20b6ba03077e0a06cb1ac3d89826f77
2011-11-30media: video: tegra: avp: get module clock freqSachin Nikam
AVP wants to know the clock freq of the modules like VDE and AVP itself. Added interface to handle the get clock message from AVP. Bug 843882 Original-Change-Id: I3c07814fdb9d3b0c4aae11a431d0737a1c6d6014 Signed-off-by: Sachin Nikam <snikam@nvidia.com> Reviewed-on: http://git-master/r/38506 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R4355b6e3e721900a100ba2ab56c5b5c5cf4e7055
2011-11-30media: video: tegra: enable ar0832 sensorJihoon Bang
Support only one sensor for now. Original-Change-Id: I1d0b804077e271052a6d6f4554865675fa70d612 Reviewed-on: http://git-master/r/36779 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R88b01bf956bdfabd8f13d883ea93a7d8e542d248
2011-11-30usb: 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 (Cherry picked from commit 894ef272deec269ccbf1caf2b9a5e4ce3bbf7a0f) (Reviewed on http://git-master/r/39338) Original-Change-Id: I19e0de3353f17a7d46d097b90009e5182a6c20ba Reviewed-on: http://git-master/r/40010 Tested-by: Ken Chang <kenc@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Reviewed-by: ChihJen Hsu <chhsu@nvidia.com> Rebase-Id: Rdf9eaa0c1db04beac15686c969fd497a59b2acdd
2011-11-30video: tegra: dc: print bandwidth warning onceXin Xie
In some stress tests, calculated EMC bandwidth is more than allowed EMC bandwidth and print out too many warning. Change to print the warning only once. BUG 847731 Original-Change-Id: Ia369d4295231e1db39532b0fc6ae8a29f9dbea65 Reviewed-on: http://git-master/r/39740 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Re9f0b2b50f5bd2afc25564ad97396453e68f9e55
2011-11-30media: video: tegra: avp: set sclk to minPrashant Gaikwad
Initialize avp.sclk to minimum. Activity monitor adjusts avp.sclk dynamically depending on load. Reviewed-on: http://git-master/r/36064 (cherry picked from commit 1d18930770b99fa7a8169ba8300723bf3b5551e0) Original-Change-Id: Ifb8704169afd7e4436bfba17e3a6c08e8d39aed4 Reviewed-on: http://git-master/r/38909 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Ra52c5b5085cfc3e6d21e00969cc83d3f322c4621
2011-11-30tegra: avp: Add platform data for avpPrashant Gaikwad
If emc clock is clocked at maximum rate it increases power consumption. emc clock rate requirement is different for different platforms. Original-Change-Id: I21e9afed402d08558c6913b5f194b1a4699ebcb2 Reviewed-on: http://git-master/r/40166 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R0b4df2cdbdafeb45f050800f29c05ff4b929c6d4
2011-11-30misc: nct1008: Power control for nct1008Laxman Dewangan
Adding the power control support for device nct1008 to make sure that power is enable on device before accessing the device. bug 849307 Original-Change-Id: I84d7abc142814014bfc568b3a4b0ae0d5329f41e Reviewed-on: http://git-master/r/40160 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: R49d4709c030086c9596e3a81664b46967de8f029