5 years agoarm: tegra: add sdhci device registration for ardbeg
Mitch Luban [Fri, 12 Apr 2013 16:24:36 +0000]
arm: tegra: add sdhci device registration for ardbeg

Bug 1257423

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

5 years agoarch: arm: ardbeg: add kbc file
Mitch Luban [Fri, 12 Apr 2013 10:09:48 +0000]
arch: arm: ardbeg: add kbc file

Added kbc file to enable kbc on ardbeg.

Bug 1257423

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

5 years agoarm: tegra: add initial pinmux support for ardbeg_t114
Mitch Luban [Wed, 10 Apr 2013 17:35:29 +0000]
arm: tegra: add initial pinmux support for ardbeg_t114

Bug 1257423

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

5 years agoarm: tegra: ardbeg: add initial panel file
Mitch Luban [Tue, 9 Apr 2013 00:35:25 +0000]
arm: tegra: ardbeg: add initial panel file

Adding panel file for ardbeg platform.

Bug 1257423

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

5 years agoarm: tegra: dts: dts for ardbeg interposer board
Mitch Luban [Wed, 3 Apr 2013 21:12:40 +0000]
arm: tegra: dts: dts for ardbeg interposer board

Bug 1257423

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

5 years agovideo: tegra: host: Ensure VPR is not SMMU mapped
Terje Bergstrom [Tue, 16 Apr 2013 08:43:08 +0000]
video: tegra: host: Ensure VPR is not SMMU mapped

Ensure VPR memory is not SMMU mapped.

Bug 1201552

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

5 years agovideo: tegra: host: Implement SMMU support in gk20a
Terje Bergstrom [Mon, 1 Apr 2013 15:58:32 +0000]
video: tegra: host: Implement SMMU support in gk20a

Implement nvhost_memmgr_sg_table(), which takes advantage of
nvmap_sg_table. Replace all calls to nvhost_memmgr_pin()
with that to get access to the physical addresses of buffers.

Implement nvhost_memmgr_smmu_map(), which maps a given sg_table to
the device passed to it, and nvhost_memmgr_smmu_unmap(), which unmaps.

Use the new functions in gk20a_vm_map() to create an SMMU address for
each buffer. The callers of gk20a_vm_map() will use either physical
address from sg_phys() or IOVA address from sg_dma_address() depending
on size of buffer.

Because SMMU virtual address is marked in gMMU with bit 34 set, some
fields needed to be expanded to 64-bit even when LPAE is turned off.

IMB, PDE and PTE cannot use virtual addresses so they need to be
treated specially.

Bug 1201552

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

5 years agovideo: tegra: host: Remove use of mem_op()
Terje Bergstrom [Fri, 5 Apr 2013 06:26:10 +0000]
video: tegra: host: Remove use of mem_op()

Remove mem_op() abstraction and replace it with direct calls to
nvhost_memmgr. Implement the one missing function in memmgr.

Bug 1201552

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

5 years agoarm: tegra: ardbeg: add initial board file
Mitch Luban [Wed, 3 Apr 2013 20:41:24 +0000]
arm: tegra: ardbeg: add initial board file

Adding basic board file for ardbeg.

Bug 1257423

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

5 years agovideo: tegra: host: temp fix of sg_kmalloc for 64b
Peng Du [Wed, 20 Mar 2013 17:21:16 +0000]
video: tegra: host: temp fix of sg_kmalloc for 64b

Change-Id: I24bf7d4b94bf629b8cdedccf9be630d2f6bc5a4a
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/214726
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra: host: define nvhost_job::ids as ulong*
Peng Du [Tue, 9 Apr 2013 17:08:28 +0000]
video: tegra: host: define nvhost_job::ids as ulong*

Change nvhost_job::ids to be unsigned long* to match nvmap_pin_array.

Change-Id: I37205e0aa9cfc3efcf3a1df041cf27e570943736
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/217892
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: Fix T124 MC client table
Terje Bergstrom [Tue, 9 Apr 2013 11:51:37 +0000]
ARM: tegra: Fix T124 MC client table

MC client table was incorrect, causing the DECERR messages to point
to wrong units. Also adds printing of the err register.

Bug 1201552

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

5 years agoARM: tegra: Fix tegra_move_framebuffer signature
Terje Bergstrom [Mon, 8 Apr 2013 08:33:48 +0000]
ARM: tegra: Fix tegra_move_framebuffer signature

tegra_move_framebuffer() actually takes physical addresses and a size
parameter. Fix the signature to match that.

