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

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

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

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

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

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

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

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

5 years agoUPSTREAM Revert 3.9 "ARM: dt: tegra114: Add new board, Dalmore"
Dan Willemsen [Wed, 31 Jul 2013 02:00:06 +0000]
UPSTREAM Revert 3.9 "ARM: dt: tegra114: Add new board, Dalmore"

This reverts commit a71c03e7fd6a4027f750e2951830669244a8dad6.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert v3.10 "ARM: tegra: add clock source of PMC to device trees"
Dan Willemsen [Tue, 20 Aug 2013 01:04:02 +0000]
UPSTREAM Revert v3.10 "ARM: tegra: add clock source of PMC to device trees"

This partially reverts commit e16ffa60c4514b5705d39f1f7c3c57ba56645dfb.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert 3.10 "ARM: dt: Add references to tegra_car clocks"
Dan Willemsen [Tue, 20 Aug 2013 01:02:51 +0000]
UPSTREAM Revert 3.10 "ARM: dt: Add references to tegra_car clocks"

This partially reverts commit 72aa48f1480bdc1a67f45c1fafac22f628c707b5.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert 3.10 "ARM: tegra: add default pinctrl nodes for Dalmore"
Dan Willemsen [Tue, 20 Aug 2013 01:01:58 +0000]
UPSTREAM Revert 3.10 "ARM: tegra: add default pinctrl nodes for Dalmore"

This reverts commit 2c314d5c2a10588cb582604e8945eb48bdf23562.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert 3.10 "ARM: tegra: add SDHCI support for Dalmore"
Dan Willemsen [Tue, 20 Aug 2013 01:01:32 +0000]
UPSTREAM Revert 3.10 "ARM: tegra: add SDHCI support for Dalmore"

This reverts commit 8d3207ca248d4877936878171f68be2485f3f71e.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert 3.10 "ARM: tegra: add non-removable and keep-power-in-suspend propert...
Dan Willemsen [Tue, 20 Aug 2013 01:00:53 +0000]
UPSTREAM Revert 3.10 "ARM: tegra: add non-removable and keep-power-in-suspend property for MMC"

This partially reverts commit 7a2617a64dac0ce559bee0710704aa7d51f4e92a.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert 3.9 "ARM: dt: tegra114: Add new board, Pluto"
Dan Willemsen [Wed, 31 Jul 2013 01:59:26 +0000]
UPSTREAM Revert 3.9 "ARM: dt: tegra114: Add new board, Pluto"

This reverts commit 9f19cbef99a29669a1224e3ba6ba505152247517.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert 3.10 "ARM: tegra: add clock source of PMC to device trees"
Dan Willemsen [Tue, 20 Aug 2013 00:57:34 +0000]
UPSTREAM Revert 3.10 "ARM: tegra: add clock source of PMC to device trees"

This reverts commit e16ffa60c4514b5705d39f1f7c3c57ba56645dfb.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoUPSTREAM Revert v3.10 "ARM: dt: Add references to tegra_car clocks"
Dan Willemsen [Tue, 20 Aug 2013 00:56:09 +0000]
UPSTREAM Revert v3.10 "ARM: dt: Add references to tegra_car clocks"

This partially reverts commit 72aa48f1480bdc1a67f45c1fafac22f628c707b5.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

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

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

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

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

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

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

5 years agoARM: Tegra: Roth: Fix NCT Rail
Matt Wagner [Sat, 17 Nov 2012 00:34:17 +0000]
ARM: Tegra: Roth: Fix NCT Rail

Move VDD to LDO6

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

5 years agoARM: Tegra: Roth: Fix Display
Matt Wagner [Fri, 16 Nov 2012 22:10:39 +0000]
ARM: Tegra: Roth: Fix Display

Fix 5" Display Regulators and GPIOs on Roth

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

5 years agoarm: tegra: roth: add regulator code for WiFi and BT
Narayan Reddy [Fri, 16 Nov 2012 13:23:43 +0000]
arm: tegra: roth: add regulator code for WiFi and BT

Bug 1176686

Reviewed-on: http://git-master/r/164337
(cherry picked from commit 6ad3de8d621a10cbb6a4df82d27d979d55a4ff1e)
Change-Id: Ib9881ac71d991ad24c7109e3f960a13ffc9d2cd0
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164901
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: roth: Set core supply from smps457
Laxman Dewangan [Fri, 16 Nov 2012 10:22:25 +0000]
ARM: tegra: roth: Set core supply from smps457

