7 years agoARM: tegra: use common console flush on reboot
Tom Cherry [Tue, 13 Mar 2012 22:23:20 +0000]
ARM: tegra: use common console flush on reboot

Bug 952455

Change-Id: I5272bdf2fc726994f3a22fd42671bb807bc30a21
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/89875
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agovideo: tegra: dc: Add rated refresh rate for one-shot mode.
Kevin Huang [Tue, 13 Mar 2012 22:01:00 +0000]
video: tegra: dc: Add rated refresh rate for one-shot mode.

We add this variable for two purposes. First, it would remind developer
to make sure actual refresh rate is larger than rated refresh rate.
Second, gralloc would read rated refresh rate for one-shot mode since
actual refresh rates of most devices are expected running at rated
refresh rate.

Bug 946370
Bug 934977

Change-Id: Ib4121337df1a388b40440b22687c39f373f08890
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/89871
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agovideo: tegra: dsi: Add phy timing check for hblank
Animesh Kishore [Tue, 13 Mar 2012 15:02:41 +0000]
video: tegra: dsi: Add phy timing check for hblank

Horizontal blank must be greater than phy timing for
HS transmission.

Bug 938043

Change-Id: I5afe68ec04341f7b83c2897c586d4618bd518222
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/89789
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agovideo: tegra: dsi: Fix phy timing HW increment
Animesh Kishore [Tue, 13 Mar 2012 11:29:48 +0000]
video: tegra: dsi: Fix phy timing HW increment

Adding support to accomodate hw increment to
phy timing reg values.

Bug 938043

Change-Id: I8de14648c0994b03c37a2ee455a656ff11c3cc34
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/89741
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agoARM: tegra: clock: Add tegra_cpu_user_cap_set function
Jinyoung Park [Fri, 2 Mar 2012 05:17:09 +0000]
ARM: tegra: clock: Add tegra_cpu_user_cap_set function

To set cpu_user_cap in tegra drivers, added tegra_cpu_user_cap_set
function.

Bug 945552

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/87109
(cherry picked from commit db954aafdfdbe1fa122466b8e8ec4ea4273efb90)

Change-Id: I765c44de4ed4ae908ef56914db53533605bd6d88
Reviewed-on: http://git-master/r/89740
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agovideo: tegra: host: Replace license information
Terje Bergstrom [Tue, 13 Mar 2012 11:49:02 +0000]
video: tegra: host: Replace license information

Replace license information in nvhost with GPLv2. Also adds
copyright year 2012 in files which have been changed in 2012.

Change-Id: I86e8ed27095df13d99e0250e57e244d531fdacec
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/89735
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: power: Set awake system CPU rate floor
Wen Yi [Mon, 12 Mar 2012 23:27:02 +0000]
ARM: tegra: power: Set awake system CPU rate floor

Set CPU rate floor to 100MHz when the system is awake (after boot,
or on late resume). Remove the floor when the system enters early
suspend.

Bug 922351

Change-Id: Ibaca50791a5b04b4b4165ceac5018d4cfd7c1bcf
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/89587
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agopower: max17048: update charging status at probe
Chandler Zhang [Mon, 12 Mar 2012 09:12:15 +0000]
power: max17048: update charging status at probe

Add update charging status at probe to fix unknown charging status.

Bug 951750

Change-Id: I5d828b38adfe74531925be4356d50214f8f8522e
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/89437
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agopower: smb349: add callback to update charger
Chandler Zhang [Mon, 12 Mar 2012 09:05:16 +0000]
power: smb349: add callback to update charger

Add update_charger_status() function callback to fix unknown
charging status at start up issue.

Bug 951750

Change-Id: Ib264479b0a251a07d136c245afa85c3444754ee0
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/89436
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agovideo: tegra: host: Disable irq on shutdown
Terje Bergstrom [Mon, 12 Mar 2012 05:49:47 +0000]
video: tegra: host: Disable irq on shutdown

Disable interrupts when driver is being removed.

Bug 952600

Change-Id: I1d697c3c87aca935deadfe20b5e8fa8852b0e556
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/89405
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

7 years agoarm: tegra: kai: add ti_bluesleep support
Rakesh Goyal [Sat, 10 Mar 2012 02:39:57 +0000]
arm: tegra: kai: add ti_bluesleep support

Add ti_bluesleep support
Remove plat_kim_suspend and plat_kim_resume
Remove return from functions with void return type

Bug 933054
Bug 931931

Change-Id: I847e39de7444fe62ecd91f5e039f7b85ca64f1cf
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/89284
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: config: tegra: enable BT_TIBLUESLEEP
Rakesh Goyal [Sat, 10 Mar 2012 02:22:06 +0000]
arm: config: tegra: enable BT_TIBLUESLEEP

Bug 933054
Bug 931931

Change-Id: I3875000a1b109e3180d8f7481efc9b3083358bd8
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/89281
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

7 years agomisc: bluetooth: clean ti_bluesleep patch
Rakesh Goyal [Sat, 10 Mar 2012 01:33:17 +0000]
misc: bluetooth: clean ti_bluesleep patch

Remove dead code
Remove whitespace
Remove platform callback function and add wake_lock/wake_unlock
Fix compilation warnings

Bug 933054
Bug 931931

Change-Id: I5b0947ad2053f9e0437ffe89879df2c84786ec9c
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/89274
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

7 years agocpufreq: Add a knob to treat IO wait as busy
satya popuri [Fri, 9 Mar 2012 18:57:31 +0000]
cpufreq: Add a knob to treat IO wait as busy

The new sysfs node io_is_busy enables the interactive governor to
account any time spent by the CPU waiting for IO as non-idle time.
This helps us improve run-time of IO bound tasks by making up for
lost IO time in speeding up the CPU bound parts of the task.

Reviewed on http://git-master/r/#change,86894
cherry picked from 13a15aadc1134b5dae05cdcf9687396644f87411
Signed-off-by: satya popuri <spopuri@nvidia.com>

Change-Id: I4a14ed7fef5fbce00054bb02d52d2d3e0f011f70
Reviewed-on: http://git-master/r/89218
Reviewed-by: Satya Popuri <spopuri@nvidia.com>
Tested-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agocpufreq: change min_sample_time
satya popuri [Fri, 9 Mar 2012 18:41:33 +0000]
cpufreq: change min_sample_time