Bug 1201552

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

5 years agoARM: tegra: Initialize framebuffer mem in bonaire
Terje Bergstrom [Thu, 28 Mar 2013 13:28:03 +0000]
ARM: tegra: Initialize framebuffer mem in bonaire

Initialize framebuffer memory in bonaire. As T124 builds with 64-bit
phys_addr_t, also __tegra_move_framebuffer() signature needs to be
updated.

Bug 1201552

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

5 years agoARM: tegra12: Remove extraneous SMMU dev
Terje Bergstrom [Tue, 26 Mar 2013 14:07:09 +0000]
ARM: tegra12: Remove extraneous SMMU dev

SMMU device is created nowadays in tegra_smmu_init().

Bug 1201552

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

5 years agoiommu/tegra: smmu: Fix compilation error
Terje Bergstrom [Wed, 27 Mar 2013 12:18:27 +0000]
iommu/tegra: smmu: Fix compilation error

%08x cannot be used for printing out phys_addr_t. Use %08llx instead
and convert phys_addr_t to u64.

Bug 1201552

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

5 years agoARM: tegra: Add Tegra12 MC clients to SMMU table
Terje Bergstrom [Wed, 27 Mar 2013 11:43:07 +0000]
ARM: tegra: Add Tegra12 MC clients to SMMU table

Add Tegra12 MC clients DC1, VIC, GPU and GPUB to SMMU table.

Bug 1201552

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

5 years agoiommu/tegra: smmu: Add support for Tegra12
Hiroshi Doyu [Wed, 10 Apr 2013 09:59:35 +0000]
iommu/tegra: smmu: Add support for Tegra12

Add support for Tegra12. Enable translation for MC client GPUB, but
not GPU as the latter is used for physical memory accesses from GPU.

Bug 1201552

Change-Id: I71945c31009ba919015e3c54e89b94073d283268
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/217297
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>

5 years agoARM: tegra12: clock: change device name for uart clock
Kunal Agrawal [Tue, 9 Apr 2013 09:42:41 +0000]
ARM: tegra12: clock: change device name for uart clock

change the device name for uart clock to serial-tegra as this is
the device name used by the new serial driver.

Bug 1267291

Change-Id: Ie34aca28e6d6d5b9903a583b904710c7e16f55bd
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/217779
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: bonaire: add platform data for uart
Kunal Agrawal [Tue, 9 Apr 2013 10:11:45 +0000]
ARM: tegra: bonaire: add platform data for uart

add platform data for uart using the new platform data
structure

Bug 1267291

Change-Id: I090c330ece3bf7729c5673216571dbd9af2627ae
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/217786
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: pcie: Add debug prints
Jay Agarwal [Fri, 12 Apr 2013 11:21:39 +0000]
arm: tegra: pcie: Add debug prints

Added debug prints to help with debugging
the driver

Bug 1264810

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

5 years agoarm: tegra: pcie: skip fpga phy reset
Jay Agarwal [Sun, 7 Apr 2013 17:04:38 +0000]
arm: tegra: pcie: skip fpga phy reset

Check bond out register to find presence of pcie
in current netlist and accordingly skip pcie fpga
phy reset code on non-pcie fpga to avoid hang.

Bug 1266477

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

5 years agoarm: tegra: pcie: Add T124 Pads programming
Jay Agarwal [Wed, 3 Apr 2013 12:40:24 +0000]
arm: tegra: pcie: Add T124 Pads programming

Added new PCIe pad programming for T124 in
XUSB PADCTL space in common pad driver.

Bug 1259551

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

5 years agovideo: tegra: host: gk20a buffer unmap
Ken Adams [Sun, 7 Apr 2013 15:24:12 +0000]
video: tegra: host: gk20a buffer unmap

Be sure pending work has completed before performing unmap operations.
For now this will synchronously wait for any pending work to complete.
Later we will change this to return immediately and schedule a
finish+unmap operation.

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

5 years agovideo: tegra: host: gk20a interrupts reporting
Ken Adams [Fri, 12 Apr 2013 01:15:44 +0000]
video: tegra: host: gk20a interrupts reporting

More information on fifo and mmu interrupts.
Clears the mmu faults as they happen.  However
we're not performing any cleanup after the fact.

Bug 1173265

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

5 years agovideo: tegra: gk20a channel finish and disable
Ken Adams [Thu, 4 Apr 2013 06:13:06 +0000]
video: tegra: gk20a channel finish and disable

