6 years agodrivers: misc: therm_est: Add timer trip support
Jinyoung Park [Fri, 29 Mar 2013 16:48:57 +0000]
drivers: misc: therm_est: Add timer trip support

Timer trip provides a way to change trip temp dynamically based on timestamp
when the trip is enabled.
- Timer trip can be various numbers on a trip.
- If the trip is enabled, then timer will be started with time_after delay
  in the corresponding timer trip. After the timer expires, trip_temp and
  hysteresis in the corresponding timer trip will be used to trip_temp for
  the trip.
- When the timer has expired, index of timer trip will be increased a step
  and then start the timer with time_after delay in newly indexed timer trip.
- When temp is below trip temp, index of timer trip will be decreased a step
  and then stop the timer and start the timer with time_after delay in newly
  indexed timer trip.
- The timer will be stopped if there is no more next timer trip on the trip,
  or the trip is disabled.

This change is based on http://git-master/r/198853 which is the timer
trip on Rel-16. The difference between two changes is that this change
can be used timer trip on multiple trip points, but the previous change
on Rel-16 can be used timer trip on only a trip point.

Bug 1233363
Bug 1236444

Change-Id: I999f496862fe131e4209b25b308f2223ac7cc350
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/214612
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Edward Riegelsberger <eriegels@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agommc: tegra: Execute tuning for multiple frequencies
Naveen Kumar Arepalli [Wed, 13 Mar 2013 12:46:06 +0000]
mmc: tegra: Execute tuning for multiple frequencies

Execute tuning for multiple frequencies to save the
best tap values at each frequency

Bug 1238045
Bug 1044607

Change-Id: Ia8a74d9a63d73f10470c9675de868f5652cfbb8d
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/208822
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: build edp table with volt-temp constraints
Diwakar Tundlam [Fri, 12 Apr 2013 00:28:54 +0000]
ARM: tegra: build edp table with volt-temp constraints

Some chips must be constrained to run at a reduced maximum voltage
above certain temperature threshold. Added code for this constraint be
configured on a per SKU basis.

Bug 1270003
Bug 1270570

Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>

Change-Id: Ic2e6f9406712d276ab9af92f89e98bd92972a5f6
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/218723
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: macallan: fix camera power rails on E1569
Kerwin Wan [Wed, 10 Apr 2013 05:23:35 +0000]
arm: tegra: macallan: fix camera power rails on E1569

The focuser power rail has been moved from ldo7 to ldo5
on macallan E1569.

Change-Id: I83b48c6b68699c108cbfe626cdbd299575d6c426
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/218094
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegratab: enable MT9M114(AS1040) config
kkim [Tue, 9 Apr 2013 06:00:15 +0000]
ARM: tegratab: enable MT9M114(AS1040) config

Bug 1255019

Change-Id: Ic40443cfdb2037c8b09242d27cc90b00ca5849ec
Signed-off-by: kkim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/217661
Reviewed-by: Jake Park <jakep@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Kim <pekim@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: macallan: enable OTG ID pin detect through PMIC
Yunfan Zhang [Thu, 28 Mar 2013 07:58:26 +0000]
ARM: tegra: macallan: enable OTG ID pin detect through PMIC

Bug 1256755

Change-Id: I86fabdd6da4481cf7365aa0e47fd086817cb9d35
Signed-off-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-on: http://git-master/r/213874
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: usb: fix compile error with modular build
Ajay Gupta [Wed, 10 Apr 2013 17:06:52 +0000]
ARM: tegra: usb: fix compile error with modular build

Fixes below error while building xusb as module.
ERROR: "utmi_phy_iddq_override" [drivers/usb/host/xhci-hcd.ko] undefined!

Change-Id: I30ccb577b33f46cc529ec09fd7506b4e13475cf8
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/218605
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

6 years agoARM: tegra: cpuquiet: make no_lp = -1 always force cluster switch
Peter Boonstoppel [Fri, 5 Apr 2013 23:38:37 +0000]
ARM: tegra: cpuquiet: make no_lp = -1 always force cluster switch

When setting the no_lp sysfs node to -1 the system would attempt to
switch to the LP cluster. This can fail if the frequency or the number
of online cores are too high.

This change ensure the frequency and number of online cores are first
brought down, such that a cluster switch on no_lp = -1 always
succeeds.

Bug 1247636
Bug 1253920

Change-Id: If6af671e8defdfc8172e8d9356ddf03d54bae98d
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/217033
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agousb: xhci: tegra: save restore dfe_cntl and ctle
Ajay Gupta [Sat, 9 Mar 2013 01:19:34 +0000]
usb: xhci: tegra: save restore dfe_cntl and ctle

This is needed as per updated PG.

Bug 1247235

Change-Id: I29ef5d11e92175481bf9e091fbd5ed01e8a6a86b
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/217015
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Henry Lin <henryl@nvidia.com>

6 years agoinput: misc: cm3217: Add cm3217 device tree support
Joshua Cha [Wed, 27 Mar 2013 08:49:18 +0000]
input: misc: cm3217: Add cm3217 device tree support

Add device tree based initialization support for Capella cm3217 light sensor.

Bug 1173064
Bug 1260291

Change-Id: Ib3a6b3cf988b3a52dec57b53b28cc2b403baedb0
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/214930
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoRevert "ARM: tegra114: config: enable kernel memcpy optimization"
Soumen Kumar Dey [Tue, 9 Apr 2013 12:31:56 +0000]
Revert "ARM: tegra114: config: enable kernel memcpy optimization"

This reverts commit b13b0d6c8a6c04d96d5040568e6d1dd3665ef69e.

bug 1268485

Signed-off-by: Soumen Kumar Dey <sdey@nvidia.com>
Change-Id: I7e7928b76163849eccb32d4f29a9bc0abeca3f9a
Reviewed-on: http://git-master/r/217839
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agotty: serial: tegra: Support for IrDA loopback test
Ramalingam C [Thu, 21 Feb 2013 14:11:56 +0000]
tty: serial: tegra: Support for IrDA loopback test

Introduces a debugfs entry to support IrDA loopback test.

Bug 1227962