We prefer a min_sample_time of 30ms. This is tied to our cluster switch
and auto-hotplug artificial delays.

Signed-off-by: satya popuri <spopuri@nvidia.com>

original commit message:

cpufreq: reduce min_sample_time

Reduce the minimum amount of time the interactive governor spends at a
frequency before ramping down. This parameter (min_sample_time) was 80ms
now reduced to 30 ms based on perf and power sweep numbers.

Reviewed-on: http://git-master/r/86900 (cherry picked from commit
581f20a5b7b8c3e4ee2c211b28dbc81510af2ae7).
Signed-off-by: satya popuri <spopuri@nvidia.com>

Change-Id: I24f4cd52737950fd4e78a36b4ee34a84551e0e12
Reviewed-on: http://git-master/r/89217
Reviewed-by: Satya Popuri <spopuri@nvidia.com>
Tested-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agoTI Wl128x support of bluesleep & Wake on BT Driver changes
Anjan Rao [Mon, 5 Mar 2012 12:41:13 +0000]
TI Wl128x support of bluesleep & Wake on BT Driver changes

Bug 933054
Bug 931931

Change-Id: Id84bcc1791114a50d26547de41daeb4774f6026b
Signed-off-by: Anjan Rao <anjan.rao@ti.com>
Reviewed-on: http://git-master/r/89136
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Tested-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

7 years agopower: smb349: set PGOOD to active low at OTG
Chandler Zhang [Fri, 9 Mar 2012 07:48:42 +0000]
power: smb349: set PGOOD to active low at OTG

1. Turn PGOOD to active low when OTG is enabled
2. Free irq in error handling and smb349_remove

Bug 937188

Change-Id: I94a58c8dfd9066034335ec4507b80d1607fe029f
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/89028
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agodtv: Added description for interface configuration
Adam Jiang [Wed, 29 Feb 2012 02:07:36 +0000]
dtv: Added description for interface configuration

fixed bug 947324

Change-Id: Ib85ee5d7e67def321cbde49ad41e2b194e1bd2e8
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/86483
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

7 years agortc: max77663: Use alrm->enabled flag to enable rtc alarm irq
Jinyoung Park [Tue, 6 Mar 2012 14:02:12 +0000]
rtc: max77663: Use alrm->enabled flag to enable rtc alarm irq

Use alrm->enabled flag to enable rtc alarm irq in rtc_set_alrm function.

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/88048
(cherry picked from commit 41e8686fc049fbdc0e83ecfa3f68da06ff813b99)

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

7 years agortc: max77663: Update read buffer before read RTC IRQ status register
Jinyoung Park [Tue, 6 Mar 2012 12:54:26 +0000]
rtc: max77663: Update read buffer before read RTC IRQ status register

To get actual current RTC IRQ status, it have to update read buffer
before read RTC IRQ status register.

Bug 918156
Bug 924219

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/88037
(cherry picked from commit 50528b7d136624ef0014deecba18d7bd9b8d8cc8)

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

7 years agoarm: tegra: ventana: use fixed regulator instead of direct gpio
Pritesh Raithatha [Tue, 13 Mar 2012 11:47:46 +0000]
arm: tegra: ventana: use fixed regulator instead of direct gpio

Bug 925547

Change-Id: I81f87cef3a9767d9bd60b72e33a23620392ab5fc
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/89736
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoASoC: tegra: p1852: Add P1852-board machine driver
Nitin Pai [Mon, 12 Mar 2012 11:54:04 +0000]
ASoC: tegra: p1852: Add P1852-board machine driver

Added machine driver for P1852 board.
The driver supports a plug/play architecture where the
details of the codec_driver/codec_dai will come from the top level
board config file.

Bug 948478

Change-Id: Id34a34b224e02b61475ca17253c1b13893a09e6c
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/89474
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoarm: tegra: add support for P1852 machine driver
Nitin Pai [Mon, 12 Mar 2012 11:49:53 +0000]
arm: tegra: add support for P1852 machine driver

Added support for the platform data that needs to be passed for the
ASoC P1852 machine driver

Bug 948478

Change-Id: Iac2c0310bf87ceddb892fd4b1ed3c0890558f97b
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/89473
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra: power: Boost CPU rate before device resume
Alex Frid [Tue, 28 Feb 2012 21:52:58 +0000]
ARM: tegra: power: Boost CPU rate before device resume

Boost CPU frequency in tegra platform resume finish phase, just
before driver resume. Boost level is specified by platform suspend
data (ignored if 0).

Bug 946301

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit eaedf228861e4456454ca13f0958ed97e799fc59)

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

7 years agoARM: tegra: power: Use CPU G mode in suspend prepare
Alex Frid [Tue, 28 Feb 2012 19:33:07 +0000]
ARM: tegra: power: Use CPU G mode in suspend prepare

Switch to CPU G mode in Tegra3 suspend prepare if CPU suspend
rate is high enough. By symmetry, it guarantees that device
resume will be happening in G mode as well.

Bug 946301

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 082be3604056c39442e1b42f5cfceeb089ffdaae)

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

7 years agoARM: tegra: clock: Update Tegra3 CPU suspend rate
Alex Frid [Mon, 6 Feb 2012 22:45:06 +0000]
ARM: tegra: clock: Update Tegra3 CPU suspend rate

Set Tegra3 CPU suspend entry rate to maximum LP mode rate - speed up
suspend, and still allow to switch to LP CPU mode on suspend entry.

Bug 946301

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 5e7fa33ebcb5602093f9bf86e37f0478e389c633)

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

7 years agovideo: tegra: dc: Fix the EMC bandwidth clear.
Kevin Huang [Fri, 9 Mar 2012 10:05:56 +0000]
video: tegra: dc: Fix the EMC bandwidth clear.

Bug 951626

Change-Id: Ia7c7474aa0f066cba8bd1519a98e302c4b3992e0
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/89076
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agotegra2: dvfs: enable dvfs for sdmmc
Shridhar Rasal [Thu, 9 Feb 2012 10:36:34 +0000]
tegra2: dvfs: enable dvfs for sdmmc