Reviewed-on: http://git-master/r/164316
(cherry picked from commit c8556fc31f6c5549ec20cdc2d2328739bbf32371)
Change-Id: I816364cbca273fbf5fe8e0b1eac56278546acd4d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164900
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: roth: remove spi and touch driver
Laxman Dewangan [Fri, 16 Nov 2012 09:56:39 +0000]
ARM: tegra: roth: remove spi and touch driver

Reviewed-on: http://git-master/r/164310
(cherry picked from commit ca626370ea10649723541ccd2d68584a7412b1ae)
Change-Id: I74b23d78ee4634f06d78e3fe332e56663b037ef7
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164899
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: roth: set smps9 to 2800mV.
Laxman Dewangan [Fri, 16 Nov 2012 07:15:30 +0000]
ARM: tegra: roth: set smps9 to 2800mV.

Reviewed-on: http://git-master/r/164290
(cherry picked from commit 29dced08c6f0448eb19b003a31df839363cd5245)
Change-Id: I28a805bf8443ebce30490be0c7e9c5f0589489c5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164898
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoarm: tegra: roth: correcting BT regulator name
Narayan Reddy [Fri, 16 Nov 2012 05:19:39 +0000]
arm: tegra: roth: correcting BT regulator name

Bug 1176686

Reviewed-on: http://git-master/r/164242
(cherry picked from commit 4997baa3b14a25938c739dccb95a8d03a28f39f0)
Change-Id: I8d83b7fe8955bce6dd168d97d6ccd34073c7e604
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164897
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoarm: tegra: roth: correcting the regulator name
Narayan Reddy [Thu, 15 Nov 2012 21:12:09 +0000]
arm: tegra: roth: correcting the regulator name

Bug 1176686

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

5 years agoARM: Tegra: Roth: Remove Irrelevant Board Info
Matt Wagner [Thu, 15 Nov 2012 21:47:40 +0000]
ARM: Tegra: Roth: Remove Irrelevant Board Info

Remove T30 references
Remove BOARD_ID checks
Remove NFC Sensor
Change MPU9150 to MPU6050
Change BRCM4329 to BRCM4324
Change Memory Model Number

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

5 years agoARM: Tegra: Roth: Add KBC File
Matt Wagner [Thu, 15 Nov 2012 22:10:27 +0000]
ARM: Tegra: Roth: Add KBC File

Add KBC file for Hall sensor and power/volume buttons

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

5 years agoARM: tegra: roth: Change sd card supply name
Pavan Kunapuli [Thu, 15 Nov 2012 02:25:16 +0000]
ARM: tegra: roth: Change sd card supply name

Changing the sd card regulator supply name to
the one used by the driver.

Bug 1169149

Reviewed-on: http://git-master/r/163812
(cherry picked from commit 3b07ceaf6eb28013ae98ea9c80d5638900952aec)
Change-Id: I5a2f18842e0f140f3d19e9b70358c845bbd292a4
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164889
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoarm: tegra: roth: change board sensors for roth
Erik Lilliebjerg [Tue, 13 Nov 2012 14:08:08 +0000]
arm: tegra: roth: change board sensors for roth

- add MPU6050 (remove MPU9150)
- remove light sensor

Bug 1163074

Reviewed-on: http://git-master/r/163766
(cherry picked from commit c7604f2e22deca05f172d00db40a0d7ab4f84aea)
Change-Id: Ie963cdd53383e1fe9cb9e76531c9cb11d2b674ea
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164869
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: roth: add entry for wifi/bt/gps rail consumer
Laxman Dewangan [Thu, 15 Nov 2012 18:42:05 +0000]
ARM: tegra: roth: add entry for wifi/bt/gps rail consumer

Add consumer entry for WIFI/BT/GPS modules 3v3 and 1v8 rail.

Reviewed-on: http://git-master/r/164009
(cherry picked from commit 91414fd1cda0e9f75c1ffcdb1796aed9331597d1)
Change-Id: I25e94afb024de7864abee0083354ba602ff83399
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164868
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: roth: Correct fixed regisration ids
Vikram Kanigiri [Thu, 15 Nov 2012 02:11:41 +0000]
ARM: tegra: roth: Correct fixed regisration ids

Bug 1160066

Reviewed-on: http://git-master/r/163811
(cherry picked from commit 2694b6ea377495a6b759bcba954f7bf273832a85)
Change-Id: If3541025d97d4b21821b4370b4e120d2abf654a5
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164867
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: roth: initialize soc therm in arch init
Laxman Dewangan [Thu, 15 Nov 2012 01:14:56 +0000]
ARM: tegra: roth: initialize soc therm in arch init

