5 years agoARM: tegra: add support for powergate skip list
Mayuresh Kulkarni [Tue, 14 May 2013 12:14:47 +0000]
ARM: tegra: add support for powergate skip list

- the idea is to add the power gate ids to a skip list
and expose this list via pg_ops
- the core code checks if current id is in skip list.
if it is then, it skips power gate or ungate operation
of the current id

bug 1249871

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

5 years agovideo: tegra: host: Fix zcull ioctl args
Terje Bergstrom [Tue, 28 May 2013 05:11:21 +0000]
video: tegra: host: Fix zcull ioctl args

Zcull argument structs were reversed between old and new structs.
Fix this inconsistency.

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

5 years agovideo: tegra: host: Enable actmon on VIC
Arto Merilainen [Fri, 19 Apr 2013 06:19:58 +0000]
video: tegra: host: Enable actmon on VIC

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

5 years agovideo: tegra: host: Add actmon support for T124
Arto Merilainen [Tue, 26 Mar 2013 05:55:53 +0000]
video: tegra: host: Add actmon support for T124

This patch adds support for T124 unit actmons.

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

5 years agovideo: tegra: host: Fix suspend in scale3d
Arto Merilainen [Thu, 23 May 2013 07:05:17 +0000]
video: tegra: host: Fix suspend in scale3d

The new devfreq allows having an active devfreq without having an
active governor. The old code assumed that having an active devfreq
equals having an active governor - which lead to usage of bad
NULL pointers. This patch adds necessary checks.

Bug 1296920

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

5 years agoarm: config: tegra: Add IMX135 sensor support
Amit Arora [Sun, 19 May 2013 10:04:26 +0000]
arm: config: tegra: Add IMX135 sensor support

Enable CONFIG_VIDEO_IMX135 camera sensor for tegra11 and
tegra12 defconfig.

Bug 1250073
Bug 1256437

Change-Id: I0e86dc29a62b8840ce644de7dff831823f622043
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/230097
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra12: clock: Adding support to select CSI clock source
Krishna Sitaraman [Tue, 14 May 2013 22:18:41 +0000]
ARM: tegra12: clock: Adding support to select CSI clock source

CSI has two clock sources, PLL_D and the MIPI Brick. Adding select
option for choosing the appropriate clock.

Bug 1231122

Change-Id: Iafc0004f33bea670cac8e2480af52bf42e753f6a
Signed-off-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-on: http://git-master/r/228525
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agommc: host: tegra: Add vendor preset value register
Shridhar Rasal [Fri, 24 May 2013 07:29:37 +0000]
mmc: host: tegra: Add vendor preset value register

SD host spec defines vendor present value register for each bus
speed mode. Include supported registers for tegra host
controller >4.0

bug 1276024

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

5 years agommc: host: tegra: Add QUIRK to include 64Bit DMA
Shridhar Rasal [Mon, 29 Apr 2013 11:45:18 +0000]
mmc: host: tegra: Add QUIRK to include 64Bit DMA

T124 Supports 64 bit DMA Addressing.
Add quirk to support in sdhci tegra driver.

bug 1276024

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

5 years agommc: host: update adma2 desc table for 64 bit DMA
Shridhar Rasal [Fri, 10 May 2013 10:30:31 +0000]
mmc: host: update adma2 desc table for 64 bit DMA

- Update adma descriptor table for 64/96/128 bit descriptor and
- Fill up 64 bit address in descriptor if 64 bit addressing supported

bug 1276024

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

5 years agommc: sdhci: add 64bit DMA mode support
Shridhar Rasal [Mon, 29 Apr 2013 11:24:35 +0000]
mmc: sdhci: add 64bit DMA mode support

- Configure UPPER_ADMA_ADDRESS register if controller version is 4.0
  and supports 64 bit DMA addressing

-Set HOST_VERSION_4_EN and ADDRESSING_64BIT_EN bits of AMCD12_ERR
  register for controller version >4.00.

bug 1276024

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

5 years agoARM: tegra: fix TEGRA_NUM_POWERGATE value per SOC
Mayuresh Kulkarni [Tue, 14 May 2013 10:50:02 +0000]
ARM: tegra: fix TEGRA_NUM_POWERGATE value per SOC

bug 1249871

