6 years agoARM: tegra: dalmore: Enable pull-down for MDM_COLD_BOOT
Steve Lin [Thu, 29 Nov 2012 01:49:28 +0000]
ARM: tegra: dalmore: Enable pull-down for MDM_COLD_BOOT

Enabling pull-down for Dalmore MDM_COLD_BOOT GPIO.

Bug 1176649
Bug 1184342

Change-Id: I43cc9f761a2e65cd43696bdde7428922cb734c21
Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/167137
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frederic Bossy <fbossy@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra: pluto: Runtime panel detection
Vineel Kumar Reddy Kovvuri [Wed, 28 Nov 2012 12:57:09 +0000]
arm: tegra: pluto: Runtime panel detection

Bug 1156301

Change-Id: Iac4ceb77df867f91e789e0c7a207a5c207c86923
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/166606
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoarm: tegra: Read panel id from kernel command line
Vineel Kumar Reddy Kovvuri [Tue, 27 Nov 2012 13:20:58 +0000]
arm: tegra: Read panel id from kernel command line

Change-Id: I6de82f53eadd86a2dd0c44bd06fd412be353d55b
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/166589
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomisc: tegra-cryptodev: Fix error check for return value
Shravani Dingari [Mon, 26 Nov 2012 05:56:07 +0000]
misc: tegra-cryptodev: Fix error check for return value

Fixes error check for copy_to_user and copy_from_user
return values

Change-Id: I2ad2aa7a66c4cf3409fe95e5f0f80b28da9ef853
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/166073
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: enterprise: Add support for TI codec
Manoj Gangwal [Fri, 23 Nov 2012 11:25:12 +0000]
ARM: tegra: enterprise: Add support for TI codec

Add support for TI K3.4 aic326x codec driver

Bug 1179798

Change-Id: Ibd582159bde530c0517b4e048b2222ea77e1a7bb
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/165926
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoARM: configs: Add support for TI K3.4 codec
Manoj Gangwal [Fri, 23 Nov 2012 11:16:48 +0000]
ARM: configs: Add support for TI K3.4 codec

Add configurations for supporting
TI K3.4 aic326x codec driver

Bug 1179798

Change-Id: I96422ae609067723889cf893311b323b5ed71c71
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/165911
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoasoc: aic326x machine: Add support for TI codec
Manoj Gangwal [Thu, 22 Nov 2012 06:53:39 +0000]
asoc: aic326x machine: Add support for TI codec

Add support for TI K3.4 aic326x codec driver.

Bug 1179798

Change-Id: Id098932d3bb4ecf25643f7a49e42b8f901af1d0d
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/165623
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agodrivers: mfd: Add support for TI aic326x codec
Manoj Gangwal [Thu, 22 Nov 2012 06:41:49 +0000]
drivers: mfd: Add support for TI aic326x codec

Add support for TI aic326x K3.4 codec driver

Bug 1179798

Change-Id: Icf0a275d318cf05679f8e99afdce53450a447d82
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/165616
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoasoc: aic326x codec: Add TI codec support
Manoj Gangwal [Thu, 22 Nov 2012 06:12:15 +0000]
asoc: aic326x codec: Add TI codec support

Added support for TI aic326x codec for K3.4

Bug 1179798

Change-Id: Ib9efcf67c7b99cc9c7cfc1d6150aa587b88bd3cd
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/165611
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoARM: tegra: enterprise: Remove external control for touchscreen
Xiaohui Tao [Mon, 12 Nov 2012 18:17:11 +0000]
ARM: tegra: enterprise: Remove external control for touchscreen

Atmel chip need to be resetted after waking up from LP0.
Enterprise A03 LDO7 needs to be controlled by software so
that the regulator notifier gets called when it wakes up from
LP0. Remove the external control for Enterprise A03 LDO7.

Bug 1163642

Change-Id: Iabe9b87e91449bd6f6437929c5e76058b41c08e8
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/163062
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agovideo: tegra: dc: clock/power ungate when reading sd registers
Mitch Luban [Thu, 8 Nov 2012 23:02:56 +0000]
video: tegra: dc: clock/power ungate when reading sd registers

This change is a fix which allows reading from sd registers
via sysfs.

Bug 1173320

Change-Id: I1dacba312d34b955e117c7438f9edeb5a82534d2
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/162497
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agousb: tegra-otg: moving to clk prepare APIs
Sivaram Nair [Thu, 1 Nov 2012 15:47:35 +0000]
usb: tegra-otg: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: Ieb837ae5e93191dbc272e63ae24f8000410d8f98
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162326
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: Tegra: Roth: enable LP0
Matt Wagner [Sat, 17 Nov 2012 05:29:14 +0000]
ARM: Tegra: Roth: enable LP0

Change-Id: I35da7abbd0c07188425c1ce7512f4271247028a7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/167147
Reviewed-by: Automatic_Commit_Validation_User

6 years agopower: max17048: prints error when register callback failed
Laxman Dewangan [Thu, 22 Nov 2012 06:56:24 +0000]
power: max17048: prints error when register callback failed

Change-Id: If2768977143fb049eb062c9b01985a782353ed13
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/165620
Reviewed-on: http://git-master/r/167146
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: fuse: keep odm_reserved writable
Byungkuk Seo [Mon, 26 Nov 2012 07:59:29 +0000]
arm: tegra: fuse: keep odm_reserved writable