Initializing soc therm during arch init.
Remove non-require table.

(cherry picked from commit 42739c6c6a28372ba94cb0ce6e6389c2c23377d7)
Change-Id: I9d529e73813b6b0799aeb7392734a57562976b8d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164866
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: config: tegra11: Enable support for ROTH
Pavan Kunapuli [Wed, 14 Nov 2012 20:50:17 +0000]
ARM: config: tegra11: Enable support for ROTH

Enabling roth platform support.

Bug 1169149

Reviewed-on: http://git-master/r/163656
(cherry picked from commit 706ba05c278fb375a375a2dd79dc87bc2561d21c)
Change-Id: Id822f28bac77158e50b2612b667a13c4ef064316
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164865
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: Tegra: roth: Enable roth BSP build
Pavan Kunapuli [Wed, 14 Nov 2012 19:26:11 +0000]
ARM: Tegra: roth: Enable roth BSP build

Enable roth BSP builds

Bug 1169149

Reviewed-on: http://git-master/r/163625
(cherry picked from commit 9fdcb396e812412da7e5af0b20b49660fa32831e)
Change-Id: Iaf2df9dfe9b1de3bc935b70e9e8e9b792a34b0d1
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com>
Reviewed-on: http://git-master/r/164864
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: Tegra: roth: Remove camera sensors support
Pavan Kunapuli [Wed, 14 Nov 2012 19:15:59 +0000]
ARM: Tegra: roth: Remove camera sensors support

Remove the camera sensors support as roth platform
doesn't have the sensor.

Bug 1169149

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

5 years agoARM: tegra: phy: Reduce HS slew
Rohith Seelaboyina [Tue, 20 Nov 2012 05:45:49 +0000]
ARM: tegra: phy: Reduce HS slew

To pass high speed eye diagram on a worst case
slew rate environment, we need to change the HS slew.

Bug 1173698

Change-Id: I11bbe6d54647fa3a33ea7ba2131576e5cc945fd1
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/162683
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra11x: remove redundant cpu invalidation
Bo Yan [Tue, 13 Nov 2012 17:59:01 +0000]
ARM: tegra11x: remove redundant cpu invalidation

This is a follow up to commit 49de51f9. During a processor reset,
following memory arrays in the processor are invalidated at reset:

  branch prediction arrays such as BTB, GHB, and indirect predictor.
  L1 instruction and data TLBs
  L1 instruction and data caches
  L2 unified TLB

So remove instructions invalidating memory arrays identified above.

Change-Id: Id933867d68b7813c5e47ed05da8e855888f8d959
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/163285
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoasoc: tegra: Voice call with cs42l73 ASP+VSP support
ScottPeterson [Fri, 2 Nov 2012 01:28:17 +0000]
asoc: tegra: Voice call with cs42l73 ASP+VSP support

Using cs42l73 VSP audio port for voice call in pluto

Bug 1056501

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

5 years agoARM: tegra: dalmore/pluto: on-sensor flash cntl
Charlie Huang [Tue, 20 Nov 2012 02:11:04 +0000]
ARM: tegra: dalmore/pluto: on-sensor flash cntl

enable on-sensor flash control function of imx091.

bug 1170146

Change-Id: Ib571a50c35fc5533f9f084c381f10a1fcf45b150
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/164844
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: pluto: Add clock for voice codec i2s device
Rahul Mittal [Thu, 22 Nov 2012 09:16:23 +0000]
arm: tegra: pluto: Add clock for voice codec i2s device

Bug 1056501

Change-Id: Ibf33524973aca3ffeaf3f120bfba4a3401f84c2c
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/165655
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoa2220: Set audience passthrough modes for ASP+VSP
Rahul Mittal [Thu, 22 Nov 2012 09:13:47 +0000]
a2220: Set audience passthrough modes for ASP+VSP

PORT D -> C for ASP
PORT B -> A for VSP

Bug 1055246
Bug 1056501

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

5 years agoarm: tegra: pluto: Add i2s pdata for voice codec
Rahul Mittal [Thu, 22 Nov 2012 09:12:05 +0000]
arm: tegra: pluto: Add i2s pdata for voice codec

Bug 1055246
Bug 1056501

Change-Id: Ib2f9e0155db9f7c2b695b04c70c8f07aeb57e59b
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/165653
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agonet: mhi: mhdp optimizations and typo corrections
Xavier LANGELLIER [Fri, 12 Oct 2012 15:05:18 +0000]
net: mhi: mhdp optimizations and typo corrections