Change-Id: Iab1576fadae2f148b76e44758f55ac094e02148e
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/202952
(cherry picked from commit 5bd0bf3522493544d8e518e39bf39e6fd4850f18)
Reviewed-on: http://git-master/r/216395
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: Use rcuidle trace in idle
Prashant Gaikwad [Wed, 10 Apr 2013 06:34:25 +0000]
arm: tegra: Use rcuidle trace in idle

Change-Id: I8a05e20702a30b9afb92056949ace68499692f97
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/218114
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: mm: Fix merge issue with 3.4.35
Prashant Gaikwad [Fri, 5 Apr 2013 13:24:51 +0000]
arm: mm: Fix merge issue with 3.4.35

Change-Id: I43f2a3e267307e532eeb109714f53386213193b4
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/216913
(cherry picked from commit 87a811d83af81872fa0e98a5184cb4729a4abd78)
Reviewed-on: http://git-master/r/218138
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agommc:sdhci:reduce level of '512 byte block' warning
Naveen Kumar S [Wed, 30 Jan 2013 04:05:50 +0000]
mmc:sdhci:reduce level of '512 byte block' warning

Reduced severity of the message informing usage of 512 bytes block size
from pr_warning to pr_info.

Bug 1166542

Change-Id: Ibc49bfad7eb5d70e2baff76af68f0462371489e8
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/195402
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agovideo: tegra: host: change slope to fixed point
Jihoon Bang [Thu, 28 Mar 2013 01:07:28 +0000]
video: tegra: host: change slope to fixed point

In 3D dvfs, slope and dip_slope is small number and
it can become less than zero. To prevent slope from being zero,
change slope type from int to fixed point.

Bug 1246180

Change-Id: I86186cf0516cddac38e88c1c95b27be967061726
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/213768
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoi2c: tegra: change the DT compatible string
Jake Park [Wed, 10 Apr 2013 10:05:36 +0000]
i2c: tegra: change the DT compatible string

Change the compatible string to support DT for T114 tegra-i2c.

Bug 1255103
Bug 1260291
Bug 1260300

Change-Id: I87446382909b395dce621b12b8358f485b7e046d
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/218183
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoALSA: hda: Cancel delayed work during suspend
Rahul Mittal [Tue, 9 Apr 2013 14:17:21 +0000]
ALSA: hda: Cancel delayed work during suspend

Register hda codec suspend callback which does
cancel_delayed_work_sync() during suspend

Bug 1266206

Change-Id: Ie3f17156ebf0f648f4db1cfa2bfb0081bd4b0ed7
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/217860
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarch: arm: tegra: Move DTV resources into mach
Adam Jiang [Mon, 8 Apr 2013 07:29:06 +0000]
arch: arm: tegra: Move DTV resources into mach

For management of the diversity on register definitions of DTV module,
move those definitions into mach/dtv.h.

fix Bug 1258577

Change-Id: I6d5ad063ba3ed44fb7ef6313f33946e261ad7f5b
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/217592
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarch: arm: Add DTV device for 11x chips
Adam Jiang [Mon, 8 Apr 2013 07:21:48 +0000]
arch: arm: Add DTV device for 11x chips

Add interrupt number, iomap and other resources for DTV devices which
should be enabled on 11x Tegra chips.

fix Bug 1258577

Change-Id: Id2344f5a52fbb7dd479882baf83169e0932dadcf
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/217591
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegratab: change platform data for ov5693
Jake Park [Mon, 8 Apr 2013 05:51:07 +0000]
arm: tegratab: change platform data for ov5693

Bug 1255103

Change the platform data to work ov5693 sensor properly.
1. Change vcm vdd regulator name
2. Change reset pin for ov5693
3. Move gpio_request/free from on/off to probe/release

Change-Id: If06d0e89608101310f26079af1b49752c29e646f
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/217257
GVS: Gerrit_Virtual_Submit
Reviewed-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Alvin Park <apark@nvidia.com>

6 years agoarm: tegra: free bootloader framebuffer correctly
wazhu [Mon, 8 Apr 2013 01:41:29 +0000]
arm: tegra: free bootloader framebuffer correctly

Release bootloader framebuffer back to kernel page allocator.

Bug 1265336

Change-Id: Ib7bee570d5d07e5a1344c10679c6ba813eb4f387
Signed-off-by: wazhu <wazhu@nvidia.com>
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/217170
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoRevert "xhci: tegra: WAR for utmipll in IDDQ mode"
joyw [Mon, 8 Apr 2013 02:45:07 +0000]
Revert "xhci: tegra: WAR for utmipll in IDDQ mode"

This reverts commit 3b3938ddab5560b1e80bb44ff24a1ce6513293bc.

Because usb3 and usb2 use the sharing api to do bias pad
control now, we can remove this workaround.

Bug 1255097

Change-Id: If52fb5ca072be8b1272a249e88d6dffc9685a6e9
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/217167
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Bharath Yadav <byadav@nvidia.com>
Reviewed-by: Henry Lin <henryl@nvidia.com>
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agomisc: nct1008: Add new suspend mode for Tegra LP1
Daniel Solomon [Thu, 4 Apr 2013 00:53:12 +0000]
misc: nct1008: Add new suspend mode for Tegra LP1

For Tegra devices, it is desirable to keep the NCT1008/72
device awake during some suspend states.

Add new "suspend mode" to support this feature, if
CONFIG_TEGRA_LP1_LOW_COREVOLTAGE is set. Required
parameters are passed in through board file data.

Bug 1261915

Change-Id: Ibae7e6a661d817c0cc514373b934665d68d063b7
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/216368
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: Add LP1 temp-based wakeup params
Daniel Solomon [Tue, 2 Apr 2013 22:55:44 +0000]
ARM: tegra: Add LP1 temp-based wakeup params

Add parameters to nct1008_pdata:
- suspend_ext_limit_hi/_lo: limits of allowed
temperature during suspend, outside of which an
interrupt is triggered
- suspend_with_wakeup: function pointer to check for
desired NCT suspend type. For Tegra, this function
returns true if suspend mode is LP1.

Currently this functionality is only added to Pluto.