Remove the predicate that disables blowing an odm_reserved fuse
when odm_production_mode is already blown. Correct the error message.

Bug 1181444

Change-Id: I37ba364932d3902bfd11181fafa3ad9e1d28e9f1
Signed-off-by: Byungkuk Seo <bseo@nvidia.com>
Reviewed-on: http://git-master/r/166103
(cherry picked from commit fc198548e0b7d7abbeb306a1f3f7b285c203467e)
Reviewed-on: http://git-master/r/167122
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoarm: tegra: pluto: Modularize board panel file
Vineel Kumar Reddy Kovvuri [Wed, 7 Nov 2012 11:18:06 +0000]
arm: tegra: pluto: Modularize board panel file

Bug 1166630

Change-Id: I1bf712b1b055482401310f55bd37a254d1ada3f6
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/161999
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra: Add traces for SecureOS measurements
Charles Tan [Fri, 26 Oct 2012 23:26:27 +0000]
arm: tegra: Add traces for SecureOS measurements

These tracepoints are used to measure SecureOS-related latency
using the microseconds timer when entering/exiting LP0, LP1,
and LP2.

Bug 1042455

Signed-off-by: Charles Tan <ctan@nvidia.com>
Change-Id: I6ccc3e3a7b8126bae4fcf2366d3ae7c72d48d7cf
Reviewed-on: http://git-master/r/159372
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoasoc: codecs: rt5640:Enable rt5439
Vinod Subbarayalu [Wed, 21 Nov 2012 03:52:23 +0000]
asoc: codecs: rt5640:Enable rt5439

Change-Id: I13a8a915ec93004cf0e73fcefb821547a52481c3
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
(cherry picked from commit 62a04e4501a46eaef69794eb5e13fbb425889d30)
Reviewed-on: http://git-master/r/166417
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoARM: tegra: dalmore: enable rtc battery charging
Yen Lin [Mon, 26 Nov 2012 19:37:43 +0000]
ARM: tegra: dalmore: enable rtc battery charging

Enable rtc backup battery charging for Dalmore

bug 1167041

Signed-off-by: Yen Lin <yelin@nvidia.com>
Change-Id: I198c5c5a73367b8c19ae7497217f990742f131eb
Reviewed-on: http://git-master/r/166280
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: pluto: Restore GPIO_X1_AUD pinmux to normal
Raj Jayaraman [Thu, 22 Nov 2012 01:40:56 +0000]
arm: tegra: pluto: Restore GPIO_X1_AUD pinmux to normal

For Pluto-A03 and Varuna boards, restore normal pinmux
for modem use.

Bug 1179710

Change-Id: I04ca6e46f6a5a5501116a868e1ba499e20831dc5
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/165575
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: dts: add dts file for roth
Laxman Dewangan [Wed, 28 Nov 2012 21:14:53 +0000]
ARM: dts: add dts file for roth

Change-Id: Ifa5b1e99a96d7a3515c5d5a2502d1527fb8d9209
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/167048
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoaudio: TFA9887 driver
Vinod Subbarayalu [Wed, 14 Nov 2012 23:10:53 +0000]
audio: TFA9887 driver

Change-Id: I415485bb8aa6723c98d2991df9456eea49a65e7f
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
(cherry picked from commit 69f4d8348cccc232b82fbcc26b8ff49efcbb0b4c)
Reviewed-on: http://git-master/r/166415
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoARM: tegra: power: Fix build when no core EDP support
Alex Frid [Sun, 25 Nov 2012 07:54:29 +0000]
ARM: tegra: power: Fix build when no core EDP support

Change-Id: I7f7edf674944989621b643399308c21817e8924b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/166042
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoi2c: tegra: moving to clk prepare APIs
Sivaram Nair [Thu, 1 Nov 2012 15:59:47 +0000]
i2c: tegra: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I0aa15cd744729813bed3f12a0b6e516e303ecb30
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162333
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rama Kandhala <rkandhala@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoinput: keyboard: tegra: moving to clk prepare APIs
Sivaram Nair [Thu, 1 Nov 2012 15:59:11 +0000]
input: keyboard: tegra: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I6980baf1e70642647d8ad29585befb321bd6d15f
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162332
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-by: Rama Kandhala <rkandhala@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomisc: bcm4329: moving to clk prepare APIs
Sivaram Nair [Thu, 1 Nov 2012 15:55:57 +0000]
misc: bcm4329: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I0bd2c4b397c5836a3f0e90a7ea036a5db6a201fa
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162330
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agospi: tegra: moving to clk prepare APIs
Sivaram Nair [Thu, 1 Nov 2012 15:52:51 +0000]
spi: tegra: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: Ie597e431d45db2a4cc0f45015ea463d141c469eb
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162329
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agostaging: nvec: moving to clk prepare APIs
Sivaram Nair [Thu, 1 Nov 2012 15:52:33 +0000]
staging: nvec: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: Ic7ef286962c2a3a86008007ddf6abf3216fdd0dc
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162328
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agotty: serial: tegra: moving to clk prepare APIs
Sivaram Nair [Thu, 1 Nov 2012 15:51:43 +0000]
tty: serial: tegra: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I91a66cffa7f42eb7c9b72a27e89c8c35cb72d698
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162327
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agohwmon: tegra-tsensor: moving to clk prepare APIs
Sivaram Nair [Thu, 1 Nov 2012 15:44:15 +0000]
hwmon: tegra-tsensor: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I1b5939d7714c21549b4e7e63c223bcac8e66f951
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162324
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agomedia: video: tegra: moving to clk prepare APIs
Sivaram Nair [Thu, 1 Nov 2012 09:49:03 +0000]
media: video: tegra: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: Ib1558412057d523dc75d9cb77b99727b1bc8f497
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162322
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: cardhu: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 07:02:41 +0000]
ARM: tegra: cardhu: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
tegra_clk_prepare_enable and tegra_clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: If56780dfe147a3d6d9b0dbd5877bff8552a5b510
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/146785
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agovideo: tegra: dc: ignore mode set during probe
Jon Mayo [Wed, 28 Nov 2012 00:07:54 +0000]
video: tegra: dc: ignore mode set during probe

