7 years agoarm: tegra: usb: Adding phy_restore functions for null ULPI
Steve Lin [Mon, 17 Oct 2011 21:22:21 +0000]
arm: tegra: usb: Adding phy_restore functions for null ULPI

Adding phy_restore_start and phy_restore_end functions for null ULPI.
Forcing ehci_restart after LP0 for null ULPI.

Bug 863224

Reviewed-on: http://git-master/r/58474
(cherry picked from commit 5f5e7961c8a6a5be853fcdba4ae10d0bd6efc5f3)

Change-Id: I635f456548674113a4e0e94ee22bd162d5bab04f
Reviewed-on: http://git-master/r/60703
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Tested-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
Tested-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: R14132d927d965c6716c200c8f7ced640587cf01f

7 years agommc: host: support runtime enable/disable SDCLK
vjagadish [Thu, 13 Oct 2011 12:20:28 +0000]
mmc: host: support runtime enable/disable SDCLK

Implement functions needed in struct mmc_host_ops to support
enable/disable SDCLK dynamically.

BUG 886285

Change-Id: Ic48ac63af495cea30ce926c39ec2e0a9f2d26244
Reviewed-on: http://git-master/r/57856
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rfae7d6001a827395824716fb858ef18d0d2c4d68

7 years agoPM: remove redundant calculation
venu byravarasu [Fri, 28 Oct 2011 09:18:31 +0000]
PM: remove redundant calculation

As max_num usage is not necessary, removing it.

Change-Id: I7b668bbbf0d5a388c8ade017194958976c861ea3
Reviewed-on: http://git-master/r/60855
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R131970045a24c494f94de0a51eea6c73bdf994ea

7 years agoARM: tegra: power: Fix LP2/LP3 states accounting on Tegra3
Alex Frid [Thu, 29 Sep 2011 03:41:30 +0000]
ARM: tegra: power: Fix LP2/LP3 states accounting on Tegra3

- Made sure LP3 state is reported as last entered state to cpuidle
governor in case when LP3 is entered as a fall back from LP2 path.

- Accumulate idle time designated to LP2 state by cpuidle governor
and time actually spent in LP2 by each CPU separately. Update LP2
statistic output.

Change-Id: I55b461e94925ba7a41112756ed958f81fc0bc882
Reviewed-on: http://git-master/r/60381
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R240873bd1de225696d392ac5ba2c3d517c59d86e

7 years agoinput: touch: atmel_mxt_ts: Prevent touchscreen from becoming unresponsive in some...
Joel Kenny [Fri, 2 Sep 2011 22:35:42 +0000]
input: touch: atmel_mxt_ts: Prevent touchscreen from becoming unresponsive in some situations

BUG 868649

Reviewed-on: http://git-master/r/50598
(cherry picked from commit ad1dbe0eda931f813b20d75400daaa9edf18c82a)

Change-Id: I29f353687c499ff830e98fcf038d8a786dc5608b
Reviewed-on: http://git-master/r/54841
Reviewed-by: Joel Kenny <jkenny@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Joel Kenny <jkenny@nvidia.com>

Rebase-Id: Rdde94e071f4a27250eccad562c819ca2f537ffcd

7 years agovideo: tegra: dc: fix range check in fbdev cmap
David Schalig [Fri, 28 Oct 2011 04:59:38 +0000]
video: tegra: dc: fix range check in fbdev cmap

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

7 years agovideo: tegra: dc: support global fbdev gamma table
David Schalig [Tue, 25 Oct 2011 10:28:24 +0000]
video: tegra: dc: support global fbdev gamma table

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

7 years agoarm: tegra: cardhu: Reset Modem during init
BH Hsieh [Fri, 14 Oct 2011 05:00:36 +0000]
arm: tegra: cardhu: Reset Modem during init

Set GPIO direction to high on main k39 branch.

bug 817238

Change-Id: I2960b4a325d8013295528790a28daea4a58e10cd
Reviewed-on: http://git-master/r/58020
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3a80bfd11cd3959fd2c760eda277f6db42ecb333

7 years agoARM: tegra: power: set enterprise default suspend mode to LP0
Jin Qian [Fri, 16 Sep 2011 18:08:52 +0000]
ARM: tegra: power: set enterprise default suspend mode to LP0

Bug 862504

Change-Id: I022206a4ca2aae50c2534268d3e974ecfaf87556
Reviewed-on: http://git-master/r/52945
Reviewed-by: Jin Qian <jqian@nvidia.com>
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R41f3959e4f3386a3b5ef877105a7c854cd46bcca

7 years agoARM: tegra: power: set ventana default suspend mode to LP0
Jin Qian [Fri, 16 Sep 2011 18:04:41 +0000]
ARM: tegra: power: set ventana default suspend mode to LP0

Bug 862504

Change-Id: Iabae1c9528d5ffa2904a509f9e4010fc547be959
Reviewed-on: http://git-master/r/52943
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R924a9542bcff40393bada5db36806abfda0e7165