Enabled dvfs table for sdmmc clocks

bug 893886

Reviewed-on: http://git-master/r/82687
(cherry picked from commit 45c6c0426fdde8d338d10029cc83b598e7e49e61)

Change-Id: I26e07b45ef6331b99c57dd792ad0cc66a94242fb
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/89410
Tested-by: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agotegra: usb: host: Fix the race condition in hub control
vjagadish [Mon, 5 Mar 2012 13:44:58 +0000]
tegra: usb: host: Fix the race condition in hub control

Fix the race condition in tegra_ehci_hub_control which
is causing the usb not to work on usb instance 1.

Bug 948702

Change-Id: I3e8c7ecc90ee1ec96642292f9a83b09c413e9400
Signed-off-by: vjagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/89002
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoASoC: Tegra wm8903 machine: Fix to control names
Ramalingam C [Thu, 8 Mar 2012 11:13:38 +0000]
ASoC: Tegra wm8903 machine: Fix to control names

Fixing the typos in the member of cardhu_controls.

Bug 946932

Change-Id: I26f2a5a60f40d55846a89aaa76dab00741e018d0
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/88824
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoarm: tegra: cardhu: properly map volume, back, menu GPIO keys
Eric Brower [Tue, 28 Feb 2012 00:33:45 +0000]
arm: tegra: cardhu: properly map volume, back, menu GPIO keys

Specify proper GPIO pin assignments for volume up/down, back and menu keys.

Bug 915638

Change-Id: I8898aed002a0e9b6e4bd389fb1813cabb7f13c65
Signed-off-by: Eric Brower <ebrower@nvidia.com>
Reviewed-on: http://git-master/r/86221
Reviewed-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Tested-by: Ashwini Ghuge <aghuge@nvidia.com>

7 years agoarm: tegra: xmm: add usb interface check
Xin Xie [Wed, 25 Jan 2012 00:56:23 +0000]
arm: tegra: xmm: add usb interface check

BUG 928909

Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/82756
(cherry picked from commit f24375055ecba7c40c740a6b88ad03e38ea8b10c)

Change-Id: I2b3d59ea433555f595a1468cae3242b7dc54958a
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/89565
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>

7 years agoARM: tegra: pm: only identity map lowmem area
Ray Poudrier [Fri, 2 Mar 2012 03:56:35 +0000]
ARM: tegra: pm: only identity map lowmem area

Bug 941380
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>

Reviewed-on: http://git-master/r/87095
(cherry picked from commit 72b72afb18f852ee0b352b0644bf30b4afeaa055)

Change-Id: I7e10b6180044a6fb58b2fee835991812c193d9b1
Reviewed-on: http://git-master/r/89564
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

7 years agoARM: tegra: clock: Add SoC-to-DDR bit swap support
Alex Frid [Sat, 18 Feb 2012 07:25:06 +0000]
ARM: tegra: clock: Add SoC-to-DDR bit swap support

Since Tegra3 allows bit swapping when routing SoC-to-DDR data bus,
added the respective decoding mechanism for reading LPDDR2 mode
registers. Populated mapping table for PM269 board.

Bug 939626

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 5f5329596167681b528c87fd088d60030eee6fdc)

Change-Id: I6670110a828df4264b8f7a8c8e6e67611a830033
Reviewed-on: http://git-master/r/89350
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoARM: tegra: clock: Add LPDDR2 temperature controls
Alex Frid [Wed, 15 Feb 2012 07:00:41 +0000]
ARM: tegra: clock: Add LPDDR2 temperature controls

Added interfaces for
- reading scaled  LPDDR2 temperature from MR4 register
- controlling refresh rate according LPDDR2 specification

For now, these interfaces are only used by debufs nodes:

/sys/kernel/debug/tegra_emc/dram_temperature (read only)

/sys/kernel/debug/tegra_emc/over_temp_state (read/write,
0 - set regular low temperature refresh rate,
1 - speed up refresh for high temperature)

Bug 939626

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 373ff7e49235f6e222b42e324b6a2dc9eac633e6)

Change-Id: I9cfaaeeab16d5b49acb91824fecc6b0ee8f3cdbb
Reviewed-on: http://git-master/r/89349
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoARM: tegra: clock: Update Tegra3 EMC timing tracking
Alex Frid [Wed, 15 Feb 2012 06:44:58 +0000]
ARM: tegra: clock: Update Tegra3 EMC timing tracking

Separated tracking of Tegra3 EMC timing settings from EMC rate
statistic, as the same rate may be configured with different
timing (e.g., BCT timing and DVFS timing are not the same even
for the same rate).

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit cbf5634f67d3fb53ad01bb632905cf311052e2f1)

Change-Id: I4015d31297e9be29ec2d3f298ad33bc59bf45836
Reviewed-on: http://git-master/r/89348
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoARM: tegra: clock: Disable early-ack during EMC clock change
Alex Frid [Wed, 15 Feb 2012 03:14:36 +0000]
ARM: tegra: clock: Disable early-ack during EMC clock change

Bug 935079

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit edf6b3ed22c4f803bf13d1bf6316ffb01c8946dc)

Change-Id: Ifd155a66469e9463da89639b6577c1f90972f4ac
Reviewed-on: http://git-master/r/89347
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agodefconfig: tegra3: enable wext feature of bcmdhd
Mursalin Akon [Fri, 9 Mar 2012 16:33:46 +0000]
defconfig: tegra3: enable wext feature of bcmdhd

enable wext to make the bcmdhd driver integrate with
network manager

Bug 924521

Change-Id: I5cd90a72e844d024256323e936bfba072766adf0
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/89158
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Gerrit_Virtual_Submit

7 years agowireless: bcmdhd: make wext and cfg80211 choices
Mursalin Akon [Thu, 8 Mar 2012 22:00:21 +0000]
wireless: bcmdhd: make wext and cfg80211 choices

make wext and cfg80211 integration from
bcmdhd choices

Bug 924521

Change-Id: Ie0c46159003985e4e4b29b2809fe881ce924dbee
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/88908
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Tested-by: Gerrit_Virtual_Submit

