6 years agoARM: Tegra: don't clobber SCTLR
Edgardo Handal [Wed, 29 May 2013 20:05:00 +0000]
ARM: Tegra: don't clobber SCTLR

Do read-modify-write on SCTLR when enabling caches and branch
prediction rather than just overwriting the register.

Bug 1292766

Change-Id: Ib76b3100ebb657250ce863e697f7b712d27638ea
Signed-off-by: Edgardo Handal <ehandal@nvidia.com>
Reviewed-on: http://git-master/r/233824
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoASoC: codecs: ALC5639/40: Update pll calc logic
Manoj Gangwal [Tue, 21 May 2013 07:37:45 +0000]
ASoC: codecs: ALC5639/40: Update pll calc logic

Bug 1284439

Change-Id: I917f9ea15126ae6e5f5233202b546a3fb404e892
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/231077
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dc: fix windows on external display
Michael Frydrych [Tue, 16 Apr 2013 12:41:35 +0000]
video: tegra: dc: fix windows on external display

T148 does not have window D on external display, hence
the corresponding index should not be used when
referencing windows and such window should not be
allowed to be allocated.

Change-Id: Ibfebcf8ae749220f4f54f801153afc752b03f44b
Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com>
Reviewed-on: http://git-master/r/223973
(cherry picked from commit 6495b2daead6f806f33865e5d96ddc0f364fd7f8)
(cherry picked from commit 9dcf464c77965182d94b4515e1cec5c82afd4c74)
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agoARM: tegra: Laguna: plat support for HID over I2C
Bibek Basu [Sun, 9 Jun 2013 02:01:18 +0000]
ARM: tegra: Laguna: plat support for HID over I2C

Support for keyboard and trackpad over HID

Bug 1275005

Change-Id: I5e6535de824f570ae27773ab63cb1a1b3d66f3e3
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/237577
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: t12x: ardbeg/laguna: Update pinmux
Seema Khowala [Mon, 10 Jun 2013 22:00:48 +0000]
arm: tegra: t12x: ardbeg/laguna: Update pinmux

Change-Id: I592d5848317b3060bd25f20e8c97aff9bad437d3
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/237366
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarch: arm: tegra: ardbeg: imx135 power regulators
Amit Arora [Wed, 19 Jun 2013 13:13:48 +0000]
arch: arm: tegra: ardbeg: imx135 power regulators

Adds power regulators for imx135 camera sensor and ad5816
sensor to use with AMS PMIC on Ardbeg.

Bug 1256437

Change-Id: I69a14678538e5a1e08abb056d00a3288aa351a83
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/240213
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: Update Laguna power tree
Bibek Basu [Mon, 17 Jun 2013 03:36:06 +0000]
ARM: tegra: Update Laguna power tree

Update laguna Power tree to accomodate
further supplies & adher to coding guidelines

Bug 1275005

Change-Id: I3a5964d9f50a26fa32f72f11ffc55ff657edf32a
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/239178
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: config: enable HID over I2C
Bibek Basu [Tue, 11 Jun 2013 09:58:50 +0000]
ARM: tegra: config: enable HID over I2C

Enable HID over I2C support

Bug 1275005

Change-Id: I7e964c53df7909a807b36f7c38c01a07b3667e44
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/237578
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: ardbeg: Support E1813 display module
Seema Khowala [Mon, 10 Jun 2013 22:14:27 +0000]
arm: tegra: ardbeg: Support E1813 display module

Change-Id: If29d5c91adb2841de3c1f82827e7376c4abc1c10
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/237377
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoregulator: as3722: add support for external control
Mallikarjun Kasoju [Wed, 12 Jun 2013 13:58:29 +0000]
regulator: as3722: add support for external control

Add support to control regulator output through using
external control signal.

Bug 1294709

Change-Id: Ia0f88be3854c5c06b4f2f9f91cc698d67e4db8d8
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/236582
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: ardbeg: Add E1733 & E1735 power tree
Pradeep Goudagunta [Mon, 17 Jun 2013 12:47:09 +0000]
ARM: tegra: ardbeg: Add E1733 & E1735 power tree

