6 years agodrivers: nct: Added hysteresis
Joshua Primero [Fri, 5 Oct 2012 00:24:54 +0000]
drivers: nct: Added hysteresis

Added hysteresis functionality to thermal trip points.

bug 1057977

Change-Id: I377fee3932fd5a9f264672a889eb438dcdcc99ab
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/141775
(cherry picked from commit 06d721750fcd31cceb277bb30685f86180fee326)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146686
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: dalmore/pluto: Copy bootloader fb to kernel
Animesh Kishore [Thu, 4 Oct 2012 22:29:42 +0000]
arm: tegra: dalmore/pluto: Copy bootloader fb to kernel

Change-Id: Iaa52db11e2f5281e2aaff737d3a648fdf74a3b7e
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/141740
(cherry picked from commit 8f9b7d2ecc8f1bbb5d0ca08fccc22a0ccacb5b70)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146685
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: max8831: Fix android to kernel brightness map
Animesh Kishore [Thu, 4 Oct 2012 21:56:15 +0000]
video: tegra: max8831: Fix android to kernel brightness map

Map 0-255 android brightness to 0-127 max8831 range.

Bug 1053872

Change-Id: I5e491182d7bfe181099118eb463f8c04a22f9ca8
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/141726
(cherry picked from commit c90452a5ec3798369669658d202d8ac892d712c9)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146684
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Hook soctherm to sw throttle
Joshua Primero [Fri, 28 Sep 2012 23:00:26 +0000]
ARM: tegra: soctherm: Hook soctherm to sw throttle

Start integrating soctherm with the balanced throttling
software module.

Change-Id: I8d6f310ba7676672fb657c349b5b70462bddbb9a
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139847
(cherry picked from commit ca094f06dcfcf7ce46ed7c41c2b3a5bd9f399544)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146683
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Enable THERMTRIP
Joshua Primero [Fri, 28 Sep 2012 20:51:52 +0000]
ARM: tegra: soctherm: Enable THERMTRIP

Exposed platform data to cause CPU/GPU/MEM/TSENSE shutdown based on
thresholds

Change-Id: I3f53ea6ef062d61c86915af03360f703f3ee6257
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139828
(cherry picked from commit d5f29d91e4ed963c43bd61b0c8bbb31ccfbe2e75)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146682
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: soctherm: Enable interrupts
Joshua Primero [Fri, 28 Sep 2012 00:01:58 +0000]
ARM: tegra: soctherm: Enable interrupts

Enable interrupts on soctherm driver. Verified that it works.

Change-Id: Idd7fb87ebeda67ea50f8cf54b9a62e9843b7a095
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139507
(cherry picked from commit 95460f26f4a3ba623cceb65507471e8a6ac456ae)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146681
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: thermal: Multiple sensor programming
Joshua Primero [Wed, 5 Sep 2012 02:21:59 +0000]
ARM: tegra: thermal: Multiple sensor programming

Enabled programming of the multiple sensors in soctherm.

Change-Id: I814a90742430d9ffd502f2bf9b34e1ce3e20513b
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/138787
(cherry picked from commit 6362b1868a610b6ee553b8e8b8291407d8c4da0a)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130400
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: thermal: added soctherm to thermals
Joshua Primero [Tue, 7 Aug 2012 22:15:59 +0000]
ARM: tegra: thermal: added soctherm to thermals

Added soctherm to existing thermal infrastructure.

Change-Id: Id349aec9ae98f4f545d3f7f38d0b5e7d6aa7c979
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/138784
(cherry picked from commit 6637d00411babcab71a90ff15b7e1ef3087db523)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146679
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: power: fix dynamic VDD_CPU EDP capping granularity
Diwakar Tundlam [Tue, 2 Oct 2012 23:54:39 +0000]
arm: tegra: power: fix dynamic VDD_CPU EDP capping granularity

Changed freq-step to ensure EDP freq caps line up with actual cpufreqs
Also since min-cpufreq changes after bootup, don't use min, use 0.

Change-Id: I57498b719b06f7dd3bade5b2038277c2564c69cc
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/141055
(cherry picked from commit 37d92240720f40c0528188ec4409ac5055397e4b)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146678
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: power: enable dynamic VDD_CPU EDP capping
Diwakar Tundlam [Fri, 21 Sep 2012 08:02:42 +0000]
arm: tegra: power: enable dynamic VDD_CPU EDP capping

Using the model used to enforce max frequency for a given VDD_CPU EDP.
Enabled for dalmore and pluto.

Initialised edp_reg_override to 6A and increased default per-platform
edp-limit higher by 6A to allow users to override the limit up by upto
6A when needed for specific use-cases.

Change-Id: I2741ba7316cebe0ae2836b84c4b3bbbe0afefe5e
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/134306
(cherry picked from commit 9648d86f4a9a7b3b2557e98530e8265ea9f53467)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146677
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: power: Update dynamic CPU EDP model
Daniel Solomon [Tue, 4 Sep 2012 02:09:43 +0000]
arm: tegra: power: Update dynamic CPU EDP model

Update the model used to calculate max frequency
for a given VDD_CPU EDP.

Change-Id: Id220f25b58880c936f621f07faae414be42e8971
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/133051
(cherry picked from commit eca6edfc4220c5d0a004e9655926ea805c485152)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/132941
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: nct: tsensor: writeable trip points
Joshua Primero [Tue, 11 Sep 2012 23:23:41 +0000]
drivers: nct: tsensor: writeable trip points

Added nct functionality to change trip points. This
will be useful for EDP and thermal throttling.

Change-Id: I4fef643263261701164027f9bb13794b37e4907e
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139083
(cherry picked from commit 0dd4d083d4379752f7db241800d9501460b63d07)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146674
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: thermal: Make trip points writable
Joshua Primero [Tue, 11 Sep 2012 21:10:48 +0000]
drivers: thermal: Make trip points writable

Some of the thermal drivers using the Generic Thermal Framework
require (all/some) trip points to be writeable. This patch makes
the trip point temperatures writeable on a per-trip point basis,
and modifies the required function call in thermal.c. This patch
also updates the Documentation to reflect the new change.

