5 years agoARM: tegra: add gpu rail-gate framework for t124
Jin Qian [Mon, 6 May 2013 20:03:43 +0000]
ARM: tegra: add gpu rail-gate framework for t124

Use powergating framework to implement gpu railgating.
Use 3d partition id for gpu since 3d doesn't exist on t124.
Add dummy entry for calling gpu regulator to turn rail on/off.

Change-Id: I5dfb8ec395811071b6d4b2733e1697373afc78ea
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/225891
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agotegra: mc: fix logging format for mc error
Xue Dong [Wed, 15 May 2013 20:32:27 +0000]
tegra: mc: fix logging format for mc error

bug 1201552

Change-Id: I5a628bdb5375756470c90b4d24454c34eda45c56
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/229020
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: host: update headers to FPGA CORE27
Jin Qian [Fri, 17 May 2013 23:20:28 +0000]
video: tegra: host: update headers to FPGA CORE27

CL# 19539834 w/o gk20a and w/o msenc ip

Change-Id: I11daf747ec83af463bac038758f6c03e78a2b8db
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/225966
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agodrivers: mmc: init voltages array with UINT_MAX
Peng Du [Fri, 17 May 2013 18:44:13 +0000]
drivers: mmc: init voltages array with UINT_MAX

Change-Id: I35b61e63a3c4374e2628f2fbe4fa8f3ce59ddbc5
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/229969
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarch: arm: ardbeg: power regulator for vi
Amit Arora [Wed, 8 May 2013 07:51:39 +0000]
arch: arm: ardbeg: power regulator for vi

Add power regulator for vi to fix LP0 issue.

Bug 1284096

Change-Id: Ie9138a655041e0659a5cff91df6c09e4fbd7351d
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/226592
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarch: arm: enable usb power rails
Mitch Luban [Tue, 7 May 2013 08:13:57 +0000]
arch: arm: enable usb power rails

Enable power rails required for USB.

Bug 1271873

Change-Id: I7cbc12cc72129712f45bb4b846d4910ecef38a06
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/229736
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: ardbeg: add platform data for usb
Rohith Seelaboyina [Fri, 19 Apr 2013 11:09:29 +0000]
ARM: tegra: ardbeg: add platform data for usb

add platform data for usb instances on ardbeg

Bug 1271873

Change-Id: Ib5dfa7aff25a95da137d7ff429651da3b581f42c
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/229735
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarch: arm: ardbeg: update ardbeg t114 pinmux settings
Mitch Luban [Wed, 8 May 2013 22:27:18 +0000]
arch: arm: ardbeg: update ardbeg t114 pinmux settings

Use syseng pinmux settings

Bug 1257423

Change-Id: Iabe5f4474ebeadd967125836e583e3a21d58f5a9
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/229734
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarch: arm: ardbeg: interposer bringup
Mitch Luban [Sat, 27 Apr 2013 22:54:53 +0000]
arch: arm: ardbeg: interposer bringup

Allows kernel to boot on ardbeg interposer

Bug 1257423

Change-Id: I621541e6963e688d659ec99444d6744b0e6bab68
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/229732
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: Add Tegra12 specific fixup table
Terje Bergstrom [Fri, 3 May 2013 05:17:08 +0000]
ARM: tegra: Add Tegra12 specific fixup table

Tegra12 has some MC client changes that prevents using the same fixup
table for it and older chips.

Bug 1201552

Change-Id: I246c64013f7e9eb08ebe2b2179040a001651099c
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/225119
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoiommu/tegra: smmu: Implement changes in T124 SMMU
Terje Bergstrom [Sat, 27 Apr 2013 05:34:39 +0000]
iommu/tegra: smmu: Implement changes in T124 SMMU

T124 SMMU has some register incompatible changes. Most notable is the
TLB FLUSH ASID field which has moved and a new translation register has
been added.

Bug 1201552

Change-Id: If955a8098afb7beb00cde016e1ba755a747d1026
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/223709
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agovideo: tegra: host: Do not loop in gk20a isr
Terje Bergstrom [Fri, 17 May 2013 10:52:01 +0000]
video: tegra: host: Do not loop in gk20a isr

gk20a isr looped three times for every asserted interrupt. This
causes hardware to crash, so remove the iteration. Any remaining
interrupts will just reassert and will be handled in next isr.

Bug 1174509

Change-Id: I33798249568d802469dd6c92bc9f6eab2e06136f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/229767
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agovideo: tegra: host: Recover from illegal class
Terje Bergstrom [Wed, 15 May 2013 10:34:36 +0000]
video: tegra: host: Recover from illegal class

Recover from an illegal class interrupt in gk20a.

Bug 1174509