-Add E1733 and E1735 power tree.
-Cleanup existing code.

Bug 1259655
Bug 1298668

Change-Id: Iee914e10f552812e9cfa0a23399e1d4d34fe50b7
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/236281
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: ardbeg: Enable BT over UART support
Nagarjuna Kristam [Fri, 7 Jun 2013 08:45:45 +0000]
ARM: tegra: ardbeg: Enable BT over UART support

Add bluedroid_pm platform resource
Enable UART clocks

Bug 1256420

Change-Id: I8fdcaa19eb1de5ab89f32eea7ff2cf4ad18650cd
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/236615
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agonet: wireless: Update SD8797/SD8897 WLAN driver
Marc Yang [Sat, 1 Jun 2013 02:09:40 +0000]
net: wireless: Update SD8797/SD8897 WLAN driver

Signed-off-by: Marc Yang <yangyang@marvell.com>

Update SD8897 and SD8797 WLAN driver
Add SD8897 and SD8797 BT drivers

Bug 1256420
Bug 1279040
Change-Id: I9d2657f0a46db454a9b8004dce09e56be8a454c6
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235839
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoARM: tegra: update laguna t12x pinmux
Bibek Basu [Wed, 19 Jun 2013 10:33:50 +0000]
ARM: tegra: update laguna t12x pinmux

Update the t12x laguna pinmux based on auto
generation excel from syseng

Bug 1308024

Change-Id: I8e9c6888c59215af67d159e229149ba8982efe8b
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/240164
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agomfd: as3722: Move regmap to core
Pradeep Goudagunta [Fri, 14 Jun 2013 08:54:31 +0000]
mfd: as3722: Move regmap to core

-Move regmap to core and get rid of default values.
-Correct max register that can be accessed.

Bug 1259655

Change-Id: Ib699b3da18fdd74cb249dcc01f61660f557efe50
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/238835
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: config: update tegra12 defconfig
Bibek Basu [Fri, 14 Jun 2013 01:44:12 +0000]
ARM: tegra: config: update tegra12 defconfig

Add support for AMS, TI DSI2EDP bridge and
HID over I2C

Bug 1306371

Change-Id: I8841d142cd31ae2b7674c039b8caa6f395e84292
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/238732
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoregulator: as3722: Change regulator registration
Pradeep Goudagunta [Wed, 12 Jun 2013 09:02:44 +0000]
regulator: as3722: Change regulator registration

Change regulator registration order inorder to keep up with
the input rail constraint.

Bug 1259655

Change-Id: Id6b915cf6af1d3c016fc0ea7724c00ac41eb151c
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/237913
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: t124: Add T124 DMA & Audio cluster
Manoj Gangwal [Mon, 10 Jun 2013 13:44:13 +0000]
arm: tegra: t124: Add T124 DMA & Audio cluster

Add and Update T124 DMA and Audio cluster address

Change-Id: Ic373abeaa90e056c5c85b56059b57ca4184b5925
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/237225
Reviewed-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoALSA: hda - update hda vendor id
Manoj Gangwal [Mon, 20 May 2013 06:59:43 +0000]
ALSA: hda - update hda vendor id

Vendor id changed for t12x.

Change-Id: I365f21f81db005bc14730a6f0b91893eb79a9fba
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/236763
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonet: wireless: 8797/8897: Add SUSPEND/RESUME flags
Marc Yang [Fri, 31 May 2013 02:14:31 +0000]
net: wireless: 8797/8897: Add SUSPEND/RESUME flags

Add SUSPEND/RESUME flags to Makefiles of SD8897 and SD8797 WLAN drivers

Signed-off-by: Marc Yang <yangyang@marvell.com>

Bug 1279040
Bug 1256420
Change-Id: I37f3c9301b8e3546f309c91bdb95a6c1741a293f
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235838
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agonet: wireless: sd8797: Update SD8797 WLAN driver
Marc Yang [Sat, 11 May 2013 00:48:52 +0000]
net: wireless: sd8797: Update SD8797 WLAN driver

Signed-off-by: Marc Yang <yangyang@marvell.com>