Change-Id: I69128011eec3e3e4848c78b239cc2c1c722cb083
Signed-off-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139082
(cherry picked from commit bcec9491925b51d41c95175d1fe4a00d374dcb13)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146673
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: nct: Fixed uninitialized variable
Joshua Primero [Mon, 10 Sep 2012 23:15:12 +0000]
drivers: nct: Fixed uninitialized variable

Initialized variable to 0

Change-Id: Ib05d83b5a06bf8e3ece4c4b1856f4e702f7f9494
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/139081
(cherry picked from commit 1df057920f583fe2c8f10fb37411420c52a91b5a)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146672
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: power: add throttle_count sysfs
Diwakar Tundlam [Wed, 26 Sep 2012 22:22:24 +0000]
arm: tegra: power: add throttle_count sysfs

Added counter to show number of throttling instances

Change-Id: I3d1b4c0fe92aeb5b084edaea4051d48a3ce8b6d0
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/139094
(cherry picked from commit 8eb8dd9040260a7e703eff055994a8f5422ea062)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146671
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: dalmore: Provide custom packet for panasonic panel
Animesh Kishore [Wed, 26 Sep 2012 21:45:15 +0000]
arm: tegra: dalmore: Provide custom packet for panasonic panel

Change-Id: Iac145bbf0c890c5fef93898e34e8ec76ae676dab
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/139078
(cherry picked from commit 1699a2a6e8b230bb737fc242b26fe6a6cb8d2f14)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146670
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dsi: Add support for custom packet sequence
Animesh Kishore [Wed, 26 Sep 2012 21:42:54 +0000]
video: tegra: dsi: Add support for custom packet sequence

Some panels need non standard packet sequence.
Add support to provide the info as platform data.

Bug 1053940

Change-Id: I86ea1728a54731765ac9039e4ae19a1dec3d6e98
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/139077
(cherry picked from commit 5dc9d6ee4417c797eceee012e78ab2152bb54d33)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146669
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: dalmore: Add backlight control support
Animesh Kishore [Tue, 25 Sep 2012 19:04:42 +0000]
arm: tegra: dalmore: Add backlight control support

Backlight control via pwm.

Bug 1054100

Change-Id: I70ba92c81d9853a6ba4341fad37fa4e37b6f4a94
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/135217
(cherry picked from commit 9f8aab15dbb763c841445cc132603bae07afedb7)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146668
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: dalmore: board changes for bq20z45 fuel-gauge
Syed Rafiuddin [Wed, 19 Sep 2012 13:56:36 +0000]
arm: tegra: dalmore: board changes for bq20z45 fuel-gauge

board specific changes for bq20z45 fuel-gauge driver for
dalmore platform

Change-Id: I48dd5c002d00d35d316859da0f54659037e4d09e
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/133813
(cherry picked from commit eafa39ec129293be98acf0b3de73f42ed758a67e)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146665
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: dalmore/pluto: Add temperature sensor support
Diwakar Tundlam [Fri, 14 Sep 2012 00:04:20 +0000]
ARM: tegra: dalmore/pluto: Add temperature sensor support

Add nct1008 external temp sensor support for dalmore and pluto boards

Bug 1046108

Change-Id: Id5893d5cfe94d143eef175e018f3211bd6912138
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/132901
(cherry picked from commit fff74a9157a0a900d61f1efa538dcfd136125e1f)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/146664
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: thermal: Thermals in kai/enterprise
Joshua Primero [Thu, 6 Sep 2012 22:19:35 +0000]
ARM: tegra: thermal: Thermals in kai/enterprise

Enabled edp thermal capping, thermal throttling, and thermal
shutdown on the Kai and Enterprise platforms which got lost
in the previous refactor.

Change-Id: I5b65058fd94162f256fdc40006db32d1e2dbde28
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132884
(cherry picked from commit f6d6f30e07d679a74342bb5e5d599993414a9d56)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130366
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: thermal: Remove tegra therm dependency
Joshua Primero [Thu, 30 Aug 2012 03:16:22 +0000]
ARM: tegra: thermal: Remove tegra therm dependency

Removed the use of the Tegra thermal layer. All management
is now done via Linux thermal framework via thermal_zone_devices
and thermal_cooling_zones.

Change-Id: I87de8a7dd8ff8e338d3c18db1518b5acfc18faee
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132883
(cherry picked from commit cb9e0dbe41d7419d6152f02ea10f13faa7448e81)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130289
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agodrivers: hwmon: tsensor: decoupled tsensor driver
Joshua Primero [Thu, 30 Aug 2012 02:18:59 +0000]
drivers: hwmon: tsensor: decoupled tsensor driver

Removed outside interface of tsensor driver. Tsensor driver
interacts with cooling devices via Linux thermal framework
which it registers to on its own.

Change-Id: I349761a28eac94f7f6c05d192394bc2739e93cb6
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132882
(cherry picked from commit 6645d1062b2d76a504ef7a109b919d631169f479)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130288
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: misc: nct driver decouple
Joshua Primero [Thu, 30 Aug 2012 01:12:46 +0000]
drivers: misc: nct driver decouple

Decoupled nct driver from outside calls. Nct driver interacts
with cooling devices by registering itself to the Linux thermal
layer. Cooling devices is given via platform_data.

Change-Id: I6df7d66e1fffd84670fd165fc9a9ded0127273c1
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132881
(cherry picked from commit 5e1e60f2effbf8baed24d73f9c0b988f608cafe2)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130287
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: thermal: Removed int sensor register
Joshua Primero [Tue, 28 Aug 2012 21:42:40 +0000]
ARM: tegra: thermal: Removed int sensor register

Internal nct sensor registration to framework now
occurs at the driver level.

Change-Id: I224b08aba95061c67c2c06672aa95878a0ec41a1
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132880
(cherry picked from commit deaf3ee7f0be288120a74c25cf4dba65cff02c38)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130286
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agodrivers: nct: shutdown and thermal register
Joshua Primero [Tue, 28 Aug 2012 21:38:51 +0000]
drivers: nct: shutdown and thermal register