Change-Id: I07a9dbdc4f2177e13e64f1312a1288c5ba77375f
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/228354
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: host: gk20a large page size
Ken Adams [Wed, 22 May 2013 17:11:37 +0000]
video: host: gk20a large page size

Split vm's which suport large page sizes in half.
This change also cleans up/fixes some error messages and
other such minor miscellany.

Bug 1227983

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

5 years agovideo: tegra: host: Fix 64-bit compatible submit
Terje Bergstrom [Fri, 24 May 2013 17:51:57 +0000]
video: tegra: host: Fix 64-bit compatible submit

The new submit IOCTL is not 64-bit padding safe. Reorder to regain
64-bit safety.

Also copy the fence argument in IOCTL.

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

5 years agovideo: tegra: host: Fix building for older chips
Terje Bergstrom [Mon, 20 May 2013 07:59:42 +0000]
video: tegra: host: Fix building for older chips

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

5 years agommc: host: add transfer mode register fields.
Shridhar Rasal [Tue, 7 May 2013 05:32:06 +0000]
mmc: host: add transfer mode register fields.

With SD4.0 controller supports response check error.
Which helps for debugging and to avoid overhead of
response error check from driver side.
Adding respective bits for transfer mode register.

bug 1276024

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

5 years agommc: host: add data line status debug bits
Shridhar Rasal [Mon, 6 May 2013 08:32:48 +0000]
mmc: host: add data line status debug bits

SDHCI_PRESENT_STATE register includes status bits for
data lines 4 to 7. These bits used to check data line
debugging on error conditions.

bug 1276024

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

5 years agoARM: tegra12: clock: Add clock for entropy
Shravani Dingari [Mon, 27 May 2013 09:57:33 +0000]
ARM: tegra12: clock: Add clock for entropy

Added Entropy clock required for Ring Oscillators
used by SE DRBG operation

Bug 1271895

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

5 years agoARM: tegra: ardbeg: Enable SE for T124 interposer
Shravani Dingari [Mon, 27 May 2013 06:04:10 +0000]
ARM: tegra: ardbeg: Enable SE for T124 interposer

Bug 1271895

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

5 years agovideo: tegra: host: Change T124 VI/ISP syncpts
Pablo Ceballos [Thu, 2 May 2013 23:24:03 +0000]
video: tegra: host: Change T124 VI/ISP syncpts

Remove T124 VI/ISP client-managed syncpoints and make them
host-managed instead.

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

5 years agoARM: tegra12: clock: Fix boot over-clock warnings
Kaz Fukuoka [Thu, 2 May 2013 21:51:09 +0000]
ARM: tegra12: clock: Fix boot over-clock warnings

Increase maximum rate for secondary PLLM output
to the main PLLM output limit.