Bug 1261915

Change-Id: I190721a42ee1e06961368f5c6f7274aa182fd49d
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/216366
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agomisc: nct1008: Add susupend wakeup params
Daniel Solomon [Tue, 2 Apr 2013 22:51:55 +0000]
misc: nct1008: Add susupend wakeup params

NCT1008/72 devices can be used to wake up the system
for certain thermal events. Add parameters to the platform
data to specify whether this wakeup functionality is
supported, and, if so, what temperature limits should
be used to trigger a wakeup.

Bug 1261915

Change-Id: I708805dafa1669c117e2d1ab7f22fe6afd3f3d8b
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/216365
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: beaver: no powermon device in beaver
Bibek Basu [Mon, 1 Apr 2013 07:04:21 +0000]
ARM: tegra: beaver: no powermon device in beaver

Beaver board does not have powermon, so registering for
those device adds to kernel console error logs and boot
time. This patch does not registers powermon devices for
beaver

Bug 1220745

Change-Id: Ie897d0704e05d40f41a473906752d26ef11364be
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/214958
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agommc: sdhci: Support MMC freq scaling governor
Pavan Kunapuli [Thu, 4 Apr 2013 12:19:28 +0000]
mmc: sdhci: Support MMC freq scaling governor

Added the functions to be used for determining the device frequency
when mmc frequency is enabled. An optional callback is added to be
used by the platform drivers for custom algorithms.

Bug 1238045
Bug 1044607

Change-Id: I6ef56ec4dbdf35da4deef1a09536b9f77a1b7a47
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/213619
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agommc: sdio: Register for device frequency scaling
Pavan Kunapuli [Thu, 4 Apr 2013 12:22:31 +0000]
mmc: sdio: Register for device frequency scaling

If CONFIG_MMC_FREQ_SCALING is enabled, register for device frequency
scaling.

Bug 1238045

Change-Id: I11bb807a4658246b18fa41b4e59c63271c5c00f0
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/213013
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agommc: core: Dynamic freq scaling for SD,MMC,SDIO
Pavan Kunapuli [Thu, 4 Apr 2013 12:15:52 +0000]
mmc: core: Dynamic freq scaling for SD,MMC,SDIO

Added support for dynamic frequency scaling of SD,MMC,SDIO devices.
The device is registered with devfreq framework after enumeration if
CONFIG_MMC_FREQ_SCALING is enabled.

MMC frequency governor is added to dynamically scale the frequency.
The governor doesn't use central polling but schedules a work to poll
the status of the device periodically. Optional callbacks are provided
to have custom algorithms for determining the frequency.

Bug 1238045
Bug 1044607

Change-Id: Ic7f5669c784afa759ad52bf8373011838a76c01c
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/213012
GVS: Gerrit_Virtual_Submit
Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoARM: tegra: power: Select LP1 low voltage with temperature
Alex Frid [Tue, 2 Apr 2013 04:38:38 +0000]
ARM: tegra: power: Select LP1 low voltage with temperature

Bug 1261915

Change-Id: I3bf1da45bb0ff7866e260228d56a44c0f79fce9a
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/215359
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: dvfs: Add dvfs rail thermal floor query
Alex Frid [Tue, 2 Apr 2013 04:37:12 +0000]
ARM: tegra: dvfs: Add dvfs rail thermal floor query

Bug 1261915

Change-Id: Ie53438687ab881610d34df1972d07de68e2df3b5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/215358
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>

6 years agoRevert "ARM: tegra: power: Disable pll secondary dividers in LP1"
Alex Frid [Mon, 8 Apr 2013 04:26:58 +0000]
Revert "ARM: tegra: power: Disable pll secondary dividers in LP1"

This reverts commit a04ec5397d24ab57d5eed38727dc8a3963c8b71a.
Testing for integration of this commit to main showed LP1 problems -
safer to revert until root-caused.

Change-Id: Ibacd97b01dbb6950bc916b0b9e53b535e6013678
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/217174
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: dvfs: Update CL-DVFS calibration
Alex Frid [Fri, 5 Apr 2013 04:56:22 +0000]
ARM: tegra: dvfs: Update CL-DVFS calibration

Changed CL-DVFS DVCO minimum rate calibration entry condition:
calibrate if the last requested rate is below minimum rate (instead
of indirect check for output skipper status and estimated voltage).

Increased calibration range.

Change-Id: I55d04141d6323b3719c7c8b6c34d4cd07cce5c21
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/217081
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Allow DFLL Vmin below dvfs table
Alex Frid [Sat, 6 Apr 2013 03:28:35 +0000]
ARM: tegra11: dvfs: Allow DFLL Vmin below dvfs table

DFLL Fmax@Vmin rate used to be determined as frequency at the point of
intersection between cpu V/F curve and DFLL Vmin. As such at least one
dvfs entry below and one dvfs entry above Vmin was required. Relaxed
this requirement to dvfs table: if all table entries are above Vmin,
just use minimum tabulated rate as DFLL Fmax@Vmin rate.

Change-Id: Id361bc7855981a9038054dfd792e7045242d275d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/217080
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agousb: gadget: tegra: Add mutex for sync
Krishna Yarlagadda [Thu, 4 Apr 2013 13:47:18 +0000]
usb: gadget: tegra: Add mutex for sync

vbus session is being called from different threads and
this can result in sync issues.
Added mutex lock to avoid this

Bug 1266998

Change-Id: I41384be63cfafed127c67e4a4ea0be69a0d98c49
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/216518
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: power: Add LP1 cold low voltage parameter
Daniel Solomon [Tue, 2 Apr 2013 18:44:17 +0000]
ARM: tegra: power: Add LP1 cold low voltage parameter

Currently, if CONFIG_TEGRA_LP1_LOW_COREVOLTAGE is enabled,
we decrease core voltage to a level specified via lp1_core_volt_low
in each platform's board file.

Add another level, lp1_core_volt_low_cold, which will be used if
there's a low temperature core voltage floor set during LP1 entry.
Only one voltage floor exists for T30 and T114, so only one additional
low voltage entry has been added.

Bug 1261915