Change-Id: If61500545ab832c9d618c2db6d5db9eadacfc8bd
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/228825
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agovideo: tegra: host: Recover from gk20a MMU fault
Terje Bergstrom [Wed, 15 May 2013 08:05:39 +0000]
video: tegra: host: Recover from gk20a MMU fault

On MMU fault, reset the faulting engine and channel.

Bug 1174509

Change-Id: I8164668511a587e1339ae165e67f8dfa271d1574
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/228749
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agovideo: tegra: host: Add finish param to ch free
Terje Bergstrom [Wed, 15 May 2013 07:59:12 +0000]
video: tegra: host: Add finish param to ch free

Add finish parameter to channel free. This allows closing the channel
without doing the wait for last fence.

Also sets the channel sync point to maximum at close.

Bug 1174509

Change-Id: Ibbd0e90aa62a5ff09e4e4899ab5048bbbcb95f25
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/228748
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agovideo: tegra: host: Allow setting syncpt min to max
Terje Bergstrom [Wed, 15 May 2013 07:55:23 +0000]
video: tegra: host: Allow setting syncpt min to max

Add function to set sync point current value to maximum. This
effectively idles the sync point as there are no pending increments. It
should be used only in cases where we know the respective channel is
idle.

Bug 1174509

Change-Id: Ic054c243c111613ad2e142b04e766e7c727e9407
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/228747
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoPM/domains: Fix delayed power off dependency
Terje Bergstrom [Tue, 23 Apr 2013 15:29:02 +0000]
PM/domains: Fix delayed power off dependency

Delayed power off needs to depend both on PM_SLEEP and PM_RUNTIME.

Change-Id: Ibecb5a9376713a05386585659f79dcd959492613
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/222111
Reviewed-on: http://git-master/r/230164
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agovideo: tegra: host: use always on governor if can_powergate = false
Mayuresh Kulkarni [Tue, 14 May 2013 12:36:54 +0000]
video: tegra: host: use always on governor if can_powergate = false

- when power gating is disabled, use the always on
governor of pm domain
- this ensures that, pm domain core doesn't call power_off
on this domain

bug 1284251

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

5 years agoARM: tegra: ardbeg t12x build error fix
Bitan Biswas [Fri, 17 May 2013 15:32:16 +0000]
ARM: tegra: ardbeg t12x build error fix

Changes fix ardbeg t12x build errors as follows:
 - ardbeg t12x pinmux macro errors
 - missing sound t12x pinmux header
 - gpu process id undefined error
 - corrects index for tegra GPIO pin FF7 in gpio header

bug 1291630

Change-Id: Ie9ecd9a3406604f4f6b92880010198e6c0c16fc7
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/229819
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra: t124: update pinmux LP0 entry/exit sequence
Ashwini Ghuge [Mon, 20 May 2013 08:39:54 +0000]
ARM: tegra: t124: update pinmux LP0 entry/exit sequence

Updated pinmux LP0 entry/exit sequence to fix
pad glitches and clear DPD_SAMPLE immediately
after pinmux restoration on LP0 exit

Bug 1202456

Change-Id: I8488642db1dccf43ce26742a9716f2d3f4fc9c65
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/227065
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: ardbeg: enable LDO5 tracking mode
Mallikarjun Kasoju [Mon, 13 May 2013 19:20:26 +0000]
ARM: tegra: ardbeg: enable LDO5 tracking mode

Enable LDO5 tracking with SMPS12

Change-Id: I08c48256416f8cd601ec51f47362bd2859cd3f6e
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/227996
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: pcie: T124: Add hotplug support
Jay Agarwal [Fri, 17 May 2013 17:17:33 +0000]
arm: tegra: pcie: T124: Add hotplug support

1. Set override bits in PRSNT MAP register based
on endpoint presence on pcie slots.
2. Added FPGA phy init call in resume path.
3. Corrected root bus init in only cold boot
path not in resume.
4. Correct power down sequece by turning of PCIe
PME for all controllers.

Bug 1263790
Bug 1264810

Change-Id: Iae8e60378f139343c5782380f16786d60ca75c1e
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/223400
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: T124: extend suport upto GPIO port FF
Ashwini Ghuge [Fri, 17 May 2013 11:34:00 +0000]
ARM: tegra: T124: extend suport upto GPIO port FF

Extend gpio pins upto port FF for T124

Change-Id: I98cf814494375b064a322b01ae4a47957cb639c6
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/228395
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoRevert "Revert "arch: arm: ardbeg: route KEY_MUTE to rotate lock""
Mitch Luban [Mon, 6 May 2013 19:59:59 +0000]
Revert "Revert "arch: arm: ardbeg: route KEY_MUTE to rotate lock""

This reverts commit 03762078064907db7740a9dd09fac1641512d2e2.