Bug 1279040
Change-Id: I5bf28dcf8da4b4e80794b1a0366666121c25fdd3
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235837
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agovideo: tegra: host: gk20a address space alloc
Ken Adams [Mon, 17 Jun 2013 13:37:30 +0000]
video: tegra: host: gk20a address space alloc

Alloc address space for mapping into later.
Basically reserves a section so no further allocation
attempts can hit the region.

Bug 1240060

Change-Id: Ic90544546b95dc463cfea561fd5f975480b3cd39
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/240248
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Tested-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>

6 years agortc: ams3722: Fix setting alarm time in the past
Kamal Kannan Balagopalan [Mon, 17 Jun 2013 22:55:51 +0000]
rtc: ams3722: Fix setting alarm time in the past

Alarm year was manipulated incorrectly and alarm set returned error
as alarm year was in the past. This also caused suspend entry to
exit abnormally.

Bug 1284096

Change-Id: Id6ade9949dd29e5b866c78fbf053e1c5048c1c6e
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/239442
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: config: tegra12_defconfig update
Bibek Basu [Fri, 14 Jun 2013 11:47:56 +0000]
ARM: tegra: config: tegra12_defconfig update

auto generate tegra12_defconfig and add
support for ams3722, TI dsi2edp bridge
and I2C over HID support

Bug 1275005

Change-Id: I5adeab4a0eeea817f998559497637d58f017a6d2
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/238884
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: T124: Update bonaire pinmux settings
Ashwini Ghuge [Thu, 20 Jun 2013 08:42:04 +0000]
ARM: tegra: T124: Update bonaire pinmux settings

Bug 1293568

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

6 years agoarm: tegra: ardbeg: Support HDMI
Arun Kumar Swain [Tue, 4 Jun 2013 23:04:28 +0000]
arm: tegra: ardbeg: Support HDMI

Bug 1284834

Change-Id: Icd49b8b82d38c39d099aa19d10583f5a6d0dc69e
Signed-off-by: Arun Kumar Swain <arswain@nvidia.com>
Reviewed-on: http://git-master/r/235639
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: host: Check governor on suspend
Arto Merilainen [Tue, 4 Jun 2013 08:21:37 +0000]
video: tegra: host: Check governor on suspend

nvhost_scale3d_suspend() assumed that if it was called and devfreq was
in place, also the governor matched with the current one. However, this
is a wrong assumption as the function is defined in pdata.

Change-Id: I660180bc317c42582d01d72ea97545252e5fa1e0
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/235913
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: host: gk20a: Add suspend callback
Arto Merilainen [Tue, 4 Jun 2013 08:24:11 +0000]
video: tegra: host: gk20a: Add suspend callback

This patch adds suspend callback to T124 code. This way the scaling
is turned off properly before suspending.

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

6 years agovideo: tegra: host: podgov: Support T124
Arto Merilainen [Tue, 4 Jun 2013 06:08:59 +0000]
video: tegra: host: podgov: Support T124

This patch adds T124 support for podgov devfreq profile. The used
values are copied directly from T114 and therefore some tuning will
be required.

Change-Id: Ic845410a7d6607892f20cf07b49d1b16c56b4991
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/235911
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: host: Call idle() before suspend
Arto Merilainen [Tue, 4 Jun 2013 11:51:02 +0000]
video: tegra: host: Call idle() before suspend

idle() callback was called after suspending the device. This
effectively prevented the idle() callback from reading the statistics
from the device. This patch reorders the nvhost_module_idle() so
that idle() callback is called before turning off the device.

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

6 years agovideo: tegra: host: gk20a: Fix divide-by-zero issue
Arto Merilainen [Tue, 4 Jun 2013 06:57:56 +0000]
video: tegra: host: gk20a: Fix divide-by-zero issue

Load value is normalised w.r.t. total ticks. If we ask the load
immediately after initialisation, there are no ticks at all causing
divide-by-zero issue.

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

6 years agoALSA: HDA: Set runtime pm active from resume
Sumit Bhattacharya [Wed, 19 Jun 2013 08:11:05 +0000]
ALSA: HDA: Set runtime pm active from resume