mhdp driver optimizations and typo corrections

Bug 1167018

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

5 years agonet: mhi: Remove keep alive feature in MHDP
Xavier LANGELLIER [Thu, 11 Oct 2012 13:01:38 +0000]
net: mhi: Remove keep alive feature in MHDP

Remove keep alive feature in MHDP (rework)

Bug 1167018

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

5 years agonet: mhi: mhdp support for bonding
Xavier LANGELLIER [Thu, 11 Oct 2012 12:48:10 +0000]
net: mhi: mhdp support for bonding

mhdp support for bonding. Set to off by default. Add option
CONFIG_MHDP_BONDING_SUPPORT to activate the feature.

Bug 1167018

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

5 years agonet: mhi: mhdp keep alive feature is not required
Xavier LANGELLIER [Thu, 11 Oct 2012 09:58:49 +0000]
net: mhi: mhdp keep alive feature is not required

mhdp keep alive feature is not required anymore. This change is
independant of the RIL one.

Bug 1167018

Change-Id: Ib2aef6ff6883c5666646471c89a82ac5a186a1a2
Signed-off-by: wtsai <wtsai@nvidia.com>
Reviewed-on: http://git-master/r/165068
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agonet: mhi: reduce MAX_MHDPHDR_SIZE
Xavier LANGELLIER [Tue, 18 Sep 2012 13:08:48 +0000]
net: mhi: reduce MAX_MHDPHDR_SIZE

Bug 1167018

Change-Id: Id77202afb28b6532700b7482fff5e162b37cd601
Signed-off-by: wtsai <wtsai@nvidia.com>
Reviewed-on: http://git-master/r/165063
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoasoc: tegra: cs42l73: ASP + VSP support
Rahul Mittal [Thu, 22 Nov 2012 09:11:17 +0000]
asoc: tegra: cs42l73: ASP + VSP support

Music with ASP
Voice with VSP

Bug 1055246
Bug 1056501

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

5 years agoarm: tegra: fixed issues with host1x_init calls
Gaurav Batra [Wed, 21 Nov 2012 01:13:15 +0000]
arm: tegra: fixed issues with host1x_init calls

Change-Id: I1ca4b57c2c3624fef9249602d0b25fd847738e41
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/165208
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agortc: palmas: add battery backup charging support
Laxman Dewangan [Tue, 20 Nov 2012 06:46:51 +0000]
rtc: palmas: add battery backup charging support

Add platform data for RTC to select the battery
backup charging or not.

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

5 years agoARM: tegra: clock: change message priority
Darbha Sriharsha [Thu, 15 Nov 2012 11:31:20 +0000]
ARM: tegra: clock: change message priority

This is to change the message priority of
messages printing CPU clock rate changes
from "warning" level to info level so
that they are not caught in tests written to
catch kernel warnings and errors

Bug 116526

Change-Id: I9884c26956f1cc56137be6d587aa881e1ecea607
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/163950
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: clock: allow tracing of clk_set_parent
Peter Boonstoppel [Wed, 21 Nov 2012 00:54:35 +0000]
ARM: tegra: clock: allow tracing of clk_set_parent

Change-Id: I1d79c61961d84e7cecb9bfdd158f564673595746
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/165205
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoARM: tegra11x: Simplify cpu hotplug sequence
Bo Yan [Tue, 20 Nov 2012 04:58:52 +0000]
ARM: tegra11x: Simplify cpu hotplug sequence

There is no need to clear CPU CSR register. The "ENABLE" bit (bit 0)
is set by software, but cleared by hardware once the sequence is
completed. In case of failure, it's desirable not to change it for
debug purpose.

After CPU_CSR clear is removed, the power mask is set by the CPU
that's booting up.

Change-Id: I4879c64ec5858ed85008fbeeedb8232e35643a8c
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/164891
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoarm: tegra: sdhci: Set emmc voltage to 1.8V
Naveen Kumar Arepalli [Fri, 9 Nov 2012 06:39:00 +0000]
arm: tegra: sdhci: Set emmc voltage to 1.8V

Set emmc supply interface voltage to 1.8V

Bug 1165367

Change-Id: I75cc67802b6371ec84a7593514d986b8c9e99a52
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/162583
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra11: dvfs: Increase DSI rate limit at low voltage
Alex Frid [Wed, 7 Nov 2012 06:24:38 +0000]
ARM: tegra11: dvfs: Increase DSI rate limit at low voltage

