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>

5 years agoNVUB_T124 video: tegra: add new mode for ov9772
Wei Chen [Tue, 12 Mar 2013 23:09:24 +0000]
NVUB_T124 video: tegra: add new mode for ov9772

NVUB_T124 Add 1280x720 mode to ov9772 for
NVUB_T124 FPGA bringup

NVUB_T124 bug 1205344

Change-Id: I19cac2bb6b9d853bcfc3f78c1256bb93d5c099ad
Signed-off-by: Wei Chen <wechen@nvidia.com>j
Reviewed-on: http://git-master/r/219604
Reviewed-by: Pablo Ceballos <pceballos@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra: hdmi: fix dbg_hotplug_write retval
Peng Du [Tue, 16 Apr 2013 23:40:05 +0000]
video: tegra: hdmi: fix dbg_hotplug_write retval

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

5 years agovideo: tegra: host: Enable VI and ISP always
Terje Bergstrom [Tue, 23 Apr 2013 07:44:35 +0000]
video: tegra: host: Enable VI and ISP always

Enable VI and ISP drivers on Tegra2 and Tegra3.

Bug 1274815

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

5 years agovideo: tegra: host: Non-memory resources fail
Terje Bergstrom [Tue, 23 Apr 2013 07:27:52 +0000]
video: tegra: host: Non-memory resources fail

From device tree we can get memory resources, but also irq resources.
That's normal, so do not return failure when we've dealt with all
memory resources.

Also uses devm resource tracking so that we do not need to track IO
memory areas.

Bug 1274815

Change-Id: I9ae22e206058c19c0ef9e77837f1604b6779a08e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/221965
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
GVS: Gerrit_Virtual_Submit
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: I45db652964b3735a1109aae4433e07b06f938b29
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/222111
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agovideo: tegra: gk20a: clean up pm_ctx setup
Jin Qian [Thu, 18 Apr 2013 19:57:15 +0000]
video: tegra: gk20a: clean up pm_ctx setup

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

5 years agovideo: tegra: Update headers to NET16 (cl 19087349)
Chao Xu [Fri, 12 Apr 2013 23:43:19 +0000]
video: tegra: Update headers to NET16 (cl 19087349)

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

5 years agotegra: video: T124 support 64bit dc phys address
Xue Dong [Mon, 22 Apr 2013 21:10:10 +0000]
tegra: video: T124 support 64bit dc phys address

LPAE support
Bug 1220300

Change-Id: I401ecdd62cdf1102b1863cd6df14cc2cafdf62dd
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/221366
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: enable runtime PM for bonaire_sim
Mayuresh Kulkarni [Fri, 19 Apr 2013 11:26:48 +0000]
ARM: tegra: enable runtime PM for bonaire_sim

this is preparation to deprecate ACM and use runtime
PM instead of it

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

5 years agoarm: tegra: ardbeg: Enable I2C support
Sumit Sharma [Tue, 23 Apr 2013 06:29:55 +0000]
arm: tegra: ardbeg: Enable I2C support

Enable I2C config support

Bug 1271871

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

5 years agoarm: tegra: ardbeg: Add pinmux settings for ardbeg
Sumit Sharma [Mon, 22 Apr 2013 10:22:28 +0000]
arm: tegra: ardbeg: Add pinmux settings for ardbeg

Add pinmux & gpio settings for ardbeg board

Bug 1271898
Bug 1271897

Change-Id: I61e5e97fb6df9c7dd9467b33242e04585536d1d2
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/221540
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: ardbeg: Register I2C controllers
Sumit Sharma [Tue, 23 Apr 2013 05:17:58 +0000]
arm: tegra: ardbeg: Register I2C controllers

Add i2c controllers for ardbeg board

Bug 1271871

Change-Id: Iff1b27c064e01e67a9f4fcc87e2929c1e99990e7
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/221886
Reviewed-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: host: skip iounmap IO regs in VIC deinit
Peng Du [Thu, 18 Apr 2013 22:12:41 +0000]
video: tegra: host: skip iounmap IO regs in VIC deinit