When system wakes up from sleep runtime PM status remains suspended
and as a result azx_interrupt returns errors whenver any HDA register
read/write is done which causes azx_resume to fail. To fix this
issue set pm_runtime state to active from azx_resume before doing
any register operation.

Bug 1290727
Bug 1277966

Change-Id: Ie9e028c357100cd26311a09cbb1487d0d382f7f3
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/240199
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: host: Register podgov
Arto Merilainen [Fri, 31 May 2013 13:14:45 +0000]
video: tegra: host: Register podgov

Devfreq governors must be registered before using. This patch adds
podgov registration by making podgov a module

Change-Id: I5e54ca8f4c84ed8d924933726b173a96646c35d4
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/235907
Reviewed-by: Sridhar Lavu <slavu@nvidia.com>
Tested-by: Sridhar Lavu <slavu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: No wake mask interrupt reg in asm3722
Bibek Basu [Fri, 31 May 2013 21:59:11 +0000]
ARM: tegra: No wake mask interrupt reg in asm3722

There is no wake enable disable register in ams3722.
So we can not set wake_base in regmap irq_chip

Bug 1275005

Change-Id: I04b64d72f5914a1edd1ebbefb8f8ee2888ea5110
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/236733
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: add machine check for fix reg init
Bibek Basu [Mon, 27 May 2013 23:10:50 +0000]
ARM: tegra: add machine check for fix reg init

add machine check before registering the
fixed regulator for various boards

Bug 1275005

Change-Id: Id0a1ed53c8db02ad61f2933fe9067d83106cebed
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/236376
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: unified board file
Bibek Basu [Sat, 1 Jun 2013 00:37:22 +0000]
ARM: tegra: unified board file

Patch tries to get unfied board file for T124
platforms.

Bug 1275005

Change-Id: I7e71579670e0959f059646369d2552ec2b3280f4
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/236732
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Tested-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: config: Add missing configs
Ajay Nandakumar [Fri, 7 Jun 2013 11:49:50 +0000]
ARM: tegra: config: Add missing configs

Adding missing configs which is causing various issues.

Bug 1302403
Bug 1302400

Change-Id: I1af01ae2a89e32b282bf302dbfe1cf7af08207b7
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/236731
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agopinctrl: as3722: add pincontrol driver support
Mallikarjun Kasoju [Tue, 4 Jun 2013 16:07:40 +0000]
pinctrl: as3722: add pincontrol driver support

as3722 PMIC has eight gpios which can work on multiple mode and
can be used for special function.

bug 1294693

Change-Id: I147da4a04f295d0e57b4e19bbc88efb9acceec03
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/236570
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agodriver: video: add low latency cursor support
Xue Dong [Fri, 24 May 2013 21:42:05 +0000]
driver: video: add low latency cursor support

Bug 1232181
Change-Id: I0277727f0b4d8ac63778f4c536c9b23e7dc3825d

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

6 years agoARM: tegra12: clock: Add PLLREFE and PLLE resume
Kaz Fukuoka [Thu, 30 May 2013 19:08:20 +0000]
ARM: tegra12: clock: Add PLLREFE and PLLE resume

Ported from http://git-master/r/188901 (change for Tegra11)
bug 1164664

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

6 years agoARM: tegra12: clock: Re-factor EMC bw requirement
Kaz Fukuoka [Thu, 30 May 2013 00:11:21 +0000]
ARM: tegra12: clock: Re-factor EMC bw requirement

- Separated iso EMC shared users (display and camera) from other
bandwidth shared users
- Added shared user id flags to EMC shared users that may affect
maximum iso share allocation
- Determined EMC bw requirement as maximum of total bw requested
by all bw users, and iso bw scaled up to guarantee allocated share

Ported from http://git-master/r/217119 (change for Tegra11)
bug 1164664

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

6 years agoARM: tegra12: clock: Fix clock client mux anomaly
Kaz Fukuoka [Wed, 29 May 2013 21:44:18 +0000]
ARM: tegra12: clock: Fix clock client mux anomaly

