summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)Author
2011-11-30video: tegra: dc: fix range check in fbdev cmapDavid Schalig
Bug 868060 Change-Id: Id9f0cca6670a3090941f18b0f4b663e07d9fc7e0 Reviewed-on: http://git-master/r/60813 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rd993acb0a3101f2d165108d215ef5f01ff6b1134
2011-11-30video: tegra: dc: support global fbdev gamma tableDavid Schalig
Add support to set a global gamma correction table via fbdev cmap API. The 3 Tegra DC windows have their own local gamma tables, which can either override or alter the global table. Bug 868060 Change-Id: I0be1c5e4afa8fd8c010b772c7808c883c0848ab4 Reviewed-on: http://git-master/r/60201 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R7e613b1c8ac469242172bd81db9dfba25176e0c3
2011-11-30ARM tegra: gpio: Correct gpio interrupt init sequenceDaehyoung Ko
It is possible for GPIO interrupt to occur when registering handler since set_irq_chained_handler enables GPIO interrupt. Thus all relevant variables are required to be initialized before calling set_irq_chained_handler. Also add initialization of interrupt status register. Bug 884569 Reviewed-on: http://git-master/r/58218 (cherry picked from commit e03fe4cc1bf06fa6c32c0520e2ba31f009f9301d) Change-Id: Ic76f95215b61d6e091ae1cfa11522f8af9c3eecd Reviewed-on: http://git-master/r/60475 Reviewed-by: Daehyoung Ko <dko@nvidia.com> Tested-by: Daehyoung Ko <dko@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R5340918dccc1a8b1d95c5b629cc985f44d45fb67
2011-11-30spi: tegra: Move clock controls api out of spin lockLaxman Dewangan
The clock control apis can be sleepable in tegra platform as spi require frequency/voltage boosting. Moving the clock controls api out of spin lock context. bug 874841 Reviewed-on: http://git-master/r/56869 (cherry picked from commit b316a4e4fd82f1af9af920079119c56bf271c3be) Change-Id: I8fc824de02cb3af54f6331efa0500c79e806bb03 Reviewed-on: http://git-master/r/57315 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R601bd69547ec2612f42d24da29a2f8a5d3fb1fb8
2011-11-30video: tegra: Allow gradual phase in of adjustments on DIDIMMatt Wagner
Adds phase_in_video field that slowly phases in changes to the pixel modification and backlight values. This should only be enabled during video as its results with content that has non-deterministic time between frame updates is sub-optimal. Bug 888294 Reviewed-on: http://git-master/r/58426 (cherry picked from commit 27478be1820740080ed4b2a583846a0bb3c572b6) Change-Id: If6fe099da1d63d742a906ec103911ebc207de644 Reviewed-on: http://git-master/r/60361 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R426a366a34085957659da342b9717bb4d7280898
2011-11-30video: tegra: Add priorities for DIDIM aggressivenessMatt Wagner
Allows DIDIM to keep track of multiple aggressiveness settings based on different priority levels. Four Priority levels are supported and the maximum priority currently specified overrules the other settings. Lowest priority is given to the default kernel value and user specified values. Bug 888292 Reviewed-on: http://git-master/r/58425 (cherry picked from commit 11a602308f6e4d0851c918933c6839b825e00dde) Change-Id: Ic1081e52693e1cdb93501640caf6f12d56f4c58d Reviewed-on: http://git-master/r/60359 Tested-by: Matt Wagner <mwagner@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Rebase-Id: Rea5ddc8fe837d2b57c696e80e6ca07e93b4fac38
2011-11-30usb: ehci: tegra: Recovering 2LS WAR for non-UTMIPSteve Lin
Recovering 2LS SOF edge WAR for link-ULPI, null-ULPI and HSIC. Bug 845989 Reviewed-on: http://git-master/r/57721 (cherry picked from commit ffa6f9b861b424c3c7d2042d1dbc8683cbc924ff) Change-Id: Ib4b583b8a03f87063103e10a117eee00f8f14cea Reviewed-on: http://git-master/r/60320 Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com> Tested-by: Steve Lin <stlin@nvidia.com> Rebase-Id: R9e887cc6c11f953a6e0fa37ee524ba3dda4a8cf4
2011-11-30video: tegra: support display board PM313Hyungwoo Yang
This change supports PM313 with 19X12 panel. The change uses PM313 in "Single input to Dual output" mode Bug ID : 822980 Reviewed-on: http://git-master/r/50215 (cherry picked from commit b83e795747fa860b5b7fb66b2067ebe4f15bcfd0) Change-Id: Iabf707ded2976e9877481c215d0b1f1940781f14 Reviewed-on: http://git-master/r/60085 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Re8eadc35c75fa21b0a5f3cb3bee0e8cb77dc3238
2011-11-30nvhost: Throttle low-priority tasksTerje Bergstrom
Add interface for setting priority of a channel. When the priority is low, wait for channel to become empty before submitting it. Bug 864407 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/57237 (cherry picked from commit 75228616ee2c3073e391c529aecb3f82be3fc5a4) Change-Id: I2f346918ae15427b826a2ec0c28bee6bc72dc859 Reviewed-on: http://git-master/r/59595 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Rfb9ae7e88bec3a0c1e8f51f49f3e6f473d853b21
2011-11-30PM: fix calculation mistake in roll-over casesvenu byravarasu
In case of jiffies roll over, delta is made zero. Hence fixing it, after taking roll over into consideration. Change-Id: I7dacaa12deafbd2bd20705948c0e18292b718aa4 Reviewed-on: http://git-master/r/60147 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R0fa2027be53f95c16e11e8ea46c833c86182a3a9
2011-11-30media: video: tegra: optimize writing gain register in ar0832Jihoon Bang
It used to set the same gain to four different registers of each color component. Setting gain to global gain register is equivalent to setting four registers. This will save time to set gain. Bug 889717 Reviewed-on: http://git-master/r/59443 (cherry picked from commit 618ebc7c8eda03fac467660520c9ad17043e467c) Change-Id: Id58542c69c5c55befe8e045df0488770377bc126 Reviewed-on: http://git-master/r/59964 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Re463dd7b1c73428aa3fc77fbd40645176a2e4220
2011-11-30mfd: max77663: Update the driver to new mfd coreJin Park
The mfd core was updated that removed size_t data_size and renamed void *platform_data to void *mfd_data in struct mfd_cell. The new mfd API, mfd_get_data(), was added for mfd device. It return from struct platform_device to right value of mfd_data and platform_data. Change-Id: I21528879f2186d568f867f1c7e026f8d8e172b5a Signed-off-by: Jin Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/59891 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R4ee12a3ba5afec4255002e226f479e1c96a0f66c
2011-11-30video: tegra: host: Fix incompatible function prototypeScott Williams
Change-Id: I3e5a7d17d80e863bf3ca8249cd0f557124d67057 Reviewed-on: http://git-master/r/59765 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R90fa53d3cba76abf9e2ff2686467f805a5485c4d
2011-11-30video: tegra: host: Separate clk and power gatingTerje Bergstrom
Separate clock and power gating from each other. There are now two timeout values related to power management: * clockgate_delay: how long to wait before clock gating * powergate_delay: when to save context and power gate If the module does not support power gating, that state is not used. System suspend also explicitly power gates all channels before suspending host1x. Bug 875675 Change-Id: Id27f0fca7914ca2a135b27f623cb67af8a94a0ef Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> (cherry picked from commit eda8a5ccc474bc60d76e241f292573a8b6f30ab6) Reviewed-on: http://git-master/r/59077 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Ra935e74f68b3d56479be1105e9858f2248ef6cd6
2011-11-30video: tegra: dc: preserve gamma/csc over suspendDavid Schalig
Preserve YUV-to-RGB and gamma correction tables over suspend-resume Bug 868060 Change-Id: I5ea2224f7ab0dfbe24d741b89d727034be3ebf68 Reviewed-on: http://git-master/r/58016 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R84115584b766900004b5c6cdc3cc8d693fb0db5a
2011-11-30video: tegra: set fb line_length to physical pitchJoseph Lehrer
bug 867222 Change-Id: I782620ac5f9cc633b52bc525fecbdf56cef23002 Reviewed-on: http://git-master/r/54351 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R4df4ce6e36fa490ffad3233c1a7b09330c2a6f74
2011-11-30ARM: tegra: Kconfig: Remove "default=y" for Tegra GRHOSTMursalin Akon
By default Tegra graphics host driver is turned on. This CL removes the default 'yes' for this driver. However, the option is turned on in defconfig files, for an easier out of box experience. Bug 888777 Change-Id: I1ec969f9b0097dc9beccb00ed8cee0ebc7608c41 Signed-off-by: Mursalin Akon <makon@nvidia.com> Reviewed-on: http://git-master/r/57959 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R5a0866bec84d1b17e8574026f35aee35439fbe50
2011-11-30HACK: Revert "USB: extend ehci-fsl and fsl_udc_core driver for OTG operation"Dan Willemsen
This reverts commit 83722bc9430424de1614ff31696f73a40b3d81a9. Our OTG support doesn't play nice with the upstreamed OTG support, so for now, revert the upstream commit. Conflicts: drivers/usb/gadget/fsl_udc_core.c Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R5a4b466ee983307ee277a591e664c854b0ddd970
2011-11-30Revert "video: tegra: Add HDA clock management"Sumit Bhattacharya
This reverts commit ec6673c1d2021df64e3920cc9c6a06e52e9ffbcb. Revert this commit since HDA clock names will be changed in order to add support for HDA driver. Bug 872652 Change-Id: Ia4899672899189f199fae63a454b178dc29af812 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/59617 Reviewed-by: Scott Peterson <speterson@nvidia.com> Rebase-Id: R81e80436981bd78f47b20f2a24efd5d9d2a01cca
2011-11-30media: camera: tegra: Add 120fps mode for AR0832Yuvraj Pasi
Add a new mode, resolution 800x600. This mode supports 120fps in Aptina sensor 120fps. Bug: 888005 Reviewed-on: http://git-master/r/57565 (cherry picked from commit 8959b7e5932809c50562b4edbacb6ef52d7f608f) Change-Id: I087ec7476acc9e3821f46ec034a7ed5115daf2e8 Reviewed-on: http://git-master/r/59494 Tested-by: Yuvraj Pasi <ypasi@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Ra5d41dc26ccf39f22be18599bb5b8f83fd3936eb
2011-11-30nvhost: Add host module clock functionality for T20/T30Vandana Salve
This includes Get/Set clock rate functionality. Removed the abstraction and added functionality for T20 and T30 into nvhost_acm file Bug 887263 Change-Id: I2e8ad3d96fcc3711f99f9aa42150e7d4588910fa Reviewed-on: http://git-master/r/58654 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Vandana Salve <vsalve@nvidia.com> Tested-by: Vandana Salve <vsalve@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R5aebeda335d753d23b0e8704dea949ccf0f7303e
2011-11-30crypto: fix invalid returnColin Patrick McCabe
Change-Id: I9d03b3a6876b858983739c5e8d8a166a08fb2d78 Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com> Reviewed-on: http://git-master/r/59170 Reviewed-by: Rakesh Iyer <riyer@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R73da0f98f4e0d9912ff37cd9faebf06ef11e7bef
2011-11-30video: tegra: Phase in DIDIMMatt Wagner
Settings in DIDIM driver are now phased in over a defined number of steps in order to minimize the perception of changes to the settings during runtime Bug 840155 Reviewed-on: http://git-master/r/52495 (cherry picked from commit a33d4f5c677b657751fd017f8419df88016122a5) Change-Id: I0af84609d0f2ebadf23463473ebf0211dfa594a3 Reviewed-on: http://git-master/r/55789 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R759433a3cfd9b4c07216da4b2c9de6e515a8530d
2011-11-30regulator: tps80031: Proper configuration for PREQ1 controlLaxman Dewangan
When any rail is configured such that it can be enable by PREQ1 then only control the sleep mode of rails through TRANS register, not the STATE register. PREQ1 control the rail to switch from active to sleep and sleep to active mode. Reviewed-on: http://git-master/r/58278 (cherry picked from commit 6a8db3200c3119673b85769b1caa56422a22b4f9) Change-Id: I9763a4d283f0171eb9b7755d44ca3b9059755033 Reviewed-on: http://git-master/r/59289 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R25d191b2429a5f60e77d70aed1eefecaa3b75ba3
2011-11-30mfd: richo583: Configure pins in gpio mode if used as gpioLaxman Dewangan
Configuring the pins in gpio mode when it is used as gpio. Configuring the correct value of bits when setting the output value. bug 822562 Reviewed-on: http://git-master/r/58276 (cherry picked from commit b854f309151342689b82bd653738eb94c87db4a4) Change-Id: I7474d1771d83650db9be71db1f578fd0a50ad19d Reviewed-on: http://git-master/r/59288 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: Rf0619d6a3d24059dab15c39c5800a5fd7ee6779b
2011-11-30misc: nct1008: extended range enable sequence changeBitan Biswas
Extended range mode enable sequence for nct1008 updated as per recommended steps bug 869823 Reviewed-on: http://git-master/r/57552 (cherry picked from commit 75c6f5173cd4cfa3b0cf114cbbbf6ac1e355a09b) Reviewed-on: http://git-master/r/58328 (cherry picked from commit 9f2c9004b4f30f9297ef3a7aa8def8a8000934b7) Change-Id: Ic339d322450187f0ad417030d5da717fa5020592 Reviewed-on: http://git-master/r/59150 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: Re46ba9dba83b3e12d6341f9afc913514a9a1031a
2011-11-30misc: nct1008: debugfs support for reg dumpBitan Biswas
Debugfs support added in nct1008 driver to enable register dump. Reviewed-on: http://git-master/r/51856 (cherry picked from commit 4e7b8c8e1a7a43e4d745289fc9f20a11556eca96) Reviewed-on: http://git-master/r/54992 (cherry picked from commit 5b512a6c63bd65375c9362057105f76a7ef97d4a) Change-Id: Icf9607b12462146e3e046cfc10c3e89424142e5f Reviewed-on: http://git-master/r/58598 Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Rebase-Id: R95221409d54694937ef226f01572b58c009a8361
2011-11-30usbnet: Fix data transfer issue for website browsingpyu
The parameter of NET_IP_ETHERTYPE needs to be configured correctly for ethernet header and then can transfer data properly. BUG 870395 Reviewed-on: http://git-master/r/51986 (cherry picked from commit 89bf27954e890e11a11ce45b12fcfce68ad0a45c) Change-Id: I95c81b73072fe0c64b7cc7fcee0a2a6857969500 Reviewed-on: http://git-master/r/59103 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R512dbe7fc37c82dc158ca933ea78fd04b3366821
2011-11-30sdhci: Enable SDIO IRQ in sdhci_resume_hostPavan Kunapuli
When MMC_PM_KEEP_POWER and MMC_CAP_SDIO_IRQ are set, enable sdio irq in sdhci_resume_host as it is overwritten in sdhci_init. Bug 883715 Change-Id: Icbd433748f03383b8ea780ad953a092f984f03a0 Reviewed-on: http://git-master/r/57872 Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: R51bbf535ab8e66f5570c4c23274ed3365368bd35
2011-11-30sdhci: tegra: Add context restore support for SDIOPavan Kunapuli
Set MMC_CAP_SDIO_IRQ to use interrupts rather than polling for SDIO function handling. Set MMC_PM_KEEP_POWER for embedded SDIO devices. Add controller reset and power on for devices with MMC_PM_KEEP_POWER flag set. Bug 883715 Change-Id: I35c98ba879b564752662f60365ee8a5e72d3a587 Reviewed-on: http://git-master/r/57869 Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rc95d4035ea4569cf1742d5785efff7df7ffa2ade
2011-11-30regulator: gpio_switch: Fix set_voltage to return selector valueAntti P Miettinen
Current regulator_ops interface expects selector value to be returned. Not doing so results in uninitialized variables used. Bug 886170 Change-Id: I5b7ca77badbd517f161f8c5c7a92fdf18e1ef7bb Reviewed-on: http://git-master/r/56661 Reviewed-by: Antti Miettinen <amiettinen@nvidia.com> Tested-by: Antti Miettinen <amiettinen@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R2b693750ff84e9f8dadd88a835bc06b66d0a3129
2011-11-30regulator: tps80031: Fix set_voltage to return selector valueAntti P Miettinen
Current regulator_ops interface expects selector value to be returned. Not doing so results in uninitialized variables used. Bug 886170 Change-Id: I23e664790311e434303eb23fafd194502ae2909c Reviewed-on: http://git-master/r/56654 Reviewed-by: Antti Miettinen <amiettinen@nvidia.com> Tested-by: Antti Miettinen <amiettinen@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R72759360aeca354ef82d0ec7431e8c9f2fcafdfb
2011-11-30regulator: tps6236x: Fix set_voltage to return selector valueAntti P Miettinen
Current regulator_ops interface expects selector value to be returned. Not doing so results in uninitialized variables used. Bug 886170 Change-Id: I206117fbb1524e5c272e0c94bdaef3b605978717 Reviewed-on: http://git-master/r/56652 Reviewed-by: Antti Miettinen <amiettinen@nvidia.com> Tested-by: Antti Miettinen <amiettinen@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R6015e7534c82212f3b28f7fe450e635f0274f80d
2011-11-30regulator: tps6591x: Fix set_voltage to return selector valueAntti P Miettinen
Current regulator_ops interface expects selector value to be returned. Not doing so results in uninitialized variables used. Bug 886170 Change-Id: I004ee168eb0f003eb71c36d5fcd6c8106a1fc054 Reviewed-on: http://git-master/r/56648 Reviewed-by: Antti Miettinen <amiettinen@nvidia.com> Tested-by: Antti Miettinen <amiettinen@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Rebase-Id: R5fa05ad3dc7cda25b634efbf956ae99280bab40d
2011-11-30arm: tegra: Make kernel buildable without nvhostTerje Bergstrom
Cuts dependencies to nvhost by adding a Kconfig dependency from DC to GRHOST and from HD Audio to DC. Configure out calls to nvhost in board panel files if GRHOST is not present. Bug 870898 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Change-Id: If7830528e321e951bcadc2a10515e6cab58a6cdf Reviewed-on: http://git-master/r/56370 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Antti Miettinen <amiettinen@nvidia.com> Tested-by: Antti Miettinen <amiettinen@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com> Reviewed-by: Chris Dragan <kdragan@nvidia.com> Rebase-Id: R16d9286d67235b0697c914476e7d6462eec7f3ac
2011-11-30mpu3050: Motion Libraries: Eliminate long latencies during boot.Robert Collins
Bug 843573 Change-Id: Ib4422a7a836c14b0f84c0ae069faf6ba0664e784 Reviewed-on: http://git-master/r/56042 (cherry picked from commit cf9063c34b6fb4d50cb9c4cd57e579f3d993c228) Reviewed-on: http://git-master/r/56043 Reviewed-by: Robert Collins <rcollins@nvidia.com> Tested-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R7e449d759d37b3873b468def5ffa6dbdbf1d024e
2011-11-30media: video: tegra: OV14810 sensor supportkdivvela
Support for OV14810 (14MP) sensor Bug 839441 Reviewed-on: http://git-master/r/47714 (cherry picked from commit 2a9be1047fe93fba46c32edf60054261cc90970b) Change-Id: Ib5c55c56017f4f18312c5b4fdc2c884857003f5f Reviewed-on: http://git-master/r/58657 Reviewed-by: Krupal Divvela <kdivvela@nvidia.com> Tested-by: Krupal Divvela <kdivvela@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Ra0bf2a7d2fdfff8303dcdb84b8655afce11a4a12
2011-11-30usb: host: tegra: Fix for possible race condition in timer handlervjagadish
Acquire the spin lock before disabling the clock. Bug 876433 Change-Id: Iddb39761cb85e5f4c45061f3b2753d7b0fa64944 Reviewed-on: http://git-master/r/58343 Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com> Tested-by: Venkata Jagadish <vjagadish@nvidia.com> Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Venkat Moganty <vmoganty@nvidia.com> Rebase-Id: Rda16e8bd08be58b6a3304b8cc3a7520417b341d4
2011-11-30Sdhci: Disable host clk after all io ops are donePavan Kunapuli
Disable host clk after all io operations are done. Bug 871369 Change-Id: I99d7f3a71920c2e6238ae8a3d192fd4f68148373 Reviewed-on: http://git-master/r/53417 Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Tested-by: Thomas Cherry <tcherry@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: R74b661881a06a407ef87327d4787f27e45f4ac39
2011-11-30media: video: tegra: update ov2710 1080p and 720p settingsFrank Chen
Bug 833115 Change-Id: Iaca34334e0168ac04f795eccdfa76ba414848919 Reviewed-on: http://git-master/r/54825 (cherry picked from commit 00e146071f2c034f35f6ce564e08697b7ab2ed91) Reviewed-on: http://git-master/r/57922 Reviewed-by: Yining Deng <ydeng@nvidia.com> Tested-by: Frank Chen <frankc@nvidia.com> Reviewed-by: Qi Wang <qiw@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Tested-by: Gerrit_Virtual_Submit Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: Re8d5f67f7f983ad93c20c5d04ed06227c385e9b8
2011-11-30sdhci: tegra: Switch OFF/ON power rails in suspend/resumePavan Kunapuli
Switching OFF the sd power rails in suspend and switching them ON in resume. Change-Id: I5145e211111b8144f14ee0338388eeacb34bb003 Reviewed-on: http://git-master/r/57877 Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: R527ae8de0561bfedd3afb2fce62ad4d2876575bc
2011-11-30crypto: tegra-se: Adding runtime PM supportvenu byravarasu
bug 886813 Change-Id: Ia016c0f783b0396d8433b202ccef1659d10085f5 Reviewed-on: http://git-master/r/57850 Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com> Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: R5a13865e200c1345bc30ab86b8d3286d47af5796
2011-11-30misc: nct1008: driver clean upBitan Biswas
nct1008 driver has been changed as follows: 1. debugfs create file error check corrected. 2. pr_err usage replaced with dev_err calls Reviewed-on: http://git-master/r/56651 (cherry picked from commit 5b6c784d9caf4e0551361b3601711fc9641a4dba) Reviewed-on: http://git-master/r/57358 (cherry picked from commit eadf4dae6c4e2cd1e4daa618f69605683faaa540) Change-Id: Ib2f914822691ac7d03bb1b2235544aff5e7abee3 Reviewed-on: http://git-master/r/57876 Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com> Reviewed-by: Joshua Primero <jprimero@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Rebase-Id: Rbab698ab6544b8e275c19e51049d9f7ec586e471
2011-11-30video: tegra: Add HDA clock managementSumit Bhattacharya
Add code to manage HDA related clocks from HDMI driver. When no HDMI device is connected to device HDA clocks are disabled to save power. Whenever HDMI hot plug in happend HDMI driver needs to enable these clocks before setting HDA presense bit so that HDA controller recieves the interrupt. Bug 862023 Change-Id: I975daa1621098eea2175244ce5774312bc396649 Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com> Reviewed-on: http://git-master/r/57846 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R35c55b5c492c15bb79c1b17e29fd6293f1764d3f
2011-11-30power: tps80031-charger:Mechanism for getting charging statusLaxman Dewangan
Adding api which provides the mechanism to getting charging status. bug 872697 Reviewed-on: http://git-master/r/56625 (cherry picked from commit 4c271cf84923cd5ae9225f41a1a665b116cb974a) Change-Id: Ibd88cbb568ac65f992a8142934017ed468268d72 Reviewed-on: http://git-master/r/57808 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: R45759b0f319acd29663aa1c23658f094caa6a06f
2011-11-30video: tegra: dc: ioctl for setting gamma lutDavid Schalig
- enable gamma look-up hardware only when needed to save power - add flags field to ioctl TEGRA_DC_EXT_SET_LUT for forward compatibility Bug 868060 Change-Id: I690f8b8856e0b1acd6215907ca8bd78ecaf30b17 Reviewed-on: http://git-master/r/57736 Reviewed-by: David Schalig <dschalig@nvidia.com> Tested-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com> Reviewed-by: Robert Morell <rmorell@nvidia.com> Rebase-Id: Rf6081a9372ba7d6e53a66b9b58a50a62ad409d9a
2011-11-30video: tegra: host: Check for allocation failuresTerje Bergstrom
Adds checks for memory allocation failures, and proper propagation of error conditions. Adds clearing of pointers after free or unpin has been called to catch use after free. Bug 877551 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/54027 Reviewed-by: Antti Miettinen <amiettinen@nvidia.com> Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> Tested-by: Gerrit_Virtual_Submit (cherry picked from commit bfbf2766d11a5f85781532ddce3a87b7ae762ba3) Change-Id: I04171ee5db6a42bb1689221d4f80d5f3d35e7399 Reviewed-on: http://git-master/r/57462 Rebase-Id: Rc9f43312c8b818869d746f4b73700d8b56e4569d
2011-11-30i2c: tegra: slave: Fix i2c transmit/receive issuesChaitanya Bandi
Fixed the following issues in i2c slave driver: 1) Driver was failing to receive large data 2) Driver was receiving only eight bytes in a loop 3) Incorrect arguments while calling readl Change-Id: I5ffe76b800a24270845aced0df30a69d9625f557 Reviewed-on: http://git-master/r/57218 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bandi Krishna Chaitanya <bandik@nvidia.com> Tested-by: Bandi Krishna Chaitanya <bandik@nvidia.com> Rebase-Id: Rc262503e24baad814f7175c88f9fa8a6671c34b9
2011-11-30usb: host: tegra: Configurable USB hotplugArtiste Hsu
Hotplug on usb is supported when hotplug flag is set in platform data Bug 869745 (cherry picked from commit I57ba0b18a2d4232b2df2074c91aff97c6e639e7d) Reviewed-on: http://git-master/r/54588 Change-Id: I24e5ddf49cead14d3eebe30da0f92402015c95c7 Reviewed-on: http://git-master/r/57725 Tested-by: Artiste Hsu <chhsu@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Rebase-Id: Rdf4296a0b0e04733832b8b60b347a3da9cc67413
2011-11-30i2c: fix crash when there is no regulatorJihoon Bang
Calling regulator_disable causes system to crash when there is no regualtor. It calls regulator_disable only when regulators exist. Bug 871860 Reviewed-on: http://git-master/r/55603 (cherry picked from commit 042e786e9766c891b44b8e00aa05f4c42b724440) Reviewed-on: http://git-master/r/56237 (cherry picked from commit 9607d33bfcb84f764935ea911b93e716018ab818) Change-Id: I06cfaeedcbdf276c3a17a759d410c7b46de8e9b1 Reviewed-on: http://git-master/r/57416 Reviewed-by: Jihoon Bang <jbang@nvidia.com> Tested-by: Jihoon Bang <jbang@nvidia.com> Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: Rb146536a30b5e0c1f06a1622e77248aa539617a8