Bug 1167916

Change-Id: Ie2411863d1b1249b67831d4a77b2c5efa1dad7f1
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/162190
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agousb:class:nv-usb: driver to measure usb throughput
Preetham Chandru R [Mon, 22 Oct 2012 09:55:45 +0000]
usb:class:nv-usb: driver to measure usb throughput

a class driver to measure usb throughput

Change-Id: Ibadfb7f5722e6969c93064fcf4ca79139fd08728
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/138994
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agousb: gadget: nvusb: gadget driver to measure kpi
Preetham Chandru R [Mon, 22 Oct 2012 11:34:40 +0000]
usb: gadget: nvusb: gadget driver to measure kpi

This gadget driver is used to measure the usb kpi

Change-Id: I1ec52af2e76a6c35ad0e4b52c68deb4be76807be
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/138830
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agousb: otg: tegra: Fix builtin_host functionality
Petlozu Pravareshwar [Fri, 9 Nov 2012 13:10:30 +0000]
usb: otg: tegra: Fix builtin_host functionality

When builtin_host is disabled sysfs interface
to enable host mode should be created otherwise
it should not be created. Also, enable ID interrupt
only if builtin_host is enabled.

Bug 1050988

Change-Id: I9618eab83e0c49847f9cb89718d9ea3c76ac129e
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/162356
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoarm: config: enable tegra_prepower_config
Nagarjuna Kristam [Mon, 12 Nov 2012 06:00:03 +0000]
arm: config: enable tegra_prepower_config

Bug 1167337

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

5 years agoARM: tegra: fiq_debugger: fix compilation
Bibek Basu [Wed, 21 Nov 2012 06:03:16 +0000]
ARM: tegra: fiq_debugger: fix compilation

fiq debugger is broken as it includes mach/system.h
which no longer exists.This patch fix this error
by removing the inclusion of system.h

Bug 1179127

Change-Id: I36032de186e3fe3ac9aeafec45023d22823c9cc3
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/165253
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: soctherm: Fix section mismatch warnning
Jinyoung Park [Tue, 20 Nov 2012 08:00:37 +0000]
arm: tegra: soctherm: Fix section mismatch warnning

The soctherm_fuse_read_tsensor function was marked with __init macro,
but it's referenced by soctherm_init_platform_data function which is not
initialization function.
This is violation of __init macro usage in kernel. The __init macro
should be marked on initialization function, because functions __init
marked will be located in special section(.init.text) and this section will
be freed after boot is complete.

Bug 1176013

Change-Id: I5d042040f585b71b112d546226fd3c185c52e427
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/164970
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoARM: tegra11: dalmore: Add core EDP limits initialization
Alex Frid [Sat, 17 Nov 2012 06:13:38 +0000]
ARM: tegra11: dalmore: Add core EDP limits initialization

Bug 1165638

Change-Id: I5194de9f292c0a21fc262b80be07ab534755f92c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/164833
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra11: power: Add core EDP basic implementation
Alex Frid [Thu, 15 Nov 2012 06:16:18 +0000]
ARM: tegra11: power: Add core EDP basic implementation

Added mechanism to limit maximum GPU and memory frequency in order
to keep core rail current within power supply capabilities. The
actual limits yet to be characterized, and they will depend on

(a) Chip SKU
(b) Regulator current limit
(c) Slow (LP) CPU state (On/Off)
(d) Temperature range (trip-points TBD)
(e) User profile (balanced, favor GPU, favor EMC)
(f) Core module state (reserved)

Dependencies (a) and (b) are resolved statically when core EDP
is initialized for the particular chip. Core EDP limits will be
changed dynamically when run-time conditions (c), (d), (e), and
(f) are changed.

This commit implements only initialization of the core EDP limits
table and debugfs access to the table. Dynamic control is not
implemented. EDP table data is just a template.

Core EDP configuration option is unselected by default.

Bug 1165638

Change-Id: Ia1187f4e5d59d2668a5058e47fea7ae668018413
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/164832
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: Setup core rail maximum current parameter
Alex Frid [Sat, 17 Nov 2012 06:09:22 +0000]
ARM: tegra: Setup core rail maximum current parameter

Bug 1165638

Change-Id: I380da3c2cd36fd3e21bedfdcfd1ba9683ae1ba12
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/164831
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra11: power: Move EDP initialization after EMC
Alex Frid [Sat, 17 Nov 2012 03:58:12 +0000]
ARM: tegra11: power: Move EDP initialization after EMC