7 years agoARM tegra: gpio: Correct gpio interrupt init sequence
Daehyoung Ko [Sat, 1 Oct 2011 00:42:49 +0000]
ARM tegra: gpio: Correct gpio interrupt init sequence

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

7 years agospi: tegra: Move clock controls api out of spin lock
Laxman Dewangan [Thu, 15 Sep 2011 12:14:34 +0000]
spi: tegra: Move clock controls api out of spin lock

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

7 years agovideo: tegra: Allow gradual phase in of adjustments on DIDIM
Matt Wagner [Wed, 12 Oct 2011 17:41:35 +0000]
video: tegra: Allow gradual phase in of adjustments on DIDIM

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

7 years agovideo: tegra: Add priorities for DIDIM aggressiveness
Matt Wagner [Mon, 10 Oct 2011 21:46:55 +0000]
video: tegra: Add priorities for DIDIM aggressiveness

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

7 years agoarm: tegra: cardhu: enable LP0
Wen Yi [Tue, 25 Oct 2011 23:18:46 +0000]
arm: tegra: cardhu: enable LP0

Enable LP0 for cardhu family boards.

BUG 893759

Change-Id: Ic5cceeb1034104eefb3243036fbc2c3dc0125b43
Reviewed-on: http://git-master/r/60335
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd7c4a6633a428895ebdb1e98932c696e7587271e

7 years agousb: ehci: tegra: Recovering 2LS WAR for non-UTMIP
Steve Lin [Thu, 13 Oct 2011 02:19:02 +0000]
usb: ehci: tegra: Recovering 2LS WAR for non-UTMIP

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

7 years agoarm: tegra: baseband: add USB modem power management support
Steve Lin [Tue, 25 Oct 2011 21:49:11 +0000]
arm: tegra: baseband: add USB modem power management support

This platform driver enables the generic USB modem power management support
for out-of_band remote wakeup, selective suspend and system suspend/resume.

Bug 854339

Reviewed-on: http://git-master/r/44911
(cherry picked from commit f737bc30ee9509a79e499c975b61c5f58bb19bb3)

Change-Id: Ibf38afb593fd8097e6152197c816e95e8f457659
Reviewed-on: http://git-master/r/60313
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
Tested-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: R2bc754d319b388ce477ab7f987352d7f307d11c3

7 years agoARM: tegra[3]: config: turn on USB net ASIX option
Matt Pedro [Tue, 25 Oct 2011 16:41:46 +0000]
ARM: tegra[3]: config: turn on USB net ASIX option

Mobile Sanity is using a USB Ethernet device for Linux sanity
that uses the USB_NET_AX driver. This enables the driver.

bug 881005

Change-Id: Ib2c0256ab80b61accfeb42de5534a0707f220fec
Signed-off-by: Matt Pedro <mapedro@nvidia.com>
Reviewed-on: http://git-master/r/60261
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Reviewed-by: Mursalin Akon <makon@nvidia.com>

Rebase-Id: R842e88200dd73b2cacd3294e884e316cec33f054

7 years agoARM: tegra: clock: Remove Tegra3 initial pll_m refcount
Alex Frid [Tue, 25 Oct 2011 01:51:32 +0000]
ARM: tegra: clock: Remove Tegra3 initial pll_m refcount

Removed Tegra3 pll_m refcount from common and board initialization.
As a result pll_m is turned off when all client clocks are disabled.
Added pll_m disable/enable control via PMC registers - this one
actually works on Tegra3; kept clock register control in place, just
in case.

Originally implemented in dee91eaf47a7e6b392e9663170dcfdcdde73446c.

Bug 888476

Change-Id: Ifa70d25ce8d93abc12c741d3a51b32110db3f7dd
Reviewed-on: http://git-master/r/60129
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf4201b6244e1dc202793730afa900a6b15b658b9

7 years agovideo: tegra: support display board PM313
Hyungwoo Yang [Mon, 24 Oct 2011 22:06:17 +0000]
video: tegra: support display board PM313

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

7 years agonvhost: Throttle low-priority tasks
Terje Bergstrom [Tue, 6 Sep 2011 10:06:40 +0000]
nvhost: Throttle low-priority tasks

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

7 years agoasoc: tegra: max98088 machine: report jack status at bootup
Nikesh Oswal [Wed, 19 Oct 2011 13:06:26 +0000]
asoc: tegra: max98088 machine: report jack status at bootup

Bug: 890385
Bug: 862023

Change-Id: I154ba0c016c058bd7c3ca04b496c3fce9639ea4f
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/59104
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Tested-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: Re63b865dff15841a27d692a078c327fc84b7edfe

7 years agoasoc:tegra max98088 machine: Fixed Mic in naming
ScottPeterson [Sat, 22 Oct 2011 00:13:46 +0000]
asoc:tegra max98088 machine: Fixed Mic in naming

Fixed a typo in the names of the mic input.