Adds
. mechanism to track when a gk20a context has been
"finished" with a wait-for-idle command followed by a
sync point increment.

. optional "finish" to the channel free path.  In particular
this is necessary from the gk20a_free_hwctx path (which can
be reached directly from a free obj ioctl).

. gk20a tlb state management.  Only one tlb invalidate is
needed after a series of vm operations.

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

5 years agovideo: tegra: host: remove non-memmgr gmmu paths
Ken Adams [Thu, 4 Apr 2013 03:18:40 +0000]
video: tegra: host: remove non-memmgr gmmu paths

This change removes non-memmgr paths for managing
gk20a gmmu pde/pte memory.  This obviates the need for
a separate split memory path.

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

5 years agovideo: tegra: add gpfifo submit trace event
Ken Adams [Thu, 4 Apr 2013 02:58:23 +0000]
video: tegra: add gpfifo submit trace event

Adds a gpfifo submit trace event.
Bug 1244355

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

5 years agoarm: configs: t114 support for ardbeg board
Mitch Luban [Tue, 2 Apr 2013 23:04:08 +0000]
arm: configs: t114 support for ardbeg board

Bug 1257423

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

5 years agoarm: tegra: add MACH_ARDBEG to Kconfig
Mitch Luban [Tue, 2 Apr 2013 23:01:58 +0000]
arm: tegra: add MACH_ARDBEG to Kconfig

Bug 1257423

Change-Id: I83d0889e8fdc603c65dbffec83eb449cf3343112
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/215725
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agovideo: tegra: nvmap: Remove the merge hack
Chao Xu [Thu, 11 Apr 2013 20:48:12 +0000]
video: tegra: nvmap: Remove the merge hack

Removing the merge hack because iovmm is used by t114

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

5 years agovideo: tegra: dc: fix error from interlace mode
Chao Xu [Thu, 11 Apr 2013 17:57:13 +0000]
video: tegra: dc: fix error from interlace mode

Change-Id: I7ffca4f972f54c8bcda1a77279b5e786a060831d
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/218653
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>

5 years agodrivers : video: host: init device id
Chao Xu [Tue, 9 Apr 2013 22:17:36 +0000]
drivers : video: host: init device id

When device tree is used for nvhost, the corresponding dev 'id' is not set,
which caused error in generated device node name.

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

5 years agoARM: mach-tegra: Fix the merge error
Chao Xu [Wed, 3 Apr 2013 19:09:41 +0000]
ARM: mach-tegra: Fix the merge error

T114 related code should match exactly with main.

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

5 years agoARM: tegra: enable dvfs ref and soc clock
Bibek Basu [Wed, 10 Apr 2013 06:03:54 +0000]
ARM: tegra: enable dvfs ref and soc clock

Enable dvfs_ref and dvfs_soc clock for silicon
platform

Bug 1268249

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

5 years agoarm: tegra: iomap: Fix I2C5 memory size
Sumit Sharma [Fri, 12 Apr 2013 10:56:02 +0000]
arm: tegra: iomap: Fix I2C5 memory size

Fix I2C5 device size which was changed due to previous merge

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

5 years agoARM: tegra: pcie: Add support to change link speed
Jay Agarwal [Thu, 21 Mar 2013 11:41:19 +0000]
ARM: tegra: pcie: Add support to change link speed

- Provide API to change link speed gen1 <-> gen2
- Configure all links to gen2 speed by default
  on system boot

Bug 1253529

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

5 years agoarm: tegra: config: add config for the new APB DMA driver
Kunal Agrawal [Mon, 8 Apr 2013 12:11:40 +0000]
arm: tegra: config: add config for the new APB DMA driver

Change-Id: Ifb641bc6c4710e5ef2cb8a361f34c779d919a57d
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/217347
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Manoj Gangwal <mgangwal@nvidia.com>

5 years agoarm: tegra: bonaire: register apb dma through board file
Kunal Agrawal [Mon, 8 Apr 2013 12:26:08 +0000]
arm: tegra: bonaire: register apb dma through board file

Bug 1260656

Change-Id: I19cb19a3ccba233454a6ce24c952674cfdfb4ffb
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/217360
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Manoj Gangwal <mgangwal@nvidia.com>

5 years agodma: tegra: support registration of device through board file
Kunal Agrawal [Mon, 8 Apr 2013 12:52:25 +0000]
dma: tegra: support registration of device through board file

Bug 1260656