7 years agoasoc: machine: add api to query voice call state
Nikesh Oswal [Wed, 7 Mar 2012 07:39:39 +0000]
asoc: machine: add api to query voice call state

Change-Id: I0b2b50c007d9e7b722b2c4bbc0282c51a8d18b00
Reviewed-on: http://git-master/r/88239
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoserial: tegra: Define correct port type
Laxman Dewangan [Fri, 9 Mar 2012 11:41:06 +0000]
serial: tegra: Define correct port type

When doing the cat /proc/tty/driver/tegra_uart, the serial
core display the message as
0: uart:unknown port:00000000 irq:68 tx:0 rx:0 CTS|DSR|CD|RI
4: uart:unknown port:00000000 irq:123 tx:0 rx:0 CTS|DSR|CD|RI

This is because the correct port type and iotype are not getting
set in tegra serial driver.

Setting these parameter to proper to display the information as
1: uart:TEGRA_UART mmio:0x70006040 irq:69 tx:0 rx:0 CTS|DSR|CD|RI
2: uart:TEGRA_UART mmio:0x70006200 irq:78 tx:477 rx:1603 RTS|CTS|DTR|DSR|CD|RI
3: uart:TEGRA_UART mmio:0x70006300 irq:122 tx:0 rx:0 CTS|DSR|CD|RI
4: uart:TEGRA_UART mmio:0x70006400 irq:123 tx:0 rx:0 CTS|DSR|CD|RI

bug 889724

Change-Id: Ia095623c53d1a3840c4d3759141cdf23cc2d4547
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/89122
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agoarm: tegra: kai: turn off status LED all the time
Kerwin Wan [Fri, 9 Mar 2012 11:35:34 +0000]
arm: tegra: kai: turn off status LED all the time

Bug 949015
Bug 947228
Bug 947203

Change-Id: Iaca9ff0aba45546c0c16699ae35cc89ff7a043aa
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/89120
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

7 years agoarm: tegra: whistler: Add board suspend/resume
Laxman Dewangan [Mon, 30 Jan 2012 13:30:34 +0000]
arm: tegra: whistler: Add board suspend/resume

Adding board suspend/resume functionality for whistler.

bug 907612

Change-Id: Ibb4178bbed7e4fa5f0d8b0080a34e85a3fe5aefc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/88278
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Tested-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoarm: tegra: kai: registering LTR558 ALS on I2C
Sachin Nikam [Wed, 7 Mar 2012 06:59:55 +0000]
arm: tegra: kai: registering LTR558 ALS on I2C

Registering LTR558 Ambient light and Proximity sensor on I2C bus.

Bug 901133

Change-Id: I34b996813a409229a1baa25a069f0ba4758b154e
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/88228
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agomfd: max77663: Handle case for PWR_OFF and SFT_RST setting simultaneously
Jinyoung Park [Tue, 6 Mar 2012 07:56:50 +0000]
mfd: max77663: Handle case for PWR_OFF and SFT_RST setting simultaneously

MAX77663 PMU doesn't allow PWR_OFF and SFT_RST setting in ONOFF_CFG1
at the same time. So if it try to set PWR_OFF and SFT_RST to ONOFF_CFG1
simultaneously, handle only SFT_RST and ignore PWR_OFF.

Bug 949650

Change-Id: I90c602e22c813b05fcd9047153cea3ed2cbd596f
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/87981
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Johnny Qiu <joqiu@nvidia.com>

7 years agoregulator: max77663: Don't use low-power mode for N-Channel LDOs
Johnny Qiu [Mon, 5 Mar 2012 09:51:43 +0000]
regulator: max77663: Don't use low-power mode for N-Channel LDOs

N-Channel LDOs on MAX77663 doesn't work well. It has glitches. Don't
use it as WAR.

Bug 949641

Change-Id: Ib0c8918137bccc0ce3b30bd6d97ad5f9bd39277e
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/87691
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoiio: light: ALS driver for LTR558
Sachin Nikam [Tue, 14 Feb 2012 15:17:59 +0000]
iio: light: ALS driver for LTR558

Adding driver for Ambient Light and Proximity sensor from
Lite On Technology.
This driver has sysfs interface to get the als and proximity values
and enable/disable als and proximity.

Bug 901133

Change-Id: Iafa0346d74825a67d94143181922de7a16cc7718
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/83837
Reviewed-by: Darrell Hunt <dhunt@nvidia.com>

7 years agoARM: mm: Use CONFIG_CPA
Krishna Reddy [Wed, 7 Mar 2012 22:35:37 +0000]
ARM: mm: Use CONFIG_CPA

Use CONFIG_CPA flag to allow disabling CPA code.

Change-Id: Ic6a4993dbabbef8d9847295f698887d73d81269a
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/88464
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

7 years agocrypto: tegra-se: Check for valid reqeusted buffer size
Mallikarjun Kasoju [Mon, 12 Mar 2012 03:51:25 +0000]
crypto: tegra-se: Check for valid reqeusted buffer size

Added check for valid requested process buffer size.

Bug 928454

Change-Id: I2dc389af64cb3de2f0a0a3f0bbc5057dd9bd676c
Reviewed-on: http://git-master/r/89381
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agomisc: tegra-baseband: Add support for L2 and cleanup code.
Raj Jayaraman [Mon, 13 Feb 2012 22:12:04 +0000]
misc: tegra-baseband: Add support for L2 and cleanup code.

Bug 886459

Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
(cherry picked from commit 9032b38a76d8337ee6b9582265171ca09473a3e9)

Change-Id: Ifa5ad5bdb3a782119a2920281bc39ce5f6fd2a5a
Reviewed-on: http://git-master/r/88868
Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

7 years agovideo: tegra: nvmap: optimize uc & wc allocations.
Krishna Reddy [Mon, 12 Mar 2012 07:13:24 +0000]
video: tegra: nvmap: optimize uc & wc allocations.

Changing page attributes and cache maintenance reduces
performance in applications doing runtime reallocations.

Keep pool of UC & WC pages to avoid expensive
operations when doing allocations.

bug 865816
(refactored initial changes from Kirill and added shrinker
notification handling)