Ignore the initialization of mode during probe to avoid multiple updates to
the current video mode.

Change-Id: Icfa158a2fe06225b0a14033a401da046203542ec
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/166731
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: host: remove obsolete code
Juha Tukkinen [Tue, 27 Nov 2012 12:51:14 +0000]
video: tegra: host: remove obsolete code

Do not test if unsigned variables are less than zero.

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

6 years agoinput: misc: Invensense: fix warnings from gcc 4.7
Rhyland Klein [Mon, 26 Nov 2012 18:52:45 +0000]
input: misc: Invensense: fix warnings from gcc 4.7

Gcc 4.7 throws a few warnings. First is around the inline function
and removing the explicit inline seems to fix that. The other
warnings pertained to possbile use of uninitialized variables, that
I believe to be invalid given the logic, but none the less breaks
compliation with warnings treated as errors.

Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Change-Id: I21e4e33e4294262fab969f2e36f19b5fd3e315fa
Reviewed-on: http://git-master/r/166263
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agomedia: video: tegra: sh532u: fix out-of-bounds read
Deepak Nibade [Fri, 23 Nov 2012 08:21:59 +0000]
media: video: tegra: sh532u: fix out-of-bounds read

fix Coverity issue
Coverity id : 13692

Bug 1046331

Change-Id: Iefa6d076d4622368534710630b89b9a15d166378
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/165864
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomedia: video: tegra: nvavp_dev: handle function return value
Deepak Nibade [Wed, 21 Nov 2012 15:31:48 +0000]
media: video: tegra: nvavp_dev: handle function return value

fix coverity issue
Coverity id : 20755

Bug 1046331

Change-Id: Id04298ec908d87b25aae1d025efc0221d03c5337
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/165606
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomedia: video: tegra: fix unused code
Deepak Nibade [Wed, 21 Nov 2012 12:51:58 +0000]
media: video: tegra: fix unused code

-fix coverity issue
ad5816: fix logically dead code
Coverity id : 21006
ov5640: fix unused pointer value
Coverity id : 18076
tegra_camera: fix logically dead code
Coverity id : 11332

Bug 1046331

Change-Id: I1b32ec3ae3145d77142fcfa96d68477da4fc20b3
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/165369
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agosecurity: Add tracing for SecureOS measurements
Charles Tan [Fri, 26 Oct 2012 06:09:37 +0000]
security: Add tracing for SecureOS measurements

Add new tracepoint events for SecureOS-related tracing.
The timestamp traces measure the number of cycles taken
to switch between normal world and secure world using the
CP15 cycle counter.

Bug 1042455

Change-Id: Ia7f0718a0fcc399875a175670b80dfe33f79b95e
Signed-off-by: Charles Tan <ctan@nvidia.com>
Reviewed-on: http://git-master/r/159367
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: mm: enable ARM_ERRATA_752520 WAR only for r2p0 to r2p8
Vishal Singh [Fri, 29 Jul 2011 11:40:25 +0000]
ARM: mm: enable ARM_ERRATA_752520 WAR only for r2p0 to r2p8

The work around for ARM erratum 752520 was applied for all revisions
upto r2p8. But this erratum is present only on r2p0 to r2p8 versions
while T20 has r1p1 revision. Making this change to enable the WAR
only for revisions from r2p0 to r2p8.

Bug 853428
Bug 1045637

Reviewed-on: http://git-master/r/43962
(cherry picked from commit 57a0028d94c7ad71acab0c9ee29f5472e46c55bf)
Reviewed-on: http://git-master/r/44540
(cherry picked from commit d7f06b0a1b247f2a1444b3b78bc7dc8b21a5b7dd)
Reviewed-on: http://git-master/r/161949
(cherry picked from commit f84777eadee307e605f3accdfbf7114917e5a51c)

Change-Id: Id3ab36cb757d45ab9bddfa5b08c0643a00765bb2
Signed-off-by: Vishal Annapurve <vannapurve@nvidia.com>
Signed-off-by: Vishal Singh <vissingh@nvidia.com>
Reviewed-on: http://git-master/r/165948
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agovideo: tegra: dc: remove recursive mutex_lock in mode set
Jon Mayo [Wed, 28 Nov 2012 00:30:49 +0000]
video: tegra: dc: remove recursive mutex_lock in mode set

Change-Id: I05ce08ed7cebb7ae228db1f61c3ce4234b239922
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/166732
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: host: Fix actmon deinit
Terje Bergstrom [Fri, 23 Nov 2012 11:36:19 +0000]
video: tegra: host: Fix actmon deinit