Change-Id: I7cbe98fd7587874e79f4de00d46a3a206891753d
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/217370
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Manoj Gangwal <mgangwal@nvidia.com>

5 years agoARM: tegra: add apb dma device for t124 SOC
Kunal Agrawal [Wed, 3 Apr 2013 11:11:24 +0000]
ARM: tegra: add apb dma device for t124 SOC

Change-Id: I7b4d2132d51bfb7224f4b2e6d08f413cf74d4537
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/217354
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: clock: change the device name for apb dma clock
Kunal Agrawal [Mon, 8 Apr 2013 12:07:11 +0000]
arm: tegra: clock: change the device name for apb dma clock

Change-Id: I85cbe5f750ddab59df3d14f12cf2a7f8befb831e
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/217345
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Manoj Gangwal <mgangwal@nvidia.com>

5 years agovideo: tegra: gk20a: Avoid crash on teardown
Robert Morell [Tue, 9 Apr 2013 20:15:18 +0000]
video: tegra: gk20a: Avoid crash on teardown

If PMU failed to initialize for any reason, we still try to call its
"remove_support" function pointer, which is NULL.

Bug 1268414

Change-Id: I90b96104a44e441ae07625066f9c1d698556e695
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/217935
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agovideo: tegra: nvmap: fix iovmm null ptr exception
Adeel Raza [Tue, 9 Apr 2013 08:50:30 +0000]
video: tegra: nvmap: fix iovmm null ptr exception

This is a temporary hack to fix an iovmm null pointer exception. This
hack should eventually be removed.

Change-Id: If15a0c4fc6f8df64740f8b7124c4a6bb1978ee4e
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/217766
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm: tegra: fix powergate null ptr exception
Adeel Raza [Tue, 9 Apr 2013 08:47:57 +0000]
arm: tegra: fix powergate null ptr exception

Change-Id: Ic86d3fa60ed47732671531321d3f7b9367673719
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/217765
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm: tegra: iovmm: add stub iovmm functions
Adeel Raza [Tue, 9 Apr 2013 00:37:00 +0000]
arm: tegra: iovmm: add stub iovmm functions

Change-Id: I062465dcdf28e10e557e88cf5bc0ae4ce9da8eed
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/217764
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra12: host: add stat_r sync func
Adeel Raza [Tue, 9 Apr 2013 00:28:27 +0000]
video: tegra12: host: add stat_r sync func

Add host1x_sync_cmdproc_stat_r(void).

Change-Id: I28bdd5c71c13926ab4a00e8c3b3edd8fb806d7b0
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/217763
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra: host: fix merge build break
Adeel Raza [Tue, 9 Apr 2013 00:17:09 +0000]
video: tegra: host: fix merge build break

Change-Id: I8e4884ab4bbc8ecb58493db6b81773869aad190f
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/217762
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm: tegra12: enable PM_GENERIC_DOMAINS
Adeel Raza [Tue, 9 Apr 2013 00:04:34 +0000]
arm: tegra12: enable PM_GENERIC_DOMAINS

Change-Id: I2afaf013cfb8f2656fb6a8aa235354b2c7672d33
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/217760
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM64 changes
Alex Van Brunt [Wed, 17 Apr 2013 20:33:52 +0000]
ARM64 changes

Original merge commit:

commit 001997d7c06bdf9101ef93fce3f266074df97a25
   Merge commit '09c210a929e4dae8a4af96f677a576ccbb8a650a' into sifted/04

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

5 years agot12x: video: tegra: dc: fix broken build
Bibek Basu [Mon, 1 Apr 2013 10:58:22 +0000]
t12x: video: tegra: dc: fix broken build

Blender gen2 features are not available
for T148.

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

5 years agoARM: configs: enable SMSC911X for all configs
Peng Du [Thu, 28 Mar 2013 21:27:08 +0000]
ARM: configs: enable SMSC911X for all configs

Various simulators have agreed to unify the fake NIC
to be SMSC911X, since both ASIM and TegraSIM support
it. To ease the transition, we firstly only enable
the new NIC (SMSC911X) while keep the legacy (SMC91X)
card around. Plan is that when things stablized after
a while, we would remove SMC91X completely from both
the configs and common.c to clean up the kernel.

Change-Id: I7bcfd66f32eaef4a97cfdfcaf7e002f8944dde32
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/214177
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/214677
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra: pcie: Add T124 FPGA support
Jay Agarwal [Thu, 7 Mar 2013 05:46:21 +0000]
ARM: tegra: pcie: Add T124 FPGA support