We should not iounmap vic03's IO registers in vic03_deinit
because they are only mapped once in vic03_probe. This is
also problematic on arm64 whose iounmap() impl is unaware
of static mappings.

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

5 years agoARM: tegra: sdhci: enable WP support for bonaire
rrajk [Mon, 22 Apr 2013 13:11:00 +0000]
ARM: tegra: sdhci: enable WP support for bonaire

Enabled WP support for SDMMC3 in bonaire.
Bug 1246725

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

5 years agoARM: tegra12: clock: Fix cbus clients overclock warnings
Hoang Pham [Tue, 23 Apr 2013 01:26:16 +0000]
ARM: tegra12: clock: Fix cbus clients overclock warnings

Bug 1160031

Change-Id: I1a74f82e3d3f78b47e4e30c090a1e0b8c8654cdd
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/220284
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarm: tegra12: enable VPR for Tegra split mem
Adeel Raza [Fri, 19 Apr 2013 23:25:20 +0000]
arm: tegra12: enable VPR for Tegra split mem

Make room for the VPR carveout in the front door memory region of the
Tegra split memory config.

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

5 years agoARM: tegra12: Reset pll lock detect circuit
Kaz Fukuoka [Fri, 5 Apr 2013 00:41:55 +0000]
ARM: tegra12: Reset pll lock detect circuit

bug 1160031

Change-Id: I6822e190c9bacd15c492eeec3008d9330b422feb
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/216733
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: #include dma-iommu.h when IOMMU_API=y
Peng Du [Thu, 11 Apr 2013 21:36:06 +0000]
ARM: tegra: #include dma-iommu.h when IOMMU_API=y

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

5 years agovideo: tegra: host: Use configurable timeout
Terje Bergstrom [Fri, 19 Apr 2013 10:27:43 +0000]
video: tegra: host: Use configurable timeout

Use configurable timeout for gk20a channels. Make it use the host1x
default timeout, which is 10 secs for silicon and timeout disabled
for simulation and emulation.

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

5 years agommc: host: tegra : update PAD_E_INPUT_OR_E_PWRD bit
Shridhar Rasal [Fri, 19 Apr 2013 09:06:03 +0000]
mmc: host: tegra : update PAD_E_INPUT_OR_E_PWRD bit

set PAD_E_INPUT_OR_E_PWRD bit to 1 before starting calibration and
clear after calibration for power saving.

bug 1053446

Change-Id: I40f9ee9c29ca1719070d7059f0fb564aba3b2bbd
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/218252
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: configs: tegra12: Enable DTB appending
Alex Van Brunt [Fri, 19 Apr 2013 14:15:43 +0000]
ARM: configs: tegra12: Enable DTB appending

Bonaire gets its DTB appended to the zImage.

Change-Id: Ic775ccc7c7d750362072f7d67c33fbe11fe1ab91
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/221060
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jin Qian <jqian@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agovideo: tegra: host: fix gpfifo get update regression
Ken Adams [Thu, 18 Apr 2013 23:54:53 +0000]
video: tegra: host: fix gpfifo get update regression

A previous change rearranged the management of the
outstanding gpfifo information.  This bit didn't get
put back.

Bug 1272748

Change-Id: Ib7adebd30b13b9e137d7a2141734729ad8f4c86d
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/220768
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoarm: config: Enable PCIe for L4T
Jay Agarwal [Fri, 19 Apr 2013 09:30:01 +0000]
arm: config: Enable PCIe for L4T

Bug 1201008

Change-Id: I7cb513d2b77de8741ae31f736817458d881b8787
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/220904
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: pcie: Add FPGA Gen2 support
Jay Agarwal [Wed, 17 Apr 2013 12:18:59 +0000]
arm: tegra: pcie: Add FPGA Gen2 support