Deinitialize device when the last user closes it. Actmon relies on
it being disabled before its initialization sequence. Add also a
timeout to actmon init so that it won't wait indefinitely.

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

6 years agoarm: tegra: add tegra11x-pluto.dtb to Makefile.boot
Pritesh Raithatha [Mon, 19 Nov 2012 11:37:30 +0000]
arm: tegra: add tegra11x-pluto.dtb to Makefile.boot

Bug 1003210

Change-Id: If3f18b1febb4cf12bddf3c195fce1b8e8fdb8d45
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/164701
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: pluto: add device tree support
Pritesh Raithatha [Mon, 19 Nov 2012 11:27:53 +0000]
arm: tegra: pluto: add device tree support

Bug 1003210

Change-Id: I88b1ea47817d34aa91013e27ea19c0f9fb4d358b
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/164700
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agovideo: tegra: host: Restore several regs from other regs
Wei Sun [Thu, 15 Nov 2012 21:05:46 +0000]
video: tegra: host: Restore several regs from other regs

Part 2/3 checkin.

restore reg 0xe44 from reg 0x40e
restore reg 0x403 and 0xe45 from reg 0x411

bug 972588
bug 962360
bug 1159659

Change-Id: I0d031f53e76964ff6016d1466f6a733218d8e06b
Signed-off-by: Wei Sun <wsun@nvidia.com>
Reviewed-on: http://git-master/r/164452
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: Implement TSEC exclusive access
Terje Bergstrom [Tue, 16 Oct 2012 09:31:22 +0000]
video: tegra: host: Implement TSEC exclusive access

Add wiring to nvhost interrupt managemend so that TSEC driver can
handle TSEC irq.

TSEC driver adds a handshake with firmware. Firmware will set a state
variable to indicate that it wants exclusive host1x access, and
assert interrupt. TSEC driver will receive the interrupt and stop
CPUs for the duration of TSEC activity, and keeps polling the
variable. TSEC releases access by setting the state variable, at which
point TSEC driver will return system to normal.

TSEC sync point is also renumbered and renamed.

Bug 1164232
Bug 1157821

Change-Id: I9002e25769d9bef7206dce2bad4bf4f21bc60d28
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/159796
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Marvin Zhang <mzhang@nvidia.com>
Tested-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: dc: Powergate dependency between DCs.
Kevin Huang [Tue, 27 Nov 2012 19:09:22 +0000]
video: tegra: dc: Powergate dependency between DCs.

Powergate DISA iff DISB is powergated.

Bug 1178332

Change-Id: I306d142d2caceb94ffba51d75d9a2e2f3a73907f
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/166639
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agovideo: tegra: avp: Turn off TMR2 when avp tear down.
Jaydeep Gokhale [Mon, 26 Nov 2012 12:44:29 +0000]
video: tegra: avp: Turn off TMR2 when avp tear down.

This prevent to continuous wake up from LP1 when
AP go into LP1 after tear down AVP

Bug 1174971

Change-Id: I7063e5b6aaec8ce289c1f57755c17dba7880297a
Signed-off-by: Jaydeep Gokhale <jgokhale@nvidia.com>
Reviewed-on: http://git-master/r/166201
Reviewed-by: Mandar Potdar <mpotdar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mohan Nimaje <mnimaje@nvidia.com>

6 years agoarm: tegra: cardhu: add support for dual dsi panel
Preetham Chandru R [Tue, 20 Nov 2012 13:35:51 +0000]
arm: tegra: cardhu: add support for dual dsi panel

add board support to enable dual dsi panel on cardhu

Bug 935764
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: I7d2d686a29fdbcb6dccf10f44f153a9b0dd2fec0
Reviewed-on: http://git-master/r/165055
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agosecurity: tf_driver: integrate latest TL release
Hyung Taek Ryoo [Tue, 27 Nov 2012 08:17:57 +0000]
security: tf_driver: integrate latest TL release

Tegra4 version: TF_TEGRA4_AC02.01.39197.zip

Support PM features
1) Cluster power down(LP2)
2) Low Power SoC Suspend(LP0, LP1)
3) Dynamic CPU Core & Cluster Switching

Bug 969937
Bug 1178454

Change-Id: I27d994e19c65eb928177c816dfa97be01ad5c1e1
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/166483
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra11x: cpuidle: Implement cluster power down for secure os
Hyung Taek Ryoo [Tue, 27 Nov 2012 00:01:45 +0000]
ARM: tegra11x: cpuidle: Implement cluster power down for secure os

This change implements cluster power down feature for secure os.

Bug 969937
Bug 1178454

Change-Id: I2e40fddfad409396657102e24f07d75c8de7d879
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/166482
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: Tegra: Dalmore: Correct kbc wake_cnt
Graziano Misuraca [Tue, 20 Nov 2012 19:10:11 +0000]
ARM: Tegra: Dalmore: Correct kbc wake_cnt

Wake count was incorrectly set to 2 while we only
have one button on the keyboard set to wake.

Change-Id: I7ed3a8418129d1b041385f8d9d9384d23f76a83c
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/165109
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agovideo: tegra: dc: update sd backlight on vpulse2
Kevin Huang [Mon, 26 Nov 2012 23:08:30 +0000]
video: tegra: dc: update sd backlight on vpulse2

Use threaded workqueue to update PRISM on vpulse2.

