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>

5 years agoARM: tegra12: Remove isp_sapor
Kaz Fukuoka [Wed, 27 Mar 2013 00:30:27 +0000]
ARM: tegra12: Remove isp_sapor

bug 1160031

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

5 years agoarm: tegra: enable RAM repair for future chips
Adeel Raza [Wed, 17 Apr 2013 21:09:54 +0000]
arm: tegra: enable RAM repair for future chips

Bug 1232222

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

5 years agovideo: tegra: gk20a: add mutex to protect fecs method submit
Jin Qian [Thu, 18 Apr 2013 00:57:30 +0000]
video: tegra: gk20a: add mutex to protect fecs method submit

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

5 years agovideo: tegra: gk20a: prevent crash in firmware load
Jin Qian [Wed, 17 Apr 2013 19:23:34 +0000]
video: tegra: gk20a: prevent crash in firmware load

Bug 1268416

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

5 years agovideo: tegra: gk20a: increase gr timeout for simulation
Jin Qian [Wed, 17 Apr 2013 19:02:48 +0000]
video: tegra: gk20a: increase gr timeout for simulation

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

5 years agovideo: tegra: gk20a: add spinlock to protect chid search
Jin Qian [Wed, 17 Apr 2013 17:50:39 +0000]
video: tegra: gk20a: add spinlock to protect chid search

skip un-initialized channel in chid search

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

5 years agovideo: tegra: gk20a: remove module busy/idle for as_release
Jin Qian [Mon, 15 Apr 2013 19:51:28 +0000]
video: tegra: gk20a: remove module busy/idle for as_release

as_release is pure page table manipulation w/o touching gpu hw

Bug 1268416

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

5 years agovideo: tegra: gk20a: add mutex to protect golden image init
Jin Qian [Tue, 16 Apr 2013 23:23:53 +0000]
video: tegra: gk20a: add mutex to protect golden image init

Golden image is global to all channels. Although only the first
channel initializes golden image, driver needs to prevent multiple
channels from initializing golden ctx at the same time.

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

5 years agovideo: tegra: gk20a: add mutex to protect elpg state change
Jin Qian [Thu, 11 Apr 2013 22:13:00 +0000]
video: tegra: gk20a: add mutex to protect elpg state change

add elpg refcnt for enable/disable
change elpg deferred enable from timer to delayed_work

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

5 years agovideo: tegra: gk20a: fix netlist load
Jin Qian [Thu, 11 Apr 2013 21:59:31 +0000]
video: tegra: gk20a: fix netlist load

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

5 years agoarch: arm: ardbeg: fix ardbeg build failure
Mitch Luban [Tue, 16 Apr 2013 22:01:59 +0000]
arch: arm: ardbeg: fix ardbeg build failure

Need pinmux skeleton tables.

Bug 1257423

Change-Id: I95c47924df601eaf530d74e876c4693ae4620697
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/219971
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agommc: tegra: no need of choosing either pll_c/pll_p
rrajk [Wed, 17 Apr 2013 10:31:30 +0000]
mmc: tegra: no need of choosing either pll_c/pll_p

It is not required to choose either pll_c or pll_p as clk
source on FPGA platform.

Change-Id: I2ee159c1f113266788e6d2330b868faa20cab341
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/220145
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: fuse: Remove ODM_LOCK from write protection
Sumit Sharma [Wed, 17 Apr 2013 08:38:28 +0000]
arm: tegra: fuse: Remove ODM_LOCK from write protection

Remove ODM_LOCK fuse from write protection of odm_production_mode

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

5 years agoarm: tegra: Modify fuse internal R/W functions
Sumit Sharma [Wed, 17 Apr 2013 08:27:13 +0000]
arm: tegra: Modify fuse internal R/W functions

Change fuse internal R/W function from tegra_apb_readl to readl

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