Bug 1165638

Moved EDP initialization on Tegra11 platforms after EMC DFS is
initialized. This will be necessary in order to initialize core
rail EDP along with CPU rail EDP (currently only the latter is
supported).

Change-Id: I9ccf76a98f17db92bcf538fd7d702bfb7febe096
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/164830
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: dvfs: Don't set common core edp default voltage
Alex Frid [Sun, 18 Nov 2012 06:46:16 +0000]
ARM: tegra: dvfs: Don't set common core edp default voltage

Removed 1.2V default core edp voltage setting from common code.
Let Tegra family specific dvfs layers to set different defaults:
1.2V for Tegra3, and 1.1V for Tegra11 (Tegra2 does not support
core edp limits at all).

Change-Id: I4b3a2a5d9e61ee4dcce80eca473d4a8de496df3c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/164580
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: Tegra: Dalmore: Fix Pinmux for Hall Effect Sensor
Matt Wagner [Sat, 17 Nov 2012 20:30:55 +0000]
ARM: Tegra: Dalmore: Fix Pinmux for Hall Effect Sensor

Change KB_ROW8 to PULL_UP since the Hall Effect Sensor is
active low.  This allows the board to boot correctly if the
sensor module is broken or missing

Bug 1177461

Change-Id: Icb390b634314f4cdc9bfe12902b263396c7d9302
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/164544
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoarm: tegra: pluto: Keep SMPS9 always ON for eMMC
Karthik Ramakrishnan [Sat, 17 Nov 2012 02:25:24 +0000]
arm: tegra: pluto: Keep SMPS9 always ON for eMMC

The emmc in Pluto in some of the boards shows high power
in suspend state. Putting the regulator rail always ON
keeps the eMMC rail in low power. Helps in lp0 system
power by 40-50mW in some of the boards.

Change-Id: I51803aba31bfbee71b9665095fe758d216e48cf9
Signed-off-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Reviewed-on: http://git-master/r/164498
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoARM: tegra11: dvfs: Update cbus, vi, and host1x dvfs tables
Alex Frid [Wed, 14 Nov 2012 06:10:29 +0000]
ARM: tegra11: dvfs: Update cbus, vi, and host1x dvfs tables

Bug 1161126

Change-Id: I2a238aa4d4100529b7d82f919e676c40c7685b93
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/163461
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra11: dvfs: Update system bus dvfs table
Alex Frid [Wed, 14 Nov 2012 05:51:47 +0000]
ARM: tegra11: dvfs: Update system bus dvfs table

Bug 1161126

Change-Id: I5a17b63b1163c1b4a223f609885918565a10ebcc
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/163460
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra11: dvfs: Update LP CPU dvfs table
Alex Frid [Wed, 14 Nov 2012 05:43:45 +0000]
ARM: tegra11: dvfs: Update LP CPU dvfs table

Bug 1161126

Change-Id: I6f1807fa95a9ec060697bf02d072baf6eb796b34
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/163459
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: dvfs: Expand core voltage range
Alex Frid [Wed, 14 Nov 2012 03:48:06 +0000]
ARM: tegra11: dvfs: Expand core voltage range

Expanded core voltage table range from [1.0V ... 1.120V] to
[0.9V ... 1.120V]. Updated low voltage entries for I/O domains
with safe dvfs limits. Kept all engines clocks within old range,
so effectively this commit has no effect on actual operational
voltage.

Bug 1161126

Change-Id: I171e7c8147dd56c5136941f7151fcfec3a525265
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/163458
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: pluto: max77665: Enable irq support
Pradeep Goudagunta [Sun, 11 Nov 2012 12:15:17 +0000]
ARM: tegra: pluto: max77665: Enable irq support

Bug 1011298

Change-Id: I1a5bc7a292c46850f702c1cad174bf1a036c0160
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/162909
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agomfd: max77665: Make irqf selection from pdata
Pradeep Goudagunta [Tue, 20 Nov 2012 09:52:11 +0000]
mfd: max77665: Make irqf selection from pdata

-Make irqf selection from platform data.
-Avoid i2c trasactions in atomic context.

Bug 1011298

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

5 years agoARM: tegra: dalmore: tps65090: Enable irq support
Pradeep Goudagunta [Fri, 9 Nov 2012 13:32:27 +0000]
ARM: tegra: dalmore: tps65090: Enable irq support

Bug 1054751

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