Change-Id: Id174d34f5189082056bd45adac009b48f892e78f
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/163674
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoasoc: tegra: tdm: change buffer sizes.
Nitin Pai [Wed, 21 Nov 2012 10:47:15 +0000]
asoc: tegra: tdm: change buffer sizes.

    Change the min-buffer-size according to min-channels.
    Bug 1040171

Change-Id: Ief575c0a180c05521338d0d38fecb8907127b9fe
Reviewed-on: http://git-master/r/165340
(cherry picked from commit 93c738795b834290e71775206a8e94e58e4f223d)

Signed-off-by: Nitin Pai <npai@nvidia.com>
Change-Id: I8d49035c433cbbf0ed7e7a7df61b86fe1657dad3
Reviewed-on: http://git-master/r/166137
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoChromeOs: enable config MAC80211_SCAN_ABORT
Wei Ni [Fri, 2 Nov 2012 05:45:12 +0000]
ChromeOs: enable config MAC80211_SCAN_ABORT

Enable config MAC80211_SCAN_ABORT for wlan. This config is only enabled
for ChromeOs.

Bug 1051830

Change-Id: I4d86b75c5d7ac502cffd0da44eb9dd668fc429b6
Signed-off-by: Wei Ni <wni@nvidia.com>
Reviewed-on: http://git-master/r/160778
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: Add DAPM routes for onboard DMIC
Rahul Mittal [Tue, 27 Nov 2012 10:43:21 +0000]
asoc: tegra: Add DAPM routes for onboard DMIC

Add DAPM routes for onboard DMIC
Bug 1162834

Change-Id: I7fc4f3d847e6953cdc87d39800b343876759af62
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/161084
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoasoc: codecs: Updated RT5640 driver with DMIC clk fix
Rahul Mittal [Tue, 27 Nov 2012 10:35:16 +0000]
asoc: codecs: Updated RT5640 driver with DMIC clk fix

Fix received from realtek for setting DMIC clock
Bug 1162834

Change-Id: Ib59fb30ccc07c38db091dcf5cc70b6210d8fc580
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/166535
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agovideo: tegra: fb: initialize mode width and height
Michael I. Gold [Tue, 27 Nov 2012 01:19:03 +0000]
video: tegra: fb: initialize mode width and height

Ensure the modedb modes have valid panel dimensions.

Change-Id: I1467b6f67021e25d89dd3ed852c6b5b13b26854a
Signed-off-by: Michael I. Gold <gold@nvidia.com>
Reviewed-on: http://git-master/r/166373
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>

6 years agoARM: tegra: e1853: fix therm alert functionality
Vishal Singh [Tue, 20 Nov 2012 13:30:06 +0000]
ARM: tegra: e1853: fix therm alert functionality

Therm alert (via GPIO) functionality is broken due to incorrect
pinmux.
Correcting the same.

Bug 1157291.

Reviewed-on: http://git-master/r/165058
(cherry picked from commit 2c265caa283e4e936c38d6be01a6d9caff62a963)

Change-Id: I9846c8fdb15d1a2643a8b8aab267586bc5e80e53
Signed-off-by: Vishal Singh <vissingh@nvidia.com>
Reviewed-on: http://git-master/r/165950
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: thermal: Increase max throttle table size
Jinyoung Park [Wed, 21 Nov 2012 23:32:28 +0000]
arm: tegra: thermal: Increase max throttle table size

Increased max throttle table size from 32 to 64.

Bug 1174096

Change-Id: I0ae2491e54d9501c1626a2dd024d02531f61f457
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/165552
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: dalmore: Adding Nemo modem support
Steve Lin [Sat, 17 Nov 2012 03:25:31 +0000]
ARM: tegra: dalmore: Adding Nemo modem support

Bug 1176649

Change-Id: I6554733fc554869ad9020c4d7225ca0534d3a715
Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/164512
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jean-Marc Guiraudet <jguiraudet@nvidia.com>

6 years agomach: enterprise: Add codec bit clock
ScottPeterson [Tue, 18 Sep 2012 21:30:18 +0000]
mach: enterprise: Add codec bit clock

Add parameter to specify the I2S bitclock
to use as part of audio codec pdata structure.

Modified audio and dam clocks to be an even
divide down of the 26Mhz clock used on enterprise.

Change-Id: I7656032e4006df9954f0c3ec608ec8518c0bb415
Signed-off-by: ScottPeterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/133661
(cherry picked from commit 79f8a8ae0060265d97ba5ed5c9272477af789e07)
Reviewed-on: http://git-master/r/146607
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: pluto: fix LG 5'' panel timing
Chandler Zhang [Mon, 26 Nov 2012 12:52:37 +0000]
arm: tegra: pluto: fix LG 5'' panel timing

Horizental timing for LG 5'' panel was wrongly configured.
Change to correct values to fix the glitch at left side.

Bug 1156782
Bug 1175123
Bug 1180814

Change-Id: Ia1fb349ed824d883167c1253d68f471cb827b283
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/166200
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agow1: master: tegra_w1: add pm runtime support
vjagadish [Thu, 24 May 2012 11:21:42 +0000]
w1: master: tegra_w1: add pm runtime support

added pm runtime support for tegra one wire
driver.

Bug  887346

Change-Id: Ic8cbd355ee99e32b4d41e5dfe75a2fe586e7ea69
Signed-off-by: vjagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/165630
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agocrypto: tegra-se: Remove key slot index for DRBG
venkatajagadish [Thu, 22 Nov 2012 06:57:13 +0000]
crypto: tegra-se: Remove key slot index for DRBG