Change-Id: Ib40672c44e57887389949f93f09b852188c8772a

Signed-off-by: ScottPeterson <speterson@nvidia.com>
Change-Id: Ifda29a75ccf2a160849090ceacbfdddd7d26808f
Reviewed-on: http://git-master/r/60005
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

Rebase-Id: Ra29a910c4737a1667d2640ce8cb9592ade7f1573

7 years agoPM: fix calculation mistake in roll-over cases
venu byravarasu [Tue, 25 Oct 2011 06:04:18 +0000]
PM: fix calculation mistake in roll-over cases

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

7 years agoARM: tegra: Fix board-specific initcalls
Dan Willemsen [Mon, 24 Oct 2011 21:32:09 +0000]
ARM: tegra: Fix board-specific initcalls

These initcalls weren't ensuring that they're actually running on the
board they care about, which breaks on a multi-board kernel.

Change-Id: Ifd8a3e523c2523b68ec4d7e30c2b87969b939931
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/60010
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R2a4547ecd3b25da494799af15e42df89700b9fde

7 years agomedia: video: tegra: optimize writing gain register in ar0832
Jihoon Bang [Thu, 20 Oct 2011 23:13:18 +0000]
media: video: tegra: optimize writing gain register in ar0832

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

7 years agomfd: max77663: Update the driver to new mfd core
Jin Park [Mon, 24 Oct 2011 07:44:42 +0000]
mfd: max77663: Update the driver to new mfd core

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

7 years agomfd: mx77663: Fix build failure for undefined reference
Jin Park [Mon, 10 Oct 2011 04:05:56 +0000]
mfd: mx77663: Fix build failure for undefined reference

Fixing build failure what undefined reference to max77663_xxx APIs when
didn't built-in max77663 mfd core driver.

Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/58579
(cherry picked from commit 99baa03a6d3401228f58c13a7dad5228f59d8718)

Change-Id: I971e132ec9ca12a4ce4bc47897c3722d07b93cbd
Reviewed-on: http://git-master/r/59890
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R0d9ce223d77c4005fa3c4c75dd5ac3221417a578

7 years agovideo: tegra: host: Fix misspelling in GPU detection
Terje Bergstrom [Mon, 24 Oct 2011 08:15:24 +0000]
video: tegra: host: Fix misspelling in GPU detection

Fix misspelled configuration variable in tegra_gpu_register_sets().

Bug 889239

Change-Id: Id7da08e0eca16f28b1b6a17608b4f367311b5620
Reviewed-on: http://git-master/r/59889
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf1d450abb59df99dcfdef6ff743fb32c9b254741

7 years agovideo: tegra: host: Fix incompatible function prototype
Scott Williams [Sat, 22 Oct 2011 00:51:53 +0000]
video: tegra: host: Fix incompatible function prototype

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

7 years agovideo: tegra: host: Separate clk and power gating
Terje Bergstrom [Mon, 19 Sep 2011 07:16:57 +0000]
video: tegra: host: Separate clk and power gating

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

7 years agoRevert "asoc: tegra: Remove HDMI-SPDIF path support"
varun colbert [Tue, 25 Oct 2011 18:15:54 +0000]
Revert "asoc: tegra: Remove HDMI-SPDIF path support"

This reverts commit 8e151ed243226aa68b1cd5a261694f48d606060f.

Change-Id: Iaf3bfab33da1c979c6b6140713e5eac70b632d1f
Reviewed-on: http://git-master/r/60269
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R7cd2bd07ee7a4783342fff1ccf22b8323ac10194

7 years agovideo: tegra: dc: preserve gamma/csc over suspend
David Schalig [Fri, 14 Oct 2011 03:50:47 +0000]
video: tegra: dc: preserve gamma/csc over suspend

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

7 years agovideo: tegra: set fb line_length to physical pitch
Joseph Lehrer [Mon, 3 Oct 2011 23:25:53 +0000]
video: tegra: set fb line_length to physical pitch

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

7 years agoARM: tegra: add missing 'static'
Colin Patrick McCabe [Fri, 21 Oct 2011 22:50:07 +0000]
ARM: tegra: add missing 'static'

Change-Id: I0365550357de813b679f4ca8fdbff3909d151575
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59756
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4ab172dc3d4f284e4c1bc7f5f0f903c4f110d1a6

7 years agoarm: tegra: enterprise: remove DIDIM serial prints
Tom Cherry [Wed, 5 Oct 2011 00:50:15 +0000]
arm: tegra: enterprise: remove DIDIM serial prints

Reviewed-on: http://git-master/r/57991
(cherry picked from commit 0a1d4120620fa75ba69ed76478baa08ef37356b1)

Change-Id: I6e5bea4e16dd1e93d2a6c12929feab38fedd60eb
Reviewed-on: http://git-master/r/59692
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc1105fe074ef5542dac7169c8c89c4ea685a012c

7 years agoasoc: max98088: report jack after enabling jack detection
Nikesh Oswal [Wed, 19 Oct 2011 13:02:58 +0000]
asoc: max98088: report jack after enabling jack detection