Shutdown temperature in platform data now used. Also,
cleaned up some unused platform data parameters.

Also, have nct driver register with thermal framework
itself.

Change-Id: Ic97aa3968b945033c83d2809b63c571b05bb89eb
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/132879
(cherry picked from commit e361239aab1a9c393a4a6ccfb8ac78f066adbffb)
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/130285
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: tegra: pluto: enable CMU by default.
Kevin Huang [Tue, 25 Sep 2012 20:54:53 +0000]
arm: tegra: pluto: enable CMU by default.

Bug 104734

Change-Id: I365b765914130996fb4acdaec091e95131d980c6
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/135242
(cherry picked from commit a86b1eab7a1c78f946479ac09bc1ae5f4a9ff436)
Reviewed-on: http://git-master/r/146975
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: set I2S bit clk based on channel
Dara Ramesh [Thu, 18 Oct 2012 11:46:42 +0000]
asoc: tegra: set I2S bit clk based on channel

Bug 1054221

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/145578
(cherry picked from commit 225fc7cb3a54a32a583c8e536a5c5b2d9ad61982)

Change-Id: I4953dd751cbe1f2acb1f6a31ff89889c45a2dc3f
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146969
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: Add 8,24,32 bit support
Rahul Mittal [Wed, 17 Oct 2012 08:55:53 +0000]
asoc: tegra: Add 8,24,32 bit support

Adding 8, 24 and 32 bit support to Tegra Drivers
All the above formats are supported by Tegra hardware
Playback/record also depends on support in platform codec

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/143750
(cherry picked from commit 9ffc1769fae6b03aef56e89b36dcb8e471ac13a6)

Change-Id: I06259d345f9d7886fe949809e358544ed506268e
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146968
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: Fix headset detection
Vijay Mali [Wed, 17 Oct 2012 07:26:06 +0000]
asoc: tegra: Fix headset detection

Increase debounce time. Helps in making correct
decision of headset insert and remove events.

For bug 1060874

Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/145165
(cherry picked from commit f62ad8e7f9013169f1e5b8aed833e56c9e4509ff)

Change-Id: Iec7d34b0e2bf0de4bfca31f13818be900ca2188c
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146967
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Tested-by: Vijay Mali <vmali@nvidia.com>

6 years agoasoc: tegra: DSP, LJM, RJM mode support for T114
Rahul Mittal [Wed, 10 Oct 2012 10:00:46 +0000]
asoc: tegra: DSP, LJM, RJM mode support for T114

Add SLOT_CONTROL2 programming (new register for T114)
SLOT_CONTROL in T114 to be programmed as TOTAL SLOTS
Add I2S offset programming for I2S modes

Bug 1054221

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/142693
(cherry picked from commit 173b11c81829254515facb0b253d888e1e02719a)

Change-Id: Iccaf43359842687d989515fa605f61709bb2d6b5
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146964
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoALSA: hda: Fix condition check for hda clock disable
Rahul Mittal [Thu, 11 Oct 2012 13:24:41 +0000]
ALSA: hda: Fix condition check for hda clock disable

HDA clocks weren't getting disabled in display on.
Corrected error in condition check to fix the issue.

Bug 1156125

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/143718
(cherry picked from commit f1cf49754fbf950ec7bdac646425443cf047c30f)

Change-Id: I795bab4e3d976a57d1a17181d2b39ee740eab6a0
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoarm: tegra: Fix DMA req for new APBIF channels
Rahul Mittal [Wed, 10 Oct 2012 13:27:56 +0000]
arm: tegra: Fix DMA req for new APBIF channels

DMA requests from new APBIF channels wasn't added
This caused callback failures with FIFO threshold 7

Bug 1154914

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/143250
(cherry picked from commit 7dd7957b81da7a48c62c473bafeebc788f5142a3)

Change-Id: I28baab45a1fdf0917c28ff9e7f538ad986fe52c8
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146962
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoasoc: tegra: Support BT_SCO
Dara Ramesh [Wed, 10 Oct 2012 10:14:55 +0000]
asoc: tegra: Support BT_SCO

Add support for bt sco on dalmore platform.

Bug 1054221

Change-Id: I4acc4dd908b087a56b406bab18c4b7fc50b39425
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/143191
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146961
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc : cs42l73: Add delay after codec power off
Rahul Mittal [Thu, 4 Oct 2012 15:31:54 +0000]
asoc : cs42l73: Add delay after codec power off

Adding delay after codec power off when suspend call is made
Fixes the issue of higher power in LP0 after running audio

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/141618
(cherry picked from commit c145a53ff2e7f51405292e184d8a619347a3fb08)

Change-Id: I3f85d4dd9c557a5420d1a98bb2cc54501e30d7f3
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146960
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoasoc: tegra: cs42l73: Add DMIC regulator on/off support
Rahul Mittal [Fri, 28 Sep 2012 13:56:19 +0000]
asoc: tegra: cs42l73: Add DMIC regulator on/off support

Enable/disable DMIC regulator based on DAPM event
Bug 1053229

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/138867
(cherry picked from commit 4dc7b8efdaa70a9bb8b99e63011a0ddd16b66aaa)

Change-Id: I09661d981735c682be85d7999ce54478f75d88dd
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146959
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: cs42l73: Add DAPM for DMIC recording
Jubeom Kim [Thu, 27 Sep 2012 02:54:07 +0000]
asoc: tegra: cs42l73: Add DAPM for DMIC recording

Adding DAPM widget for DMIC recording
Bug 1053229

Signed-off-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-on: http://git-master/r/139186
(cherry picked from commit 247eea2726e6f3422ce7b4b5c266f6040242976e)

Change-Id: Id0cada66bd7e72c1a5611e1666dc2b865bb7b9ca
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146958
Reviewed-by: Automatic_Commit_Validation_User