5 years agoarm: tegra: fuse: Modify fuse device parameters
Sumit Sharma [Wed, 17 Apr 2013 08:22:40 +0000]
arm: tegra: fuse: Modify fuse device parameters

Modify fuse device parameters for T12x boards

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

5 years agoarm: tegra: t12x: Register fuse device
Sumit Sharma [Wed, 17 Apr 2013 08:19:38 +0000]
arm: tegra: t12x: Register fuse device

Register fuse device for tegra 12x boards

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

5 years agoarm: tegra: bonaire: Enable dummy regulator
Sumit Sharma [Wed, 17 Apr 2013 08:18:50 +0000]
arm: tegra: bonaire: Enable dummy regulator

Add dummy regulator support for bonaire board

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

5 years agoarm: tegra: fuse: Fix T124 fuse offsets
Sumit Sharma [Wed, 17 Apr 2013 06:08:26 +0000]
arm: tegra: fuse: Fix T124 fuse offsets

Replaced earlier present file with correct file

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

5 years agodriver: ahci: tegra: fix compilation errors
Stefan Becker [Wed, 17 Apr 2013 11:35:12 +0000]
driver: ahci: tegra: fix compilation errors

Bug 1211729

Change-Id: I177cca673e61d6c979bb26a9f36c8cf688a30463
Signed-off-by: Stefan Becker <stefanb@nvidia.com>
Reviewed-on: http://git-master/r/220171
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bhavesh Parekh <bparekh@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra: fix build when CONFIG_OF not selected
Stefan Becker [Wed, 17 Apr 2013 11:31:31 +0000]
ARM: tegra: fix build when CONFIG_OF not selected

Bug 1211729

Change-Id: I80c441f3f602e6fa702be2ba04c59eb28cd83cd0
Signed-off-by: Stefan Becker <stefanb@nvidia.com>
Reviewed-on: http://git-master/r/220170
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoarm: tegra: bonaire: add CD pin support
rrajk [Mon, 8 Apr 2013 11:23:39 +0000]
arm: tegra: bonaire: add CD pin support

Added CD pin support on bonaire.
Bug 1246725

Change-Id: I50044127171c292355327cb4a9e9efbe7a6ff78a
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/217331
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agommc: tegra: disable auto calibration support
rrajk [Mon, 8 Apr 2013 11:18:42 +0000]
mmc: tegra: disable auto calibration support

Disable Auto calibration support on fpga platform.
Bug 1246725

Change-Id: If53b6b0f660cbf599dde645a8e071d3691062ebd
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/217330
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra12: clock: Fix PWM overclock warnings
Hoang Pham [Tue, 9 Apr 2013 18:50:59 +0000]
ARM: tegra12: clock: Fix PWM overclock warnings

Bug 1160031

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

5 years agoARM: tegra12: clock: Don't propagate boot clock clean up
Hoang Pham [Tue, 9 Apr 2013 18:29:32 +0000]
ARM: tegra12: clock: Don't propagate boot clock clean up

When disabling coupled gate clocks left on by boot-loader,
but not ref-counted during kernel initialization, do not
propagate disable operation to coupled parents.

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

5 years agoarm: tegra: pcie: Limiting XUSB PADCTL to T12x SOC
Naveen Kumar S [Tue, 16 Apr 2013 09:49:15 +0000]
arm: tegra: pcie: Limiting XUSB PADCTL to T12x SOC

To avoid build breaks in other SOCs due to addition of XUSB PADCTL code
for T124, appended conditional checks for T12x at xusb padctl functions.

Bug 1272150

Change-Id: Iad5287e04b1b03bd7accde239b0f08332c8ad227
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/219761
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarm: configs: add t12x defconfig
Mitch Luban [Tue, 2 Apr 2013 23:19:18 +0000]
arm: configs: add t12x defconfig

tegra12_android_defconfig for T124 based boards.

Bug 1257423

Change-Id: I923925d6af16df83b43f29f6c020e36976abadd4
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/215731
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

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>