1. Change PCIe base address and adjust other
   allocations accordingly
2. Add PCIe root port Mastering
3. Modify clock clamping
4. Add code to reset FPGA PCIe Phy
5. Disable powergate & Pads PLL code for FPGA
6. Put T30 WARs under it's macro
7. Configure lanes in x2_x1 mode
8. Avoid legacy PAD programming for T124

Bug 1201008

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

Conflicts:
arch/arm/mach-tegra/include/mach/io.h

5 years agoarm: tegra: config: bonaire configs for FPGA
Jin Qian [Thu, 28 Mar 2013 20:40:58 +0000]
arm: tegra: config: bonaire configs for FPGA

enable clock_debug_write
disable gk20a

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

Conflicts:
arch/arm/configs/tegra_bonaire_android_defconfig

5 years agoARM: tegra: fix T30 build break
Bibek Basu [Fri, 29 Mar 2013 08:28:51 +0000]
ARM: tegra: fix T30 build break

Fix T30 build break

Bug 121179

Change-Id: I7e86ec2b133a83a55794eff5954291d295207cc1
Signed-off-by: Bibek Basu <bbasu@nvidia.com>

5 years agotegra: video: fix T30 build issue
Bibek Basu [Fri, 29 Mar 2013 10:49:16 +0000]
tegra: video: fix T30 build issue

Fix cardhu build

Bug 121179

Change-Id: I7aefc4df5f5f7a433cb8932b289f21c5129676a8
Signed-off-by: Bibek Basu <bbasu@nvidia.com>

5 years agovideo: tegra: gk20a: protect zcull bind from elpg
Jin Qian [Fri, 22 Mar 2013 23:34:53 +0000]
video: tegra: gk20a: protect zcull bind from elpg

Bug 1257392

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

5 years agovideo: tegra: nvavp: Enable nvavp driver support
Somasundaram S [Mon, 25 Mar 2013 11:35:43 +0000]
video: tegra: nvavp: Enable nvavp driver support

1> Enable nvavp driver support
2> Enable TEGRA_GRHOST
3> Enable DEBUG_FS
4> Fix compilation errors

Bug 1246854

Change-Id: I4cf1e69a69cc891f9d4311183ed74af0973e782b
Signed-off-by: Somasundaram S <somasundaram@nvidia.com>
Reviewed-on: http://git-master/r/212589
Reviewed-by: Somu Sundaram <somasundarams@nvidia.com>
Tested-by: Somu Sundaram <somasundarams@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: gk20a: fix priv_cmdbuf size
Jin Qian [Tue, 19 Mar 2013 02:07:42 +0000]
video: tegra: gk20a: fix priv_cmdbuf size

Triple gpfifo size based on user requested size.
Calculate and allocate worse case size for priv_cmdbuf.

Bug 1252635

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

5 years agoarm: tegra12: allocate context buffers from VPR
Jussi Rasanen [Wed, 6 Mar 2013 14:45:12 +0000]
arm: tegra12: allocate context buffers from VPR

-handle allocations from NVMAP_HEAP_CARVEOUT_VPR.
-allocate GPU circular, pagepool, and attrib buffers from VPR.
-fix page fault address print.

Bug 1215470

Change-Id: I699b5346a6fca6a7418920f9cbd77744221c40f5
Signed-off-by: Jussi Rasanen <jrasanen@nvidia.com>
Reviewed-on: http://git-master/r/210016
Reviewed-by: Janne Kiviluoto <jkiviluoto@nvidia.com>
Tested-by: Janne Kiviluoto <jkiviluoto@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra12: Add function to set SOR0_CLK_SEL
Kaz Fukuoka [Wed, 20 Mar 2013 00:56:45 +0000]
ARM: tegra12: Add function to set SOR0_CLK_SEL

Add interface to set CLK_RST_CONTROLLER_CLK_SOURCE_SOR0_0:SOR0_CLK_SEL.

Usage: tegra_clk_cfg_ex(c, TEGRA_CLK_SOR_CLK_SEL, value);

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

5 years agovideo: tegra: host: use long as timeout variable
Peng Du [Wed, 20 Mar 2013 00:29:25 +0000]
video: tegra: host: use long as timeout variable

wait_event_timeout uses long as the returned timeout value.
However, host drivers have been using "int" variable might
get the sign bit set if the MSB of the returned timeout is
set on LP64 platform (eg. arm64). This causes problem as
negative timeout value indicate errors.