6 years agoasoc: tegra: cs42l73: add jack notifier code
Dara Ramesh [Thu, 27 Sep 2012 11:52:46 +0000]
asoc: tegra: cs42l73: add jack notifier code

a) add standard jack notifier code.
b) remove redundant code and do the cleanup.

Bug 1053365

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/139370
(cherry picked from commit a7464022989229de634df9ddf256aa5fa1850f48)

Change-Id: Ied91d7fda90302c34d380d4196ead2d6c884cb09
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146957
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>

6 years agoasoc: tegra: cs42l73: Fix 8khz audio recording
Rahul Mittal [Tue, 25 Sep 2012 11:28:24 +0000]
asoc: tegra: cs42l73: Fix 8khz audio recording

Fixed mclk for 8 khz.
Playback/record for 8khz working.

Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/135106
(cherry picked from commit fd9e0af3e8a62927c8c305175f47c76187586556)

Change-Id: I0dd25fdc9c139d135005d602bfee023e4ab77fba
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146956
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>

6 years agoasoc: tegra: fix rt5640 gpio.
Jubeom Kim [Sat, 22 Sep 2012 01:54:50 +0000]
asoc: tegra: fix rt5640 gpio.

This is no audio issue and need it for E1611.

Signed-off-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-on: http://git-master/r/134559
(cherry picked from commit f26f2949e5ff1b0c6016b6b3350cc3d9f9099c30)

Change-Id: I6d77dc094c3e9df10e718eea86df662dd47337f2
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146955
Reviewed-by: Automatic_Commit_Validation_User

6 years agotegra : soc: cs42l73 headset detection
Dara Ramesh [Fri, 21 Sep 2012 16:27:30 +0000]
tegra : soc: cs42l73 headset detection

Bug 1052081
Bug 1052069

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/134097
(cherry picked from commit 34d4d26641d26f8363c65adc9ae9a816824789dc)

Change-Id: Ie8d741e8d988db3cb1d3712c542c66384176a1be
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146954
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: dc: add the interface to CMU settings.
Kevin Huang [Tue, 25 Sep 2012 18:50:05 +0000]
video: tegra: dc: add the interface to CMU settings.

Change the code so CMU can be set through board file.
Add an interface to turn CMU on/off.

Bug 1047348

Change-Id: I48561dcbb7cfff2fd0bdb7652af5fbcab4c4b8ca
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/133771
(cherry picked from commit 641491fac06fb43db71af570c97424dddf1baf31)
Reviewed-on: http://git-master/r/131920
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoALSA: hda - add Nvidia T114 Tegra HDMI codec id
Dara Ramesh [Thu, 20 Sep 2012 04:14:48 +0000]
ALSA: hda - add Nvidia T114 Tegra HDMI codec id

Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/133966
(cherry picked from commit e4473b4eb34fc8b57f358e0ff38095c731a6f01b)

Change-Id: I8987c4d5555a4fd0da127ec5abbf004ffe32117b
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/146953
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: use smp_processor_id to obtain cpu id
Bo Yan [Tue, 23 Oct 2012 17:43:23 +0000]
ARM: tegra: use smp_processor_id to obtain cpu id

Using smp_processor_id to obtain cpu ID is preferred to directly
accessing CP15 register because it is more flexible and portable.
This is required when accessing virtualized CPUID as seen by the
OS when the OS itself is running in secure mode.

Change-Id: Ibdb1b8de88ff06f0272f073d5ef8e55d370cf970
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146999
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: isomgr: Use emc API's to convert bw to emc freq
Krishna Reddy [Mon, 22 Oct 2012 19:45:28 +0000]
arm: tegra: isomgr: Use emc API's to convert bw to emc freq

Use emc API's to convert bw to emc freq and vice versa.
Calculate teh BW that can be used by ISO clients based on
max emc freq.
Enable isomgr for T11x.
Fix format issues.
Bug 1049929

Change-Id: I338d6838c83343b06a8a79f2ee921a7a3e351679
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/146552
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoinput: touch: raydium: updates for RM31100 chip
Xiaohui Tao [Wed, 17 Oct 2012 18:35:32 +0000]
input: touch: raydium: updates for RM31100 chip

Raydium code drop.
Add support for the new Raydium chip;
Working for both the old chip and new one

Bug 1162178

Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/145319
(cherry picked from commit df26903f2f776b20a4b70eb0a16e9cf65b2a216c)
Signed-off-by: David Jung <djung@nvidia.com>
Change-Id: Ibbb0e8dc92241753799b91fd2f37263a28404dc1
Reviewed-on: http://git-master/r/146047
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoarm: tegra: Update MC error reporting
Alex Waterman [Thu, 11 Oct 2012 18:10:02 +0000]
arm: tegra: Update MC error reporting

The error reporting done by the kernel needed updating from T30
to support new T11x specific features and additions.

BUG 1156719

Change-Id: Iffdedfec54f2a673d97cfe42186b71fe4842c64b
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/143813
(cherry-picked from 18272401c76a80b49c3f1af1ada61209cd944d89)
Reviewed-on: http://git-master/r/145772
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agokernel: Modify schedule interval to 1ms only for ARCH_TEGRA
Diwakar Tundlam [Thu, 4 Oct 2012 00:21:31 +0000]
kernel: Modify schedule interval to 1ms only for ARCH_TEGRA

Bug 954903

Change-Id: I8187b71384c694795bb41dafa3a3800d45110d22
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/141381
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agovideo: tegra: host: Map cmdbuf using nvmap_kmap
Terje Bergstrom [Wed, 17 Oct 2012 08:53:47 +0000]
video: tegra: host: Map cmdbuf using nvmap_kmap

Use nvmap_kmap() instead of nvmap_mmap() to map individual pages from cmdbuf.

Bug 1158533

Change-Id: I76320d1373b0177debec76fe171f0b0c02fe35cd
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/145504
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: nvmap: Add support for nvmap_kmap
Krishna Reddy [Wed, 17 Oct 2012 08:52:49 +0000]
video: tegra: nvmap: Add support for nvmap_kmap