This change removes T114 SW war for DRBG key slot
index.

Bug 1033121

Change-Id: If44cb707158acc1becea5da9e933fb2eb7e86df4
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/165628
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra11: power: Expand core EDP fs interfaces
Alex Frid [Thu, 22 Nov 2012 02:00:13 +0000]
ARM: tegra11: power: Expand core EDP fs interfaces

Created core EDP profile sysfs interface to change edp profile:
/sys/kernel/tegra_core_edp/available_profiles
/sys/kernel/tegra_core_edp/profile

Added core EDP disable/enable debugfs interface:
/d/edp/vdd_core/disable_edp

When core EDP is disabled the EDP limits are set to maximum rate
of the respective clock. Always enable core EDP by default, even
if applying initial limits failed (generate WARN in this case).

Bug 1165638

Change-Id: Iacbcaae1e9570e7d6cfa754e3b4774ad5c1e31c7
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/165618
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Prashant Malani <pmalani@nvidia.com>

6 years agoARM: tegra11: power: Update core EDP on CPU cluster switch
Alex Frid [Sun, 18 Nov 2012 08:45:43 +0000]
ARM: tegra11: power: Update core EDP on CPU cluster switch

Update core EDP limits when CPU cluster is switched between fast
(G-mode) CPU, and slow (LP-mode) CPU.

Bug 1165638

Change-Id: I956eb5ab2d8fbe873f998cca1e22984413cf5743
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/165617
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agocrypto: tegra-se: Remove reseed rng T114 SW WAR
venkatajagadish [Wed, 21 Nov 2012 11:31:45 +0000]
crypto: tegra-se: Remove reseed rng T114 SW WAR

This change removes T114 SW war to reseed the rng after
RESEED_INTERVAL.

Bug 1002118

Change-Id: I4f504349dd4a9a89d77b373808d82b41b3fcf736
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/165614
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agocrypto: tegra-se: Remove T114 Sw War to Limit max bytes
venkatajagadish [Wed, 21 Nov 2012 11:01:47 +0000]
crypto: tegra-se: Remove T114 Sw War to Limit max bytes

Remove the T114 S.E SW War to limit the Max bytes to process .

Bug 961707

Change-Id: I16bcc36d0a1f1449b015bc3084634a34aaf30f4e
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/165613
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agocrypto: tegra-se: Remove NOP after context save
venkatajagadish [Wed, 21 Nov 2012 10:40:02 +0000]
crypto: tegra-se: Remove NOP after context save

Remove NOP command after lp0 context save fot t148.

Bug 1002132

Change-Id: I2af181b02ff3ba64a60f2ad325fefee49e69c023
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/165612
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agodrivers: power: max77665: enable interrupts in charger
Syed Rafiuddin [Thu, 22 Nov 2012 11:43:38 +0000]
drivers: power: max77665: enable interrupts in charger

enable interrupt in charger driver to update status
instantaneously

Change-Id: I3b1398a5fba0ba75536451ba79d3aad5080ab8a3
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/165473
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: roth: No power off on USB bus suspend
Pavan Kunapuli [Wed, 21 Nov 2012 02:08:54 +0000]
ARM: tegra: roth: No power off on USB bus suspend

Disabling powering off USB on bus suspend to get OTG
to work.

Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/165224
(cherry picked from commit 27f785a3045dd3d5d0db49f4adbfaba98bf09afe)

Change-Id: I564ef1619987468f48340c3345be9491d0ff1d1e
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/166327
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: roth: Add ehci2 regulator supply
Anshul Jain [Sun, 18 Nov 2012 02:19:31 +0000]
arm: tegra: roth: Add ehci2 regulator supply

Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/164562
(cherry picked from commit e42077746d6fba2ab43f387eb49f63449b6268c1)

Change-Id: I00076d10c846de0ca31fa171f490c79ff384d644
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/166326
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoRevert "ARM: tegra: roth: Disable USB3 registration"
Anshul Jain [Sat, 17 Nov 2012 20:32:38 +0000]
Revert "ARM: tegra: roth: Disable USB3 registration"

This reverts commit 944f1519cb814d00a6ac3d5bed5d1184007ab03a.

Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/164561
(cherry picked from commit f492938ad056430245232ca2c44812acee62682d)

Change-Id: Icd27d721add0b9240d3f0ada7aefb301c9f0f85c
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/166325
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: roth: Add sdcard hotplug support
Pavan Kunapuli [Wed, 21 Nov 2012 03:23:34 +0000]
ARM: tegra: roth: Add sdcard hotplug support

Adding the card detect gpio needed for sd card
hot plug support

Bug 1178962

Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/165233
(cherry picked from commit 747e3e70aa0f3c41f925066049d1b7a079474ffd)

Change-Id: I720cc06a60b92a63d2bc1d9831579bd5335d3d28
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/166317
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: roth: Fix SD card write protect pin
Pavan Kunapuli [Mon, 19 Nov 2012 03:14:40 +0000]
ARM: tegra: roth: Fix SD card write protect pin

There is no write protect pin for SD card on roth.
Pull it down to make sure that cards are not
detected as write protected.

Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/164605
(cherry picked from commit 71bdc41c396b4af2b42eca6dba7f3676f1e5d7d8)