Change-Id: I3adf9d71b6df7ca75076d3829692e117a2e4f4fe
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/225807
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: ardbeg: enable clk32K from PMIC
Mallikarjun Kasoju [Wed, 15 May 2013 13:21:03 +0000]
ARM: tegra: ardbeg: enable clk32K from PMIC

Enable clk32 from palmas PMIC

bug 1259655

Change-Id: I437ce233a1736ac7894c3d00072957b8b5c45fe1
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/228888
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: t12x wake table update
Bitan Biswas [Fri, 17 May 2013 17:57:49 +0000]
ARM: tegra: t12x wake table update

bug 1176069

Change-Id: If8237f4a135da1ad1b7f75131c8ab2df6961126a
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/229846
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: INT_THERMAL added for t12x
Bitan Biswas [Fri, 17 May 2013 17:50:03 +0000]
ARM: tegra: INT_THERMAL added for t12x

bug 1176069

Change-Id: I94d6c9999aee907685c4c36fd685e4a73476d899
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/229844
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: pcie: Fix interrupt message display
Jay Agarwal [Tue, 14 May 2013 06:11:28 +0000]
ARM: tegra: pcie: Fix interrupt message display

Corrected the interrupt messages array to display
right log for right interrupt code.

Change-Id: I89f862e3d2f0779c26332b7e2b918892b4432f65
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/228256
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Thota <kthota@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: ardbeg: add comms entries in power tree
Mallikarjun Kasoju [Wed, 15 May 2013 13:28:31 +0000]
ARM: tegra: ardbeg: add comms entries in power tree

bug 1259655

Change-Id: I70a69033398076ceefe6d5b9a940cb83a90ccf36
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/228891
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: t124: dtb for ardbeg
Mitch Luban [Wed, 3 Apr 2013 00:14:04 +0000]
arm: tegra: t124: dtb for ardbeg

Bug 1257423

Change-Id: I7afa1c40d7d4483d27336f0a0ddcd2241887e20e
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/215747
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/229445
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agohost: HACK: Always include t148 defintions for gr3d
Chao Xu [Wed, 15 May 2013 01:34:53 +0000]
host: HACK: Always include t148 defintions for gr3d

gr3d.c hardcoded t148 related structure in the code, which caused problem if t11x
or early chip is built. Add this hack to workaround the problem for now.

Change-Id: Ic66446b02f4478acec3a5d1a72a7c570f36ea967
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/229424
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agohost: Limit t148 function definitions with ifdefs
Chao Xu [Wed, 15 May 2013 00:11:07 +0000]
host: Limit t148 function definitions with ifdefs

Function nvhost_init_t148_support is also defined in chip_support.h with different
prototype. Need this ifdef to avoid conflict because gr3d.c includes both files.

Change-Id: If5cb11bf4afe55972dec7ff3b3dd83eda3e00e9c
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/229423
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: (merge fixup) Move declaration to appropriate ifdef
Chao Xu [Mon, 13 May 2013 22:06:34 +0000]
ARM: (merge fixup) Move declaration to appropriate ifdef

Change-Id: I6db10ae9ade2bc82b88bfd9f18f6813583aa82d5
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/229421
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: (merge fixup) Update macros and functions
Chao Xu [Sun, 12 May 2013 18:25:10 +0000]
ARM: (merge fixup) Update macros and functions

Change-Id: Ia84103f3ef9f5c1398995300da4a3e7d830fda1b
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/229418
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM64 changes part 2
Alex Van Brunt [Thu, 16 May 2013 22:21:50 +0000]
ARM64 changes part 2

was originally merge:

commit 71fe5f8dadd17f8dd2d19608edcd7faa129afc37
  Merge remote-tracking branch 'origin/android-tegra-nv-3.8' into sifted

Change-Id: I471b344fb3161ca1edf8231dd511f61fc5313fa4
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: add variable definitions (merge fixup)
Chao Xu [Thu, 9 May 2013 18:21:41 +0000]
ARM: add variable definitions (merge fixup)

Change-Id: I839d7437251d1191db1789f3e584515e92f7ab8c
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/229415
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: Fix INVALID value to avoid -1 array index
Chao Xu [Thu, 9 May 2013 18:17:25 +0000]
ARM: Fix INVALID value to avoid -1 array index

Merge fixup.

Change-Id: I1d2eb6fdb912470f023768988a74727ce3757918
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/229414
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agomach: (merge fixup) HACK: remove spi unit for bonaire for now
Chao Xu [Thu, 9 May 2013 18:11:34 +0000]
mach: (merge fixup) HACK: remove spi unit for bonaire for now

The code needs to rewrite as the original spi data structure changed completely.