Tegra12 has anomaly in the following clock registers.
- CLK_RST_CONTROLLER_CLK_SOURCE_HDMI_AUDIO_0
- CLK_RST_CONTROLLER_CLK_SOURCE_ENTROPY_0
- CLK_RST_CONTROLLER_CLK_SOURCE_CLK72MHZ_0
Those registers have 3bit input mux.
However the value of the mux is shifted to the right by one
compared to other clock registers.

bug 1295390
bug 1164664

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

6 years agoARM: tegra12: clock: Add hdmi_audio and clk72mhz
Kaz Fukuoka [Wed, 29 May 2013 21:29:22 +0000]
ARM: tegra12: clock: Add hdmi_audio and clk72mhz

bug 1164664

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

6 years agoARM: tegra12: clock: Fix PERIPH_CLK_SOURCE range
Kaz Fukuoka [Wed, 29 May 2013 01:41:43 +0000]
ARM: tegra12: clock: Fix PERIPH_CLK_SOURCE range

bug 1164664

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

6 years agoasoc: tegra: Update registers for t12x
Manoj Gangwal [Mon, 20 May 2013 09:03:21 +0000]
asoc: tegra: Update registers for t12x

Update CIF registers for t12x
Corrected CIF registers for t114 & t148

Change-Id: I55e3abcde6a7ff278b4a71db1991e3ea02aa1c55
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/235732
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoARM: tegra: ardbeg: enable regulator for pca954x
Deepak Nibade [Thu, 30 May 2013 11:57:30 +0000]
ARM: tegra: ardbeg: enable regulator for pca954x

Bug 1285379

Change-Id: I0f55ec9962c91b51b0c78db053e2c699d141e5a3
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/234149
(cherry picked from commit 603d4ca3d4ae3acb31519efded4f60a5494b604d)
Reviewed-on: http://git-master/r/236149
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: ardbeg: Enable Wifi platform data
Nagarjuna Kristam [Mon, 3 Jun 2013 11:14:13 +0000]
ARM: tegra: ardbeg: Enable Wifi platform data

Bug 1256420

Change-Id: Ie7e5a15d0eb9d11c54eabf4e90423177b7f0184c
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235840
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years ago[PATCH] Add SD8897 into kernel
Marc Yang [Tue, 7 May 2013 18:32:48 +0000]
[PATCH] Add SD8897 into kernel

Signed-off-by: Marc Yang <yangyang@marvell.com>

Bug 1256420
Change-Id: Id301e0bc17cd8f79d8dff5d438abfc8255793d13
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/235836
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoARM: tegra: ardbeg: add power monitor devices
Deepak Nibade [Tue, 21 May 2013 16:53:59 +0000]
ARM: tegra: ardbeg: add power monitor devices

- register all INA devices present on ardbeg
- all devices are present behind pca9546 demultiplexer
  hence register pca9546 as well

Bug 1285379

Change-Id: Id372498d6d76458e04f7290b5202e0c7105275d7
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/235793
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarch: arm: tegra: disable ahub dt support by default
Nikesh Oswal [Tue, 4 Jun 2013 07:10:42 +0000]
arch: arm: tegra: disable ahub dt support by default

disable ahub dt support by default, enable in
board specific dt files

Change-Id: I0888ac644dd3591643c5b890a92338b58f27fdb3
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/235312
(cherry picked from commit 71f5bdbd29994acaaca6ed49b054fbc69fee4e7e)
Reviewed-on: http://git-master/r/235629
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>

6 years agoARM: tegra: Update iomap
Bo Yan [Fri, 31 May 2013 06:24:50 +0000]
ARM: tegra: Update iomap

Make IO address map forward compatible

Change-Id: I3e80b3ccc9e749f61f14c5ed8415f56f1563f747
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/234746
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoasoc: tegra: add device tree support for audio
Nikesh Oswal [Tue, 28 May 2013 11:07:35 +0000]
asoc: tegra: add device tree support for audio

add device tree support for audio drivers and
enable device tree for ardbeg

Bug 1256430

Change-Id: I09489e735a8e56ea664a5f47784e3fc7b53dac62
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/233299
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