Change-Id: I614a4176b0bf68d6607a104a980d38589ebd3046
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/216364
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agogpio: tegra: Add error handling for setting wakeup GPIOs
Daniel Solomon [Wed, 3 Apr 2013 21:45:47 +0000]
gpio: tegra: Add error handling for setting wakeup GPIOs

This allows setting wakeups in LP1 that are not available
in for LP0.

Bug 1261915

Change-Id: Ic8f7c07065c0eb53bb0564d022e36a172924451d
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/216363
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: pm: turn off VDEC partition in LP1
Mayuresh Kulkarni [Wed, 3 Apr 2013 10:42:51 +0000]
ARM: tegra: pm: turn off VDEC partition in LP1

- turn off VDEC partition while going into LP1, if it is
still powered; and turn it on while coming back from LP1,
if it was powergated during entry
- this ensures that VDEC parition is available to any device
driver that needs it after LP1 resume
- the LP0 path is un-touched

bug 1248779

Change-Id: If6fd97ef21bbc8acb2c6f26ac7723638403d0623
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/216099
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: dsi: Support sending frames at init
Kamal Kannan Balagopalan [Tue, 27 Nov 2012 21:54:33 +0000]
video: tegra: dsi: Support sending frames at init

Add support to send frames during DSI init sequence.

Bug 1260089

Change-Id: I28d0b87e0e551b88a51fefbc06180a5c83f4171e
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/166735
(cherry picked from commit c20fbe4008c14f15f304702dfd28495b4a1e0894)
Reviewed-on: http://git-master/r/213369
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: macallan: correct pinmux of vddio_hv bank
Hunk Lin [Mon, 25 Mar 2013 14:39:49 +0000]
arm: tegra: macallan: correct pinmux of vddio_hv bank

1) USB_VBUS_EN0 is unused in macallan.
2) SPDIF_IN should be an open drain enable of the regulator.
3) Set sleep pinmux to save power in LP0.

Bug 1255023

Change-Id: I0286cfb56e222c41f9c8ed8632d49be95b390d65
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/212673
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoRevert "ARM: tegra: common: get proper SKU"
Sri Krishna chowdary [Mon, 11 Mar 2013 08:39:51 +0000]
Revert "ARM: tegra: common: get proper SKU"

This reverts commit d4d5fdb79cbdc094d9a497c4a6a7e446ad753985.

Change-Id: I6711ba1f43df9c572a3103800cb760cf98e8910c
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/208002
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarch: arm: configs: tegra11_android_defconfig
Benjamin Lu [Tue, 2 Apr 2013 06:55:09 +0000]
arch: arm: configs: tegra11_android_defconfig

Enable HDMI-CEC support for T114

Bug 1258710

Change-Id: I530663a0f877875810ba259f922d3178d8d2f4b6
Signed-off-by: Benjamin Lu <benjaminl@nvidia.com>
Change-Id: I23fda127a432581cd3a4a1163c9225f13e324ad9
Reviewed-on: http://git-master/r/215398
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agomisc: cec: fix warnings
Benjamin Lu [Tue, 2 Apr 2013 06:51:57 +0000]
misc: cec: fix warnings

tegra_cec.c: fix warnings as compilation fails after enabling warning as
errors flag

Bug 1258710

Change-Id: Iecd3051d482f5a7488c9f95f6124ad39371f0bd9
Signed-off-by: Benjamin Lu <benjaminl@nvidia.com>
Change-Id: Iaafda4cd75c004a9e8bf566a82359e12394787fc
Reviewed-on: http://git-master/r/215397
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoTegra CEC Support
Ankit Pashiney [Tue, 2 Apr 2013 04:59:36 +0000]
Tegra CEC Support

Bug 1258710

Change-Id: Ie449d4b8a28388087b601a0332eb065488a32009
Signed-off-by: Ankit Pashiney <apashiney@nvidia.com>
Reviewed-on: http://git-master/r/215363
Reviewed-by: Benjamin Lu <benjaminl@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Benjamin Lu <benjaminl@nvidia.com>
Reviewed-by: Artiste Hsu <chhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: dts: Tegra114: disable all DT nodes by default
Joshua Cha [Fri, 25 Jan 2013 08:55:09 +0000]
ARM: dts: Tegra114: disable all DT nodes by default

Keep all nodes disabled by default. All devices including this
tegra114.dtsi file need to overwrite status property to enable
required nodes from device tree.

Change-Id: I7da7d26d85a9c07926a610d3a9f8d92114f91c3d
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/214980
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra114: DTS: add dt entry for all i2c controller
Laxman Dewangan [Thu, 24 Jan 2013 09:29:50 +0000]
ARM: tegra114: DTS: add dt entry for all i2c controller

Change-Id: Iee9378b855e4d70bac87de85bf2139d29ddc4c25
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/193717
(cherry picked from commit 75cbb132aae24cc32dc9e9f5669bca63188f2c04)
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/212873
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agoARM: tegra: Add Tegra114 host1x support
Mayuresh Kulkarni [Thu, 13 Dec 2012 10:39:26 +0000]
ARM: tegra: Add Tegra114 host1x support

bug 1041377

Change-Id: I2d8e377b4286c2ccb32edffb9125afcfc361a14a
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/170946
(cherry picked from commit 154b6e8d5933745f28404ae23fe69d13b0fba26e)
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/212872
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agoarm: dts: tegra114: add tegra_camera support
Pritesh Raithatha [Fri, 4 Jan 2013 07:11:37 +0000]
arm: dts: tegra114: add tegra_camera support

Bug 1173111

Change-Id: Ib76316b3cd028016d5e04c03d17f2c67460e3d9e
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/188609
(cherry picked from commit e99481c5261d2a2283b633819cf5c0f0d81f656c)
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/212871
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: dts: tegra114: add sdhci nodes with common properties
Pritesh Raithatha [Tue, 18 Dec 2012 12:23:25 +0000]
arm: dts: tegra114: add sdhci nodes with common properties

Bug 1173098