Bug: 890385
Bug: 862023

Change-Id: Icec0be967ead5733aa600707c3ba4af99375e4ae
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/59102
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc16aeac4ea1ba15e214fda504ef17aaef2c83ed5

7 years agoarm: tegra: Add tegra_dc support for Harmony
Robert Morell [Sat, 15 Oct 2011 01:37:10 +0000]
arm: tegra: Add tegra_dc support for Harmony

This adds support for the Tegra dc driver for Harmony's internal
panel.

Signed-off-by: Robert Morell <rmorell@nvidia.com>

Change-Id: I9498b64dc4c5b05a39e1b8a2e7f1d584415038c2
Reviewed-on: http://git-master/r/58254
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd195557fffa7093d0edf6d3f41ae6305491eef2a

7 years agoarm: tegra: Add Harmony nvmap, host1x devices
Robert Morell [Sat, 15 Oct 2011 01:08:04 +0000]
arm: tegra: Add Harmony nvmap, host1x devices

This is necessary to use the Tegra accelerated device drivers.

Signed-off-by: Robert Morell <rmorell@nvidia.com>

Change-Id: I6c6f10f35654793b4fb713f4ac854f72640a5fef
Reviewed-on: http://git-master/r/58253
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rab19f5b8a98914619ff3d43f5a7eeeed0114f86a

7 years agoARM: tegra: Kconfig: Remove "default=y" for Tegra GRHOST
Mursalin Akon [Thu, 13 Oct 2011 21:53:05 +0000]
ARM: tegra: Kconfig: Remove "default=y" for Tegra GRHOST

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

7 years agoARM: tegra[3]: config: Turn on GRHOST
Mursalin Akon [Thu, 13 Oct 2011 21:51:12 +0000]
ARM: tegra[3]: config: Turn on GRHOST

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: I600f3a3fdca1bec12585d6c58ced0efb33e3f8ff
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/57958
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rdb996fd0e4ab230d9fb1da90992e68b91f245b16

7 years agoARM: tegra[3]: config: turn on misc USB options
Mursalin Akon [Sat, 8 Oct 2011 00:38:57 +0000]
ARM: tegra[3]: config: turn on misc USB options

USB suspend, net and devices

Bug 876711, 876553

Change-Id: I06a5cdb9f0f28df3c583848d68293f7fb90ff42a
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/56828
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re3e73b419d345cb59e2503baef105dafcf875471

7 years agoHACK: Revert "USB: extend ehci-fsl and fsl_udc_core driver for OTG operation"
Dan Willemsen [Tue, 25 Oct 2011 20:28:46 +0000]
HACK: Revert "USB: extend ehci-fsl and fsl_udc_core driver for OTG operation"

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

7 years agoasoc: tegra: Remove HDMI-SPDIF path support
Sumit Bhattacharya [Fri, 21 Oct 2011 16:38:46 +0000]
asoc: tegra: Remove HDMI-SPDIF path support

HDMI-SPDIF path is not supported on Tegra30. Remove WAR added to
make HDMI-SPDIF path partially functional.
Also remove hda2codec_2x clock access from SPDIF driver since this
is only required for HDMI-SPDIF path.

Bug 872652

Change-Id: Ibc90fa50813bd36808217b4935e58507a3f98a99
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/59640
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R1860c760d66a8a2d2d8294e7ccd23d9c5c3d5837

7 years agoRevert "video: tegra: Add HDA clock management"
Sumit Bhattacharya [Fri, 21 Oct 2011 14:37:34 +0000]
Revert "video: tegra: Add HDA clock management"

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

7 years agoarm: tegra: use non-blocking api to cancel work from mc error isr
Nitin Kumbhar [Fri, 21 Oct 2011 12:50:13 +0000]
arm: tegra: use non-blocking api to cancel work from mc error isr

An api (del_timer_sync), which can sleep, should not be used in
hardirq context. This gives warnings for potential deadlock. Use
non-sleeping api to cancel the work instead. In this case, if the
work is already running, it would unthrottle mc error prints.

BUG 889717

Change-Id: I4c0205766d82a45a04d1c0125bb8ed5927757456
Reviewed-on: http://git-master/r/59604
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>

Rebase-Id: R713c536217d0169f395ffb199ec2a97b274b9914

7 years agokernel: Add ioctl constants for i2s loopback tests
Vijay Mali [Fri, 21 Oct 2011 07:27:49 +0000]
kernel: Add ioctl constants for i2s loopback tests

Add required ioctl constants for i2s loopback tests.
Audio test framework is using these ioctls for setting
pcm format paramters for I2S loopback test.

Change-Id: Id192668c5e9937e3cb42f8712a982f214e999289
Reviewed-on: http://git-master/r/59524
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Tested-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R5cb6bfb63d281559d992818c2a2a95cb00fba78d