(Ported from http://git-master/r/225012)
bug 1164664

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

5 years agoARM: tegra12: clock: Add vim2_clk
Kaz Fukuoka [Fri, 10 May 2013 00:48:15 +0000]
ARM: tegra12: clock: Add vim2_clk

bug 1164664

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

5 years agomedia: video: tegra: Add imx135 support
Amit Arora [Sun, 19 May 2013 10:01:04 +0000]
media: video: tegra: Add imx135 support

Add driver support for imx135 camera sensor.

Bug 1250073

Change-Id: Ib36f2a9138583fafef902a0846ceab060524f191
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/229790
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARCH: ARM: CONFIG Update Bonaire MODS Defconfig
Vivek Aseeja [Fri, 24 May 2013 17:59:30 +0000]
ARCH: ARM: CONFIG Update Bonaire MODS Defconfig

Fix RTC compilation error and disable NFS support

Signed-off-by: Vivek Aseeja <vaseeja@nvidia.com>
Change-Id: Iba84e43913d377e06263aa99fb8179ffe7d95b6d
Reviewed-on: http://git-master/r/232659
Reviewed-by: Frank Bourgeois <fbourgeois@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: gk20a: convert mem id from u32 to ulong
Peng Du [Thu, 23 May 2013 17:36:31 +0000]
video: tegra: gk20a: convert mem id from u32 to ulong

NvMap defines memory id as unsigned long throughout its
APIs and impl whereas many clients still define u32 ids.
This can cause issues on 64bit platforms.

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

5 years agoarm :tegra: pcie: Avoid hang on non-pcie fpga
Jay Agarwal [Thu, 23 May 2013 08:34:00 +0000]
arm :tegra: pcie: Avoid hang on non-pcie fpga

Modified pme turn off code execution based on
pcie/non-pcie fpga

Change-Id: I3a2d2ba0d922418b45089c2f36238342b730f6ba
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/232043
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: configs: t12x: Enable proper Light sensor
Sri Krishna chowdary [Mon, 20 May 2013 12:37:11 +0000]
ARM: configs: t12x: Enable proper Light sensor

Enable CONFIG_SENSORS_CM3218 as CM32181 is used on Ardbeg, Laguna
Disable CONFIG_SENSORS_MAX44005
Disable CONFIG_SENSOR_ISL29028

Bug 1256462

Change-Id: Ia1dbd91efc5a15d75c018f0a14fe763cce25fb73
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/228653
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agovideo: tegra: host: convert mem id from u32 to ulong
Peng Du [Tue, 16 Apr 2013 22:30:01 +0000]
video: tegra: host: convert mem id from u32 to ulong

NvMap defines memory id as unsigned long throughout its
APIs and impl whereas many clients still define u32 ids.
This can cause issues on 64bit platforms.

Change-Id: I3dd8258cbea814f02b32eb2bfef5cbc9c2640909
Signed-off-by: Peng Du <pdu@nvidia.com>
Reviewed-on: http://git-master/r/220005
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra: config: tegra12_defconfig for l4t
Bibek Basu [Wed, 22 May 2013 22:53:59 +0000]
ARM: tegra: config: tegra12_defconfig for l4t

Add tegra12_defocnfig for l4t

Bug 1293554

Change-Id: I663464cb99258d95538a01c0211070defbca1d5d
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/231789
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoarch: arm: ardbeg: fix t124 ardbeg build
Mitch Luban [Thu, 23 May 2013 07:25:03 +0000]
arch: arm: ardbeg: fix t124 ardbeg build

Need to choose soc specific early init.

Change-Id: I572cab4a2976d9e9f410f53c270de3f23b2ff5ad
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/232009
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: host: Disable gk20a powergating
Terje Bergstrom [Thu, 23 May 2013 11:17:04 +0000]
video: tegra: host: Disable gk20a powergating

Set gk20a power gating to disabled. This is the safe default for
bringup until power gating is verified.

Change-Id: I427609df0abe35a75ab777cd8e4abc559bfcf664
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/232107
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>

5 years agoARM: configs: t12x: update defconfig entries
Sri Krishna chowdary [Mon, 20 May 2013 12:31:27 +0000]
ARM: configs: t12x: update defconfig entries

Update defconfig entries using menuconfig

Change-Id: I9a7cfc979ca3dd27bb8efc8d0837d1fe4b40d971
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/230833
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra12: clock: Support for PLLD2, DP, C4
Kaz Fukuoka [Thu, 11 Apr 2013 23:08:40 +0000]
ARM: tegra12: clock: Support for PLLD2, DP, C4

For the new spread spectrum PLLs: PLLD2, PLLDP, and PLLC4.

bug 1160031
bug 1164664

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

5 years agoarm: tegra: remove __initdata keyword for nvmap_device
Seema Khowala [Wed, 22 May 2013 18:55:38 +0000]
arm: tegra: remove __initdata keyword for nvmap_device

nvmap_device was incorrectly marked as __initdata during
dalmore board files creation and it got carried forward to
boards that are created later onwards.
Bug 1247591

Change-Id: Ic40d28fc41e8c26b975c2c4423a15128fa6384e9
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/231693
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoarm: tegra: ardbeg: Add sharp 25x16 panel support
Vineel Kumar Reddy Kovvuri [Fri, 10 May 2013 09:05:07 +0000]
arm: tegra: ardbeg: Add sharp 25x16 panel support

Fixed incorrect DSI packet sequence being used
during default and video non-burst mode.

Bug 1285749

Change-Id: Ib782c7ed76b7c102947c0fd7fd382b7f2b073b16
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/227381
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoarch: arm: tegra: ardbeg: Support Raydium Touch
Xiaohui Tao [Fri, 10 May 2013 03:27:40 +0000]
arch: arm: tegra: ardbeg: Support Raydium Touch

Add platform data and power rails needed for touch
support on ardbeg.

Bug 1256425

Change-Id: I6d40d83db44363242d078b0caa59d8111bfe1e58
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/227110
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoarch: arm: tegra: ardbeg: Add panel support
Seema Khowala [Fri, 3 May 2013 22:01:58 +0000]
arch: arm: tegra: ardbeg: Add panel support

Enable power rails necessary for display.

Bug 1257423

Change-Id: I781d692fe981c9aff0ed6ec601e7bb50ac8f16fb
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/224963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agomfd: Add AS3722 PMIC MFD driver
Florian Lobmaier [Mon, 6 May 2013 07:28:54 +0000]
mfd: Add AS3722 PMIC MFD driver

AS3722 is a PMIC with multiple DCDC and LDO power supplies,
GPIOs, an RTC, WDT. This patch adds support for MFD core

Change-Id: Id15187194fa6fec5b7234ff071645c8c6d592d1f
Signed-off-by: Florian Lobmaier <florian.lobmaier@ams.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/225575
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: add support to window D for t124
Chao Xu [Mon, 29 Apr 2013 17:50:01 +0000]
ARM: tegra: add support to window D for t124

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

5 years agovideo: tegra: host: implement submit wait queue
Kirill Artamonov [Fri, 10 May 2013 14:51:50 +0000]
video: tegra: host: implement submit wait queue

Implement submit wait queue for gk20a host.
Add nvhost_module_idle to submit complete action.

bug 1275382

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

5 years agostaging: iio: light: Remove CONFIG_SENSORS_CM32181
Sri Krishna chowdary [Wed, 15 May 2013 10:46:13 +0000]
staging: iio: light: Remove CONFIG_SENSORS_CM32181

CONFIG_SENSORS_CM32181 was needed for choosing
which value to be written to command register.
Now, this is taken care by cm3218 driver at runtime.

Bug 1256462

Change-Id: Id96ae564f3d7900645bd17d054be19a6af1c0c31
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/228832
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agovideo: tegra: host: Add padding to nvhost_wait_args
Terje Bergstrom [Fri, 3 May 2013 12:10:00 +0000]
video: tegra: host: Add padding to nvhost_wait_args

nvhost_wait_args gets compiled differently with 64-bit and 32-bit
compilers. Fix it by adding padding.

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

5 years agoARM: tegra12: Enable IOMMU on bonaire
Terje Bergstrom [Wed, 22 May 2013 06:43:55 +0000]
ARM: tegra12: Enable IOMMU on bonaire

Enable SMMU on tegra_bonaire_android_defconfig.

Bug 1201552

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

5 years agoARM: tegra12: Re-save bonaire Android defconfig
Terje Bergstrom [Wed, 22 May 2013 06:42:20 +0000]
ARM: tegra12: Re-save bonaire Android defconfig

tegra_bonaire_android_defconfig has been modified without using
savedefconfig. Re-generating the defconfig.

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

5 years agovideo: tegra: host: fix build break for bonaire
Mayuresh Kulkarni [Tue, 21 May 2013 09:38:17 +0000]
video: tegra: host: fix build break for bonaire

- bonaire (t124 fpga) doesn't enable kernel config
PM_GENERIC_DOMAINS
- linux/pm_domain.h defines pm_domain_always_on_gov as
NULL if PM_GENERIC_DOMAINS is not enabled
- as a result, &pm_domain_always_on_gov gives lvalue
compiler error
- this commit fixes this error

Change-Id: Ic575efac3a5a13eda7e8306c8be43ea04f59463f
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/231122
Reviewed-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agogpio: Add an AS3722 PMIC gpio driver
Florian Lobmaier [Mon, 6 May 2013 07:45:20 +0000]
gpio: Add an AS3722 PMIC gpio driver

AS3722 is a PMIC with multiple DCDC and LDO power supplies,
GPIOs, an RTC, WDT. This patch adds support for gpio

Change-Id: Iac350b2942b5b07f7355b7abd8acb22ae5dc5a04
Signed-off-by: Florian Lobmaier <florian.lobmaier@ams.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/225578
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agortc: Add an AS3722 PMIC RTC driver
Florian Lobmaier [Mon, 6 May 2013 07:43:38 +0000]
rtc: Add an AS3722 PMIC RTC driver

AS3722 is a PMIC with multiple DCDC and LDO power supplies,
GPIOs, an RTC, WDT. This patch adds support for RTC

Change-Id: I3e2efcbe52eed8d1c4175cf9928e0c2154654982
Signed-off-by: Florian Lobmaier <florian.lobmaier@ams.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/225577
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoregulator: add AS3722 regulator driver
Florian Lobmaier [Mon, 6 May 2013 07:37:38 +0000]
regulator: add AS3722 regulator driver

AS3722 is a PMIC with multiple DCDC and LDO power supplies,
GPIOs, an RTC, WDT. This patch adds support for regulator

Change-Id: I883cc5efcff0f18d3f4aa8082973e90089426368
Signed-off-by: Florian Lobmaier <florian.lobmaier@ams.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/225576
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agomfd: Add an AS3722 PMIC MFD driver
Florian Lobmaier [Mon, 6 May 2013 07:12:11 +0000]
mfd: Add an AS3722 PMIC MFD driver

AS3722 is a PMIC with multiple DCDC and LDO power supplies,
GPIOs, an RTC, WDT. This patch adds support for the same

Change-Id: I890ec51bb40176b22eaf3dd6b0cfc4909483e597
Signed-off-by: Florian Lobmaier <florian.lobmaier@ams.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/225574
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agotegra: ARM: change t124 device tree to use right address cell size
Xue Dong [Thu, 16 May 2013 18:57:47 +0000]
tegra: ARM: change t124 device tree to use right address cell size

bug 1276991

Change-Id: Ic52df99e9caad24aba14893c37902433f244e496
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/229469
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agovideo: tegra: gk20a: enable gk20a powergate in nvhost
Jin Qian [Tue, 26 Mar 2013 23:26:44 +0000]
video: tegra: gk20a: enable gk20a powergate in nvhost

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

5 years agovideo: tegra: gk20a: release priv_cmdbuf when gpfifo submit fail
Jin Qian [Tue, 7 May 2013 00:10:57 +0000]
video: tegra: gk20a: release priv_cmdbuf when gpfifo submit fail

remove duplicated channel vm tlb flush

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

5 years agovideo: tegra: gk20a: fix u64 address and channel id look up
Jin Qian [Wed, 8 May 2013 00:26:29 +0000]
video: tegra: gk20a: fix u64 address and channel id look up

shift address before truncate from u64 to u32
use ctx ptr instead of whole ctx register value for chid search

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

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

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

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

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

bug 1201552

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

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

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

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

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

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

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

Add power regulator for vi to fix LP0 issue.

Bug 1284096

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

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

Enable power rails required for USB.

Bug 1271873

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

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

add platform data for usb instances on ardbeg

Bug 1271873

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

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

Use syseng pinmux settings

Bug 1257423

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

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

Allows kernel to boot on ardbeg interposer

Bug 1257423

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

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

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

Bug 1201552

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

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

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

Bug 1201552

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

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

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

Bug 1174509

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

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

Recover from an illegal class interrupt in gk20a.

Bug 1174509

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

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

On MMU fault, reset the faulting engine and channel.

Bug 1174509

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

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

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

Also sets the channel sync point to maximum at close.

Bug 1174509

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

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

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

Bug 1174509

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

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

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

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

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

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

bug 1284251

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

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

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

bug 1291630

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

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

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

Bug 1202456

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

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

Enable LDO5 tracking with SMPS12

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

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

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

Bug 1263790
Bug 1264810

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

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

Extend gpio pins upto port FF for T124

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

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

This reverts commit 03762078064907db7740a9dd09fac1641512d2e2.

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

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

Enable clk32 from palmas PMIC

bug 1259655

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

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

bug 1176069

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

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

bug 1176069

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

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

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

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

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

bug 1259655

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

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

Bug 1257423

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

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

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

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

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

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

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

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

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

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

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

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

was originally merge:

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

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

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

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

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

Merge fixup.

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

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

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

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

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

counter #7 is used by Idle_Slowdown_on_Boot

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

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

add support for ardbeg and laguna interposer
in tegra11_defconfig

Bug 1275005

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

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

Add support for laguna interposer in t114

Bug 1275005

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

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

Adding basic board file for laguna.

Bug 1275005

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

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

tegra12_android_defconfig for T124 based boards.

Bug 1275005

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

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

Bug 1275055

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

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

Bug 1275005

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

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

Bug 1257423

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

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

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

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