Change-Id: I18215743a3455c422b8b56ab53e93ba9d78fc93c
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/229413
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra: gk20a: use counter #6 for perfmon base count
Jin Qian [Fri, 3 May 2013 18:56:24 +0000]
video: tegra: gk20a: use counter #6 for perfmon base count

counter #7 is used by Idle_Slowdown_on_Boot

Change-Id: Ic2e17ab6e1b551c0117b8d2dc97b5de9cc93f305
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/225376
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: config: support for laguna and ardbeg
Bibek Basu [Mon, 6 May 2013 04:31:58 +0000]
ARM: tegra: config: support for laguna and ardbeg

add support for ardbeg and laguna interposer
in tegra11_defconfig

Bug 1275005

Change-Id: I4d6caa3d25a6e0ce6f75d61f138b674aca1f9907
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/225554
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/225772
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra: configs: t114 support for laguna
Bibek Basu [Mon, 6 May 2013 04:04:51 +0000]
ARM: tegra: configs: t114 support for laguna

Add support for laguna interposer in t114

Bug 1275005

Change-Id: I6572fdadcd855af84af4c5a33d5d29e66fc0bd94
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/225552
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/225770
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm: tegra: laguna: add initial board file
Bibek Basu [Fri, 19 Apr 2013 05:17:23 +0000]
arm: tegra: laguna: add initial board file

Adding basic board file for laguna.

Bug 1275005

Change-Id: I74708c96de4c84595466729a20ffe16b4ba9682f
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/220915
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/225769
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm: configs: add t12x defconfig for laguna
Jeetesh Burman [Tue, 23 Apr 2013 11:58:09 +0000]
arm: configs: add t12x defconfig for laguna

tegra12_android_defconfig for T124 based boards.

Bug 1275005

Change-Id: I62bdd4f9f45e902d480404a2821d2be0749cd240
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/222069
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/225766
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm: tegra: dtb for laguna and laguna interposer
Bibek Basu [Fri, 19 Apr 2013 05:23:10 +0000]
arm: tegra: dtb for laguna and laguna interposer

Bug 1275055

Change-Id: I236be7f318efd0fa5517a3c7abd7fea0f836fca9
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/220916
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/225765
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm: tegra: add MACH_LAGUNA to Kconfig
Bibek Basu [Fri, 19 Apr 2013 05:39:08 +0000]
arm: tegra: add MACH_LAGUNA to Kconfig

Bug 1275005

Change-Id: I45256a416f3feffe56acf298cdf0571351d28026
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/220917
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/225764
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm: tegra: dts: update for ardbeg interposer board
Seema Khowala [Fri, 26 Apr 2013 22:58:22 +0000]
arm: tegra: dts: update for ardbeg interposer board

Bug 1257423

Change-Id: I76623fc04a20d1e5f1d5d311753a87e5cf71e4fb
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/223544
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-on: http://git-master/r/225763
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm: tegra: pcie: Enable clocks for FPGA
Jay Agarwal [Tue, 30 Apr 2013 17:22:52 +0000]
arm: tegra: pcie: Enable clocks for FPGA

1. Enable unpowergate calls for FPGA board.
2. Add PLLE frequency table entry for FPGA.

Change-Id: I18ff4bdf457ad185d4b2a4c343a1739fb24e89f0
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/224289
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra: add power-gate support for t124
Mayuresh Kulkarni [Tue, 12 Mar 2013 11:38:16 +0000]
ARM: tegra: add power-gate support for t124

bug 1249871
bug 1281593

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

5 years agovideo: tegra: host: Fix signature of 2D poweron
Terje Bergstrom [Fri, 3 May 2013 11:37:24 +0000]
video: tegra: host: Fix signature of 2D poweron

2D poweron had wrong return value. Fix it to always return zero.

Change-Id: Ib3497530cd450978b5c021022261eba502c8fc3a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/225223
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agovideo: tegra: host: Rework multi-sp interface
Arto Merilainen [Fri, 3 May 2013 07:11:00 +0000]
video: tegra: host: Rework multi-sp interface

This patch modifies multi-syncpoint interface to return fence value
in a separate field only when a single syncpoint is used. The
kernel used to guess (badly) the stream syncpoint which caused
issues in userspace.

Change-Id: I5cbf230e14a6494feea88589708885bceabe291a
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/225154
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra: config: enable palmas pin control
Mallikarjun Kasoju [Thu, 2 May 2013 12:42:31 +0000]
ARM: tegra: config: enable palmas pin control

Enable palmas pin control driver

Change-Id: I21dec63b1a103635ea85c8e84804223ac577e3a7
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/224880
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra: Update code to match main
Chao Xu [Thu, 2 May 2013 18:07:00 +0000]
ARM: tegra: Update code to match main

The code was moved to timer.c in main. But we do not have the update in this file.
Could be lost during merge.