Change-Id: I479c77aea2da5247a2ef57a23010d4fc1cb42c0d
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173049
(cherry picked from commit b236d696b31699bb47dbb829f8d0379003329b67)
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/212870
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agoARM: dts: tegra: add device tree node for GPIO
Sri Krishna chowdary [Wed, 5 Dec 2012 16:28:33 +0000]
ARM: dts: tegra: add device tree node for GPIO

Bug 1171552

Change-Id: I851eb5903711272bc4d6c3c50eb016a2a56a71ad
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/162568
(cherry picked from commit 278133e0c9337f5838e38b90ede08ab2b688bac6)
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/212869
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agoARM: dt: tegra: add TWD to tegra114
Sri Krishna chowdary [Wed, 5 Dec 2012 12:46:06 +0000]
ARM: dt: tegra: add TWD to tegra114

This will allow timer.c to use arch_timer_of_register(), and
hence not need to hard-code the IRQ.

Bug 1173031

Change-Id: I5bd3dee8b15b4d4332e25e0dd05762c9b97ad883
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/167654
(cherry picked from commit 7fde8b774b7754f9acef805f249f4458cd800a21)
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/212868
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoRevert "Revert "ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on ASID-capable CPUs""
Bo Yan [Sat, 6 Apr 2013 02:11:15 +0000]
Revert "Revert "ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on ASID-capable CPUs""

This reverts commit 5d04ad58c35de6289072aad40cdc90abf8534faf.

Change-Id: I73c136e3b0c5e7eb329fe2264b95a003f77cae52
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/217077
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Tested-by: Joshua Widen <jwiden@nvidia.com>

6 years agoRevert "arm: errata: Workaround for Cortex-A15 erratum 798181 (TLBI/DSB operations)"
Bo Yan [Sat, 6 Apr 2013 02:10:26 +0000]
Revert "arm: errata: Workaround for Cortex-A15 erratum 798181 (TLBI/DSB operations)"

This reverts commit e11ccb30b44fc55ba0576f5082e5e17e9a1d1854.

Change-Id: Ic96a1b8629778470de0fea1df9bac950ab98bf1f
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/217076
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Tested-by: Joshua Widen <jwiden@nvidia.com>

6 years agoaudio: a2220: Handle probe failure
Vijay Mali [Thu, 4 Apr 2013 15:15:00 +0000]
audio: a2220: Handle probe failure

- Avoid unwanted i2c write calls if probe fails.
- Add seperate function for sending boot message.
- Reduce i2c retry count to 1.
- This ensures graceful exit in case of failure.
- Boot log does not show lot of i2c failure messages after the fix.

Bug 1263841

Change-Id: I8a5f4c335e42aea69647f50afc48494084967825
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/216528
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoarm: tegra: soctherm: Add critical trip to hwmon with callback
Diwakar Tundlam [Thu, 14 Mar 2013 22:33:21 +0000]
arm: tegra: soctherm: Add critical trip to hwmon with callback

Change-Id: I907debaa9ebfd8aa3f04cc6cdb50561803f5736d
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/215930
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agothermal: call correct function in crit_show
Diwakar Tundlam [Wed, 3 Apr 2013 00:53:08 +0000]
thermal: call correct function in crit_show

Change-Id: Ibd821693644d94445d90c50fa284f85bfd0178d1
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/215929
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>

6 years agoarch: arm: tegra: add CEC support
Benjamin Lu [Tue, 2 Apr 2013 06:38:40 +0000]
arch: arm: tegra: add CEC support

Modified board-dalmore.c for CEC support

Bug 1258710

Change-Id: I382b223b07c95da30e5d9b8686be3f5a7f400d05
Signed-off-by: Benjamin Lu <benjaminl@nvidia.com>
Reviewed-on: http://git-master/r/215396
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarch: arm: tegra: tegra11_clocks.c
Benjamin Lu [Tue, 2 Apr 2013 06:35:09 +0000]
arch: arm: tegra: tegra11_clocks.c

add clock to support CEC in T114

Bug 1258710

Change-Id: Iecb9b4e1449f3ef6d68b533ce9cc9177aad68e85
Signed-off-by: Benjamin Lu <benjaminl@nvidia.com>
Reviewed-on: http://git-master/r/215395
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoTegra: DC: Add hotplug detect callback
Graziano Misuraca [Mon, 1 Apr 2013 23:24:57 +0000]
Tegra: DC: Add hotplug detect callback

Add optional hotplug callback.

Bug 1237421

Change-Id: I865c94aede543918eeea34561e5d48fd28c739f9
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/215267
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agomedia: video: tegra: enable DT for ov5693
Jake Park [Thu, 28 Mar 2013 12:58:25 +0000]
media: video: tegra: enable DT for ov5693

Bug 1255103

Change-Id: I26acd27ae331343d0c8c8c1d6d5216ff45c07867
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/213972
Reviewed-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-by: Peter Kim <pekim@nvidia.com>
Reviewed-by: Alex Courbot <acourbot@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agomedia: video: tegra: enable DT for ad5823
Jake Park [Thu, 28 Mar 2013 12:40:25 +0000]
media: video: tegra: enable DT for ad5823

Bug 1255103

Change-Id: Iabc3dd93d71d5be9229393c7706d695ad56a0eb5
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/213971
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Courbot <acourbot@nvidia.com>
Reviewed-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agotegra114: add dummy intc to device tree
Alexandre Courbot [Fri, 15 Mar 2013 06:35:49 +0000]
tegra114: add dummy intc to device tree

Add node for the interrupt controller for platforms that want to use
the device tree. The node is disabled by default and needs to be enabled
by potential users.

Change-Id: I33b59d0e3e34eb37ed845853718ea5f14f2a8b42
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/213665
Reviewed-by: Joshua Cha <joshuac@nvidia.com>
Tested-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agotegra: gic: add device tree support
Alexandre Courbot [Wed, 13 Mar 2013 11:00:22 +0000]
tegra: gic: add device tree support

Make it possible to instanciate the gic from the device tree. Boards
that desire to do so *must* have an active interrupt controller node and
use the tegra_dt_init_irq function instead of tegra_init_irq.

Based on commit 6aa37d86db18b1c909fd517efdd866c429c54721.