Add support for mapping a single page from a buffer to kernel address
space.

Bug 1158533

Change-Id: Ie331e787663d98b644aa2e7f220020982f15fd9d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/145503
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoarm: tegra: emc: add API to convert bw to freq.
Krishna Reddy [Thu, 18 Oct 2012 21:53:59 +0000]
arm: tegra: emc: add API to convert bw to freq.

Add API to convert bandwidth to freq and vice versa.
Add API to get dvfs switching latency.

Change-Id: I7db20be04df75e7c55260a1802f57e0f4aa739b8
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/145718
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: nvsd: Adjust PRISM by software.
Kevin Huang [Thu, 18 Oct 2012 18:32:13 +0000]
video: tegra: nvsd: Adjust PRISM by software.

Add software calculation on PRISM result based on higtogram to
get around of hardware flaws.

Bug 1156027

Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Change-Id: I29b7e773fd4818edd1b719f1003ec58c35a7fa01
Reviewed-on: http://git-master/r/146163
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm:tegra:enterprise Add I2S4 sync clock
ScottPeterson [Fri, 21 Sep 2012 00:23:21 +0000]
arm:tegra:enterprise Add I2S4 sync clock

Add support for I2S4 sync clock when used
in slave mode.

Change-Id: I5c550f1e8254d843f8b8089b3e83161bd26d962a
Signed-off-by: ScottPeterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/134232
(cherry picked from commit da11aec4853508ae8cff6ac515a65cf578241860)
Reviewed-on: http://git-master/r/146606
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra20: remove irrelevant code
Bo Yan [Tue, 23 Oct 2012 23:54:46 +0000]
ARM: tegra20: remove irrelevant code

This fixes a merge error when earlier migrating from K3.1 to K3.4

Change-Id: I443814bafe54950e163216775f6f96a69b3f2296
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/147098
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: Disable L2X0
Bo Yan [Wed, 24 Oct 2012 22:38:10 +0000]
ARM: tegra11: Disable L2X0

Change-Id: Ice157d01a7bdf461cee47732ef9a7589b22324b0
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146644
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agotegra: dalmore: remove extra call to sensors_init
Gaurav Batra [Tue, 23 Oct 2012 23:47:49 +0000]
tegra: dalmore: remove extra call to sensors_init

Change-Id: I4e6fc2cb7f4c81f9f7f90e5c3caa5a0cf123279b
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/147097
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra3: clock: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 06:11:27 +0000]
ARM: tegra3: clock: 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: Ifdbf4c0f8b31beafe6c1f039342aac93c2510ccf
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/146777
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: host: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 07:28:46 +0000]
video: tegra: host: 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: I786f742260c420746ed7770818c1944f965c61e3
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/146795
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agodrivers: tegra: max77665-flash: flash level update
Charlie Huang [Wed, 24 Oct 2012 00:52:29 +0000]
drivers: tegra: max77665-flash: flash level update

add logic to assign flash/torch level 0 as disable flash/torch functions.
from the hardware's spec, level 0 means the lowest current 16.625mA.

add torch-by-i2c trigger option and set it as default.

also optimized the power on/off sequences.

bug 1155623
bug 1110380
bug 1116953

Change-Id: I1d592a173c4694287dff1543b21a92e3efcd8f2e
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
(cherry picked from commit e799bf696300020045ab7284e007a87accbf9404)
Reviewed on: http://git-master/r/#change,145113
Reviewed-on: http://git-master/r/146034
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: tegra: power gate skip update
rrajk [Tue, 23 Oct 2012 09:50:06 +0000]
ARM: tegra: power gate skip update

T11x power gate partition skip list updated. CPU and 3D partitions
are removed from skip list and power gate for these partitions
is controlled by respective modules.

bug 1053317

Reviewed-on: http://git-master/r/134739
(cherry picked from commit cc2038d4f030a57c0b450ee7d51e56776449427f)

Change-Id: Ic68f7f6f08eb9f9a10d1a746d8ce0457dd0322e9
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146449
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agousb: cdc-acm: enable need_remote_wakeup by default
Venu Byravarasu [Wed, 17 Oct 2012 12:58:10 +0000]
usb: cdc-acm: enable need_remote_wakeup by default

This was disabled in a previous commit as it was thought that the
flag prevented autosuspend from working. However autosuspend will
succeed as long as the modem enumerates with the Remote Wakeup bit
set in the bmAttributes field of the Configuration descriptor.

Bug 1058567

Change-Id: I79b35f8edec4511da19bcc3f761d666d388c655d
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/147062
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agoARM: tegra: Kai: Add power regulator support.
Robert Collins [Mon, 8 Oct 2012 22:46:24 +0000]
ARM: tegra: Kai:  Add power regulator support.

Change-Id: Ica275e04bf000a2f98640bbc382031d288fbafa9
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/142528
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: tegra: Cardhu: Add power regulator support.
Robert Collins [Tue, 9 Oct 2012 00:32:09 +0000]
ARM: tegra: Cardhu:  Add power regulator support.

Change-Id: I3498a0f1ebc531834ab06f1fcdb3641ec3fc12b0
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/142529
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agovideo: tegra: dc: vfilter memclient only for 2x/3x
Jon Mayo [Thu, 27 Sep 2012 23:09:40 +0000]
video: tegra: dc: vfilter memclient only for 2x/3x

Make bandwidth and latency calculations for vfilter a Tegra 2x/3x only feature.

Bug 1055607

Change-Id: I182ce8fb3a0830532f7c8e9132d2d11119cfd009
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/139489
(cherry picked from commit ec4ad6ae4cd03dfb074ec30bc986bf2f59cb813d)
Reviewed-on: http://git-master/r/146976
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomisc: tegra-cryptodev: add drbg support
Mallikarjun Kasoju [Sun, 16 Sep 2012 17:39:06 +0000]
misc: tegra-cryptodev: add drbg support

Add support for user space rng drbg algorithm

Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/133101
(cherry picked from commit 7e8b8bf321a629a4ada453979c6a77104d63fcc5)