This change fixes the problem by replacing int with long.

Change-Id: I42b24daaa6603f7e897190bacc1c46f95f5655ea
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/211302
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra: Remove asim check in SMSC911X init
Edgardo Handal [Mon, 25 Mar 2013 20:48:21 +0000]
ARM: tegra: Remove asim check in SMSC911X init

Change-Id: I446e1452d3a628e764e78b5f5795dff8a46143d7
Signed-off-by: Edgardo Handal <ehandal@nvidia.com>
Reviewed-on: http://git-master/r/212772
Reviewed-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: set 64 bit coherent_dma_mask
Petlozu Pravareshwar [Mon, 25 Mar 2013 14:18:12 +0000]
ARM: tegra: set 64 bit coherent_dma_mask

Set 64 bit coherent_dma_mask for ehci devices.

Bug 1256513

Change-Id: Ie937af9b080ebd9bbcca88604043127168c464ca
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/212667
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: clear return data in addruart stub
Jin Qian [Thu, 28 Mar 2013 01:49:05 +0000]
ARM: clear return data in addruart stub

Change-Id: Id4e84fe2b360900d400371616e1c736f8b66655d

5 years agoarm: tegra: config: enable devfreq
Bibek Basu [Thu, 28 Mar 2013 11:32:56 +0000]
arm: tegra: config: enable devfreq

enable PM_DEVFREQ

Bug 1211729

Change-Id: I9ba46b1dff21ef83032055a2f2aaf67d5d94f3d1
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/213951

5 years agoARM: tegra: pcie: Modify T124 interrupt mechanism
Jay Agarwal [Tue, 12 Mar 2013 07:00:07 +0000]
ARM: tegra: pcie: Modify T124 interrupt mechanism

Legacy interrupt handling mechanism has been changed
for T124 to avoid deadlock.

Bug 1057874

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

5 years agodrivers: video: tegra: fix gk20a suspend on qt
Jin Qian [Wed, 20 Mar 2013 19:39:20 +0000]
drivers: video: tegra: fix gk20a suspend on qt

Move pmu destroy before gr suspend to disable ELPG before
gr priv register access.

Add function to disable perfmon for future use.

Bug 1218938

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

5 years agodrivers: video: tegra: enable gk20a pmu on qt
Jin Qian [Wed, 20 Mar 2013 23:32:28 +0000]
drivers: video: tegra: enable gk20a pmu on qt

Bug 1218938

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

5 years agodrivers: video: gk20a HWFS following VBIOS code
Xue Dong [Wed, 13 Mar 2013 21:39:12 +0000]
drivers: video: gk20a HWFS following VBIOS code

Bug 1164093

Change-Id: I5d23f260ccfedaaa565e30c0b726638ff75a9e29
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/208965
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarm: tegra: bonaire:Add vddio_sdmmc gpio regulator
rrajk [Tue, 5 Mar 2013 08:13:46 +0000]
arm: tegra: bonaire:Add vddio_sdmmc gpio regulator

Enable pinmux for GPIO_PV1
Enable vddio_sdmmc gpio regulator for sdmmc3 on GPIO_PV1.
Bug 1247029

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

5 years agoarm: tegra: config: enable GPIO regulator
rrajk [Tue, 5 Mar 2013 06:49:59 +0000]
arm: tegra: config: enable GPIO regulator

Enabled GPIO regulator in bonaire.
Bug 1247029

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

5 years agoARM: tegra: set 64 bit coherent_dma_mask
Rohith Seelaboyina [Mon, 18 Mar 2013 12:22:43 +0000]
ARM: tegra: set 64 bit coherent_dma_mask

set 64 bit coherent_dma_mask to support LPAE

Bug 1253192

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

5 years agoARM: tegra: convert memory vars to phys_addr_t
Adeel Raza [Fri, 15 Mar 2013 20:21:31 +0000]
ARM: tegra: convert memory vars to phys_addr_t

Convert memory related variables from unsigned long to phys_addr_t. This
is needed because of LPAE which allows physical memory addresses above 4
GB. Also add checks for ensuring that the AVP kernel is loaded below 4
GB.

Change-Id: I896e8db69cd1d2ba2499800fec4a6b224bad8ed8
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/210113
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agommc: tegra: Enable HS200 mode support
rrajk [Sat, 16 Mar 2013 10:09:06 +0000]
mmc: tegra: Enable HS200 mode support

Set MMC_CAP2_HS200 to enable HS200 mode support.