Change-Id: I43206efb1adc750ded672bfe074e0648f2f9490b
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/87532
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoasoc: wm8753 machine: change M/S configuration for bt
Nikesh Oswal [Fri, 9 Mar 2012 11:33:27 +0000]
asoc: wm8753 machine: change M/S configuration for bt

change M/S configuration for bt, with BT as Slave and Modem
as Master

Change-Id: Ifae5ca228f3bcf0f882f47e79448c10bcc33ec4d
Reviewed-on: http://git-master/r/89127
Tested-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agoregulator: tps65910: Sleep off rails when ext sleep configured
Laxman Dewangan [Wed, 7 Mar 2012 12:51:49 +0000]
regulator: tps65910: Sleep off rails when ext sleep configured

Keep the rails OFF in sleep mode only when the rails are
controlled by external sleep control.
The devices tps65910 and tps65911, both has the sleep input.
The tps65911's sleep input is not same as tps65910's EN3 and hence
taking care of SLEEP input as separate external sleep control input.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
cherry picked from mainline commit
87ae88a17396fe3f91c34ab44f460e5680eb6f61

Change-Id: I05645082ad5268a4553891db6b35af33650b7a95
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/89125

7 years agoARM: tegra: Put all Tegra Kconfig entries under if ARCH_TEGRA
Scott Williams [Fri, 9 Mar 2012 01:01:00 +0000]
ARM: tegra: Put all Tegra Kconfig entries under if ARCH_TEGRA

Change-Id: I49041ada720045908a433b44f301036fc4913462
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/88955
Reviewed-by: Stephen Warren <swarren@nvidia.com>

7 years agoARM: tegra: config: Disable MPU6050 Gyroscope driver
Preetham Chandru [Wed, 7 Mar 2012 12:32:51 +0000]
ARM: tegra: config: Disable MPU6050 Gyroscope driver

For cardhu and ventana the Gyroscope present is MPU3050 and not
MPU6050. Hence disabling MPU6050 Gyroscope driver from the defconfig.

Bug 946328
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: I5dc9133ca4f3d51832eeeab26c7b76ee55302a0a
Reviewed-on: http://git-master/r/88314
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agovideo: tegra: host: Set rate for all clocks in nvhost device
Jinyoung Park [Wed, 22 Feb 2012 08:36:08 +0000]
video: tegra: host: Set rate for all clocks in nvhost device

Fixed rate setting problem what set rate for only a clock in nvhost
device, even if there are clocks more than one in nvhost device.

Bug 938580

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/85129
(cherry picked from commit 5818d42dc0ad5dfa7659dca5d7f61b572c08613d)

Change-Id: Id3a7be50541b1d93a2ed7353f3eabc71dd398773
Reviewed-on: http://git-master/r/87276
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agostaging: iio: magnetometer: ak8975: Retrieve the correct i2c client data
Preetham Chandru [Wed, 7 Mar 2012 13:13:52 +0000]
staging: iio: magnetometer: ak8975: Retrieve the correct i2c client data

i2c_get_clientdata() returns an object of type struct indio_dev and not
of type struct ak8975_data.

Bug 946328
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: I5803306d6a7829cdf822d22f51fdcdb769fbea1d
Reviewed-on: http://git-master/r/88329
Reviewed-by: Mursalin Akon <makon@nvidia.com>
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoARM: tegra: dma: Return ERROR_STOPPED if dma stopped.
Laxman Dewangan [Fri, 2 Mar 2012 07:24:19 +0000]
ARM: tegra: dma: Return ERROR_STOPPED if dma stopped.

The dma will be stop in continuous mode with following reason:
- There is no next request and dma restarted the same buffer
  as it was last transfer.
- The buffer size was not enough and so latency to serve dma interrupt
  is more than buffer transfer time and hence buffer completed before
  interrupt served.

In the above cases, dma actually transfer more than requested
size. Returning correct transferred data in byte transferred and
return request status as ERROR.

Change-Id: I7046e0935b7261475a0f6ed49e40a6f1b86d72ec
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/86002
Reviewed-by: Stephen Warren <swarren@nvidia.com>

7 years agoinit: check printed flag to skip printing message
Diwakar Tundlam [Thu, 8 Mar 2012 22:53:14 +0000]
init: check printed flag to skip printing message

Otherwise the 'Calibration skipped' message gets printed everytime a CPU is
hotplugged in, cluttering console for systems that frequently hotplug CPUs.

Change-Id: Ie0b4dc92a11d7518cfe6eb2100d8edadca4efb3e
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/88921
Reviewed-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>

7 years agoarm: tegra: whistler: remove duplicate code
Shridhar Rasal [Wed, 7 Mar 2012 12:41:11 +0000]
arm: tegra: whistler: remove duplicate code

Remove duplication definition of uarta and uartb console

bug 907612

Change-Id: I0f0f4d990b1d7050b0ab044f5c9059b7972497b5
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/88325
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoarm: tegra: whistler: select uart debug address
Shridhar Rasal [Wed, 7 Mar 2012 10:11:11 +0000]
arm: tegra: whistler: select uart debug address

Added mechanism to select the uart debug channel base address through
variable so that board file can directly change this.

bug 907612

Reviewed-on: http://git-master/r/34494

Change-Id: I9f9dbeaf81d5b62708d01fddd6e27223dc2dd361
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/88279
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoregulator: tps65910: Configure correct value for VDDCTRL vout reg
Laxman Dewangan [Wed, 7 Mar 2012 11:09:05 +0000]
regulator: tps65910: Configure correct value for VDDCTRL vout reg

As per datasheet, the voltage output is defined as
from SEL[6:0] = 3 to 64 (dec)
Vout= (SEL[6:0] × 12.5 mV + 562.5 mV)

The list_voltage returns the vout as
    600mV +  selector * 12.5mV

and so equivalent VSEL is selector + 3.
Adding 3 on selector when configuring VSEL register for
VDDCTRL output.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
cherry picked from mainline commit
c4632aed3e5b134c55b54af19db49662959384c1

Change-Id: Ifc514a87803191cf796ffc0d75d979476e712dde
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/88830

7 years agoarm: tegra: hda: Improve resume time
ScottPeterson [Sat, 4 Feb 2012 00:34:39 +0000]
arm: tegra: hda: Improve resume time