5 years agoARM: tegra11: config: enable ina230 sensor
Deepak Nibade [Thu, 8 Nov 2012 09:32:58 +0000]
ARM: tegra11: config: enable ina230 sensor

Bug 1049224

Change-Id: I32e3801c880ed6183b45b7168d705b2a270a599e
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/162335
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: pluto: add ina226 power monitor devices
Deepak Nibade [Thu, 8 Nov 2012 09:16:46 +0000]
ARM: tegra: pluto: add ina226 power monitor devices

-make use of ina230.c driver for INA226 chip since
ina226 and ina230 are compatible with each other
-update rail names for pluto
-update other data such as calibration_data,
power_lsb, divisor
-add precision_multiplier to use foating value
of power_lsb

Bug 1049224

Change-Id: I0c57bac7e0096a09f83240578ca4f0a39d6a39b1
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/162318
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: usb: disable USB hotplug through PHY
Rakesh Bodla [Thu, 8 Nov 2012 06:33:04 +0000]
arm: tegra: usb: disable USB hotplug through PHY

Disabling the USB hotplug detection mechanism
through phy interrupts. Now USB hotplug detection
will done through PMC.

Bug 1057339
Bug 1171244

Change-Id: If9d1931fd3fc0a8cd8a7985a56e9c89686e4fe87
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/162268
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agousb: host: tegra: USB hotplug detection using PMC
Rakesh Bodla [Thu, 8 Nov 2012 06:30:59 +0000]
usb: host: tegra: USB hotplug detection using PMC

Add logic for detection of USB hotplug using PMC.
Update the call backs appropriately.

Bug 1057339
Bug 1171244

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

5 years agoARM: tegra: pluto: Disable USB host on USB1
Rakesh Bodla [Tue, 6 Nov 2012 05:45:55 +0000]
ARM: tegra: pluto: Disable USB host on USB1

Disabling the USB host on USB1.

Bug 1050988

Change-Id: I674e11043f9e39fb19c7c0d64a85f50bea4defe3
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/161532
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra:usb_phy:program ID_PD bit conditionally
Rakesh Bodla [Tue, 6 Nov 2012 05:40:44 +0000]
ARM: tegra:usb_phy:program ID_PD bit conditionally

Enable ID_PD bit if host functionality is not needed
for power savings on AVDD_USB rail.

Bug 1050988

Change-Id: I2e33b0d0c5ea8f71ef207f4468468cdf132b6cf6
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/161531
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoarm: tegra: usb: USB hotplug detection using PMC
Rakesh Bodla [Thu, 8 Nov 2012 06:24:00 +0000]
arm: tegra: usb: USB hotplug detection using PMC

Add logic for detection of USB hotplug using PMC.

Bug 1057339
Bug 1171244

Change-Id: I0064fa95ce99ead0f16fe38de75db9ed107fc5c9
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/161275
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoasoc: tegra: cs42l73: VSP capture changes
Dara Ramesh [Tue, 20 Nov 2012 04:50:53 +0000]
asoc: tegra: cs42l73: VSP capture changes

a) VSPOUTL/VSPOUTR and VSPIN as a single power bit to control,
   disabling the playback path (VSPIN) causing VSPOUTL/VSPOUTR
   (capture path) disables.

   removed power management option with  VSP AIF Stream widgets,
   making the actual power controlled by a new VSPINOUT supply
   widget. That way the power will be enabled as required.

b) added ADC Left/Right in DAPM route table for Headset Mic.

c) enabled MIC2 bias when headset is detected.

d) removed static VSPIN DAPM stream widget from DAPM route table.

Change-Id: Ia1022e196ba6b44cae3299b03755d87d42007eca
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/164892
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: tegra11x: enable i-cache after power ungating
Bo Yan [Tue, 13 Nov 2012 19:19:51 +0000]
ARM: tegra11x: enable i-cache after power ungating

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

5 years agomac80211&nl80211: support to abort a scan request on tx
Wei Ni [Fri, 2 Nov 2012 05:40:04 +0000]
mac80211&nl80211: support to abort a scan request on tx

mac80211 & nl80211: add support to abort a scan request on tx

The original issue is the chromium issue:
http://code.google.com/p/chromium-os/issues/detail?id=11485

This fix comes from:
https://gerrit.chromium.org/gerrit/#change,5744
https://gerrit.chromium.org/gerrit/#change,5745

Since this change is for ChromeOs and will affect Android P2P function,
so we add config option MAC80211_SCAN_ABORT for it.

Bug 1051830