Change-Id: I1dbb602fe7fe784527f99057ed430660f7602092
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/213663
Reviewed-by: Joshua Cha <joshuac@nvidia.com>
Tested-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: tegratab: update vbus extcon dev name
Harry Hong [Fri, 5 Apr 2013 05:00:24 +0000]
ARM: tegra: tegratab: update vbus extcon dev name

Bug 1262180

Change-Id: Ifed12123e1055d0d77af1097da580413f659b13c
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/216775
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoarm: tegra: soctherm: Modify support configuring OC alarms
Diwakar Tundlam [Tue, 2 Apr 2013 22:34:46 +0000]
arm: tegra: soctherm: Modify support configuring OC alarms

Don't enable OC2 for Pluto until board issues are ironed out.

Bug 1265498

Change-Id: I7c4e83525cef3b34855be86bb2257c53ab191b4f
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/216684
Reviewed-by: Samuel Russell <samuelr@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Tested-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agousb: xhci: enable pad power down in os idle
Joy Wang [Thu, 4 Apr 2013 09:29:59 +0000]
usb: xhci: enable pad power down in os idle

power down usb2 pads when usb bus is idle using
common api provided for utmip bias pads and iddq

Change-Id: I1d79ab680cf7522757bd62b438de8e5100d3194c
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/216516
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoUSB: xhci: use common api for iddq override
Krishna Yarlagadda [Thu, 4 Apr 2013 06:13:14 +0000]
USB: xhci: use common api for iddq override

IDDQ override in common pad control space to
be used for avoiding conflicts with usb2.0 code

Bug 1225060
Bug 1259851

Change-Id: Id55ea64a4d3b59112c650b705eab3433631e256d
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/216409
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoArm: tegra: usb: reset IDDQ upon resume
Krishna Yarlagadda [Mon, 25 Mar 2013 07:04:36 +0000]
Arm: tegra: usb: reset IDDQ upon resume

IDDQ mode has to be reset when resuming from lp0
or bus resume

Bug 1225060

Change-Id: I31b775d6778f9ab4646c65820e558606097a1b34
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/212532
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: Tegra: Dalmore: Increase GMA drive up strength
Graziano Misuraca [Mon, 18 Mar 2013 21:40:16 +0000]
ARM: Tegra: Dalmore: Increase GMA drive up strength

Increase GMA drive pull strength from 0x1 to 0x2

Bug 1172577

Change-Id: I03bebc0a462f3687518787bcda6836a33cbdb92f
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/210497
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: Tegra: Dalmore: Fix Shifting in dalmore_wakeup_key
Graziano Misuraca [Thu, 14 Mar 2013 22:07:23 +0000]
ARM: Tegra: Dalmore: Fix Shifting in dalmore_wakeup_key

The correct wakes were not being detected due to an issue
in shifting by values greater than 32.

dalmore_wakeup_key will now correctly determine which GPIO
caused the WAKE.

Bug 1248964

Change-Id: Ib5f4482d6eba863c6ca71ba637832677c195177a
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/209705
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoinput: gpio_keys: Send Wake Values Based on Key
Matt Wagner [Fri, 8 Mar 2013 04:54:42 +0000]
input: gpio_keys: Send Wake Values Based on Key

SW_LID sends a 0 to wake instead of a 1, so we modify
the report_wake function to match this.

Bug 1248861

Change-Id: Ia59d5f2b794b14255212b3fada89efea21d5cdac
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/209702
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Graziano Misuraca <gmisuraca@nvidia.com>
Tested-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: tegra: pluto: enable id detection using pmu
Rakesh Bodla [Tue, 26 Mar 2013 09:55:39 +0000]
ARM: tegra: pluto: enable id detection using pmu

Enable id detection using PMU ID interrupt.

Bug 1227226

Change-Id: Ibb65f1f76fc90062414b015efa65bffdd52c52a7
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/208407
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agomfd: palmas: add USB VBUS LP0 wakeup option
Lucas Dai [Mon, 25 Mar 2013 23:31:25 +0000]
mfd: palmas: add USB VBUS LP0 wakeup option

Currently we are using the Palmas to handle VBUS detection and wake up
AP using Palmas's IRQ line as wakeup source. We can also wakeup the AP
directly from USB VBUS line if enable the AP's VBUS input controlled by
ldousb regulator.

bug 1239645

Change-Id: I412c8a9f5488d9553049dc09ce74f8f927709290
Signed-off-by: Lucas Dai <lucasd@nvidia.com>
Reviewed-on: http://git-master/r/205897
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agovideo: tegra: host: fix deadlock in pod_scaling
Ilan Aelion [Thu, 4 Apr 2013 19:59:08 +0000]
video: tegra: host: fix deadlock in pod_scaling

podgov_set_user_ctl to call cancel_work_sync after relinquishing lock.

Bug 1266380

Change-Id: I52ba57cfedca7d861e34810a933297790202fadc
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/216625
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

6 years agosecurity: tf_driver: integrate latest TL release
Hyung Taek Ryoo [Tue, 2 Apr 2013 00:20:25 +0000]
security: tf_driver: integrate latest TL release

Tegra4 version: TF_TEGRA4_AC02.08.40475

1. This version improves TF time to go to sleep for secure cores (~20%)
and wake up time both for secure (~25%) and non-secure (~50%) cores.
2. Apply missing arm errata for A15.

Bug 1198125

Change-Id: Id9ca47a4a584ebab63d2ce9811de94b97aebdce8
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/216565
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoregulator: palmas: fix build warnings
Laxman Dewangan [Thu, 4 Apr 2013 09:07:37 +0000]
regulator: palmas: fix build warnings

Fix following build warnings:

drivers/regulator/palmas-regulator.c: In function 'palmas_disable_smps10_boost':
drivers/regulator/palmas-regulator.c:1035:6: warning: unused variable 'i' [-Wunused-variable]
drivers/regulator/palmas-regulator.c:1032:15: warning: unused variable 'reg' [-Wunused-variable]
drivers/regulator/palmas-regulator.c: In function 'palmas_enable_smps10_boost':
drivers/regulator/palmas-regulator.c:1052:6: warning: unused variable 'i' [-Wunused-variable]
drivers/regulator/palmas-regulator.c: In function 'palmas_enable_ldo8_track':
drivers/regulator/palmas-regulator.c:1077:6: warning: unused variable 'i' [-Wunused-variable]

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