Change-Id: Ia98a79287010228bf3d2ad694ce55ca6dbd078b6
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/166316
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: soctherm: Build fix
Jeff Smith [Sat, 24 Nov 2012 17:47:55 +0000]
ARM: tegra: soctherm: Build fix

Fix build when CONFIG_THERMAL is disabled.

Change-Id: Iad4ebb036b7a2b6407b0ebe07c096200e275471e
Signed-off-by: Jeff Smith <jsmith@nvidia.com>
Reviewed-on: http://git-master/r/166024
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agopower: max77665: fix build warnings
Sivaram Nair [Wed, 21 Nov 2012 10:55:04 +0000]
power: max77665: fix build warnings

This patch fixes few build warnings including one which results in a
memory corruption (by passing the wrong pointer type).

Change-Id: Icaaba208c93db70b1a6576a03809aadb53ce49e0
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/165344
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoarm: tegra: API for cluster switching
Nitin Agrawal [Wed, 21 Nov 2012 05:23:23 +0000]
arm: tegra: API for cluster switching

API for doing cluster switching so that we can do cluster
switching within the kernel from another process explictly.

Bug 1058804

Reviewed-on: http://git-master/r/141961
(cherry picked from commit 96e05643a4b1ea2c566ab5cf07642645f4f935bb)

Signed-off-by: Nitin Agrawal <nitina@nvidia.com>
Change-Id: Ic4821fbd507327d7c951ab74ae7b1febc6f5bbe6
Reviewed-on: http://git-master/r/161869
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Nagaraj Kolur <nkolur@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agopower: max17042: battery depletion EDP client
Sivaram Nair [Wed, 31 Oct 2012 12:22:13 +0000]
power: max17042: battery depletion EDP client

As the battery in a phone depletes, its internal resistance increases
and its open-circuit voltage decreases. So, a battery discharge that
might be safe when the battery is full might cause an under-voltage
failure when the battery is significantly depleted.

This patch creates a battery-depletion EDP client with an E0 current
that equals the delta between peak discharge current with a fully
charged battery and peak discharge current with a 95% depleted battery.

The battery state is determined by periodically polling the fuel gauge
registers and determining the depletion.

Bug 1049930

Change-Id: I133c78b5aa655fb7da05cc159eccfc9b42a76799
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/160196
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: ahb: Enable prefetch for t114 SE
Shravani Dingari [Fri, 16 Nov 2012 11:06:42 +0000]
ARM: tegra: ahb: Enable prefetch for t114 SE

Bug 1167460, Bug 1156989

Change-Id: I12b7e84ff96f92050591ef40fb621d01f316ed8f
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/159530
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: config: tegra3: Enable PLATFORM_ENABLE_IOMMU
Hiroshi Doyu [Mon, 16 Jul 2012 07:48:13 +0000]
ARM: config: tegra3: Enable PLATFORM_ENABLE_IOMMU

Make all platform device IOMMU'able. Those device drivers are expected
to use DMA API correctly.

Bug 1162056
Bug 956490

Change-Id: I7244dda5da17cdfb220c89b4169d922fddfe8bdd
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/146861
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: change core rail max current parameter
sumedhap [Fri, 23 Nov 2012 06:27:08 +0000]
ARM: tegra: change core rail max current parameter

change the name of max_core_cur_ma to core_edp_ma

Bug 1170877

Change-Id: I08d60ebe248cd4afff4532b85a2351733beb7a89
Signed-off-by: sumedhap <sumedhap@nvidia.com>
Reviewed-on: http://git-master/r/165843
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Vivek Kumar <vivekk@nvidia.com>

6 years agodrivers: power: sbs-battery: update battery status
Syed Rafiuddin [Fri, 23 Nov 2012 07:40:00 +0000]
drivers: power: sbs-battery: update battery status

Update battery characterstics contineously

Bug 1054751

Change-Id: Ia7770f7d388599b321e48b40a5723029dff92e6b
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/165833
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agovideo: tegra: host: Reset T114 3D on powerup
Terje Bergstrom [Thu, 22 Nov 2012 13:24:22 +0000]
video: tegra: host: Reset T114 3D on powerup

3D is in invalid state when we power it on for the first time. Reset
it at power-up.

Bug 1172645

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

6 years agocrypto: tegra-se: to_phys(ctx_save_buf) in PMC scratch register
Hiroshi Doyu [Thu, 22 Nov 2012 13:17:46 +0000]
crypto: tegra-se: to_phys(ctx_save_buf) in PMC scratch register

Find physical address of ctx_save_buf via vmalloc_to_page(), and set
it in PMC scratch register.

Bug 1162056

Change-Id: I8ab16fd1381954883f3b51a30e958b1f343dd4e8
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/165732
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agovideo: tegra: host: Fix memory leak in dmabuf
Arto Merilainen [Thu, 22 Nov 2012 09:35:16 +0000]
video: tegra: host: Fix memory leak in dmabuf

nvhost was not detached from imported dmabuf buffers correctly.
Refcount to the buffer was decreased so the actual memory area
was released. However, small amount of bookkeeping data was not
freed.

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

6 years agovideo: tegra: host: Boot MSENC at init
Terje Bergstrom [Thu, 15 Nov 2012 12:30:10 +0000]
video: tegra: host: Boot MSENC at init

Boot MSENC at channel initialization time if power gating is not
enabled. If we support power gating, MSENC is booted when it's
powered up.

Bug 1164556