6 years agoasoc: tegra: add master mode support for rt5645
Nikesh Oswal [Thu, 23 May 2013 11:19:34 +0000]
asoc: tegra: add master mode support for rt5645

Bug 1256430
Change-Id: I05a6d30fe0d134d80504dd80957f8a76bcebac4e
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/232108
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

6 years agoasoc: tegra: enable audio on ardbeg
Nikesh Oswal [Fri, 31 May 2013 09:53:34 +0000]
asoc: tegra: enable audio on ardbeg

Bug 1256430

Change-Id: I93a2416a2d5344a461a6a60171b43bb0fd4245cb
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/234493
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

6 years agovideo: tegra: host: gk20a: Add devfreq policy
Arto Merilainen [Wed, 22 May 2013 07:33:15 +0000]
video: tegra: host: gk20a: Add devfreq policy

This patch adds a Kconfig entry to select whether gk20a scaling
should be enabled or not - and whether the scaling should use
devfreq or the existing scaling mechanism.

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

6 years agovideo: tegra: host: Add gk20a devfreq profile
Arto Merilainen [Tue, 21 May 2013 08:59:49 +0000]
video: tegra: host: Add gk20a devfreq profile

This patch adds a separate devfreq device profile for gk20a. gk20a
cannot use the generic device profile because:
1) load estimation is done using gpmu
2) gk20a does not use nvhost apis for setting the frequency

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

6 years agovideo: tegra: host: gk20a: Export load counters
Arto Merilainen [Mon, 20 May 2013 12:22:26 +0000]
video: tegra: host: gk20a: Export load counters

This patch adds support for reading and resetting the load counters.

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

6 years agoARM: tools: Update mach-types
Bo Yan [Fri, 31 May 2013 23:46:06 +0000]
ARM: tools: Update mach-types

Change-Id: I17450fe307a28e72d668f51164fd94c08524ab26
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/234709
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

6 years agoasoc: codecs: don't programm reserved registers for rt5645
Nikesh Oswal [Thu, 23 May 2013 11:21:19 +0000]
asoc: codecs: don't programm reserved registers for rt5645

Bug 1256430

Change-Id: I91afd631210b094439d56117505b159cec36e51b
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/232109
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Seema Khowala <seemaj@nvidia.com>

6 years agoasoc: codecs: add rt5645 codec
Nikesh Oswal [Fri, 31 May 2013 09:52:29 +0000]
asoc: codecs: add rt5645 codec

Bug 1256430

Change-Id: I2dc3159b4297192ff05f93eae3a7692e107a4354
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/234492
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

6 years agoarch: arm: tegra: ardbeg: Add imx135 DT support
Amit Arora [Fri, 17 May 2013 15:14:00 +0000]
arch: arm: tegra: ardbeg: Add imx135 DT support

Add imx135 and ad5816 to ardbeg device tree.

Bug 1256437

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

6 years agomedia: video: tegra: imx135: DT support
Amit Arora [Wed, 15 May 2013 09:29:59 +0000]
media: video: tegra: imx135: DT support

Add support for DT on IMX135.

Bug 1256437

Change-Id: If755be6591eed10a82eb61f0da85a2f970207557
Signed-off-by: Amit Arora <amita@nvidia.com>
Reviewed-on: http://git-master/r/228785
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: fix ardbeg build
Bibek Basu [Thu, 30 May 2013 17:41:22 +0000]
ARM: tegra: fix ardbeg build

fix ardbeg build

Bug 1270005

Change-Id: Ib4f8e243c5415d4f4a115658562e450548995c83
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/234211
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agovideo: tegra: dsi: fix dsi2edp build issue
Bibek Basu [Wed, 29 May 2013 22:29:44 +0000]
video: tegra: dsi: fix dsi2edp build issue

The patch fixes the dis2edp enabling build issue

Bug 1275005

Change-Id: I2720cf417e5850e23a2ed7a2dd3f2e834403e69a
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/233865
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: update board file
Bibek Basu [Mon, 20 May 2013 06:45:26 +0000]
ARM: tegra: update board file

Update board file for laguna

Bug 1275005