6 years agoARM: tegra: power: Disable pll secondary dividers in LP1
Alex Frid [Thu, 4 Apr 2013 05:32:52 +0000]
ARM: tegra: power: Disable pll secondary dividers in LP1

Change-Id: I6ab85b72690994152b0bb3fafba8589baf6cf542
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/216375
GVS: Gerrit_Virtual_Submit
Reviewed-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agovideo: tegra: hdmi: serialize hotplug processing
Rakesh Iyer [Thu, 4 Apr 2013 00:23:51 +0000]
video: tegra: hdmi: serialize hotplug processing

Serialize HDMI hot plug processing to handle boot init and spurious hotplugs.

Bug 1254317.

Change-Id: I7a695033eea659500c7b73da321ec3345084fa97
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/216321
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agousb: otg: tegra: mask interrupt status value
Rakesh Bodla [Wed, 3 Apr 2013 12:19:03 +0000]
usb: otg: tegra: mask interrupt status value

ID and VBUS detection can happen through different ways.
Masking the interrupt status based on type of interrupts
enabled in USB controller for correct interrupt status.

Bug 1227226

Change-Id: Ibd5acfacabf78681ff54dcc721879f2935b5f836
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/216129
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: soctherm: Modify support configuring OC alarms
Diwakar Tundlam [Tue, 2 Apr 2013 22:34:46 +0000]
arm: tegra: soctherm: Modify support configuring OC alarms

Don't enable OC2 and OC4 handling for Dalmore as it has neither a
modem (for OC2 handling) nor a max77663 regulator (for OC4 handling)

Bug 1206300

Change-Id: I3e7955af2d180c56790b1e6cb559a3503eac3af7
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/215718
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>

6 years agoARM: tegra11: dvfs: Update sdmmc dvfs tables
Alex Frid [Tue, 2 Apr 2013 06:44:51 +0000]
ARM: tegra11: dvfs: Update sdmmc dvfs tables

Change-Id: I579627950d5f06c6dd97807a5fd9d0a62c0443f9
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/215400
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: tegratab: Add TegraTab board defconfig
Joshua Cha [Mon, 25 Mar 2013 01:26:23 +0000]
ARM: tegra: tegratab: Add TegraTab board defconfig

We need TegraTab specific kernel config for production level.
CONFIG_USB_OTG_WAKELOCK is also defined for preventing adb
from being disconnected due to entering suspend.

Bug 1262450
Bug 1262648

Change-Id: Ia054859fec16aee768aafd76316993d64a56ae3a
Reviewed-on: http://git-master/r/212437
(cherry picked from commit 7f253589e6d2eb27fb3e8fdd43c564bec74a7ece)
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/216456
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: tegratab: 7" LGD panel
Min-wuk Lee [Tue, 19 Mar 2013 06:38:52 +0000]
arm: tegra: tegratab: 7" LGD panel

tegratab 7" LGD panel code is prepared.

Bug 1262450
Bug 1262648
Bug 1234973

Change-Id: I2fdb43f09f5e738ef86f16dfaccf3ab78d83f13e
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/210623
(cherry picked from commit 8923bd91acc486eb2c56e9aab685dcc797ad4e6d)
Reviewed-on: http://git-master/r/216455
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomfd: max77665: use regmap irq for interrupt support
Laxman Dewangan [Wed, 3 Apr 2013 12:39:55 +0000]
mfd: max77665: use regmap irq for interrupt support

Add regmap irq framework for interrupt support. This will
reduce the code size in mfd driver for implementing the
interrupt support and duplicating code.

Change-Id: Iabe4abf9047269ccd7add2fd361663b8297a3804
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/216136
GVS: Gerrit_Virtual_Submit

6 years agoARM: mach-tegra: Fix vm_insert_pfn() return value
Arto Merilainen [Mon, 11 Mar 2013 10:59:00 +0000]
ARM: mach-tegra: Fix vm_insert_pfn() return value

tegra_iovmm_vm_insert_pfn() returned 1 (true) instead of a valid
error code. This change converts the function to return -ENOMEM
in error cases.

Bug 1246095
Bug 1263718

Change-Id: I58b7475345361ae7a9dd260ce25eebbb05d88ad0
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/208050
(cherry picked from commit fad248c6c53f620057a920c7cfb2e6f9d00ff67b)
Reviewed-on: http://git-master/r/215998
Tested-by: Sandeep Shinde <sashinde@nvidia.com>
Reviewed-by: Sandeep Shinde <sashinde@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarch: arm: tegratab: add tegratab support
Jake Park [Tue, 2 Apr 2013 08:36:10 +0000]
arch: arm: tegratab: add tegratab support

Create initial board files for Tegratab

bug 1262450
bug 1262648

Change-Id: Ic1049e8be7c77f7f41f8db6ddc3f6643e1dd6914
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/215438
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra3: config:Remove INV_MPU and INV_AK8975
Arun Mohare [Tue, 2 Apr 2013 00:07:30 +0000]
arm: tegra3: config:Remove INV_MPU and INV_AK8975

Message "i2c transfer timed out,addr 0x0068,data"
seen with these options turned on

Change-Id: I3c863e25659d9c14c62b2f2f9d55adcc7db496a7

Signed-off-by: Arun Mohare <arg@nvidia.com>
Change-Id: Ic44dc748a25a9f843f4fa4f60db4c8f407482de7
Reviewed-on: http://git-master/r/215714
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoARM: tegra11: defconfig: Enable OTG wakelock
Rakesh Bodla [Fri, 29 Mar 2013 16:03:24 +0000]
ARM: tegra11: defconfig: Enable OTG wakelock

Enabling otg wakelock.

Bug 1262358

Change-Id: Iaec5fcf1a3ee6983b41c53dbc9807d2a12d6fc97
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/214567
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: macallan: update vbus extcon dev name
Rakesh Bodla [Thu, 28 Mar 2013 14:28:20 +0000]
ARM: tegra: macallan: update vbus extcon dev name