Change-Id: I9e432ee8606d099708b2875b113686b9f3069241
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/210213
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>

5 years agodrivers: video: tegra: fix bonaire build error
Jin Qian [Wed, 20 Mar 2013 00:45:02 +0000]
drivers: video: tegra: fix bonaire build error

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

5 years agoARM: tegra12: enable HIGHMEM for bonaire configs
Adeel Raza [Thu, 14 Mar 2013 20:56:38 +0000]
ARM: tegra12: enable HIGHMEM for bonaire configs

Enable CONFIG_HIGHMEM for bonaire and bonaire_sim configs.

Change-Id: Ib1f09856d9b597b11d5fca516324292de54e2cfd
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/209698
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agodrivers: video: tegra: fix gk20a priv ring init
Jin Qian [Sat, 9 Mar 2013 00:21:05 +0000]
drivers: video: tegra: fix gk20a priv ring init

Gk20a gpcpll init depends on priv ring init so move it early.
Remove the hack to enable gpcpll programming on qt.

Bug 1239005

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

5 years agoARM: tegra12: dvfs: use common core voltage capping code
Peng Du [Thu, 14 Mar 2013 00:55:47 +0000]
ARM: tegra12: dvfs: use common core voltage capping code

Fix tegra12_dvfs.c to use the common voltage capping code
introduced in: http://git-master/r/196730

Bug 1186037

Change-Id: I60c20dacba1612dbe78f2f1bc3bbc564b2a45d72
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/209775
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: Re-add TSC & timer init for simulation
Alex Van Brunt [Tue, 26 Mar 2013 00:42:12 +0000]
ARM: tegra: Re-add TSC & timer init for simulation

The simulator does not have a bootloader to program the TSC and \
generic timer. So, initialize it in the kernel.

This partially reverts http://git-master/r/203424

Change-Id: I04212be38fc2bfce923a910fbf3aac752f8a886a
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra12: Enable device tree for bonaire
Alex Van Brunt [Mon, 18 Mar 2013 18:16:32 +0000]
ARM: tegra12: Enable device tree for bonaire

Change-Id: I183b130a80ce8937137acab98d2d0c64dc65ee35
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra12: enable devfreq
Alex Van Brunt [Fri, 22 Mar 2013 18:13:16 +0000]
ARM: tegra12: enable devfreq

Change-Id: If85da2505ca60ba739bd7b78190a635c1ce54c12
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra12: host: Refactor cdma timeout
Alex Van Brunt [Wed, 20 Mar 2013 23:22:30 +0000]
video: tegra12: host: Refactor cdma timeout

This patch:

 - Refactors CDMA timeout to follow better split between device
    dependent and independent parts
 - Does a minor fix in CDMA timeout handling code. The channel
    timeout is set to be at most 500ms

Change-Id: I51542b84f0051ff1c387ad20939e1f2eb1d6c903
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra12: nvmap: move nvmap ioctls to linux/nvmap.h
Alex Van Brunt [Wed, 20 Mar 2013 23:14:22 +0000]
video: tegra12: nvmap: move nvmap ioctls to linux/nvmap.h

Prepare for marshal/unmarshal of nvmap handles. generate ioctl param
structs based on CONFIG_COMPAT flag. this is to allow nvmap work
with 64-bit kenel and 32-bit user space.
Add missing comments for ioctl params.
Bug 1228120

Change-Id: I4f68eba0e71638294ab2eb3775376d3446185e27
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra12: Replacement of PWM device structure
Alex Van Brunt [Wed, 20 Mar 2013 22:57:01 +0000]
ARM: tegra12: Replacement of PWM device structure

Replaced the old PWM platform device structure with a
new PWM platform device structure. This is done in
accordance with the new PWM driver framework and driver
which requires just one device which represent all the
PWM's available.

Bug 1207114
Bug 1252464

Change-Id: I7780e5f3219282484ae314435a344d32c4c15372
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra: bonaire: Move sim enet to pre-si cfg
Peng Du [Thu, 14 Mar 2013 20:18:18 +0000]
ARM: tegra: bonaire: Move sim enet to pre-si cfg

Sim ethernet device has been moved to common.c to share
among chips. This change refactored bonaire board as
such. In addition, the newly added smsc911x device is
also moved to common.c

Origin change: http://git-master/r/162270

Change-Id: Ibf5dd386e5038cd30abb9dc96b29ecf5e56571da
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/209776
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra12: Remove call to tegra_gpio_resume_init
Alex Van Brunt [Fri, 15 Mar 2013 21:13:36 +0000]
ARM: tegra12: Remove call to tegra_gpio_resume_init