Change-Id: I645c2ae3ebcc81e2992f03dfd234a3df510340d6
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/232842
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoarch: arm: tegra: laguna: Initial Bring Up
Seema Khowala [Thu, 16 May 2013 19:05:12 +0000]
arch: arm: tegra: laguna: Initial Bring Up

Bug 1275005

Change-Id: I31d85e05b1f7c1087f0f2f770525dc8d93960e01
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/229474
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: laguna: power tree support
Bibek Basu [Thu, 9 May 2013 09:15:22 +0000]
ARM: tegra: laguna: power tree support

Power tree for Laguna

Bug 1275005

Change-Id: I789017cab5537924f6d094656397db04be363d24
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/227528
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: laguna pinmux update
Bibek Basu [Fri, 24 May 2013 15:33:01 +0000]
ARM: tegra: laguna pinmux update

update pinmux setting for laguna

Bug 1275005

Change-Id: Ic6a3eceb92ea5826552279cc1b15c66d159169a6
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/232841
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: config: enable ams3722 PMIC
Bibek Basu [Thu, 9 May 2013 11:54:26 +0000]
ARM: tegra: config: enable ams3722 PMIC

Enable AMS3722 PMIC support for MFD, RTC,
REGULATOR and GPIO

Bug 1275005

Change-Id: I11e15aed011aa471d49171fe2762e29d4a132b85
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/227527
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: board support for auo panel
Bibek Basu [Thu, 16 May 2013 09:00:39 +0000]
ARM: tegra: board support for auo panel

Laguna board support for auo panel

Bug 1275005

Change-Id: I6bfcfc88db24e175ef568b5148d12331234205a0
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/229286
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: config: enable TI DSI2EDP bridge
Bibek Basu [Fri, 10 May 2013 18:32:53 +0000]
ARM: tegra: config: enable TI DSI2EDP bridge

Enable TI DSI to EDP bridge for LAGUNA

Bug 1275005

Change-Id: I91aff0fafa01746707c55c5123b786a304609c4a
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/227566
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agovideo: tegra: dsi2edp: Add bridge driver
Bibek Basu [Tue, 5 Feb 2013 04:22:00 +0000]
video: tegra: dsi2edp: Add bridge driver

Support for TI SN65dsi86 bridge.

Bug 1275005

Change-Id: Ied7463a91ae61b8a829942500d40666e787a45d0
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/227565
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoarch: arm: tegra: laguna : dts file for laguna interposer
Seema Khowala [Wed, 15 May 2013 22:09:26 +0000]
arch: arm: tegra: laguna : dts file for laguna interposer

-Add spi, i2c, sdhci

Change-Id: I54e89c8b02066c5fd384360a430299d37263be1f
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/229063
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoarch: arm: tegra: laguna : Initial pinmux
Seema Khowala [Wed, 15 May 2013 21:40:11 +0000]
arch: arm: tegra: laguna : Initial pinmux

-For initial laguna bring up copy ardbeg pinmux
-Ardbeg pinmux settings are verified on interposer

Change-Id: I542451d3fb5972704fa7086feac4d28fc930bf2e
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/229049
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: gpio: fix build issue with as3722 gpio
Bibek Basu [Sun, 26 May 2013 21:21:43 +0000]
ARM: tegra: gpio: fix build issue with as3722 gpio

fix build issue with as3722 gpio

Bug 1275005

Change-Id: Iec79992ad04dd462565906c8eb377c95beec1eec
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/232840
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agortc: ams3722: add 32kHz clock support
Mallikarjun Kasoju [Fri, 24 May 2013 10:36:40 +0000]
rtc: ams3722: add 32kHz clock support

Add 32kHz clock support in ams3722

bug 1294697

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

6 years agoiommu/tegra: smmu: Skip SMMU_INIT_DONE on Tegra12 and later
Terje Bergstrom [Wed, 29 May 2013 07:16:14 +0000]
iommu/tegra: smmu: Skip SMMU_INIT_DONE on Tegra12 and later

In Tegra12 and later the SMMU_INIT_DONE must not be set.

Bug 1201552

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