Added code to support Gen2 speed on PCIe FPGA

Bug 1253529

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

5 years agoARM: tegra12: Enable IOMMU
Terje Bergstrom [Wed, 27 Mar 2013 12:07:20 +0000]
ARM: tegra12: Enable IOMMU

Enable IOMMU in the kernel defconfig for bonaire sim. Also rearranges
the entries as defconfig has been modified without using savedefconfig.

Bug 1201552

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

5 years agovideo: tegra: host: Do not change devid -1 to 0
Terje Bergstrom [Thu, 18 Apr 2013 07:22:20 +0000]
video: tegra: host: Do not change devid -1 to 0

Device id -1 implies no suffix to device name. Device id 0 implies that
suffix .0 is added. Do not change the id mid-flight.

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

5 years agoARM: tegra12: Enable ftrace in simulator
Terje Bergstrom [Thu, 18 Apr 2013 07:01:43 +0000]
ARM: tegra12: Enable ftrace in simulator

Enable ftrace in simulator.

Configuration is saved with ksavedefconfig, and previously it has been
edited manually. This causes some shuffling in the defconfig file.

Change-Id: Ia7fff9e56faa234a21386b9ee85987275a3aaebc
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/220484
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

5 years agovideo: tegra: host: Set devid to -1 for singletons
Terje Bergstrom [Thu, 18 Apr 2013 07:29:51 +0000]
video: tegra: host: Set devid to -1 for singletons

For devices with only one instance, set id to -1. This removes the
suffix ".0" from the device name.

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

5 years agovideo: tegra: host: Set T124 host1x pdata statically
Terje Bergstrom [Thu, 18 Apr 2013 07:23:49 +0000]
video: tegra: host: Set T124 host1x pdata statically

Set private_data to point to the host1x information statically instead
runtime.

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

5 years agovideo: tegra: nvhost: protect memmgr_smmu code
Peng Du [Wed, 17 Apr 2013 01:19:52 +0000]
video: tegra: nvhost: protect memmgr_smmu code

Change-Id: I4eafd96d4f8904da6d84fcaae7f7bb2bcc80f4fc
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/220080
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoarm: tegra12: enable ram repair
Adeel Raza [Thu, 18 Apr 2013 21:35:19 +0000]
arm: tegra12: enable ram repair

Bug 1232222

Change-Id: Iac6e66aa9f0b887db1efa7ac14229c06db6e6379
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/220731
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoARM: tegra12: PLLP fixed rate is 408MHz
Kaz Fukuoka [Thu, 4 Apr 2013 01:50:00 +0000]
ARM: tegra12: PLLP fixed rate is 408MHz

PLLP fixed rate is changed from 216MHz to 408MHz on Tegra12.
HW automatically sets PLLP to this rate.
SW doensn't have to, and does not override this setup.

bug 1160031

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

5 years agoARM: tegra12: Fix max of clk_out_1 and clk_out_3
Kaz Fukuoka [Thu, 4 Apr 2013 01:29:02 +0000]
ARM: tegra12: Fix max of clk_out_1 and clk_out_3

bug 1160031

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

5 years agoARM: tegra12: Fix vi_sensor clock gate
Kaz Fukuoka [Fri, 29 Mar 2013 01:16:18 +0000]
ARM: tegra12: Fix vi_sensor clock gate

- cam_mclk (164) gates vi_sensor
- cam_mclk2 (165) gates vi_sensor2

bug 1160031

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

5 years agoARM: tegra12: Add dpaux
Kaz Fukuoka [Wed, 27 Mar 2013 01:43:22 +0000]
ARM: tegra12: Add dpaux

bug 1160031

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

5 years agoARM: tegra12: Clean up and fix warnings
Kaz Fukuoka [Wed, 27 Mar 2013 00:20:54 +0000]
ARM: tegra12: Clean up and fix warnings

bug 1160031

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