Change-Id: I0ae3344efc9639e3c14a5ad253464b43203bd375
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/224958
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: tegra: Enable SCAN_COLUMN for t124
Tuomas Kulve [Fri, 3 May 2013 09:52:43 +0000]
ARM: tegra: Enable SCAN_COLUMN for t124

Change-Id: I361fb360655b6d96752b4a68f22e9786bf8e5a08
Signed-off-by: Tuomas Kulve <tkulve@nvidia.com>
Reviewed-on: http://git-master/r/225193
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarch: arm: add bonaire sensor board file
Wei Chen [Mon, 29 Apr 2013 17:43:44 +0000]
arch: arm: add bonaire sensor board file

Add bonaire sensor board file for FPGA bringup

bug 1205344

Change-Id: If9b4a830cbc89ed2ff7419dbbf783b235651196d
Signed-off-by: Wei Chen <wechen@nvidia.com>
Reviewed-on: http://git-master/r/219615
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra: host: use runtime pm and pm domain
Mayuresh Kulkarni [Mon, 29 Apr 2013 12:10:39 +0000]
video: tegra: host: use runtime pm and pm domain

- this commit deprecates the custom acm and replaces it with
runtime pm and pm domains
- runtime pm is used for clock management while pm domains
is used for power-gate management
- for each power gatable domain (represented by .can_powergate flag),
we add a pm domain (3d/mpe for t20/t30, 3d/2d/msenc for t114/t148,
gk20a/vic/msenc for t124)
- whenever a device is added to power domain,
it results into populating the dev->pm_domain field. runtime pm &
system suspend calls into domain if a device is part of a domain.
hence replace the dev_pm_ops from drivers whose device are part of
a domain with pm domain call-backs
- it uses delayed power off capability of pm domain to lazily
power-gate a partition associated with a domain/device
- it also ensures that correct dependent domains are ON during
boot-up
- fix the issue with gk20a pm domain setup (prepare_poweroff
was not hooked up to pm domain's save state)
- add pm domain support for vic since it has a dedicated
power partition of its own

bug 887332

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

5 years agoARM: tegra: ardbeg: add support for gpio buttons
Ashwini Ghuge [Thu, 2 May 2013 14:22:59 +0000]
ARM: tegra: ardbeg: add support for gpio buttons

Bug 1256481

Change-Id: I88ba8d8e6c1d949870d45658cbc92feab1ca42ba
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/222927
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: gk20a: fix zcull test failure
Jin Qian [Tue, 30 Apr 2013 23:25:28 +0000]
video: tegra: gk20a: fix zcull test failure

Restore original ctx pointer after saving golden image.
Add pmu mutex to protect gr engine enable/disable.
No longer need ELPG protection around zcull setup.

Bug 1257392

Change-Id: I9fe7c0e53ab5d19b3649285fd495d079590c4c43
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/224394
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: ardbeg: power tree support
Mallikarjun Kasoju [Tue, 30 Apr 2013 17:31:32 +0000]
ARM: tegra: ardbeg: power tree support

power tree for ardbeg

bug 1259655

Change-Id: I053f596e4b8c2272f8b9773f73aa7d0bb498dd71
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/221117
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: Fix T12x pinmux table
Sumit Sharma [Mon, 29 Apr 2013 05:57:29 +0000]
arm: tegra: Fix T12x pinmux table

Fix pinmux table entries for T124
Add new mux options in header file

Change-Id: I0da88672d39fd39a20a637c186d954d8a69f371a
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/223766
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: add spin_lock to sync ahb_reg writes
Rohith Seelaboyina [Fri, 5 Apr 2013 10:25:12 +0000]
ARM: tegra: add spin_lock to sync ahb_reg writes

spin_lock is added to sync ahb_reg writes.

Bug 1236936

Change-Id: Ia02881646c2b5e28b8cdf3fad466590e5d8f3fa1
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/216883
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: host: fix handling of submit error
Kirill Artamonov [Wed, 1 May 2013 22:04:08 +0000]
video: tegra: host: fix handling of submit error

Don't setup cleanup intr if submission fails.

bug 1275382

Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Change-Id: Ie29b638d62efbede925e2bbf822344cff671d270
Reviewed-on: http://git-master/r/224617
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agoARM: tegra12: clock: Rename tegra_camera to vi
Kaz Fukuoka [Fri, 26 Apr 2013 17:55:57 +0000]
ARM: tegra12: clock: Rename tegra_camera to vi

bug 1164664

Change-Id: I77a45223d080189416a12fc97002de3e2c933672
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/223450
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: host: gk20a large page size
Ken Adams [Mon, 22 Apr 2013 18:47:35 +0000]
video: tegra: host: gk20a large page size

Initial cut at supporting large (128KB) page sizes for gk20a
gmmu mapping.  The gmmu supports searching through two pte
spaces in parallel.  We choose which size pages to use on a
per buffer basis.  This is concepturally simpler than carving
up the gmmu virtual address into ranges (per pde).

This change also adjusts the vm area size for gk20a contexts
to 8GB (up from 512MB).

This change also simplifies/cleans up multiple page handling
code.  The techniques for sizing, shifting, etc should be more
consistent and more understandable.

Bug 1227983

Change-Id: I95e59ad8ba93a43ca0fed0f85e812b3857f0f3ec
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/218776
Reviewed-by: Automatic_Commit_Validation_User

5 years agovideo: tegra: host: add allocator constraints
Ken Adams [Mon, 29 Apr 2013 14:19:04 +0000]
video: tegra: host: add allocator constraints

This change adds resetable base and limit constraints
to the general purpose allocator.  To be added later:
alignment.

Change-Id: If397bd0b354798e78930194b67d4b9fe67a8bf87
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/223892

5 years agovideo: tegra: host: change gpu device name
Ken Adams [Fri, 19 Apr 2013 00:20:27 +0000]
video: tegra: host: change gpu device name

Removes an old hack to use gr3d instead of gpu
as the device name.
Bug 1243939

Change-Id: I9708061ca5333bb9f223cf7dc4e830c6c9d14713
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/220778

5 years agovideo: tegra: host: Recover from device init fail
Terje Bergstrom [Mon, 29 Apr 2013 10:47:56 +0000]
video: tegra: host: Recover from device init fail

Allow returning an error code from device initialization or poweron
boot. Use that return code when initializing the device for the first
time and do not initialize channel if unit has failed.

Bug 1280214

Change-Id: Ifc470cb80fc55389ab5f63b1692b53470d5015c6
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/223868
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agoARM: tegra: ardbeg: add support for UART
Kunal Agrawal [Wed, 24 Apr 2013 10:52:56 +0000]
ARM: tegra: ardbeg: add support for UART

add code to initialize and enable UART
on ardbeg platform

Bug 1271869

Change-Id: I1d4d6131d5ffbd47184e2acfd7f996e203fc07b4
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/222441
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agocrypto: tegra-se: Change SE driver name for t124
Shravani Dingari [Thu, 25 Apr 2013 11:53:31 +0000]
crypto: tegra-se: Change SE driver name for t124

Bug 1271895

Change-Id: Ifaa409d5eba78659c9be5c3348d21d0a0e2c0ebe
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/222902
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra12: clock: Change device name for SE clock
Shravani Dingari [Mon, 29 Apr 2013 14:41:33 +0000]
ARM: tegra12: clock: Change device name for SE clock

Bug 1271895

Change-Id: I6fa02a0b8a930c2762211cf14ab02f4f7048d486
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/222898
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra12: dvfs: set dummy speedo/process in dvfs table
Jin Qian [Sat, 27 Apr 2013 02:18:18 +0000]
ARM: tegra12: dvfs: set dummy speedo/process in dvfs table

Change-Id: I1e3d503bb72aae59151ee15227be36e4c8a9caa0
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/223610
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: bonaire: update l4t defconfig
Bibek Basu [Mon, 29 Apr 2013 09:22:55 +0000]
ARM: tegra: bonaire: update l4t defconfig

update L4T defconfig to enable the
mising support for mmc, net debugfs

Bug 1255365

Change-Id: Ic4984d1cc5793e3285195eb56e5c94667b235775
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/223836
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: host: Use SMMU mapping when possible
Terje Bergstrom [Thu, 25 Apr 2013 05:44:11 +0000]
video: tegra: host: Use SMMU mapping when possible

Use SMMU mapping even for small pages. Use physical address only when
SMMU mapping fails.

Change-Id: I6be080972ad8ba82ad7f25121b8ae7628e774cd0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/222810
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agovideo: tegra: host: Fix checks for linsim to !silicon
Terje Bergstrom [Fri, 26 Apr 2013 15:41:47 +0000]
video: tegra: host: Fix checks for linsim to !silicon

Instead of testing if we're running in linsim, test if we're not on
silicon. This will cover all simulation and emulation.

Change-Id: I48708d717d73636df5469763756683ed5804ef40
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/223634

5 years agoARM: tegra: add tegra12-se device for t124 SOC
Shravani Dingari [Thu, 25 Apr 2013 11:43:42 +0000]
ARM: tegra: add tegra12-se device for t124 SOC

Bug 1271895

Change-Id: I5dc3d48222b7e96510d71d6649d9fd4a12043cb8
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/222895
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: bonaire: Change SE device data name
Shravani Dingari [Thu, 25 Apr 2013 11:38:37 +0000]
arm: tegra: bonaire: Change SE device data name

Bug 1271895

Change-Id: If654f320568780e1314d79ac063e6c0391349438
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/222893
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: host: Do not crash on error in unmap
Terje Bergstrom [Fri, 26 Apr 2013 13:15:41 +0000]
video: tegra: host: Do not crash on error in unmap

Do not crash when unmapping a non-existing buffer.

Change-Id: I2f995e8c77937d6bf53c651027076ea251dc0666
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/223383
Reviewed-by: Automatic_Commit_Validation_User

5 years agovideo: tegra: host: Prepare for 64-bit compat
Terje Bergstrom [Mon, 22 Apr 2013 05:37:05 +0000]
video: tegra: host: Prepare for 64-bit compat

Prepare nvhost new IOCTLs for 64-bit compatibility.

Change-Id: I1c8bd37186d504d9ca217b3ca682eeaf2edff5e7
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/221443

5 years agovideo: tegra: host: Wait ucode response forever in sim
Terje Bergstrom [Fri, 26 Apr 2013 12:25:21 +0000]
video: tegra: host: Wait ucode response forever in sim

In simulation or emulation, wait ucode response indefinitely.

Change-Id: I044bd7346d13de85100f908a1c46bc2eef93867d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/223375
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agoARM: tegra12: Disable CONFIG_TEGRA_CAMERA for bonaire
Amit Arora [Fri, 22 Mar 2013 16:48:19 +0000]
ARM: tegra12: Disable CONFIG_TEGRA_CAMERA for bonaire

This change sets CONFIG_TEGRA_CAMERA=n to disable loading
tegra_camera from vi.

Change-Id: I0aa8976bbd92649a6b5fbc4650ecf36b64d4b70e
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/222209
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra12: clock: Fix build warnings
Kaz Fukuoka [Wed, 24 Apr 2013 23:18:17 +0000]
ARM: tegra12: clock: Fix build warnings

bug 1164664

Change-Id: I9e0ce6db2d2f925f4fe957b42f4f3770be0ff871
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/223026
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra12: clock: Change PLLE input clock
Hoang Pham [Thu, 25 Apr 2013 19:40:14 +0000]
ARM: tegra12: clock: Change PLLE input clock

Changed PLLE input clock from PLL_RE to oscillator

Bug 1164664

Change-Id: I44c96699a7f065ea458f38a2832c4498eede5063
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/223040
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoNVUB_T124 video: tegra: add 13MP mode for FPGA
Wei Chen [Thu, 11 Apr 2013 01:07:05 +0000]
NVUB_T124 video: tegra: add 13MP mode for FPGA

NVUB_T124 Add 13MP mode for FPGA bringup

NVUB_T124 bug 1205344

Change-Id: Ice8915fddd9e34290c99dfa03b5fb1c4179b9176
Signed-off-by: Wei Chen <wechen@nvidia.com>
Reviewed-on: http://git-master/r/218458
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra: host: Remove unused file
Terje Bergstrom [Fri, 26 Apr 2013 11:23:09 +0000]
video: tegra: host: Remove unused file

bus.c hasn't been used in nvhost since we moved to platform bus.

Change-Id: Idc9aa59553559f355df64c5d9f3f5d078e6317a8
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/223349
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agovideo: tegra: host: Fix regrdwr IOCTL signature
Terje Bergstrom [Mon, 22 Apr 2013 07:25:15 +0000]
video: tegra: host: Fix regrdwr IOCTL signature

IOCTL signature for register read/write is incorrect. Fix it to match
user space.

Change-Id: I05555a26b35de17ddd23cd427ad557ed98da1186
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/222827
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra: bonaire_sim: enable tegra_hs and apb_dma
Jin Qian [Thu, 25 Apr 2013 22:57:51 +0000]
ARM: tegra: bonaire_sim: enable tegra_hs and apb_dma

Change-Id: I7041b686e940c4b047668acb2951567a8aba244e
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/223114
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: Add LPAE support for suspend pgtable
Prashant Malani [Mon, 1 Apr 2013 23:12:04 +0000]
ARM: tegra: Add LPAE support for suspend pgtable

LPAE allows physical addresses upto 40 bits.
Consequently, the layout of TTBR changes. This
change modifies the suspend pgtable init and
suspend code to support the increased address
range and register layout for LPAE.

Bug 1271462

Change-Id: I44015aba943e2972cc99559d957209a7d1c364c7
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/215252
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra12: dvfs: update dvfs code from tegra11
Jin Qian [Thu, 25 Apr 2013 00:51:07 +0000]
ARM: tegra12: dvfs: update dvfs code from tegra11

Took a snapshot from tegra11_dvfs.c and reapplied gpu changes.
Added dummy functions to get gpu speedo/process ids.

Change-Id: I8bf3216e67e26eb96171b2b980a7cb1b2bdf1374
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/222733
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years ago video: tegra: gk20a: fix pmu elpg ref count
Jin Qian [Wed, 24 Apr 2013 18:40:10 +0000]
 video: tegra: gk20a: fix pmu elpg ref count

Change-Id: I81a91598b5a36f1eb30fa75cdb7965013d52e9ab
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/222622
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: gk20a: move pmu firmware to struct gk20a
Jin Qian [Tue, 23 Apr 2013 23:05:26 +0000]
video: tegra: gk20a: move pmu firmware to struct gk20a

Bug 1268416

Change-Id: I84cce11061353f041bcec4aec872136ab12e0728
Signed-off-by: Jin Qian <jqian@nvidia.com>
Reviewed-on: http://git-master/r/222201
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: host: fix ctrl_syncpt_waitmex timeout
Peng Du [Tue, 16 Apr 2013 23:40:59 +0000]
video: tegra: host: fix ctrl_syncpt_waitmex timeout

MAX_SCHEDULE_TIMEOUT is defined as LONG_MAX in linux/sched.h

Change-Id: Ia3af08e04b400e8ecd5739cc9a7298962e8be445
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/220007
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra: Do not copy framebuffer if none given
Terje Bergstrom [Wed, 24 Apr 2013 10:53:45 +0000]
ARM: tegra: Do not copy framebuffer if none given

Do not copy the framebuffer if bootloader hasn't passed us an address
to the frame buffer.

Change-Id: I577923d2a28b26a68b7e0b3e3351b62bc2b395d4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/222479
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra: bonaire: Update SDMMC3 pinmux settings
rrajk [Tue, 23 Apr 2013 09:48:39 +0000]
ARM: tegra: bonaire: Update SDMMC3 pinmux settings

Bug 1246725

Change-Id: If324ffe616adcf0d44607ce851f3de5fd3d930bf
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/222018
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: bonaire: Enable fixed regulator support
Sumit Sharma [Tue, 23 Apr 2013 10:36:29 +0000]
arm: tegra: bonaire: Enable fixed regulator support

Remove dummy regulator support because issues in SDMMC
Enable fixed regulator support

Bug 1246725

Change-Id: I4960ab14f82cc6a722860159c650035e3056f421
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/222039
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agommc: tegra: Use internal clk on fpga platform
rrajk [Wed, 17 Apr 2013 10:37:10 +0000]
mmc: tegra: Use internal clk on fpga platform

Currently external clock loopback is not there on FPGA,
so use internal clock loopback.
Bug 1246725

Change-Id: I7c5ddee868ac6e173c4a42ae66efda84c3c12dc8
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/220149
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: bonaire: Add battery fixed regulator
Sumit Sharma [Tue, 23 Apr 2013 08:38:33 +0000]
arm: tegra: bonaire: Add battery fixed regulator

Add battery fixed regulator with fuse rail

Change-Id: I7620f6f5d8c2b70ded748d62b8b270b2d134fbe5
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/222038
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: host: Multiple chunks per gMMU page
Terje Bergstrom [Wed, 24 Apr 2013 12:14:55 +0000]
video: tegra: host: Multiple chunks per gMMU page

There might be multiple scatterlist chunks for each gMMU page. Deal
with that by skipping as many chunks as needed.

Change-Id: Ide704980ae40a786a11950b3070730cd55721974
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/222476
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Lauri Peltonen <lpeltonen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agovideo: tegra: host: Fix warning on SMMU addresses
Terje Bergstrom [Wed, 24 Apr 2013 10:25:56 +0000]
video: tegra: host: Fix warning on SMMU addresses

Debug message format string uses %x for SMMU addresses. Convert that to
%llx and cast to u64.

Change-Id: I97231dda05a652fecdaf28f7a638d34926e4222b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/222475
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agoARM: tegra12: Expand digital audio clock parents
Kaz Fukuoka [Wed, 27 Mar 2013 20:48:01 +0000]
ARM: tegra12: Expand digital audio clock parents

Change-Id: Id44f28c4b32334a6a34de405c2c445c89b894971
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/216268
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: ardbeg: Add Cm32181 ALS sensor support
Sri Krishna chowdary [Thu, 18 Apr 2013 10:37:48 +0000]
ARM: tegra: ardbeg: Add Cm32181 ALS sensor support

Bug 1256462

Change-Id: I2be13a97c529f7e569ef4ede3c8a1be4aeaec4fb
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/220557
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra12: Add ispb clock
Kaz Fukuoka [Fri, 29 Mar 2013 00:15:21 +0000]
ARM: tegra12: Add ispb clock

bug 1160031
bug 1164664

Change-Id: I6334500f95bd5f0d68ca0cd7101500c642775d54
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/221812
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>