Change-Id: I8427401acfc18b744765a7193a0604f385b70299
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/146884
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: Re-enable devfreq
Terje Bergstrom [Tue, 23 Oct 2012 07:59:10 +0000]
ARM: tegra: Re-enable devfreq

Devfreq was disabled by a bad merge. This patch re-enables it.

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

6 years agoARM: tegra11x: residency time for different LP2 mode
Bo Yan [Wed, 17 Oct 2012 02:10:03 +0000]
ARM: tegra11x: residency time for different LP2 mode

Select CPU partition power gating only, non-CPU power gating, or
rail gating based on the required minimum residency and requested
sleep length.

The minimum residency for non-cpu power gating and rail-gating are
arbitrarily set in this change, they have to be characterized.

The minimum residency for non-cpu power gating shall always be
less than the minimu residency for rail gating.

Also fix a bug that prevents rail-gating

Change-Id: Icc646061f0fb47662fa74e77c6ae6b5d5da1444a
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146640
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra30: Remove "power_gating" control
Bo Yan [Tue, 16 Oct 2012 19:11:44 +0000]
ARM: tegra30: Remove "power_gating" control

sysfs node "power_gating" is removed from cpuidle because the same
purpose now is served by cpuidle driver for t11x.

Change-Id: I7f1ea1b13a69f9f0390a9146b50bcecbc98bfe95
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146639
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: clock: Put UTMIPLL under h/w control
Rakesh Bodla [Wed, 10 Oct 2012 05:25:08 +0000]
ARM: tegra11: clock: Put UTMIPLL under h/w control

Programming UTMIPLL register to let hardware to
control UTMIPLL.

Bug 1057339

Reviewed-on: http://git-master/r/141559
(cherry picked from commit 6ff04c9acbb229e22410f7d70e4e127dc6768a34)

Change-Id: Ied7b0e2a34148f70fc982ee5f66c30128fb43df0
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/146346
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomedia: video: tegra: ov9772 NVC driver
Phil Breczinski [Thu, 13 Sep 2012 02:28:58 +0000]
media: video: tegra: ov9772 NVC driver

Replace old framework ov9772 driver with new framework
NVC driver.

Bug 1041786

Change-Id: I4e6c1e22d745688e652becdc94171874333bb865
Signed-off-by: Phil Breczinski <pbreczinski@nvidia.com>
(cherry picked from commit 9c4d6d1da8e5083adea4545288c10ee46edc3903)
Reviewed-on: http://git-master/r/139517
Reviewed-on: http://git-master/r/146022
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: enterprise: supply device name for regulator
Rohith Seelaboyina [Thu, 18 Oct 2012 11:52:10 +0000]
arm: tegra: enterprise: supply device name for regulator

Supply the appropriate device name for battery charging regulator

Bug 1158669

Change-Id: I9d02ba9a75054e714583845790c352afd2ab212e
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/145582
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: kai: supply device name for regulator
Rohith Seelaboyina [Thu, 18 Oct 2012 11:44:48 +0000]
arm: tegra: kai: supply device name for regulator

Supply the appropriate device name for battery charging regulator

Bug 1158669

Change-Id: I2534c8b7e881fd8316a7f775c641c601c953ba73
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/145581
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agousb: gadget: tegra: enable regulator name
Rohith Seelaboyina [Thu, 18 Oct 2012 11:35:14 +0000]
usb: gadget: tegra: enable regulator name

Specify device name for the regulator_get API

Bug 1158669

Change-Id: I981728bc4e14bcedab49175b0350f8d93a2ac95a
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/145580
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomedia: tegra: Add docs for Tegra V4L2 camera
Andrew Chew [Mon, 6 Aug 2012 21:43:09 +0000]
media: tegra: Add docs for Tegra V4L2 camera

This readme describes theory of operations of the Tegra camera host driver.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I9e6f761cd60f5b8a537174290df21fb85f016dca
Reviewed-on: http://git-master/r/145347
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agomedia: tegra: Tegra V4L2 camera
Andrew Chew [Tue, 29 Mar 2011 01:38:39 +0000]
media: tegra: Tegra V4L2 camera

This is the Tegra V4L2 camera host driver, for Tegra2/Tegra3's VI/CSI
controller.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: If2d9eefe53c2119c1a6ae518216e1a3c3ed216ef
Reviewed-on: http://git-master/r/145346
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agomedia: tegra: Tegra videobuf2
Andrew Chew [Mon, 20 Aug 2012 20:02:04 +0000]
media: tegra: Tegra videobuf2

This is based off of videobuf2-dma-contig, except we use Tegra's nvmap for the
buffer allocations.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I15e689c33ee7b4fc0aade794c78701c82483df3f
Reviewed-on: http://git-master/r/145345
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agotegra: When using Tegra V4L2, don't use vi client
Andrew Chew [Tue, 16 Oct 2012 21:41:30 +0000]
tegra: When using Tegra V4L2, don't use vi client

The VI client within drivers/video/tegra is mutually exclusive with the
Tegra V4L2 framework, since they both want to own the camera hardware.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I14da9d1da187c846919d23f62d17cabedc7e91ad
Reviewed-on: http://git-master/r/145344
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agotegra: Add function to release resources
Andrew Chew [Wed, 1 Aug 2012 23:52:42 +0000]
tegra: Add function to release resources

Add a companion function to nvhost_client_device_get_resources() called
nvhost_client_device_put_resources() that does the opposite thing.  This
is useful for any nvhost clients that need to be loaded as modules, since
the driver removal path will be exercised in that case.

Signed-off-by: Andrew Chew <achew@nvidia.com>
Change-Id: I72ffc1e8d3eb7bc0d86896e80f121d2a432abbad
Reviewed-on: http://git-master/r/145343
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agousb: gadget: ether: fix clog tx transmit
Jay Cheng [Sun, 30 Sep 2012 02:07:22 +0000]
usb: gadget: ether: fix clog tx transmit