7 years agomedia: camera: tegra: Add 120fps mode for AR0832
Yuvraj Pasi [Wed, 12 Oct 2011 13:58:38 +0000]
media: camera: tegra: Add 120fps mode for AR0832

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

7 years agonvhost: Add host module clock functionality for T20/T30
Vandana Salve [Tue, 18 Oct 2011 13:04:02 +0000]
nvhost: Add host module clock functionality for T20/T30

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

7 years agotegra: p852: Enable p852 support in kernel
Manoj Chourasia [Sun, 9 Oct 2011 15:24:28 +0000]
tegra: p852: Enable p852 support in kernel

This patch enable support of p852 in kernel

bug 872849

Reviewed-on: http://git-master/r/46387
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
(cherry picked from commit 10f747a674951ef977f4cc66767ade1b6caa6565)

Change-Id: Ideb3c9d09225a6266bfcfa4455613ada72acd789
Reviewed-on: http://git-master/r/56898
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R90b51f3cbda86d52e6b460e21121d85412d4d626

7 years agotegra: p852: Add initial support of p852 platform
Manoj Chourasia [Mon, 19 Sep 2011 10:55:57 +0000]
tegra: p852: Add initial support of p852 platform

This patch adds initial support for p852 platform

bug 872849

Signed-off-by: Manoj Chourasia<mchourasia@nvidia.com>

Reviewed-on: http://git-master/r/46397
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
(cherry picked from commit 7c3e671d05fcabdac4e73adf8f3f297924d44498)

Change-Id: I098489f5ef672ab1462edc0a188dc107f1291435
Reviewed-on: http://git-master/r/56897
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R7bfc6620b98515249ead457cf9dde9d2f267de64

7 years agosound: tegra: fix bug in error handling
Colin Patrick McCabe [Wed, 19 Oct 2011 19:10:29 +0000]
sound: tegra: fix bug in error handling

Fix invalid printf arguments in error handler.

Change-Id: I4d86ba0b00eb4ab7d04660c5c9cd69082ea7799f
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59171
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R3786dda027d44f423ac2417c9f560761bd10ef10

7 years agocrypto: fix invalid return
Colin Patrick McCabe [Wed, 19 Oct 2011 19:07:27 +0000]
crypto: fix invalid return

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

7 years agoARM: tegra: fix invalid return
Colin Patrick McCabe [Wed, 19 Oct 2011 19:06:18 +0000]
ARM: tegra: fix invalid return

Change-Id: Iaa3debdcbf16ff3243c635d2fd23a3e17bc35103
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59169
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R191e18882409373cf238f6588c91cbfc48daebb5

7 years agoARM: tegra: fix edp_limit_debugfs_show
Colin Patrick McCabe [Wed, 19 Oct 2011 19:04:04 +0000]
ARM: tegra: fix edp_limit_debugfs_show

Change-Id: I04fd814d316adcc65ad7a37d2053157e06982ca9
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59168
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R21468d84c03400faf1b3c5cb5eb5f0eb48ff0577

7 years agovideo: tegra: Phase in DIDIM
Matt Wagner [Thu, 1 Sep 2011 22:09:40 +0000]
video: tegra: Phase in DIDIM

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

7 years agoarm: tegra: cardhu: update ina monitor for VDD_CORE_IN
Nitin Kumbhar [Tue, 18 Oct 2011 10:38:39 +0000]
arm: tegra: cardhu: update ina monitor for VDD_CORE_IN

for fab A04 of cardhu, VDD_CORE_IN is monitored with ina monitor
present at i2c addr 0x4A. Update platform data to accommodate
this change.

Also, remove hard-coded indexes used in platform data and i2c
board info.

BUG 883788

Reviewed-on: http://git-master/r/58678
(cherry picked from commit 8e1628bc03bd4a1fde574187a017f67b6358c180)

Reviewed-on: http://git-master/r/59309
(cherry picked from commit ab3a20d05dd46483604f61fabfe865476bc448ac)

Change-Id: I48cc76fff912e702e4862014adf19806c58da915
Reviewed-on: http://git-master/r/59316
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R9642d23012d370a536ab72e050de059112d1e7bd

7 years agoarm: tegra: Handler for parsing kernel command max_cpu_curr
Laxman Dewangan [Sat, 15 Oct 2011 10:14:04 +0000]
arm: tegra: Handler for parsing kernel command max_cpu_curr

Adding handler for parsing the kernel command max_cpu_curr and api
for retruning the max_cpu_current.

bug 888679

Reviewed-on: http://git-master/r/58626
(cherry picked from commit 4d2da03c37a1a1401b4ef87b888f487a99b175b7)

Change-Id: Ic5a53fe4e41317f48b986867081f3e7d96103f0d
Reviewed-on: http://git-master/r/59290
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Ra426e2b10268bc7eadbe394c107528378f043e15

7 years agoregulator: tps80031: Proper configuration for PREQ1 control
Laxman Dewangan [Thu, 13 Oct 2011 07:04:58 +0000]
regulator: tps80031: Proper configuration for PREQ1 control

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