Improve the resume time of the HD Audio driver by replacing selected
msleep() functions with mdelay(). msleep() return times are not
deterministic.

Signed-off-by: ScottPeterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/86896
(cherry picked from commit eccbe7983d1b010cc60b49bfb13d041b3a0957d3)

Change-Id: I261ba51e7f8414bca50076ae73473114a308645c
Reviewed-on: http://git-master/r/88090
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Tested-by: Scott Peterson <speterson@nvidia.com>

7 years agocache-v7: Fix typo
Dan Willemsen [Wed, 22 Feb 2012 02:18:30 +0000]
cache-v7: Fix typo

Change 6dfe0d880a was backported from upstream, but differed from the
upstream patch with a typo - CONFIG_PREEMP vs CONFIG_PREEMPT

Change-Id: Ib8dea88cfc4d85bc6a3873acd4152bc628c03bb0
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/85059
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agousb: gadget: android: Honor CONFIG_USB_GADGET_VBUS_DRAW
Scott Anderson [Wed, 18 Jan 2012 23:56:51 +0000]
usb: gadget: android: Honor CONFIG_USB_GADGET_VBUS_DRAW

The maximum current draw was hard coded to 500 mA.  composite.c
has code that uses CONFIG_USB_GADGET_VBUS_DRAW to set the
bMaxPower and to set whether or not the device is self-powered if
they haven't been set.  This change removes the code in android.c
to allow composite.c to set them.

(cherry picked from commit 09701e3edf03f92f4215aad83b32cd8cec7fb689 from
android.googlesource.com/common.git)

Change-Id: I9db37922e91ee86e9e5c0e14519e119e5c41ca48
Signed-off-by: Scott Anderson <saa@google.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78889
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agoinput: touch: atmel_mxt_ts: Reduce power during LP0.
Robert Collins [Wed, 1 Feb 2012 22:55:40 +0000]
input: touch: atmel_mxt_ts: Reduce power during LP0.

Maximum power saving is observed by disabling multiple touchscreen
objects.  Objects must be saved going into LP0, and restored in
reverse order upon resuming from LP0.

Bug 919435

Change-Id: I42799fbb02efd28e4954b53b3d052ad138537ce9
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/88458
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Gerrit_Virtual_Submit

7 years agoARM: tegra: Enable CPA.
Krishna Reddy [Wed, 7 Mar 2012 03:12:45 +0000]
ARM: tegra: Enable CPA.

Change-Id: I24725e7d98226e56af7ca06c91c05277a7eb1fdd
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/88443
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agodrivers: misc: nct: Fixed spurious nct interrupts
Joshua Primero [Wed, 22 Feb 2012 21:32:36 +0000]
drivers: misc: nct: Fixed spurious nct interrupts

Enabled one-shot mode in the bottom half handler
of nct interrupts to force a conversion/comparison.
This effectively stops repeated nct interrupts.

Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/85277
(cherry picked from commit bc90335e0201cba073333c679b2fddff7bb293f1)

Change-Id: Id0bd19f8f464ffbd9079fc2910a1bbcd0e621843
Reviewed-on: http://git-master/r/88373
Reviewed-by: Joshua Primero <jprimero@nvidia.com>
Tested-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agoARM: mm: Add config flag for CPA.
Krishna Reddy [Wed, 7 Mar 2012 03:09:46 +0000]
ARM: mm: Add config flag for CPA.

Change-Id: Ibaa40012b3954abb440882517de51ab37269942f
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/88183
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

7 years agoARM: tegra: power: Trim Tegra3 hotplug timings
Diwakar Tundlam [Thu, 1 Mar 2012 00:18:11 +0000]
ARM: tegra: power: Trim Tegra3 hotplug timings

Bug 945921
Reduce delays in going LP->G and G->Gn

(cherry picked from commit 51b7022f328d955cc4dbbf47b35403ea9c5e3a7b)
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>

Change-Id: I10f68196cb64ea20461000e9b0d64999fd714395
Reviewed-on: http://git-master/r/88169
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agoARM: tegra: Fix warnings for missing type forward reference
Scott Williams [Tue, 6 Mar 2012 22:17:42 +0000]
ARM: tegra: Fix warnings for missing type forward reference

Change-Id: Ic327c7323f1d98639b20a44527d9e4a0c01d11d2
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/88113
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoasoc: codecs: update the TIAIC326x driver
Nikesh Oswal [Tue, 6 Mar 2012 10:32:57 +0000]
asoc: codecs: update the TIAIC326x driver

update the TIAIC326x driver for voice call

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

7 years agoarm: tegra: comms: hsic first enum issue with flight mode off
Seshendra Gadagottu [Tue, 28 Feb 2012 08:49:44 +0000]
arm: tegra: comms: hsic first enum issue with flight mode off

After flight mode on/off, EHCI phy power and modem power on sequences
not correct. For first enumeration HSIC phy should be power and then
modem needs to be powered before sending any hub events.  Also
corrected  initial state for ipc_ap_wake_state.

Bug 946027

Change-Id: I84edbebaa408fd6830adc09ebd0c67cb288a2626
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/86297
(cherry picked from commit 700c7bc52b26b370ff2449a9a9f91b22188a9aee)
Reviewed-on: http://git-master/r/88008
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: dc: Remove unnecessary delay in dc postsuspend
Min-wuk Lee [Mon, 5 Mar 2012 00:27:40 +0000]
video: tegra: dc: Remove unnecessary delay in dc postsuspend

Remove unnecessary 100ms delay for primary panel since
this is needed for HDMI type only.

Bug 940012

Change-Id: Id27966fb28faa73ade3a868a9f89cadbde76e227
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/87613
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: power: Fix build error on non-SMP systems
Scott Williams [Fri, 26 Aug 2011 01:39:56 +0000]
ARM: tegra: power: Fix build error on non-SMP systems

Can't use NR_CPUS on non-SMP systems. Just use the maximum.

Change-Id: I00b455adf950869146dfcd176efe4abdbe7aa24e
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/87416
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agovideo: tegra: implement DC capabilities ioctl
Adam Cheney [Fri, 2 Mar 2012 00:44:43 +0000]
video: tegra: implement DC capabilities ioctl