6 years agoARM: tegra12: clock: FIX DSIA and DSIB
Kaz Fukuoka [Thu, 9 May 2013 23:55:05 +0000]
ARM: tegra12: clock: FIX DSIA and DSIB

On T124, DSIA and DSIB are always under PLLD.

bug 1164664

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

6 years agovideo: tegra: host: Fix compilation warnings
Terje Bergstrom [Wed, 22 May 2013 10:14:04 +0000]
video: tegra: host: Fix compilation warnings

An earlier patch left a function in fifo_gk20a.c unused. Remove the
function. Also a loop variable was left that needs to be removed.

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

6 years agoUSB: EHCI: Remove gpio settings for VBUS
Petlozu Pravareshwar [Thu, 30 May 2013 11:11:42 +0000]
USB: EHCI: Remove gpio settings for VBUS

Remove gpio settings for vbus as we use
regulators to enable the vbus for host mode.

bug 1271873

Change-Id: I3ed689f3a16897e9c7b46a39b68326afba0722e5
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/229378
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoARM: tegra: ardbeg: update usb power tree entries
Petlozu Pravareshwar [Thu, 30 May 2013 09:05:31 +0000]
ARM: tegra: ardbeg: update usb power tree entries

Update usb power tree entries.

Bug 1271873

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

6 years agoARM: tegra: ardbeg: change USB_VBUS_EN0 pin to pull up
Petlozu Pravareshwar [Tue, 21 May 2013 09:28:50 +0000]
ARM: tegra: ardbeg: change USB_VBUS_EN0 pin to pull up

change USB_VBUS_EN0 pin to pull up.

Bug 1271873

Change-Id: I830c29d2ac65aec4f7d3507145f5df65cd414923
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/231120
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoarm: tegra: t124: Add functions for reading speedo and iddq values
Shardar Shariff Md [Wed, 22 May 2013 17:22:24 +0000]
arm: tegra: t124: Add functions for reading speedo and iddq values

Below functions to access speedos and iddq values
1. int tegra_cpu_speedo_0_value(void);
2. int tegra_cpu_speedo_1_value(void);
3. int tegra_cpu_speedo_2_value(void);
4. int tegra_soc_speedo_0_value(void);
5. int tegra_soc_speedo_1_value(void);
6. int tegra_soc_speedo_2_value(void);
7. int tegra_get_cpu_iddq_value(void);
8. int tegra_get_soc_iddq_value(void);
9. int tegra_get_gpu_iddq_value(void);

Bug 1049541
Bug 1280063

Change-Id: Id4bb9786b962dcf847e0c6dc53e2319bbcc9dc06
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/231943
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agovideo: tegra: host: Fix race in hwctx release
Arto Merilainen [Mon, 13 May 2013 09:07:39 +0000]
video: tegra: host: Fix race in hwctx release

This patch fixes a race in channel release. The hardware context was
not marked as released before releasing it which caused a race that
occassionally lead to bad memory accesses.

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

6 years agovideo: tegra: host: Disable scale/actmon on t124
Arto Merilainen [Thu, 23 May 2013 06:46:20 +0000]
video: tegra: host: Disable scale/actmon on t124

This patch disables VIC ans MSENC actmons and frequency scaling.

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

6 years agovideo: tegra: host: Enable actmon on msenc
Arto Merilainen [Mon, 22 Apr 2013 08:42:58 +0000]
video: tegra: host: Enable actmon on msenc

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

6 years agoARM: t124: pinmux: update T124 pinmux table
Ashwini Ghuge [Mon, 20 May 2013 09:44:51 +0000]
ARM: t124: pinmux: update T124 pinmux table

Bug 1199738

Change-Id: I58e8ba9968087b29c1683021eb0b5e2c3e0923ae
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/226976
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoARM: tegra12: clock: Enable pllc4_out0
Krishna Sitaraman [Wed, 1 May 2013 21:24:15 +0000]
ARM: tegra12: clock: Enable pllc4_out0

    bug 1279984
    bug 1164664

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

6 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>

6 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>

6 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>

6 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>

6 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>

6 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>

6 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>

6 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>

6 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>

6 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>

6 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>

6 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>