It no longer exists in 3.8.x

Change-Id: I0e8d60ea05a23c97515f002201cc8210f9463178
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra: vic03: remove __dev* attributes
Alex Van Brunt [Fri, 15 Mar 2013 16:17:55 +0000]
video: tegra: vic03: remove __dev* attributes

Change-Id: I54d94174b071702c4f3dcef236301464075c5c5c
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra12: dvfs: Move common core voltage capping code
Alex Van Brunt [Thu, 14 Mar 2013 22:17:53 +0000]
ARM: tegra12: dvfs: Move common core voltage capping code

Use the commot Tegra2 and Tegra11 core voltage capping code.
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

Change-Id: I6db5b21848d48013d3fb04eae3b3245a2124da0a

5 years agovideo: tegra: gk20a: remove __dev* attributes
Alex Van Brunt [Fri, 15 Mar 2013 15:46:51 +0000]
video: tegra: gk20a: remove __dev* attributes

Change-Id: Ib32e9c40929390b22d7961b63f5dad7ab4dce520
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agoARM tegra12: pinmux: remove __dev* attributes
Alex Van Brunt [Thu, 14 Mar 2013 22:08:39 +0000]
ARM tegra12: pinmux: remove __dev* attributes

Change-Id: I6714ef14280f269b6d8e2a6348c5628b47eda251
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agoregulator: Remove duplicate definition
Alex Van Brunt [Thu, 14 Mar 2013 21:01:53 +0000]
regulator: Remove duplicate definition

Remove extra definition of regulator_count_voltages.

Change-Id: I1bd7a75b61ef64e9e09c440c46ecc7d6d0a42fa9
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>

5 years agodrivers: video: change gk20a gating prod API
Xue Dong [Mon, 18 Feb 2013 23:30:34 +0000]
drivers: video: change gk20a gating prod API

bug 1164093

Change-Id: I15b66327c9b01e6c346cc9b83565c31e3b9f7850
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/201440
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: pcie: Enable PCIE for T124
Jay Agarwal [Thu, 7 Mar 2013 06:00:05 +0000]
ARM: tegra: pcie: Enable PCIE for T124

1. Enable PCIe compilation for T124 platforms
2. Call PCIe probe for T124 platforms

Bug 1201008

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

5 years agoARM: tegra: move sdhci platform_data definition
Alex Van Brunt [Wed, 6 Mar 2013 23:08:08 +0000]
ARM: tegra: move sdhci platform_data definition

Move definition for dolak.

Change-Id: I0a69df7e5430e70f5e2cba519c177cc914f90dff
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/206827
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: Tegra: devices: fix bad merge for tegra_grhost_device definition
Varun Wadekar [Mon, 25 Jun 2012 12:57:50 +0000]
ARM: Tegra: devices: fix bad merge for tegra_grhost_device definition

Change-Id: I591b2bda244c1594fe07008eef43df9f3a803362
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/206825
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoFIXUP: ARM: tegra: iomap: Fix typo from merge
Alex Van Brunt [Wed, 6 Mar 2013 22:35:46 +0000]
FIXUP: ARM: tegra: iomap: Fix typo from merge

Change-Id: I6ec2bb3a5000245d2d02d3a8bb59052366eb1c53
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/206823
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: host: add VI client-managed syncpts
Pablo Ceballos [Thu, 7 Mar 2013 21:40:02 +0000]
video: tegra: host: add VI client-managed syncpts

Make the necessary VI syncpoints client-managed.

Change-Id: I0d6c7a69fa23926f3fc82f9600ace4ca2383b4df
Signed-off-by: Pablo Ceballos <pceballos@nvidia.com>
Reviewed-on: http://git-master/r/207296
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoarm: tegra: disable smc91x eth device for dsim
Peng Du [Wed, 6 Mar 2013 20:12:19 +0000]
arm: tegra: disable smc91x eth device for dsim

SMC91X is an ASIM-only device which DSIM doesn't support.

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

5 years agodrivers : video: host: gpu cycle state support
Xue Dong [Sat, 9 Mar 2013 00:11:36 +0000]
drivers : video: host: gpu cycle state support

bug 1154464

Change-Id: Ie35f8ecc2236e4abdbd86c14a646a12b00b6144e
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/201518
Reviewed-by: Chao Xu <cxu@nvidia.com>