7 years agomfd: richo583: Configure pins in gpio mode if used as gpio
Laxman Dewangan [Wed, 12 Oct 2011 15:49:51 +0000]
mfd: richo583: Configure pins in gpio mode if used as gpio

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

7 years agoarm: tegra: cardhu: Support Fab A05
Laxman Dewangan [Tue, 27 Sep 2011 09:50:07 +0000]
arm: tegra: cardhu: Support Fab A05

Support for E1291-A05 board.

bug 881745

Reviewed-on: http://git-master/r/58053
(cherry picked from commit be104b795f0c46b8bbe1e45ca618fed74d81a7c6)

Change-Id: I0137f9e13ee9c01bd60125589b16023c899389c9
Reviewed-on: http://git-master/r/59287
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R6450506e02427f4bae13857a52ed43dd530e720a

7 years agoarm: tegra: defconfig: support for ADT7461
Alexandre Courbot [Thu, 20 Oct 2011 05:53:51 +0000]
arm: tegra: defconfig: support for ADT7461

Enable support for ADT7461 thermo sensor, used in Whistler boards.

Bug 884322

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Change-Id: I3b69ea8bb2328419a7246f7978ac5b6154bde340
Reviewed-on: http://git-master/r/59264
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R071328b072562ace714e9092effda32585e478ad

7 years agomisc: nct1008: extended range enable sequence change
Bitan Biswas [Wed, 12 Oct 2011 12:41:06 +0000]
misc: nct1008: extended range enable sequence change

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

7 years agomisc: nct1008: debugfs support for reg dump
Bitan Biswas [Mon, 12 Sep 2011 19:56:09 +0000]
misc: nct1008: debugfs support for reg dump

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

7 years agousbnet: Fix data transfer issue for website browsing
pyu [Tue, 13 Sep 2011 07:41:19 +0000]
usbnet: Fix data transfer issue for website browsing

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

7 years agosdhci: Enable SDIO IRQ in sdhci_resume_host
Pavan Kunapuli [Thu, 13 Oct 2011 14:21:24 +0000]
sdhci: Enable SDIO IRQ in sdhci_resume_host

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

7 years agosdhci: tegra: Add context restore support for SDIO
Pavan Kunapuli [Thu, 13 Oct 2011 14:17:14 +0000]
sdhci: tegra: Add context restore support for SDIO

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

7 years agoregulator: gpio_switch: Fix set_voltage to return selector value
Antti P Miettinen [Fri, 7 Oct 2011 12:18:26 +0000]
regulator: gpio_switch: Fix set_voltage to return selector value

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

7 years agoARM: tegra2: clock: Update bus operations
Preetham Chandru [Thu, 8 Sep 2011 15:13:56 +0000]
ARM: tegra2: clock: Update bus operations

Relaxed bus set rate success condition: instead of checking for the
exact rate check for the closest rate. This makes bus clocks configurable
from sources/PLLs with variable frequencies.

Bug: 869054
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/50747
(cherry picked from commit 61313ed2494424513cb6e42c22cb7ca31f21473e)

Change-Id: Id4c9ff63da4cefb1d13888a627f0757a3b941994
Reviewed-on: http://git-master/r/56659
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Mursalin Akon <makon@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

Rebase-Id: R57ac9f6cebe9df5e02dadac345653e2f3cf23e83

7 years agoregulator: tps80031: Fix set_voltage to return selector value
Antti P Miettinen [Fri, 7 Oct 2011 12:03:52 +0000]
regulator: tps80031: Fix set_voltage to return selector value

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

7 years agoregulator: tps6236x: Fix set_voltage to return selector value
Antti P Miettinen [Fri, 7 Oct 2011 11:14:54 +0000]
regulator: tps6236x: Fix set_voltage to return selector value

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

7 years agoregulator: tps6591x: Fix set_voltage to return selector value
Antti P Miettinen [Tue, 18 Oct 2011 15:24:25 +0000]
regulator: tps6591x: Fix set_voltage to return selector value

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

7 years agoarm: tegra: Make kernel buildable without nvhost
Terje Bergstrom [Thu, 6 Oct 2011 07:55:04 +0000]
arm: tegra: Make kernel buildable without nvhost

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

7 years agompu3050: Motion Libraries: Eliminate long latencies during boot.
Robert Collins [Tue, 4 Oct 2011 21:04:28 +0000]
mpu3050: Motion Libraries: Eliminate long latencies during boot.

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

7 years agoarm: tegra: cardhu: OV14810 sensor support
kdivvela [Fri, 30 Sep 2011 13:04:14 +0000]
arm: tegra: cardhu: OV14810 sensor support

Support for OV14810 sensor on cardhu

Bug 839441

Reviewed-on: http://git-master/r/51985
(cherry picked from commit f1aea025b145a884ac4cc507c86c647ca65e348f)