With g_len initial from 0 and buffer size is 10, it cause interrupt(IOC)
is triggered at entry 0 and 5, which is 1st and 6th entry in list. This deviate
double bufferring design that expect to trigger interrupt at half and full.
If interrupt is trggered at 0 and 5, when upper layer pass through data faster
then u_ether driver can free up, then the data flow start clogging from g_len=6
till g_len=9 and no interrupt is triggered to free up memory to consume data
from upper layer as illustrated below.

[0][1][2][3][4] [5][6][7][8][9]
IOC             IOC

Initial g_len as 1, so interrupt will be triggered at 5th and 10th as illustrated
below. Especially, 10th entry, which is also last entry, must set interrupt to
free up memory.

[0][1][2][3][4] [5][6][7][8][9]
            IOC             IOC

Also enforce last entry in list to trigger interrupt in case user space
change qmult value at run time that will cause misalignment with buffer size.

For example:
echo 4 > /sys/module/g_android/parameters/qmult

[0][1][2][3][4] [5][6][7][8][9]
         IOC          IOC   IOC

bug 1054552
Reviewed-on: http://git-master/r/139969
(cherry picked from commit 4ea9a0eff24d5f3c44402732e35bf12eaed7ed79)

Change-Id: I449a007036f6aea73626921bb24925b2ec57e167
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Reviewed-on: http://git-master/r/145243
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Michael Hsu <mhsu@nvidia.com>

6 years agoARM: tegra: enterprise: Add power regulator support.
Robert Collins [Tue, 9 Oct 2012 00:32:48 +0000]
ARM: tegra: enterprise:  Add power regulator support.

Change-Id: Iafd55341612a71d7225a6eb1b073b53acff6f78c
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/142530
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agocamera: sensor: IMX091: sensor's pll multiple settings
Kurt Yi [Sun, 23 Sep 2012 00:47:55 +0000]
camera: sensor: IMX091: sensor's pll multiple settings

change imx091's pll multiple value to down for supporting
full resolution

Change-Id: Iee83acf20777e5b2bc3a5db58465be056b10a8a0
Signed-off-by: Kurt Yi <kyi@nvidia.com>
Reviewed-on: http://git-master/r/134642
(cherry picked from commit df51fd7ac4c9a7e4214bc7a1920e42af2b5506b1)
Reviewed-on: http://git-master/r/142043
Reviewed-by: Frank Chen <frankc@nvidia.com>
Tested-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Patrick Shehane <pshehane@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoinput: misc: Invensense: Add power regulator support.
Xiaohui Tao [Wed, 17 Oct 2012 00:48:34 +0000]
input: misc: Invensense:  Add power regulator support.

* Remove EARLYSUSPEND/EARLYRESUME for k3.4
* Add power regulator support
* Add suspend/resume functions with power regulator support

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

6 years agousb: gadget: android:honor CONFIG_GADGET_VBUS_DRAW
Rakesh Bodla [Mon, 22 Oct 2012 14:31:58 +0000]
usb: gadget: android:honor CONFIG_GADGET_VBUS_DRAW

Let the usb core handle whether device
is self powered or bus powered.

Bug 1130924

Change-Id: I01c4480b3dcc3777b5723107461521a3afcd39eb
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/146501
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: Dalmore: do not duplicate the consumer list for given rail
Laxman Dewangan [Fri, 12 Oct 2012 10:04:22 +0000]
ARM: tegra: Dalmore: do not duplicate the consumer list for given rail

Dalmore E1613 shaving PMIC MAX77663 and E1611 has TPS65913.
These PMIC have some rails for which list of consumers are same.
Hence in place of duplicating list for the rails of each PMICs,
define or one PMIC and use for other PMIC's rail by macro define.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/144043
(cherry picked from commit 0c252310ed12bc312448c93eb9eabbc1e9c8fd88)

Conflicts:

arch/arm/mach-tegra/board-dalmore-power.c

Change-Id: Ie372f6335aafa5018da372326a983ff270de2fe9
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146441
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoregulator: tps65090: fix issue with dcdc external control
Laxman Dewangan [Thu, 11 Oct 2012 11:25:19 +0000]
regulator: tps65090: fix issue with dcdc external control

There is issue where external control is getting enabled
even when it is not selected from platform data.

Fixing this issue.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/143603
(cherry picked from commit cc79b18e4e007ff3f0728a31f79aa360bd745e45)

Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Change-Id: I6f067b05cfa5bb81353746564420468fa6f5ef1c
Reviewed-on: http://git-master/r/146391
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoregulator: palma: Configure pull-down of LOD8 in tracking mode
Laxman Dewangan [Thu, 4 Oct 2012 09:04:49 +0000]
regulator: palma: Configure pull-down of LOD8 in tracking mode

LDO8 pull-down should be as follows:
- Disable the pull-down of LDO8 when it is in tracking mode.
- Enable the pull-down of LDO8 when it is in non-tracking mode.
Add support of this.

bug 1058685

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/141514
(cherry picked from commit f74a952112b2871144952433319849477af133fa)

Change-Id: I3306e24f63c2787da07f038c011314ce3803a423
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146390
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: iommu/tegra: smmu: Add T114 specifics
Ken Adams [Thu, 11 Oct 2012 03:49:08 +0000]
ARM: iommu/tegra: smmu: Add T114 specifics

Add T114 spcific features to IOMMU/SMMU driver.

Change-Id: If569c0ad2458c529945df3937789220350f04f5a
Signed-off-by: Hiro Sugawara <hsugawara@nvidia.com>
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/133971
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoARM: tegra: Dalmore/Pluto: Set xtal settling time to 10.3ms
Laxman Dewangan [Tue, 9 Oct 2012 12:49:27 +0000]
ARM: tegra: Dalmore/Pluto: Set xtal settling time to 10.3ms

Set the xtl settling time to 10.3ms (data field as 21 decimal)
for t114 paltform Dalmore and Pluto.