The returned capabilities bitfield is initially 0 (no caps).

bug 942631

Change-Id: Ia7496981e525526147ecebe67b09dc877d3e0c17
Reviewed-on: http://git-master/r/87088
Tested-by: Adam Cheney <acheney@nvidia.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>

7 years agoregulator: provide missing regulator_ stubs
Mark Stadler [Fri, 2 Mar 2012 00:39:09 +0000]
regulator: provide missing regulator_ stubs

Change-Id: I8a5329284008c03705273dfa49042fc0e07b4b3d
Signed-off-by: Mark Stadler <mastadler@nvidia.com>
Reviewed-on: http://git-master/r/87068
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agotegra: arm: kai: Enable emc in kai
Karthik Ramakrishnan [Fri, 3 Feb 2012 23:34:41 +0000]
tegra: arm: kai: Enable emc in kai

emc was not inited for kai in main.

Change-Id: I0562ff8fffdc8a9aa8622925aa18d0d4cedb5567
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/86738
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agovideo: tegra: dc: Fix the race condition of one-shot work.
Kevin Huang [Thu, 1 Mar 2012 19:00:39 +0000]
video: tegra: dc: Fix the race condition of one-shot work.

Add lock to prevent race condition between cancellation of old delayed
work and schedule of new delayed work.

Bug 936337

Change-Id: I52df82e92279163841546127c72be9879ef810d0
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/86730
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: kai: Enable 12.75MHz emc for kai
Karthik Ramakrishnan [Sat, 4 Feb 2012 00:49:20 +0000]
arm: tegra: kai: Enable 12.75MHz emc for kai

emc registry entries @ 12.75 MHz for kai

Change-Id: Id68a6368d8f41d537eb52ca3ac8e9b816ee4015f
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/86698
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

7 years agosmp_twd: make sure timer is stopped before registering it
Marc Zyngier [Fri, 10 Feb 2012 10:50:26 +0000]
smp_twd: make sure timer is stopped before registering it

On secondary CPUs, the Timer Control Register is not reset
to a sane value before the timer is registered, and the TRM
doesn't seem to indicate any reset value either. In some cases,
the kernel will take an interrupt too early, depending on what
junk was present in the registers at reset time.

The fix is to set the Timer Control Register to 0 before
registering the clock_event_device and enabling the interrupt.

Problem seen on VE (Cortex A5) and Tegra.

Signed-off-by: Marc Zyngier <(address hidden)>
Change-Id: I52695f4f9a5c5e3a8973da7668b3b1352e60a80f
Reviewed-on: http://git-master/r/83085
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

7 years agompu3050: remove warning for unassigned irq
Pritesh Raithatha [Wed, 7 Mar 2012 13:05:59 +0000]
mpu3050: remove warning for unassigned irq

Bug 924470

Change-Id: I55310652512bf87ab5fc83479a18a4c685958884
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/88327
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

7 years agoarm: tegra: kai nfc support
Rakesh Goyal [Wed, 7 Mar 2012 10:51:45 +0000]
arm: tegra: kai nfc support

1) configure pinmux
2) create pn544_i2c_platform_data
3) register i2c device info using i2c_register_board_info

Bug 949128

Change-Id: I62c82d338724c4f012ac98d7ec61ec9aae1afae5
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/88288
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agogpio: gpiolib: Support for open source/emitter gpios
Laxman Dewangan [Fri, 17 Feb 2012 14:56:22 +0000]
gpio: gpiolib: Support for open source/emitter gpios

Adding support for the open source gpio on which client
can specify the open source property through GPIO flag
GPIOF_OPEN_SOURCE at the time of gpio request.
The open source pins are normally pulled low and it
cannot be driven to output with value of 0 and so
when client request for setting the pin to LOW, the
gpio will be set to input direction to make pin in tristate
and hence PULL-DOWN on pins will make the state to LOW.
The open source pin can be driven to HIGH by setting output
with value of 1.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviwed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

cherry-picked from mainline commit
25553ff0756c59b617af6bdd280c94e943164184

Change-Id: I3062a5dec7bf745b624d9a147f79d3830927325b
Reviewed-on: http://git-master/r/88265
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agogpio: gpiolib: Support for open drain/collector gpios
Laxman Dewangan [Fri, 17 Feb 2012 14:56:21 +0000]
gpio: gpiolib: Support for open drain/collector gpios

Adding support for the open drain gpio on which client
can specify the open drain property through GPIO flag
GPIOF_OPEN_DRAIN at the time of gpio request.
The open drain pins are normally pulled high and it
cannot be driven to output with value of 1 and so
when client request for setting the pin to HIGH, the
gpio will be set to input direction to make pin in tristate
and hence PULL-UP on pins will make the state to HIGH.
The open drain pin can be driven to LOW by setting output
with value of 0.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviwed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

Cherry-picked from mainline
aca5ce14eb773a75e5d935968b2e390dc5bd29c3

Change-Id: I097caebcc7cf6fb1497bb0395320dfc061bb6277
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/88264

7 years agovideo: tegra: host: convert kzalloc to vzalloc
Donghan Ryu [Thu, 19 Jan 2012 19:56:01 +0000]
video: tegra: host: convert kzalloc to vzalloc

nvhost_job uses kzalloc to hold meta data. Convert
it to vzalloc to avoid large physically contiguous
allocations at runtime.

Change-Id: I13d7e7d60e93354fcf69e5478437fa206b880dcc
Signed-off-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-on: http://git-master/r/87967
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoARM: mm: Implement complete debug arch v7 save/restore
Scott Williams [Mon, 5 Mar 2012 23:35:52 +0000]
ARM: mm: Implement complete debug arch v7 save/restore

Implement the complete debug arch v7 save/restore sequence
as required by the ARM Architectural Reference Manual.

Change-Id: Ia346a87b16e759ae5dbbbd02e77eda1e6d6deb82
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/87865
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agovideo: tegra: host: Set 3D pg timeout to 250ms
Terje Bergstrom [Mon, 5 Mar 2012 07:10:47 +0000]
video: tegra: host: Set 3D pg timeout to 250ms

Power gating timeout for 3D is too short, and causes oscillation
in non-idle use cases. Increase timeout to 250ms to get more benefits
from power gating.