Change-Id: I9db882aab6f8ae89c4d463b9d6825e7c7cfd2928
Reviewed-on: http://git-master/r/58660
Reviewed-by: Krupal Divvela <kdivvela@nvidia.com>
Tested-by: Krupal Divvela <kdivvela@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8f2a1692deba888e2d0476ea2159a1e36722cc63

7 years agomedia: video: tegra: OV14810 sensor support
kdivvela [Tue, 13 Sep 2011 08:58:18 +0000]
media: video: tegra: OV14810 sensor support

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

7 years agousb: host: tegra: Fix for possible race condition in timer handler
vjagadish [Mon, 17 Oct 2011 08:44:58 +0000]
usb: host: tegra: Fix for possible race condition in timer handler

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

7 years agoasoc: max98088: fix cache restore operation
Nikesh Oswal [Mon, 17 Oct 2011 15:45:26 +0000]
asoc: max98088: fix cache restore operation

Bug: 862023

Change-Id: I17352ed290b3f1e319dc8efd112bb6dfddc51f52
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/58416
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

Rebase-Id: Re6ec1485173c3504a13d760a25d34ccd571489e5

7 years agoarm: tegra: cardhu: change i2c pll src to pll_p
Alok Chauhan [Wed, 12 Oct 2011 09:01:04 +0000]
arm: tegra: cardhu: change i2c pll src to pll_p

Change the pll source of i2c from CLK_M to PLL_P_OUT0.

Bug 856468

Change-Id: I0865d0679fcc7ae2b862b9f68900275ab05da5ec
Reviewed-on: http://git-master/r/57505
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R04fd8dd082ad497a7ca7673f593fb4e309b3a2da

7 years agoSdhci: Disable host clk after all io ops are done
Pavan Kunapuli [Tue, 20 Sep 2011 09:23:11 +0000]
Sdhci: Disable host clk after all io ops are done

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

7 years agomedia: video: tegra: update ov2710 1080p and 720p settings
Frank Chen [Tue, 27 Sep 2011 23:26:50 +0000]
media: video: tegra: update ov2710 1080p and 720p settings

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

7 years agosdhci: tegra: Switch OFF/ON power rails in suspend/resume
Pavan Kunapuli [Thu, 13 Oct 2011 14:48:54 +0000]
sdhci: tegra: Switch OFF/ON power rails in suspend/resume

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

7 years agocrypto: tegra-se: Adding runtime PM support
venu byravarasu [Thu, 13 Oct 2011 12:52:41 +0000]
crypto: tegra-se: Adding runtime PM support

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

7 years agomisc: nct1008: driver clean up
Bitan Biswas [Fri, 7 Oct 2011 11:03:29 +0000]
misc: nct1008: driver clean up

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

7 years agoARM: tegra: power: Force FW bit when SMP is enabled.
Alex Frid [Tue, 11 Oct 2011 03:32:49 +0000]
ARM: tegra: power: Force FW bit when SMP is enabled.

Set FW bit in CP15 auxiliary control register after LP=>G CPU mode
switch if SMP bit in the same register is set. On Tegra3 in LP mode
FW bit is always zero, even though SMP bit is retained. Hence, this
change recovers FW bit on return from LP to G-mode.

Change-Id: I9f0021ab90866cb8686d73eb6ad5bbedbb2ceb90
Reviewed-on: http://git-master/r/57203
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R37dbe2079eafcfb47babaf41b53818a9130d2bbe

7 years agoARM: tegra: power: Do not switch Tegra3 to PLLP
Alex Frid [Sat, 1 Oct 2011 01:38:59 +0000]
ARM: tegra: power: Do not switch Tegra3 to PLLP

Do not switch Tegra3 to PLLP on sleep entry: no need - unlike Tegra2
PLLX on Tegra3 is not disabled when CPU is rail gated; also G/LP mode
switch clock configuration is set by mode switch prolog and should not
be overwritten at the last moment.

Change-Id: I9aa8463c6b1c04c0a70e70c1e2cd4113a679e100
Reviewed-on: http://git-master/r/57202
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R9a8d78a363c261d45e48832fcbed7fa2854f7da8

7 years agoarm: tegra: defconfig: Enable rtc
Preetham Chandru [Wed, 12 Oct 2011 14:43:22 +0000]
arm: tegra: defconfig: Enable rtc

Enabled rtc support for tegra2 and tegra3

Bug: 879944
Change-Id: I7ad6d7bc15ab9c3afe5e106a29a5b1fdbc4c4635
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/56650
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R8dde247c270e9723ddf16fa12889dec764c75e9f

7 years agoarm: dma: Drop GFP_COMP for DMA memory allocations
Sumit Bhattacharya [Thu, 13 Oct 2011 11:50:47 +0000]
arm: dma:  Drop GFP_COMP for DMA memory allocations

dma_alloc_coherent wants to split pages after allocation in order to
reduce the memory footprint. This does not work well with GFP_COMP
pages, so drop this flag before allocation.