Change-Id: I77504f4d279f3f3d99b5e5f9d734480888d62193
Signed-off-by: Wei Ni <wni@nvidia.com>
Reviewed-on: http://git-master/r/160777
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Bibhay Ranjan <bibhayr@nvidia.com>
Tested-by: Bibhay Ranjan <bibhayr@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agomisc: tegra-cryptodev: Enhancement to support RSA
Mallikarjun Kasoju [Fri, 9 Nov 2012 13:19:15 +0000]
misc: tegra-cryptodev: Enhancement to support RSA

Enchancement to support user space RSA algorithm

Bug 1033173

Change-Id: Icb6d456bea6c934a8365b5dff8210407fb5c8522
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/162684
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoARM: tegra: usb_phy: Tracking circuit power down
srinivas thaduvai [Fri, 9 Nov 2012 11:27:13 +0000]
ARM: tegra: usb_phy: Tracking circuit power down

LP0-RemoteWakeup failing with the current PD_TRK sequencee
due to PD_TX glitch issue.

PD_TRK sequence implemented after UHSIC_RESET disable to fix
this issues.

Bug 1037962
Bug 1173752

Change-Id: Icc475cd99e789bef25437b2cb994be935b6a2dce
Signed-off-by: srinivas thaduvai <sthaduvai@nvidia.com>
Reviewed-on: http://git-master/r/162664
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agodrivers: net: Auto select MHI_NETDEV based on MHI.
Raj Jayaraman [Fri, 16 Nov 2012 22:59:09 +0000]
drivers: net: Auto select MHI_NETDEV based on MHI.

Bug 1054808

Change-Id: I2cc87b0d633052fbcfd7bf02c2575c10e64930ac
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/164439
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agoarm: tegra: pluto: Handle modem power gpio difference on Varuna.
Raj Jayaraman [Fri, 16 Nov 2012 22:55:24 +0000]
arm: tegra: pluto: Handle modem power gpio difference on Varuna.

Bug 1054808

Change-Id: I681abd4b37350b5139739ab116e52fd702286753
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/164438
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: cpuquiet: Fix compiler warnings
Peter Boonstoppel [Fri, 16 Nov 2012 19:01:51 +0000]
ARM: tegra: cpuquiet: Fix compiler warnings

Bug 1055406

Change-Id: I5033cc19e170d932c3697821a0f3273957789995
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/164384
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>

5 years agoarm: tegra: usb: make ehci-hcd as loadable module
Petlozu Pravareshwar [Fri, 16 Nov 2012 14:44:14 +0000]
arm: tegra: usb:  make ehci-hcd as loadable module

exporting the symbol for the proper behaviour
while inserting the ehci-hcd module.

Bug 1022439

Change-Id: Ie3b49e59b46581882475fa5304fb3b8800b0f78a
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/164342
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoiommu: Add GCOV_PROFILE
Hiroshi Doyu [Fri, 16 Nov 2012 06:39:43 +0000]
iommu: Add GCOV_PROFILE

Include iommu in GCOV profiling when enabled by defconfig.

Change-Id: I5b3f11ac477971a6452277c9a96c49ff98e2c247
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/164284
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra11x: Fix race condition in cpu hot plug
Bo Yan [Thu, 15 Nov 2012 22:07:17 +0000]
ARM: tegra11x: Fix race condition in cpu hot plug

The secondary CPU power up can happen so fast that it enters power
gating even before the CPU that's trying to bring it up gets a
chance to check status in PMC register. This can happen because
interrupt and preemption are not disabled, so the primary CPU can
switch to do something else, when it comes back to check PMC status,
it's already too late. When this happens, it will simply declare a
timeout failure, though the secondary power up is actually successful.

The fix is to check online status as well, because the CPU that's
coming up will set online flag before entering idle loop.

Another enhancement is to skip the status check altogether if this
is not the first boot up after cold boot or warm boot. The
synchronisation done in __cpu_up is more adequate.

For the first boot after cold boot or warm boot, set the timeout
back to 100ms.

Bug 1169512

Change-Id: Ie4b873d853c40207c7b1bc1acf0982a7bf0ecd9f
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/164065
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>

5 years agoarm: tegra: remove comms configuration based on commchip_id
Nagarjuna Kristam [Wed, 31 Oct 2012 12:43:10 +0000]
arm: tegra: remove comms configuration based on commchip_id

comms chip is auto detected and configurations are loaded correspondigly.
so remove commchip_id dependency to perform BT/Wifi configurations.

Bug 1167337

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