bug 1054092

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/142678
(cherry picked from commit 7b0472ad9a5884ece9ef641df817bdb517aeb9ad)

Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Change-Id: I9a5c17295182e76e47a9dbc8513f58ecfa6c60ee
Reviewed-on: http://git-master/r/146389
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dc: fix swap of window output dimensions
Michael Frydrych [Wed, 26 Sep 2012 09:13:16 +0000]
video: tegra: dc: fix swap of window output dimensions

Window position is expected in output/device coordinate
system. Window dimensions, however, were intepreted as being
in source coordinate system, which made intepretation of window
dimensions dependent on TEGRA_WIN_FLAG_SCAN_COLUMN
flag. The flag is bond to reading the source and should not
affect window content positioning on screen.

Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com>
Reviewed-on: http://git-master/r/138927
(cherry picked from commit 51b2af4e99bd5a881d5f3a6fd45315c76274925d)

Change-Id: I20d27f331cb7247bf5e2d19ac2df6896ef47ea69
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/146834
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: config: tegra3: Remove pluto and dalmore
Bo Yan [Tue, 23 Oct 2012 03:55:27 +0000]
ARM: config: tegra3: Remove pluto and dalmore

Change-Id: I1a2e0bd3c74419e068bcf0f6f46663365f6eae0a
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/146655
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoARM: tegra11: clock: fix curacao_sim build break
Ken Adams [Mon, 22 Oct 2012 17:47:59 +0000]
ARM: tegra11: clock: fix curacao_sim build break

Fixes unused warning-as-error problems with curacao_sim
build target.

Change-Id: Iaf432eb7e071ff9ace5ada992832f8bc78b18aef
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/146521
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarch: arm: configs: turn on iommu for curacao_sim
Ken Adams [Mon, 22 Oct 2012 13:25:33 +0000]
arch: arm: configs: turn on iommu for curacao_sim

iommu api and tegra smmu iommu support on by default

Change-Id: I9e2418e423ff94109bbcc14e1114bb24fc6c1b2e
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/146518
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoARM: tegra: dalmore/Pluto: use console port init from common file
Laxman Dewangan [Mon, 15 Oct 2012 08:29:32 +0000]
ARM: tegra: dalmore/Pluto: use console port init from common file

The uart console port initialization is done in the common file.
Using the APIs from common file rather implementing locally.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/144491
(cherry picked from commit dc19402b7ba933befedd4807e5a0c397ae59aafb)

Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Change-Id: Iba778df2a29e5794e098dc0965b04096c1684c39
Reviewed-on: http://git-master/r/146507
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoi2c: tegra: provide proper name for irqs
Laxman Dewangan [Fri, 12 Oct 2012 12:10:40 +0000]
i2c: tegra: provide proper name for irqs

When watching the irqs name of tegra i2c, all instances
irq name shows as tegra_i2c.

Passing the device name properly to have the irq names with
instance like tegra-i2c.0, tegra-i2c.1 etc.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/144083
(cherry picked from commit d16af6a86cc9b26f0c469987079101c9e3db000c)

Change-Id: Iee46e4f6f52db022aab17106c9e0636b47340004
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/146506
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: config: disable tps6591x support
Sumit Sharma [Fri, 21 Sep 2012 11:58:44 +0000]
arm: tegra: config: disable tps6591x support

Disabled tps6591x support in defconfig file

Reviewed-on: http://git-master/r/134384
(cherry picked from commit 092e9a66d56de00a0bc8481622e6b233d3d217d1)

Change-Id: Ib2d13584997484ad4ab20568832924c8bcea5334
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146462
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agommc: host: Get proper tuning counter value
Pavan Kunapuli [Fri, 28 Sep 2012 15:48:52 +0000]
mmc: host: Get proper tuning counter value

If the tuning counter value in the capabilities
register is set to 0xF, then the timer count info
should be obtained through some custom implementation.

Reviewed-on: http://git-master/r/139731
(cherry picked from commit 244a481ad1aa793104e8a3becb23ebab4c893e7e)

Change-Id: I951bc31128b60a6a9b4356d57a1eb020d44dde48
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146404
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: dalmore: Fix eMMC core regulator name
Pavan Kunapuli [Thu, 27 Sep 2012 15:35:17 +0000]
ARM: tegra: dalmore: Fix eMMC core regulator name

Changed the eMMC core power rail regulator name to
match with the name used in the mmc driver.

Reviewed-on: http://git-master/r/139403
(cherry picked from commit 5b42ec5444f48a4eaa12b903551b05db44be0c5d)

Change-Id: I29d43bd40913b87d2b0750f2764fb2ea58bfe1ba
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146403
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agosdhci: tegra: Enable BROKEN_CARD_DETECTION for T114
naveenk [Tue, 25 Sep 2012 16:23:41 +0000]
sdhci: tegra: Enable BROKEN_CARD_DETECTION for T114

Enable SDHCI_QUIRK_BROKEN_CARD_DETECTION for T114

Reviewed-on: http://git-master/r/135176
(cherry picked from commit 909981d44fe6fd04aec4abdaa25697fa6dd31660)

Change-Id: I87345757626ecb4aed62565532193c8d961d567e
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146402
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: pluto: Change eMMC core power rail
naveenk [Tue, 25 Sep 2012 16:02:53 +0000]
ARM: tegra: pluto: Change eMMC core power rail

Change eMMC core power rail to match with the name
used in the mmc driver.

Reviewed-on: http://git-master/r/135167
(cherry picked from commit dc7b5b030dccc3812a50befcbfa5fec1a5b2bb58)

Change-Id: I5eaf7fac7367698f7c25b2d98555ed6af1fcda4e
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146400
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: dalmore/pluto: GPIO based card detect
naveenk [Tue, 25 Sep 2012 16:13:16 +0000]
ARM: tegra: dalmore/pluto: GPIO based card detect

Enable GPIO based card detect for sdmmc3 on dalmore and pluto

Reviewed-on: http://git-master/r/135169
(cherry picked from commit d6fcdc9fc78e5a31e396b5d5ec11da8703db963c)

Change-Id: Id9f676c74d5bc772de96c2490e8791001c3ad797
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/146399
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>