This patch is ported from arch/avr32
(commit 3611553ef985ef7c5863c8a94641738addd04cff).

Change-Id: I455cfdc7a2180b8d9d193da5fc8aaf70f8b94ee2
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/57854
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rff955dbdf67e8222f9640910124c5ed2eb600f5a

7 years agovideo: tegra: Add HDA clock management
Sumit Bhattacharya [Thu, 13 Oct 2011 10:42:38 +0000]
video: tegra: Add HDA clock management

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

7 years agoarm: tegra: cardhu: Initialize gpio pins mode
Laxman Dewangan [Tue, 4 Oct 2011 12:58:57 +0000]
arm: tegra: cardhu: Initialize gpio pins mode

Initializing the pins which is used in gpio to their inital state.

bug 876305

Reviewed-on: http://git-master/r/57516
(cherry picked from commit 3f33cb777295669e71e291bb05651d3c6c4b37d5)

Change-Id: Ie05862e5184bb95c85cf7aa96ce2eca497c01c93
Reviewed-on: http://git-master/r/57817
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rfb5311f9499f9e7c191cdd4203c328d3b8b2c333

7 years agopower: tps80031-charger:Mechanism for getting charging status
Laxman Dewangan [Fri, 23 Sep 2011 12:38:54 +0000]
power: tps80031-charger:Mechanism for getting charging status

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

7 years agoarm: tegra: cardhu: Support for E1257
Laxman Dewangan [Fri, 9 Sep 2011 05:38:01 +0000]
arm: tegra: cardhu: Support for E1257

Adding support for E1257 platform.

bug 864294

Reviewed-on: http://git-master/r/50662
(cherry picked from commit 8217615021a6ffeb992327f6b010ea9deebc34e7)

Change-Id: I3429da1bca38e1ddc5b3c2156a0db6b23aeb5555
Reviewed-on: http://git-master/r/57806
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R7fadbdc30bdca30e41e0b7fdb88628dbc8c32e82

7 years agoarm: tegra: cardhu: Change for w_disable pin on E1198-A02
Laxman Dewangan [Wed, 24 Aug 2011 06:05:17 +0000]
arm: tegra: cardhu: Change for w_disable pin on E1198-A02

The w_disable pin is connected to different gpio in
E1198-A02 compare to E1198-A01. Making related changes
to support E1198-A02.

bug 864282

Reviewed-on: http://git-master/r/48877
(cherry picked from commit 009e0b9ccf776e658c27df59716cc1cce075ad31)
Change-Id: I85b7f0b10dd3549f07c48e71ffca1a304afc753d
Reviewed-on: http://git-master/r/57790
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rbf1f0f4775d536ba198f3c5a3ff3088c75d988fb

7 years agoarm: tegra: Avoid negative number parsing for debug port
Laxman Dewangan [Wed, 28 Sep 2011 09:12:49 +0000]
arm: tegra: Avoid negative number parsing for debug port

Avoiding negative number parsing for debug port id.

bug 854995

Reviewed-on: http://git-master/r/57328
(cherry picked from commit 81ce6594db0a2b9131e3a1317ef1f10e8310aad5)
Change-Id: I38e9e545c06a61b79d292c86dcbf8c595d2eddca
Reviewed-on: http://git-master/r/57787
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R2fe0b743db9f2b87f0a0715aeda12e7c00b041a7

7 years agoarm: tegra: Support for kernel command audio_codec
Laxman Dewangan [Sun, 18 Sep 2011 11:19:10 +0000]
arm: tegra: Support for kernel command audio_codec

Adding the handler to parse the kernel command "audio_codec".

bug 876544

Reviewed-on: http://git-master/r/56623
(cherry picked from commit b82c518354864c7dba03beea3c576edfab428efd)

Change-Id: Icb42164ea1276f4f5af941b8ba2f80076759af8b
Reviewed-on: http://git-master/r/57779
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rf3a0eed42103ef830c9697da42eb685fde6f6fe9

7 years agovideo: tegra: dc: ioctl for setting gamma lut
David Schalig [Thu, 13 Oct 2011 03:50:14 +0000]
video: tegra: dc: ioctl for setting gamma lut

- 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

7 years agovideo: tegra: host: Check for allocation failures
Terje Bergstrom [Thu, 22 Sep 2011 12:37:17 +0000]
video: tegra: host: Check for allocation failures

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

7 years agoi2c: tegra: slave: Fix i2c transmit/receive issues
Chaitanya Bandi [Thu, 13 Oct 2011 13:41:19 +0000]
i2c: tegra: slave: Fix i2c transmit/receive issues

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

7 years agousb: host: tegra: Configurable USB hotplug
Artiste Hsu [Tue, 27 Sep 2011 01:47:32 +0000]
usb: host: tegra: Configurable USB hotplug

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

7 years agoi2c: fix crash when there is no regulator
Jihoon Bang [Sat, 1 Oct 2011 00:22:55 +0000]
i2c: fix crash when there is no regulator

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