Bug 914785

Change-Id: I4e37fda260ceecc2fe3e21989789105b7c8fcf36
Reviewed-on: http://git-master/r/87659
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

7 years agovideo: tegra: host: make nvhost_get_host inline
Mayuresh Kulkarni [Mon, 5 Mar 2012 07:01:36 +0000]
video: tegra: host: make nvhost_get_host inline

- nvhost_get_host returns host1x's master driver's
private data
- this host1x master is parent for all its modules.
however, it does not have a parent of its own
- so the debug_not_idle causes crash when there is an
outstanding reference count on host1x by some module
during suspend sequence
- with this change, debug_not_idle returns error to
pm core if host1x has an outstanding ref count. pm core
then safely aborts the suspend and does resume

Bug 947617

Change-Id: Ia2479c192bdd94028d090168f689823658062fd4
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/87658
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

7 years agoARM: tegra: Clean kernel and I/O mappings upon LP2
Antti P Miettinen [Thu, 23 Feb 2012 11:18:31 +0000]
ARM: tegra: Clean kernel and I/O mappings upon LP2

There is no need to flush the complete L2 upon LP2
entry but it is necessary to clean the page table
entries needed by LP2 code sequence that has L2 off
and MMU on.

Bug 931316

Change-Id: Ice353f16d35ee24d4387e7b9b135f205c4d0ba32
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/86293
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agotegra: pcie: Fix individual port detection on T20
Jay Agarwal [Mon, 27 Feb 2012 14:49:20 +0000]
tegra: pcie: Fix individual port detection on T20

This commit fix two issues.
1. MMIO space should be reserved for T30 as well
2. There is a bug in link reset sequence causing
   problem in detecting the other slot as well
   on T20

bug 826956
bug 637871

Reviewed-on: http://git-master/r/66814
(cherry picked from commit 11ce98902d0687646eb30a4bd1f9a1d5e8da34ce)

Change-Id: I1843e3a1d897a36768b05b33ab7624889191d011
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/86134
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: fix compilation with binutils >= 2.21
Marc Dietrich [Tue, 6 Mar 2012 20:52:04 +0000]
ARM: tegra: fix compilation with binutils >= 2.21

Fix "Error: .size expression does not evaluate to a constant" with
binutils since version >= 2.21 due to wrong naming of the label
reference.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Change-Id: I3d09c423f993aa5ec8cdf166199774a7a1b18396
Reviewed-on: http://git-master/r/88102
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>

7 years agocrypto: tegra-aes: fix "syntax error" in license
Marc Dietrich [Tue, 6 Mar 2012 20:50:55 +0000]
crypto: tegra-aes: fix "syntax error" in license

Should have been "GPL v2", not "GPLv2".

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Change-Id: I7b4669c023c48e1080de7f87ed7166dc9b47884a
Reviewed-on: http://git-master/r/88101
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agopower: smb349: Enable OTG support
Syed Rafiuddin [Wed, 7 Mar 2012 09:54:14 +0000]
power: smb349: Enable OTG support

Addition of OTG support in smb349 charger driver

Change-Id: Ib38c9f4c06285ae07d93cfa3c6f5e1637aaa9460
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/86936
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

7 years agoti-st: do not free skb in st_send_frame if receive call returns error
Nagarjuna Kristam [Fri, 2 Mar 2012 07:10:56 +0000]
ti-st: do not free skb in st_send_frame if receive call returns error

In st_send_frame, do not free skb when recveive[hci_recv_frame] function call
returns failure. Since, skb is already freed in hci_recv_frame on failure.

Bug 946756
Bug 949028

Change-Id: I3ef9a77f408a6a5329a0817547e0c0e08ec45f87
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/87138
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

7 years agoarm: tegra: xmm: change irq handler to irq thread
shawn joo [Mon, 13 Feb 2012 05:30:23 +0000]
arm: tegra: xmm: change irq handler to irq thread

since irq function has printk and long context.
change the handler to irq thread for stable running.

Bug 937413

Signed-off-by: shawn joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/83350
(cherry picked from commit 1bf117669ed8b4fdb854074aef26d1a568544616)

Change-Id: Ib760e19903b7e9975a1ac7b8275537c75830764d
Reviewed-on: http://git-master/r/87633
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: xmm: ignore same xmm_onoff value
Seongho Joo [Fri, 24 Feb 2012 10:03:11 +0000]
arm: tegra: xmm: ignore same xmm_onoff value

sysfs xmm_onoff is called from userspace.
If it is called twice with same value it could cause a problem.
if it happens, this change will ignore the case.

Bug 943018

Signed-off-by: Seongho Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/85721
(cherry picked from commit e722f73d1eed055682dbfeeedfa9c73173a7b3b6)

Change-Id: Ief96b667242a9af3df078cf62c9e9a9531b80f45
Reviewed-on: http://git-master/r/87639
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: xmm: add enable_irq_wake in probe
Seongho Joo [Sat, 25 Feb 2012 09:50:43 +0000]
arm: tegra: xmm: add enable_irq_wake in probe

Add enable_irq_wake in probe to enable gpio irq wake.

Bug 928950

Signed-off-by: Seongho Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/85972
(cherry picked from commit e81069047c14a0ab9a3e1eb5588060959d550c49)

Change-Id: Ic513179670661ddc8a75d73a0afaa6264847cb1a
Reviewed-on: http://git-master/r/87644
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: set bpp for PM313 display to 24
Graziano Misuraca [Tue, 6 Mar 2012 01:20:48 +0000]
arm: tegra: set bpp for PM313 display to 24

bpp on PM313 display was 18bpp which caused the
colours to show up incorrectly. Setting it
properly.

Bug 947532

Change-Id: Iccc99b67fea417b12d7bcc9f59055b60689be568
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/88214
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoARM: tegra: dma: Checkpatch cleanups in dma header
Laxman Dewangan [Sun, 4 Mar 2012 06:35:54 +0000]
ARM: tegra: dma: Checkpatch cleanups in dma header

Fixing checkpatch error/warning in dma header.

Change-Id: I86b65c25fc4b7edac9c4f1dfaf53023eb4c56036
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/87544
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>