Change-Id: Icf8234bbf427e7e0452a98164163124d1c24704b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/163955
(cherry picked from commit cab9a80aa94df4e851d7aff923a9a453f47b28ff)
Reviewed-on: http://git-master/r/165626
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoarm: tegra: dalmore: add bq20z45 platform data
Syed Rafiuddin [Tue, 20 Nov 2012 10:51:32 +0000]
arm: tegra: dalmore: add bq20z45 platform data

addition of platform data to bq20z45 fuel-gauge chipset

Change-Id: I1b49d9d418707b13c7231759358c0e9ddbc84e92
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/164992
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: power: tps65090: enable interrupt for charger
Syed Rafiuddin [Tue, 20 Nov 2012 10:50:27 +0000]
drivers: power: tps65090: enable interrupt for charger

enabling interrupt support in tps65090 charger driver
to update the plug-in/plug-out of charger cable

Change-Id: I300b9bb1b91f39655ee877e2be2631aeaaeab188
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/164991
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: dalmore: tps65090 charger platform data
Syed Rafiuddin [Tue, 20 Nov 2012 10:49:48 +0000]
arm: tegra: dalmore: tps65090 charger platform data

addition of charger platform data to tps65090

Change-Id: I3424d88af17adbe6ad7de94cc99baf64f1419584
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/164990
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: add tegra11x-dalmore.dtb to Makefile.boot
Pritesh Raithatha [Wed, 7 Nov 2012 14:07:26 +0000]
arm: tegra: add tegra11x-dalmore.dtb to Makefile.boot

Bug 1003210

Change-Id: I6f1b7e8f0e927e5bbd6ded1e1b52560daf9fa813
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/162047
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoarm: tegra11: config: enable device tree support
Pritesh Raithatha [Mon, 19 Nov 2012 13:19:52 +0000]
arm: tegra11: config: enable device tree support

Bug 1003210

Change-Id: Ic257a2ed46a6fa1165e1a8e9ceeaf22e62175092
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/162046
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoArm: tegra: roth: Fix build errors
Vikram Kanigiri [Tue, 20 Nov 2012 07:33:54 +0000]
Arm: tegra: roth: Fix build errors

1. Remove DT code when DT not supported
2. Remove touch initialisation

Change-Id: I51e75244a098199d1a8f4db9aff347d10509e576
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/165181
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: Tegra: Roth: Add Hall Effect Sensor
Matt Wagner [Sat, 17 Nov 2012 05:09:43 +0000]
ARM: Tegra: Roth: Add Hall Effect Sensor

Add Hall Effect sensor GPIO_KEY as SW_LID and
set pinmux to PULL_UP since the key is active low

Bug 1163078

Reviewed-on: http://git-master/r/164523
(cherry picked from commit 021015f4bd91180c80d3f593c6f63b0038f20eef)
Change-Id: Iea2ff6064d8c6e1e2d32d17b54ef927bb675c84d
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164936
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agonet: wireless: bcmdhd: Fix dhd_wlfc_init NULL pointer
Mohan T [Wed, 17 Oct 2012 16:08:06 +0000]
net: wireless: bcmdhd: Fix dhd_wlfc_init NULL pointer

Fix null pointer exception in dhd_wlfc_init
function

Bug 1176686

Reviewed-on: http://git-master/r/164533
(cherry picked from commit 0b46998c131a303e1eabdc4ba9c4b612e8008cf2)
Change-Id: Ib9d775318e2164516011bbbd64d7996e57ead8fd
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164935
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: Tegra: Roth: Enable all 3 NCT72 therm sensors
Anshul Jain [Sat, 17 Nov 2012 08:54:48 +0000]
ARM: Tegra: Roth: Enable all 3 NCT72 therm sensors

This change enables all 3 NCT72/NCT1008 thermal sensors.

Reviewed-on: http://git-master/r/164508
(cherry picked from commit ee74d4b40b55813c2f0c0dd1beb11375070ef774)
Change-Id: I22a40bdae314a8007cb0df69fd12b01032dd78b7
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164934
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: Tegra: Roth: Fix HDMI
Matt Wagner [Sat, 17 Nov 2012 05:29:14 +0000]
ARM: Tegra: Roth: Fix HDMI

Change configuration of HDMI I2C Pinmux, avdd_pll and avdd_dsi_csi

Reviewed-on: http://git-master/r/164531
(cherry picked from commit 87757fc92d725c7a4963cd2edacbfe637ed493f5)
Change-Id: I69ebd70f0be3982f0149853fc71dab41ff383e63
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164933
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: Tegra: Roth: Disable Gyro and Charger Init
Graziano Misuraca [Tue, 30 Oct 2012 18:24:43 +0000]
ARM: Tegra: Roth: Disable Gyro and Charger Init

Reviewed-on: http://git-master/r/164507
(cherry picked from commit ec32e46390b936ca08e5e76b496465dab35d446c)
Change-Id: I57e5c90611668c3de3ac33fdf6411933bf95f9c8
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164932
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: roth: Disable USB3 registration
Pavan Kunapuli [Sat, 17 Nov 2012 00:01:51 +0000]
ARM: tegra: roth: Disable USB3 registration

Removing USB3 device registration.

Reviewed-on: http://git-master/r/164462
(cherry picked from commit 944f1519cb814d00a6ac3d5bed5d1184007ab03a)
Change-Id: I5e1e2221bbd0a2eedfb92e18a5fdd5715a1a33da
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164904
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>