Bug 1262180

Change-Id: I0be93d6435c26ae70b5fe239a86edf43c5c11480
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/214006
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agousb: otg: tegra: seperate extcon dev for id, vbus
Rakesh Bodla [Thu, 28 Mar 2013 14:25:51 +0000]
usb: otg: tegra: seperate extcon dev for id, vbus

Use seperate extcon dev for id and vbus.
Platforms can use different pmu for each
detection.

Bug 1262180

Change-Id: I58dcfd4b822089049197855b8241f6f362768243
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/214005
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agousb: tegra: add id extcon dev name
Rakesh Bodla [Thu, 28 Mar 2013 14:23:40 +0000]
usb: tegra: add id extcon dev name

Adding id extcon dev name.

Bug 1262180

Change-Id: I9b63e6172856df7a13cfcc8c131fef78e03dfb71
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/214004
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoextcon: max77665: fix supported cable name
Mallikarjun Kasoju [Wed, 3 Apr 2013 11:05:13 +0000]
extcon: max77665: fix supported cable name

Supported cable name array index was wrong. Corrected it.

bug 1227226

Change-Id: I971f3ebe25ab8dc81bbe2a12970dcad8f5d2a95d
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/216103
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agonohz: stat: Fix CPU iowait time accounting
Bo Yan [Tue, 2 Apr 2013 17:44:52 +0000]
nohz: stat: Fix CPU iowait time accounting

Since cpustat[CPUTIME_IOWAIT] is never connected to
ts->iowait_sleeptime, never read from cpustat[CPUTIME_IOWAIT] when
reporting stats in /proc/stat.

Note this was rejected by Michal Hocko when it was initially proposed
by Martin Schwidefsky in LKML, so if you want to upstream it, better
find an alternative (either completely disable cpustat[CPUTIME_IOWAIT]
for CONFIG_NO_HZ or somehow connect them to keep them in sync.)

bug 1190321

Change-Id: Iee057315f871a5b99e3647494d3e4095e0c9680f
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/215620
Reviewed-by: Liang Cheng (SW) <licheng@nvidia.com>
Tested-by: Liang Cheng (SW) <licheng@nvidia.com>

6 years agosched: remove redundant update_runtime notifier
Neil Zhang [Fri, 28 Dec 2012 10:00:26 +0000]
sched: remove redundant update_runtime notifier

migration_call() will do all the things that update_runtime() does.
So it seems update_runtime() is a redundant notifier, remove it.

Furthermore, there is potential risk that the current code will catch
BUG_ON at line 687 of rt.c when do cpu hotplug while there are realtime
threads running because of enable runtime twice.

Change-Id: I0fdad8d5a1cebb845d3f308b205dbd6517c3e4de
Cc: bitbucket@online.de
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Reviewed-on: http://git-master/r/215596
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Paul Walmsley <pwalmsley@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: nvmap: Fix rewinding crash
Hiroshi Doyu [Fri, 22 Mar 2013 11:03:28 +0000]
video: tegra: nvmap: Fix rewinding crash

Change unsigned int to int for rewinding at error.

bug 1246095
bug 1263718

Change-Id: I5a2e1a6f02f61681a70acf28ded315ffde9c1b86
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/212081
(cherry picked from commit 5bd491fb4753d13d434387aba1f11f19293efab7)
Reviewed-on: http://git-master/r/215469
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>

6 years agovideo: tegra: nvmap: Unpin memory on errors
Arto Merilainen [Mon, 11 Mar 2013 11:07:43 +0000]
video: tegra: nvmap: Unpin memory on errors

This patch adds a missing handle_unpin() calls to nvmap_pin_array()
error paths.

Bug 1246095
Bug 1263718

Change-Id: Iee1f76b8d5357a01dd823a06680da23a8365f3b1
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/208051
(cherry picked from commit b575aeb627d828f639d81f63f8069e1b11dcc5fe)
Reviewed-on: http://git-master/r/215468
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>

6 years agovideo: tegra: nvmap: Unpin memory on errors
Hiroshi Doyu [Fri, 15 Mar 2013 12:50:50 +0000]
video: tegra: nvmap: Unpin memory on errors

This patch adds a missing handle_unpin() calls to nvmap_pin_ids() and
_nvmap_pin() error paths.

Bug 1246095
Bug 1263718

Change-Id: I6b8e632aa8d90f2436cfbaad8015e11527c6da83
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/210009
(cherry picked from commit 68e43a5aa350eff1c66f0020fbdd189f085cce58)
Reviewed-on: http://git-master/r/215467
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>

6 years agovideo: tegra: nvmap: Check if map_iovmm_area succeeds or not
Hiroshi Doyu [Tue, 26 Feb 2013 11:23:41 +0000]
video: tegra: nvmap: Check if map_iovmm_area succeeds or not

Check if mapping succeeds or not and return err if any for client to retry.

bug 1235233
bug 1263718

Change-Id: I1f3b8432e0459c6cb7ae7d265d635e3037040414
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/204173
(cherry picked from commit 6cf340b30cc5579bab9d9c0f8b9114b75caa0266)
Reviewed-on: http://git-master/r/215466
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>

6 years agocommon: DMA-mapping: add DMA_ATTR_SKIP_FREE_IOVA attribute
Hiroshi Doyu [Wed, 27 Feb 2013 07:40:39 +0000]
common: DMA-mapping: add DMA_ATTR_SKIP_FREE_IOVA attribute

This patch adds DMA_ATTR_SKIP_CPU_SYNC attribute to the DMA-mapping
subsystem.

This is the counter part of map_page_at() which just maps the
pre-allocate iova to a page. With this attribute, unmap_page() unmap
the link between iova and a page, leaving iova allocated.

bug 1235233
bug 1263718

Change-Id: Id5535b73e0ca212a045dd0b0ff57de8432e7cf13
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/204468
(cherry picked from commit 77374aee027c51c4e887eaaa3e6b8540f9f6ea87)
Reviewed-on: http://git-master/r/215465
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Sandeep Shinde <sashinde@nvidia.com>