7 years agoarm: tegra: cardhu: Support for E1257
Laxman Dewangan [Fri, 9 Sep 2011 05:38:01 +0000]
arm: tegra: cardhu: Support for E1257

Adding support for E1257 platform.

bug 864294

Reviewed-on: http://git-master/r/50662
(cherry picked from commit 8217615021a6ffeb992327f6b010ea9deebc34e7)

Change-Id: I3429da1bca38e1ddc5b3c2156a0db6b23aeb5555
Reviewed-on: http://git-master/r/57806
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R7fadbdc30bdca30e41e0b7fdb88628dbc8c32e82

7 years agoarm: tegra: cardhu: Change for w_disable pin on E1198-A02
Laxman Dewangan [Wed, 24 Aug 2011 06:05:17 +0000]
arm: tegra: cardhu: Change for w_disable pin on E1198-A02

The w_disable pin is connected to different gpio in
E1198-A02 compare to E1198-A01. Making related changes
to support E1198-A02.

bug 864282

Reviewed-on: http://git-master/r/48877
(cherry picked from commit 009e0b9ccf776e658c27df59716cc1cce075ad31)
Change-Id: I85b7f0b10dd3549f07c48e71ffca1a304afc753d
Reviewed-on: http://git-master/r/57790
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rbf1f0f4775d536ba198f3c5a3ff3088c75d988fb

7 years agousb: host: tegra: Configurable USB hotplug
Artiste Hsu [Tue, 27 Sep 2011 01:47:32 +0000]
usb: host: tegra: Configurable USB hotplug

Hotplug on usb is supported when hotplug flag is set in platform data

Bug 869745

(cherry picked from commit I57ba0b18a2d4232b2df2074c91aff97c6e639e7d)
Reviewed-on: http://git-master/r/54588

Change-Id: I24e5ddf49cead14d3eebe30da0f92402015c95c7
Reviewed-on: http://git-master/r/57725
Tested-by: Artiste Hsu <chhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R597eb9f741e67826aca791fbaf0121ab4d885840

7 years agoarm: tegra: cardhu: Set LDO2 to 1200mV for E1208-A04
Laxman Dewangan [Wed, 28 Sep 2011 17:13:30 +0000]
arm: tegra: cardhu: Set LDO2 to 1200mV for E1208-A04

bug 875709

Reviewed-on: http://git-master/r/56632
(cherry picked from commit b7077b25dfaa7c92c5f05f50688d26710eb57348)

Change-Id: I46b0bd4d939e5ffbce9599ad2c437a7d424b1d87
Reviewed-on: http://git-master/r/57258
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb192b1590af659143cf62938ce5ab468526216ee

7 years agoarm: tegra: cardhu: pm269: Remove SDMMC1_VDD control
Laxman Dewangan [Mon, 26 Sep 2011 12:49:49 +0000]
arm: tegra: cardhu: pm269: Remove SDMMC1_VDD control

The SDMMC_VDD control is generated from the cpld programming
for pm269 and so it is not require to have gpio control for this.

bug  880984

Reviewed-on: http://git-master/r/56627
(cherry picked from commit 38ad9be02578b64d3f5eab8c6146abfc6c842d35)
Change-Id: Id7cae7a724c02754b3abbc937a7e80b9a51d7977
Reviewed-on: http://git-master/r/57254
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R34a8cb39a5c557461ebbb540692487d357798eca

7 years agoarm: tegra: cardhu: Support for PM311
Laxman Dewangan [Wed, 31 Aug 2011 06:16:43 +0000]
arm: tegra: cardhu: Support for PM311

Adding support for PM311 based system.

bug 870139

Reviewed-on: http://git-master/r/50012
(cherry picked from commit d319d9980b6b225735ac97160fdee18fbabba2f0)

Change-Id: Iaa28921761e035e8fa29956b776f9379ae326b42
Reviewed-on: http://git-master/r/57251
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R50fc9a079bd46a050084afed2b0f460e2916ebc9

7 years agoarm: tegra: Specify dev name for audio regulators
Sumit Bhattacharya [Sun, 2 Oct 2011 21:46:22 +0000]
arm: tegra: Specify dev name for audio regulators

Specify device names for ventana and cardhu speaker and digital mic
regulators. Also use same regulator name for ventana and cardhu
speaker supply.

Bug 872652

Change-Id: I5a254eee2037c86e208818f34cdff24aee0edad9
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/55668
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R8a8bc937154783ba8bcfc21a237ab6043cc9ba0e

7 years agoarm: tegra: Pass WM8903 gpio configuration
Sumit Bhattacharya [Sun, 2 Oct 2011 08:57:55 +0000]
arm: tegra: Pass WM8903 gpio configuration

On cardhu and ventana WM8903 GPIO1 is used for digital mic lrclk
output and GPIO2 is used for digital mic data input. Pass corresponding
WM8903 gpio configuration through platform data to enable cardhu and
ventana digital mic support.

Bug 872652

Change-Id: I410265f1b4f9a8c5e43e5437ed6bac4122709178
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/55654
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4410b3a40f7577b4358b85e40a6e37544dc6c2b4

7 years agoarch: arm: Enable SPDIF driver for Tegra30
Sumit Bhattacharya [Wed, 28 Sep 2011 12:29:22 +0000]
arch: arm: Enable SPDIF driver for Tegra30

Bug 872652

Change-Id: Ic170dc2fc86f74d9e67d3b73a6f83368597dafcb
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/54975
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rcffb88a225fe811ac21466f8d15ee536c2e8b6a4

7 years agoarm: tegra: cardhu: Set pwr_i2c speed to 400KHz
Laxman Dewangan [Thu, 8 Sep 2011 08:45:30 +0000]
arm: tegra: cardhu: Set pwr_i2c speed to 400KHz

bug 870689

Reviewed-on: http://git-master/r/51292
(cherry picked from commit f66aaace70f4327a8612913a8d5e2cb967dcdad6)
Change-Id: I1f8ac2b323b9bb135312dba2f333fb9d5ce3d44b
Reviewed-on: http://git-master/r/57026
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rac27549cbe8fcca75cb1734de24d066ae787c835

7 years agoarm: tegra: cardhu: use 55hz only for old boards
Jon Mayo [Thu, 22 Sep 2011 00:19:16 +0000]
arm: tegra: cardhu: use 55hz only for old boards

SKU_TOUCHSCREEN_MECH_FIX needed an extra '0', it is used to control
display refresh rates for some boards that are more sensitive to touch
screen interference.

Bug 878694
Bug 861062

Reviewed-on: http://git-master/r/53898
(cherry picked from commit 4a3a8de8afe64c7ee497d228e5d0f1d86e9ed667)

Change-Id: I3bf160b739ba806aeb2130bf2680c87815fcac98
Reviewed-on: http://git-master/r/56302
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf25f43bc07089cf17311b06bf06bb61300ae5afb

7 years agoarm: tegra: cardhu: add gpio charger support
Pritesh Raithatha [Tue, 27 Sep 2011 09:54:46 +0000]
arm: tegra: cardhu: add gpio charger support

Bug 872590

Change-Id: I7e5bfe68a4f299f771b4af7094754e4167a44f29
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/54663
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R9dce2ca60c88531d5b16ed669404b3f1a25a9e81

7 years agoarm: tegra: xmm : Changes for CP initiated system resume
Seshendra Gadagottu [Fri, 26 Aug 2011 13:58:35 +0000]
arm: tegra: xmm : Changes for CP initiated system resume

Added the changes required for CP initiated L3 -> L0 resume.

BUG 828389

Reviewed-on: http://git-master/r/49462
(cherry picked from commit 58de177d5eb9ad81c6bfb25195a88011ce8622b9)

Change-Id: I423a7ff7cd6d5b1679b6f643337b28d2af5ce602
Reviewed-on: http://git-master/r/54198
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: R7a831e137f784d10c0914ac9226b86f2c99ee2b1

7 years agoarm: tegra: cardhu: Adding support for tegra RTC
venu byravarasu [Mon, 26 Sep 2011 12:10:42 +0000]
arm: tegra: cardhu: Adding support for tegra RTC

With this change, ported board changes needed for
supporting tegra internal RTC on cardhu from 2.6.36.

Change-Id: Ic3f0dc152dfe7d3a51228f70ebafbc640b631172
Reviewed-on: http://git-master/r/54466
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R95e169ae8c7a4f2a73cc0f202c72469a614a657a

7 years agoARM: tegra: nvavp: registering new nvavp driver
Bharat Nihalani [Mon, 26 Sep 2011 13:51:08 +0000]
ARM: tegra: nvavp: registering new nvavp driver

Also re-arranged tegra_nvavp code so that it is common accross boards

Bug 880623

Change-Id: I7d634a718e07e07e945fb512466b3a0672aea7e2
Reviewed-on: http://git-master/r/54487
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Reb5aaf8cad9b40cc52e3df5f3535a8a0db0b47cc

7 years agoarm: tegra: Enable XCVR setup through fuses
Rakesh Bodla [Tue, 13 Sep 2011 11:10:50 +0000]
arm: tegra: Enable XCVR setup through fuses

Enabling the XCVR setup for USB using USB calibration
fuses.

Bug 867817

Reviewed-on: http://git-master/r/51575
(cherry picked from commit 5c9d3b4c06bd22e1d6aae31c0fbe67fc5f7e1902)
Change-Id: If74435b8d9db7eb7a60d5c27f6b6e23cae890fb6
Reviewed-on: http://git-master/r/54652
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb1263b550101be024387394e873232c5b01a5089

7 years agoarm: tegra: Add regulator entry for NCT1008
venu byravarasu [Thu, 8 Sep 2011 08:41:21 +0000]
arm: tegra: Add regulator entry for NCT1008

bug 869217

Reviewed-on: http://git-master/r/51291
(cherry picked from commit bdf107203561935aa8d1eb1be36cfbbd36adfbe4)

Change-Id: I3a342c87c65e586942396f12193726f0d60d17f1
Reviewed-on: http://git-master/r/54225
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Re3c83bf2dad8b8fb64b4372af15461c3b9a775bc

7 years agoarm: tegra: cardhu: change vi pll src to pll_p
Zhijun He [Thu, 22 Sep 2011 01:10:50 +0000]
arm: tegra: cardhu: change vi pll src to pll_p

Change the pll source of vi_sensor from PLL_M to PLL_P since PLL_M is
more variable. Also we can get exactly 24MHz mclk rather than 24.24MHz.

Bug 870687
Bug 879875

Reviewed-on: http://git-master/r/50382
(cherry picked from commit a994fae2c18aee4d1df1b1d3d11c1259fdf3264e)

Change-Id: I8c9196e47d9e995089d7b073c17a2f67fbac3995
Reviewed-on: http://git-master/r/53905
Reviewed-by: Zhijun He <zhhe@nvidia.com>
Tested-by: Zhijun He <zhhe@nvidia.com>
Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>

Rebase-Id: R479eafb8e00602383060e93cbb28bc00d686c0e8

7 years agoARM: tegra: cardhu: Fix SDMMC regulator registration
Dan Willemsen [Thu, 15 Sep 2011 00:47:10 +0000]
ARM: tegra: cardhu: Fix SDMMC regulator registration

Use the device driver name instead of encoding the SDMMC controller in
the regulator supply name.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Change-Id: I08fb807c5a13eedd70bb9a5d47633334d51133d6
Reviewed-on: http://git-master/r/52502
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R2966fc597604a2c8a0e5b2c9f507a4566e3400f9

7 years agoARM: tegra: power: set cardhu suspend mode to LP1
Jin Qian [Tue, 13 Sep 2011 21:16:10 +0000]
ARM: tegra: power: set cardhu suspend mode to LP1

http://nvbugs/876007

Change-Id: Id060bcc5ef20c0bc553bc171a3b96699140b2161
Reviewed-on: http://git-master/r/52136
Reviewed-by: Jin Qian <jqian@nvidia.com>
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R6496b91629af42d4b6ac9a623cd63d03c14abab2

7 years agoarm: tegra: cardhu: Set touch control signal to non-tristate
Laxman Dewangan [Tue, 13 Sep 2011 14:07:59 +0000]
arm: tegra: cardhu: Set touch control signal to non-tristate

Setting touch control signal to non-tristate.

bug 862648

Change-Id: I240a5cd3815c6df99f7491d796dc383a7825b9ed
Reviewed-on: http://git-master/r/52051
Reviewed-by: Ali Ekici <aekici@nvidia.com>
Tested-by: Ali Ekici <aekici@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R6ff7c63d28b27eefe73a170db6d7f64f9cb0fd8f

7 years agoARM: tegra: Update copyrights
Scott Williams [Wed, 7 Sep 2011 19:21:06 +0000]
ARM: tegra: Update copyrights

Change-Id: I156af0bdd8b37cb23aec214c3e158027252e27e1
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/51157

Rebase-Id: R5b760594bf1a332f2baa9d14922ab65aaa71069d

7 years agoarm: tegra: cardhu: Adding spi2 platform device
Laxman Dewangan [Fri, 2 Sep 2011 12:41:18 +0000]
arm: tegra: cardhu: Adding spi2 platform device

Adding spi2 master device to enable the SPI2 master
interface.

bug 871218
bug 869972

Original-Change-Id: I1d70f5c07242c98565eae84777917292f280e6cc
Reviewed-on: http://git-master/r/50513
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Ref0db7f6cba6fc5777c2caf079beee942302c94c

7 years agoarm: tegra: cardhu: Debug console should be UartB for E1256
Laxman Dewangan [Fri, 2 Sep 2011 10:57:45 +0000]
arm: tegra: cardhu: Debug console should be UartB for E1256

Setting debug console to be UARTB for E1256

bug 871620

Original-Change-Id: Ie1e97997d0b47a3b3eff2ba4ecfb0af5dc920d41
Reviewed-on: http://git-master/r/50498
Tested-by: Kuan Luo <kluo@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R1d89f6c474d91fc8b3c8a1529638813f25bd3450

7 years agoARM: Tegra: pinmux: Updating sdmmc drive strengths
Pavan Kunapuli [Tue, 30 Aug 2011 13:25:07 +0000]
ARM: Tegra: pinmux: Updating sdmmc drive strengths

Updating sdmmc3 and sdmmc4 drive strengths as per
characterization results.

Bug 799568

Original-Change-Id: I48256399db726e1ab6afe01c9d08e47f13a20103
Reviewed-on: http://git-master/r/49861
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R6226b1f1eecadfb45f774a26295e672356076c27

7 years agoarm: tegra: cardhu/enterprise: Providing clock src based on preference.
Laxman Dewangan [Thu, 1 Sep 2011 05:15:02 +0000]
arm: tegra: cardhu/enterprise: Providing clock src based on preference.

Providing the clock source based on preference.

bug 870388

Original-Change-Id: I1d5cda35a4d0d70082bf03d7ee02c8322920691a
Reviewed-on: http://git-master/r/50256
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Re51a301419cd9577dfbef52a637d6d21ff0a6c9d

7 years agoarm: tegra: cardhu: KEY_POWER event through ONKEY
Laxman Dewangan [Tue, 30 Aug 2011 13:22:18 +0000]
arm: tegra: cardhu: KEY_POWER event through ONKEY

Generating the KEY_POWER event from the on-key. On-key
is connected through the pmu's PWRON interrupt.

bug 869948

Original-Change-Id: Id57642dfc8529606300ba572106fb75c79e859fb
Reviewed-on: http://git-master/r/49856
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>

Rebase-Id: Rf9240bc354915cf97e69853da4b10ac096dfbc14

7 years agoarm: tegra: cardhu: Support for PM305
Laxman Dewangan [Tue, 30 Aug 2011 09:41:20 +0000]
arm: tegra: cardhu: Support for PM305

Adding support for PM305.

bug 846246

Original-Change-Id: Ib036c67c12984668e0b7153f76a1a1d44c5be14f
Reviewed-on: http://git-master/r/49820
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R9e9eb93ddcea487159854533eead3fe8eb74e42b

7 years agoarm: tegra: cardhu: use dithering on 18bpp panel
Jon Mayo [Fri, 26 Aug 2011 20:02:22 +0000]
arm: tegra: cardhu: use dithering on 18bpp panel

configure ordered dithering for 18bpp internal lcd.

Bug 869395

Original-Change-Id: I4e9391773f783992820e85a201d29403455bc100
Reviewed-on: http://git-master/r/49508
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R5ff8b01be9412151a51553004cd0040d70bddc4c

7 years agoarm: tegra: PM269: Fix focuser I2C timeout issue.
Frank Chen [Thu, 25 Aug 2011 01:04:52 +0000]
arm: tegra: PM269: Fix focuser I2C timeout issue.

Fix regulator_get error and reset the sensor/focuser properly
in the camera power on routine for PM269.

Bug 842713

Original-Change-Id: Ia3820ec9e7bcca850b090a48963606af855f5ad2
Reviewed-on: http://git-master/r/49101
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R5623445c753a3e8ffaaef38a5b105c8330e21b49

7 years agoARM: tegra: cardhu: Disable EMC DFS for 2GB memory
Alex Frid [Tue, 9 Aug 2011 03:42:47 +0000]
ARM: tegra: cardhu: Disable EMC DFS for 2GB memory

Bug 861419

Original-Change-Id: Icff68a821f5088af62962ccadaabbd01e4b5af7b
Reviewed-on: http://git-master/r/45966
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R4cb37cd9644ed36c7ee8e2b0462ef9bf8536674d

7 years agoarm: tegra: power: set more accurate temperature guardbands
Diwakar Tundlam [Fri, 26 Aug 2011 00:51:44 +0000]
arm: tegra: power: set more accurate temperature guardbands

use fractional guardband accurately per chip sku
bug 844025

Original-Change-Id: I1137e39b5aa9babae740d2c9e438275183683756
Reviewed-on: http://git-master/r/49317
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rbcb326cee7961f7d4065ce17b208063cb15f0eba

7 years agoarm: tegra: cardhu: Set dsi_csi rail to 1200mV
Laxman Dewangan [Thu, 25 Aug 2011 08:48:10 +0000]
arm: tegra: cardhu: Set dsi_csi rail to 1200mV

Setting the dsi_csi rails to 1200mV.

bug 869063

Original-Change-Id: If1bd3d804b5f3888e4bbd377ab2105c4ca7a2dda
Reviewed-on: http://git-master/r/49175
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Re9e8cebb8e9db0a6f499514895bf3228eddbd479

7 years agoARM: tegra: cardhu: Fix (or suppress) warnings
Scott Williams [Thu, 25 Aug 2011 21:04:14 +0000]
ARM: tegra: cardhu: Fix (or suppress) warnings

Change-Id: Ie1ec67106ffb4cf38415095a8db31d01fe1d5e10
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/49274
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R23e65a63d3f2869217af5cc7952ea64931ba4924

7 years agoarm : tegra: sysfs interface for xmm power module on/off
Seshendra Gadagottu [Thu, 25 Aug 2011 05:53:33 +0000]
arm : tegra: sysfs interface for xmm power module on/off

Now xmm power module made static part of the kernel.
xmm modem can be on/off using the sysfs interface.

BUG 828389

Original-Change-Id: Icfbe83beeac43f88418eee29f71ccd58d9b840c2
Reviewed-on: http://git-master/r/47773
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R3adb92f2a3f3523c1006969a42499263dd0fa6fb

7 years agoarm: tegra: cardhu: Correct supply name of hvdd_pex.
Laxman Dewangan [Thu, 25 Aug 2011 08:36:51 +0000]
arm: tegra: cardhu: Correct supply name of hvdd_pex.

Correcting the supply name for hvdd_pex voltage rail.

bug 868452

Original-Change-Id: I238051360baca044ea547ed0fed6cf7e4a663012
Reviewed-on: http://git-master/r/49174
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Krishna Thota <kthota@nvidia.com>
Tested-by: Krishna Thota <kthota@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R425970ed9eba558db187b9123241c433bf6addba

7 years agoarm: tegra: cardhu: add tegra_aes_device to cardhu_devices[]
Varun Wadekar [Thu, 18 Aug 2011 05:22:56 +0000]
arm: tegra: cardhu: add tegra_aes_device to cardhu_devices[]

Original-Change-Id: Ic3986547d1a022d54ce21b84a451cbfe6d827f46
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/47722
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb9d894df122d0b89284cab827f74088e0b1207d0

7 years agoarm: tegra: Fix gpio warnings
Kasoju Mallikarjun [Mon, 22 Aug 2011 09:37:00 +0000]
arm: tegra: Fix gpio warnings

Do not request backlight enable GPIO pin
in backlight notify. It is already
acquired in backlight init.

Bug 865058

Change-Id: Ic6a0fc804d87590b17851c0a79cb19509068c32d
Reviewed-on: http://git-master/r/48442
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Ra7e7c9f128f9101f8a6e4457ef668ab0d123604a

7 years agoarm: tegra: cardhu: Suport for E1198-A02
Laxman Dewangan [Mon, 22 Aug 2011 13:31:55 +0000]
arm: tegra: cardhu: Suport for E1198-A02

Adding support for the gpio changes for E1198-A02.

bug 864282

Change-Id: I96e985882a3f2d00a66b300e85cb24661f884746
Reviewed-on: http://git-master/r/48483
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R07d861bb8832972e46a713d9ff195fef2cf6d1d2

7 years agoarm: tegra: cardhu: Reset Modem during init
Laxman Dewangan [Thu, 14 Jul 2011 09:08:02 +0000]
arm: tegra: cardhu: Reset Modem during init

Resetting the modem during the kernel boot for E1291-A04.

bug 817238

Original-Change-Id: Id0862d39306b87a04a28abd205455d97dd05109e
Reviewed-on: http://git-master/r/38693
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Rf42e80598a66f46cd0ef0e2bfacca3917eb86c45

7 years agoinput: touch: atmel_mxt_ts: Increase touch perf for SKU-2000.
Robert Collins [Mon, 15 Aug 2011 22:59:17 +0000]
input: touch: atmel_mxt_ts:  Increase touch perf for SKU-2000.

Increase touchscreen performance for Cardhu SKU-2000 with touch
panel air gap gasket changes.

Bug 864735

Original-Change-Id: I01137e8d31230cd1d1f5a7d25d82259cc732b1e5
Reviewed-on: http://git-master/r/47197
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Ali Ekici <aekici@nvidia.com>
Tested-by: Ali Ekici <aekici@nvidia.com>
Reviewed-by: Jonathan Mccaffrey <jmccaffrey@nvidia.com>
Tested-by: Jonathan Mccaffrey <jmccaffrey@nvidia.com>

Rebase-Id: Rede07c6cc06387a4ccb31eaa2b7bd2e4603c3768

7 years agoarm: tegra: Fix backlight toggling on cardhu/fb0
Robert Morell [Wed, 17 Aug 2011 23:03:55 +0000]
arm: tegra: Fix backlight toggling on cardhu/fb0

Cardhu has both an internal panel (on fb0) and external HDMI (on
fb1).  One of the devices might be blanked while another is unblanked.
In order for the backlight blanking logic to know whether to turn off
the backlight for a particular framebuffer's blanking notification, it
needs to be able to check if a given framebuffer device corresponds to
the backlight.

This implements a check_fb pwm_backlight hook to make the internal
panel's backlight only toggle on fb0 blank changes.

Bug 864592

Original-Change-Id: Ieafb8269c8bf5e030181b332d965b40d374efc1e
Reviewed-on: http://git-master/r/47637
Tested-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Chetan Hooli <chooli@nvidia.com>
Tested-by: Chetan Hooli <chooli@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R989fd6e64a339d3efec360789805e4392e8468af

7 years agoarm: tegra: cardhu: Disable HSIC support for PM269
Seshendra Gadagottu [Wed, 17 Aug 2011 13:39:31 +0000]
arm: tegra: cardhu: Disable HSIC support for PM269

PM269 has no hsic device connection and because of this
enumeration of hsic device is failing and error logs
are seen. This is creating issue for WAT system testing.
To avoid this for USB2, UTMI is selected instead of HSIC.

BUG 863313

Original-Change-Id: I6f3aa04f8db776e11dfbe8997dace5896e24a84e
Reviewed-on: http://git-master/r/47554
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R94dcdf70eb0a88719a70da277d2d03236a8e6002

7 years agoarm: tegra: PM269: Enable NCT1008 temp sensor
Laxman Dewangan [Wed, 17 Aug 2011 10:29:34 +0000]
arm: tegra: PM269: Enable NCT1008 temp sensor

Enabling NCT1008 temp sensor for PM269 board also.

Original-Change-Id: I8cea3e87f18b6d4f73f3142445daed15ab65cf96
Reviewed-on: http://git-master/r/47519
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R8956472b2adb83310298adda4c3454093b36f5b8

7 years agoarm: tegra: cardhu: Set LDO2 to 1200mV for E1208-A03
Laxman Dewangan [Wed, 17 Aug 2011 06:50:06 +0000]
arm: tegra: cardhu: Set LDO2  to 1200mV for E1208-A03

The ldo2 power rail should be set to 1200mV on E1208-A03 based
pmu.

bug 863728

Original-Change-Id: I7730443bc052348a082d52a73e4f521ec34202f7
Reviewed-on: http://git-master/r/47491
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Vivek Aseeja <vaseeja@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rfc2975d5b80492523a4a767c001a8e22c9decaa7

7 years agoarm: tegra: Updated i2c platform data
Alok Chauhan [Thu, 11 Aug 2011 09:28:18 +0000]
arm: tegra: Updated i2c platform data

Updated i2c platform data to add scl_gpio and sda_gpio as
a array so it will take care of multiplexing also.

Bug 854305

Original-Change-Id: I671a3b54ea12c53ef873f5766cf393b23c0df34e
Reviewed-on: http://git-master/r/46628
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R8d196738a87aabbdfee11f0b91e7eca677e86fbb

7 years agoarm: tegra: Increase pwm frequency.
Alex Odorovic [Fri, 12 Aug 2011 04:21:39 +0000]
arm: tegra: Increase pwm frequency.

Change clock source for pwm modules and increase backlight pwm frequency
to 1kHz.

Bug 858358

Original-Change-Id: I8e69de79e77e1c88aec8913d304b40013113fc22
Reviewed-on: http://git-master/r/46854
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R867c966b3aa005501ee3678f257e243a5632e9c5

7 years agonvhost: Move include files to kernel/include
Terje Bergstrom [Tue, 26 Jul 2011 11:09:02 +0000]
nvhost: Move include files to kernel/include

To prepare for kernel modularization, nvhost include files need to be
moved from mach-tegra/include to kernel/include. At the same time
user space specific part is split into nvhost_ioctl.h.

Bug 854182

Original-Change-Id: I3694a40d786028733310ecf5b59341282af571be
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/43211
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R75eb94abd752ea4dd251243a4e70385842b665d9

7 years agoARM: Tegra: Cardhu: Setting sdmmc drive strengths
naveenk [Fri, 12 Aug 2011 14:16:35 +0000]
ARM: Tegra: Cardhu: Setting sdmmc drive strengths

configuring sdmmc drive strengths as suggested
by HW team based on Characterization results

Bug 799568

Original-Change-Id: Id30505659aefb9c63a24f8baa8296a62723710b4
Reviewed-on: http://git-master/r/46949
Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R983ccfd877f7fab88a3107e60e95a462640a2c58

7 years agoARM: tegra: cardhu/enterprise: Change DIDIM initial Values
Matt Wagner [Wed, 3 Aug 2011 01:27:17 +0000]
ARM: tegra: cardhu/enterprise: Change DIDIM initial Values

Default to DIDIM on with aggressiveness 1
Set use_vid_luma = false on init

Bug 859226

Original-Change-Id: Ibd12bad8a15e3f09b197c424325df2ec8239d821
Reviewed-on: http://git-master/r/44671
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R9fab980cec25764004e9562a553a8c65ad02b61f

7 years agoarm: tegra: cardhu: remove NVSD debug message
Jon Mayo [Wed, 10 Aug 2011 20:18:52 +0000]
arm: tegra: cardhu: remove NVSD debug message

A debug message shows up 50+ times a second when smartdimmer is active.

Original-Change-Id: I36c4956dca0f41d40d3c02cacfdb0558bd2cb059
Reviewed-on: http://git-master/r/46424
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R45b531a1306231937b66bfdfa9c12ec96ccadcf9

7 years agoarm: tegra: comms: Intel XMM6260 flashless boot.
Michael Hsu [Wed, 3 Aug 2011 23:20:03 +0000]
arm: tegra: comms: Intel XMM6260 flashless boot.

Add baseband power drivers to manage gpio for turning on modem,
and re-enumerating modem after modem's boot rom has transferred
control to downloaded modem software.

BUG 828389

Original-Change-Id: Ide96a28b8f0183d8328751d3b3dec92b8068a3c8
Reviewed-on: http://git-master/r/39435
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb3d170a5460bff29550d664c3f783134d2a3a41f

7 years agoarm: tegra: Implement HSIC power management for baseband devices.
Seshendra Gadagottu [Wed, 20 Jul 2011 11:22:03 +0000]
arm: tegra: Implement HSIC power management for baseband devices.

Add power management for HSIC baseband power module.
Currently the power module implemented state handling for
L0->L3 and L3->L0 state transitions.

BUG 828389

Original-Change-Id: I46b7da66bfa85fac57261ec68668435855739981
Reviewed-on: http://git-master/r/33065
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R2d04847c5dc12db17b49ec62a4e12f061bca29fe

7 years agoarm: tegra: cardhu: Added I2C arbitration lost recovery mechanism
Alok Chauhan [Tue, 26 Jul 2011 10:30:32 +0000]
arm: tegra: cardhu: Added I2C arbitration lost recovery mechanism

Added the code for arbitration lost recovery mechanism for i2c
driver and Initialize gpio number for i2c clock and data as
part of platform data.

bug 854305

Original-Change-Id: Icdc243a5025c766d65816542a6d5aabd61e6eee1
Reviewed-on: http://git-master/r/43200
Reviewed-by: Bandi Krishna Chaitanya <bandik@nvidia.com>
Tested-by: Bandi Krishna Chaitanya <bandik@nvidia.com>
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rd3737d2e59cd58bc1ebee0b33f069cb78d86dcc4

7 years agoarm: tegra: cardhu: use 55hz only for old boards
Jon Mayo [Mon, 8 Aug 2011 17:11:52 +0000]
arm: tegra: cardhu: use 55hz only for old boards

Use different display refresh rates for some boards that are more
sensitive to touch screen interference.

Bug 861062

Original-Change-Id: I76a31107b2111d4a0d6d5f072ead877a35cd59a0
Reviewed-on: http://git-master/r/45874
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R5605962a8d026d775af9f7d166daa697c5e6d4d5

7 years agoARM: tegra: cardhu: fix backlight table warning
Xin Xie [Sat, 6 Aug 2011 00:55:16 +0000]
ARM: tegra: cardhu: fix backlight table warning

Original-Change-Id: I3ad643db67c62c57320e94f193317078ad919b9c
Reviewed-on: http://git-master/r/45691
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R452d613de364d2bdf41af1e048f4586e202fa028

7 years agoarm: tegra: cardhu: update dvfs tables for elpida & samsung
Ray Poudrier [Mon, 1 Aug 2011 23:27:46 +0000]
arm: tegra: cardhu: update dvfs tables for elpida & samsung

Bug 852560

Original-Change-Id: I96eefc1851675ea3321abf7197383de13c18cdb1
Reviewed-on: http://git-master/r/44394
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Re4e99d3595c6437e0ef761b89f6a74f422f5f31a

7 years agoARM: tegra: cardhu: switch off PMU at high temperature
venu byravarasu [Wed, 3 Aug 2011 11:21:57 +0000]
ARM: tegra: cardhu: switch off PMU at high temperature

Add board support needed for PMU switch off when tsensor
detects temperature > TH3 threshold set.

bug 850047

Original-Change-Id: I7a283cedc735264dd8ea52801f7f1a103e9293cb
Reviewed-on: http://git-master/r/41531
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R6dbc2c1acb741666f6d7dda88f1bbb26c465717c

7 years agoarm: tegra: sensors: pair sh532u focuser to right camera
garyz [Thu, 2 Jun 2011 01:41:35 +0000]
arm: tegra: sensors: pair sh532u focuser to right camera

The sh532u focuser is added to pair with the stereo right camera with the
required power control configurations.

Bug #827897

Original-Change-Id: I5ca836a51b03cb9550eb468270af5bbf350aa957
Reviewed-on: http://git-master/r/34820
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rad6137ec52951c560c67135595d560910eb97aa0

7 years agoARM: tegra: cardhu: use 55Hz refresh for lcd
Jon Mayo [Sat, 30 Jul 2011 01:38:01 +0000]
ARM: tegra: cardhu: use 55Hz refresh for lcd

Adjust display timings to reduce noise that interfers with touch panels.

Bug 853676

Original-Change-Id: I9869e9ad6111fda6e0e629d98bb4977a5f0c3df7
Reviewed-on: http://git-master/r/44167
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R687a4bcc0ee8d96a9e6ed39ccee15b035aa9077a

7 years agoRevert "ARM: tegra: cardhu: Fix clock-related issues on display."
Jon Mayo [Wed, 27 Jul 2011 19:00:18 +0000]
Revert "ARM: tegra: cardhu: Fix clock-related issues on display."

Bug 853676

This reverts commit ea52a5ff2107adac0f27c4710728e4158463f5c7.

Conflicts:

arch/arm/mach-tegra/board-cardhu-panel.c

Original-Change-Id: I95bac0fa54891c33bde33aa601885188e8cf231c
Reviewed-on: http://git-master/r/43559
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: Re50c56f529f83f76e54a27d5207441f5130bdaf3

7 years agoARM: tegra: cardhu: Allow LP0->LP3 using PM269 GPIO power button without KBC
Daniel Solomon [Sat, 23 Jul 2011 00:21:58 +0000]
ARM: tegra: cardhu: Allow LP0->LP3 using PM269 GPIO power button without KBC

Changed GPIO init for PM269 to allow wakeup using the power button
when the KBC module is not connected.

Bug 851432

Original-Change-Id: Ia597502807536b7ba00025805fb163602f022c88
Reviewed-on: http://git-master/r/42725
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

Rebase-Id: R27207636ba09d2305ebd55230609f85dc500858a

7 years agoARM: tegra: cardhu: Update EMC DFS table for Hynix DDR3
Alex Frid [Thu, 21 Jul 2011 04:30:05 +0000]
ARM: tegra: cardhu: Update EMC DFS table for Hynix DDR3

Changed table format to revision 3.1; added 750MHz entry.

Bug 836260
Bug 829932

Original-Change-Id: I1e9d8db21012fc0dcb62367c3f00dc32a4d969bb
Reviewed-on: http://git-master/r/42525
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rf27767784fa3c62f2e9e2049cf9d9cdbd67ead40

7 years agoarm: tegra: cardhu: Correct pinmux configuration used for hsic
Seshendra Gadagottu [Wed, 27 Jul 2011 10:16:10 +0000]
arm: tegra: cardhu: Correct pinmux configuration used for hsic

Corrected the pinmux group for hsic power management gpios.
Also removed E1197 references from cardhu board files.

BUG 828389

Original-Change-Id: I0488d7d6ea2fb102a5c55eb32813776e298f9b46
Reviewed-on: http://git-master/r/43451
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd551075e1633406de4cdfbf3a05b1d6bff017666

7 years agoarm: tegra: cardhu: Fix pinmux warning.
Laxman Dewangan [Tue, 26 Jul 2011 12:59:11 +0000]
arm: tegra: cardhu: Fix pinmux warning.

The pin PEX_L1_PRSNT_N is configured in wrong option and so
generating the warning.
Configuring this in correct option.

bug 855392

Original-Change-Id: Ia9131d8e2d68eef1dfe02ff663ec9e1a23e180c8
Reviewed-on: http://git-master/r/43228
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re636ff84e9c3fd41afa147d91e454bca70f84581

7 years agoARM: tegra: cardhu: Backlight Correction
Matt Wagner [Fri, 22 Jul 2011 22:15:57 +0000]
ARM: tegra: cardhu: Backlight Correction

Corrected measured backlight linearization table.

Bug 827366
Bug 852481

Original-Change-Id: I09a2952f684c4637d0da500c93bd3f1b5ca05daa
Reviewed-on: http://git-master/r/42692
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rba2085ed672b2b9c902a3702416f248670454a0f

7 years agoARM: tegra: cardhu: Initialize gpio for lvds_shutdown properly.
Kevin Huang [Mon, 25 Jul 2011 19:28:02 +0000]
ARM: tegra: cardhu: Initialize gpio for lvds_shutdown properly.

Original-Change-Id: I5f1f13089cc8eaaee9f33b5ef811f4e8036225b0
Reviewed-on: http://git-master/r/43085
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Tested-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R86bae22ba87898d11ec854d4326b7f7a50cb5fb8

7 years agoArm: Tegra: Power: Set throttling ext-sensor temp correctly
Diwakar Tundlam [Fri, 22 Jul 2011 23:22:34 +0000]
Arm: Tegra: Power: Set throttling ext-sensor temp correctly

Bug ID: 844882

- Set throttling temperature in ext temp sensor nct1008 for cardhu to 75C
- Fix bug in nct1008 temp sensor driver in disable throttling logic

Original-Change-Id: I2ed8aab63186f16c554ca459e71f3437119bd4e6
Reviewed-on: http://git-master/r/42707
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Ra0a837643b4bfd9c08520d4f5157085c6d97d803

7 years agoarm: tegra: cardhu: Add support for hsic baseband power management
Seshendra Gadagottu [Wed, 20 Jul 2011 11:34:38 +0000]
arm: tegra: cardhu: Add support for hsic baseband power management

Added required Cardu specific changes for hsic baseband
xmm modem power management.

BUG 828389

Original-Change-Id: I119f541544cd34e1584608826714d2bfd9cbfe34
Reviewed-on: http://git-master/r/40789
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R1a257f5c0a78f8936de4c740026c60378e12fcf2

7 years agoARM: Tegra: Cardhu: Adding SDMMC drive strengths
Pavan Kunapuli [Fri, 22 Jul 2011 13:25:38 +0000]
ARM: Tegra: Cardhu: Adding SDMMC drive strengths

Configuring the drive strengths for SDMMC1, SDMMC3
and SDMMC4.

Bug 799568
Bug 826694

Original-Change-Id: Ib18c002993eddaf622f48faa0b4e4c9deb0f8e3c
Reviewed-on: http://git-master/r/42608
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Raf1d57275c48839cdb4913c3b028b4c2ad176952

7 years agoarm: tegra: cardhu: Provide list of clock source to spi driver
Laxman Dewangan [Fri, 15 Jul 2011 16:44:29 +0000]
arm: tegra: cardhu: Provide list of clock source to spi driver

Providing list of clock source to the spi driver so that driver can
select best clock source which gives minimum error for desired speed.

bug 851642

Original-Change-Id: Id7e4b332f57b209f0ebd3f03cc8190b4c8d7ab6a
Reviewed-on: http://git-master/r/41241
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R534fda0233310be9cb61ae63a02acad4cbe13f12

7 years agoARM: tegra: cardhu: Add IO power detection consumers
Alex Frid [Wed, 20 Jul 2011 23:46:13 +0000]
ARM: tegra: cardhu: Add IO power detection consumers

Bug 853132

Original-Change-Id: I59cc6b2025926695ebee12d808fb49f556ffaa6d
Reviewed-on: http://git-master/r/42264
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rbd0d325e54141db2187dff6b11d5c0b20ff046d9

7 years agoarm: tegra: cardhu: Add DVFS table for Elpida memory
Ray Poudrier [Wed, 20 Jul 2011 04:21:52 +0000]
arm: tegra: cardhu: Add DVFS table for Elpida memory

Bug 852560

Original-Change-Id: I68c9877c43507bf154ab38462866f2e45375f71c
Reviewed-on: http://git-master/r/42017
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R82c2041d99f8696b37c3c0aa7b932c7dddb757d7

7 years agoarm: tegra: cardhu: AVP driver selection
Gajanan Bhat [Wed, 22 Jun 2011 02:02:19 +0000]
arm: tegra: cardhu: AVP driver selection

Enable RPC based AVP driver or channel based AVP
driver based on kernel config setting.

Original-Change-Id: I64c21724b55004fa4d7aaf801b47e57b6587b91e
Reviewed-on: http://git-master/r/37769
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd00f3fb6f0d75dd2b279b203cb25bee3dfdae112

7 years agoARM: tegra: power: Added global EDP Capping table
Peter Boonstoppel [Fri, 15 Jul 2011 17:54:05 +0000]
ARM: tegra: power: Added global EDP Capping table

 - Added table with EDP Capping values for different SKUs/regulator
   currents in new file edp.c
 - New entry point tegra_init_cpu_edp_limits()
 - Added DebugFS entry under debug/edp to list the currently
   selected EDP table
 - Populated EDP table in edp.c with data from Bug 844268
 - edp.c keeps main EDP table; cpu-tegra.c and board-cardhu-power.c
   both read from there

Bug 840255

Original-Change-Id: I55c2ee16278be8cd3005218bedebe76846d137d8
Reviewed-on: http://git-master/r/40938
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R70685c053f950a12fffd18f37c7f5ed381594f6d

7 years agoARM: tegra: cardhu: Fixed backlight brightness issue
Gaurav Sarode [Mon, 18 Jul 2011 08:09:21 +0000]
ARM: tegra: cardhu: Fixed backlight brightness issue

Fixed incorrect size of array that was causing Blank
display on maximum brightness.

Bug 852481

Original-Change-Id: I54f8e9724eff1ca15bb3d87c78e6b0b5823e7866
Reviewed-on: http://git-master/r/41517
Tested-by: Gaurav Sarode <gsarode@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>

Rebase-Id: R55db5712582df547e1786c2a1782491feb4ce3ec

7 years agoarm: tegra: cardhu: update DVFS tables to latest
Ray Poudrier [Fri, 15 Jul 2011 22:19:39 +0000]
arm: tegra: cardhu: update DVFS tables to latest

Bug 822468

Original-Change-Id: I5655e76308001fb26553885f2e84da7122148dcc
Reviewed-on: http://git-master/r/41289
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R48dfe21d4cec9c74978a9800c078bd408f8d41fe

7 years agoarm: tegra: cardhu: Set AVDD_PLL and AVDD_PLL_SATA to proper voltage
Laxman Dewangan [Fri, 15 Jul 2011 09:06:16 +0000]
arm: tegra: cardhu: Set AVDD_PLL and AVDD_PLL_SATA to proper voltage

Setting the rail voltage of the AVDD_PLLs to 1.2V and rail voltage
of PLL_SATA to 1.05V.

Original-Change-Id: Ibf5bb1d11b7b15cabb68f90da7e24dd999915c55
Reviewed-on: http://git-master/r/41179
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc7f949b56c0d12d63f313aa005c4e71cbd0a3215

7 years agoarm: tegra: PM269: GMI_CS2 to input for low power on VDDIO_GMI
Laxman Dewangan [Mon, 18 Jul 2011 10:24:11 +0000]
arm: tegra: PM269: GMI_CS2 to input for low power on VDDIO_GMI

Making GMI_CS2 to gpio input to have low power in rail VDDIO_GMI.

bug 833087

Original-Change-Id: I9eb9728d945dc29285cbd459e08dcf94f2f43f68
Reviewed-on: http://git-master/r/41535
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>

Rebase-Id: R15464c7d3bd221631075f97d350aed8f579dc1b2

7 years agoarm: tegra: Console suspend for all boards
Laxman Dewangan [Mon, 18 Jul 2011 06:17:13 +0000]
arm: tegra: Console suspend for all boards

Added the board level suspend/resume and call the console
suspend from board level suspend/resume.

bug 820536

Original-Change-Id: I246265241246dc0682870571c927bd23023e5aca
Reviewed-on: http://git-master/r/41448
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>

Rebase-Id: R712acfe9a1ede8ef8d237ad993bcb5a9eac22a4d

7 years agoarm: tegra: cardhu: Add board level suspend/resume
Laxman Dewangan [Fri, 15 Jul 2011 05:40:57 +0000]
arm: tegra: cardhu: Add board level suspend/resume

Adding board level suspend/resume for cardhu.
Disabling the clock for console uart port if console_suspend
is enabled.

bug 820536

Original-Change-Id: Iecb78708ff7784dd131ffa83692b2419dba44e88
Reviewed-on: http://git-master/r/41147
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R14dcb8c7822b2bdc7e66807e292776b68d08d12d

7 years agomfd: tps6591x: Reorganise GPIO definition
Laxman Dewangan [Thu, 14 Jul 2011 13:08:07 +0000]
mfd: tps6591x: Reorganise GPIO definition

Adding the TPS6591x gpio definition in tps6591x core header
files.

bug 849976

Original-Change-Id: I1f7a7cc38e220c091ccf44db5af6e43c34daa1cd
Reviewed-on: http://git-master/r/41040
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R78e6ca62b6b1740d52e316784fbc41264ef01f0d

7 years agoarm: tegra: cardhu: increasing UART3 drive strength
Pradeep Goudagunta [Thu, 14 Jul 2011 11:12:08 +0000]
arm: tegra: cardhu: increasing UART3 drive strength

setting UART3 signal drive strength to maximum.

Bug 819411

Original-Change-Id: Ie7103fe835868d8041d29bd2b85c7b43fcacc5eb
Reviewed-on: http://git-master/r/41028
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3ca41455889e1c5c8a5c5fe7bfc3ace0dd60da2a

7 years agoarm: tegra: suspend: Add board specific suspend/resume calls
Laxman Dewangan [Tue, 12 Jul 2011 10:46:14 +0000]
arm: tegra: suspend: Add board specific suspend/resume calls

Adding board specific suspend and resume call apis through platform
data.
Added call of these function at appropriate stage of suspend/resume.

Added mechanism to select the uart debug channel base address through
variable so that board file can directly change this.

bug 820536
bug 832273

Original-Change-Id: Ia9ff3b8a8d2faa1071a8ff634960e6a6c8a43d40
Reviewed-on: http://git-master/r/34494
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rf4ebaeeb41b0925cf06cc6852f81d0c7790c787b

7 years agoarm: tegra: Remove unused config TEGRA_VERBIER_E1187
Laxman Dewangan [Thu, 14 Jul 2011 08:11:08 +0000]
arm: tegra: Remove unused config TEGRA_VERBIER_E1187

Removing config variable TEGRA_VERBIER_E1187 as this is no
longer used.

Original-Change-Id: Id81b1f9c8f21177b4d2978aec41523acd1136003
Reviewed-on: http://git-master/r/40997
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R5a97f9bd2235fbe5a2e1f12f18fd040b85362d1d

7 years agoARM: tegra: cardhu: Changes for DIDIM/Backlight
Matt Wagner [Wed, 6 Jul 2011 23:05:39 +0000]
ARM: tegra: cardhu: Changes for DIDIM/Backlight

Added support for non-linear backlight response for cardhu panel.

Bug 827366

Original-Change-Id: I62ac8505194c6565c7fd941aeac164078b8f9e27
Reviewed-on: http://git-master/r/39879
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R23e5df8382e08b2334d558949be4e03f5f7d3238

7 years agoarm: tegra: cardhu/enterprise: Selecting proper pinmux option.
Laxman Dewangan [Mon, 4 Jul 2011 14:17:49 +0000]
arm: tegra: cardhu/enterprise: Selecting proper pinmux option.

Selecting proper pinmux option for sdmmc3_dat6, sdmmc_dat7, ulpi_data3
from the valid list of pinmux option to avoid any warning.

bug 849973

Original-Change-Id: I6c554e3d399afef10fd837291a808496f0f8b811
Reviewed-on: http://git-master/r/39562
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rfe42179fdba401c5aa1f2527fb8c548607dd807c

7 years agoarm: tegra: cardhu: board SKU and fab cleanup
Laxman Dewangan [Tue, 21 Jun 2011 11:47:48 +0000]
arm: tegra: cardhu: board SKU and fab cleanup

Remove the hardcoding of the numerical value for different
sku bit and fab definition and using macro for better readability.

Original-Change-Id: Idf70c7a063b5416e170b3b7e61e896250c9ad70c
Reviewed-on: http://git-master/r/37644
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd7e2bfcf6780b6b73a8438b904b8a13b0297b59d

7 years agoarm: cardhu: Remove always_on from backlight rails.
Laxman Dewangan [Wed, 13 Jul 2011 08:06:30 +0000]
arm: cardhu: Remove always_on from backlight rails.

Removing the always on in constraints of the power rail of backlights.

bug 850674

Original-Change-Id: I15b835012db75fdf74dc1d7a742da0573c5af06d
Reviewed-on: http://git-master/r/40798
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R9ca33b8b4b489590f649160ae9e6df627391cbf0

7 years agoarm: tegra: cardhu: Add support for the E1256
Laxman Dewangan [Mon, 11 Jul 2011 12:52:39 +0000]
arm: tegra: cardhu: Add support for the E1256

Adding support for the E1256. The configuration is
same as the E1186 board.

bug 849990

Original-Change-Id: Idd89e282627b2f0924fc313a5ba28f9e9a6032be
Reviewed-on: http://git-master/r/40367
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3b1f22dc222f4ce000d2e84a48b7e2f379159750

7 years agoARM: tegra: cardhu: Request gpio before using it
Krishna Yarlagadda [Mon, 11 Jul 2011 08:51:40 +0000]
ARM: tegra: cardhu: Request gpio before using it

Modem disable pin direction changed without requesting
the gpio which results in a warning.

Fixing this by calling gpio_request before changing direction

Bug 825559

Original-Change-Id: Ic4b56c194a883b7b388013f0e5b75e7ed9dc9d50
Reviewed-on: http://git-master/r/40352
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R379f347f5a06cdee3fa7918c4ff0096d1500f793

7 years agoarm: tegra: cardhu: correct calibration data in ina219_platform_data
Pritesh Raithatha [Thu, 7 Jul 2011 07:26:00 +0000]
arm: tegra: cardhu: correct calibration data in ina219_platform_data

Original-Change-Id: I1180789af5dc3d38ac3a36abdd219b23b939bce8
Reviewed-on: http://git-master/r/39956
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Tested-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

Rebase-Id: R971bafc11deb9f5e5cfba4e537cdcea152d1de8f

7 years agoarm: tegra: temperature: board extended range support
Bitan Biswas [Tue, 12 Jul 2011 07:30:19 +0000]
arm: tegra: temperature: board extended range support

nct1008 temperature sensor extended range support enabled
for cardhu and enterprise boards.

Bug 850512

Original-Change-Id: Ibb88207c6cc4581ed30d73e576ac4d41d386facd
Reviewed-on: http://git-master/r/40560
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Reb6cede9b8f80163437a7d0599be61917f9b07c6

7 years agoArm: Tegra: Tsensor: Added guardbanding to temperatures
Diwakar Tundlam [Tue, 12 Jul 2011 07:51:11 +0000]
Arm: Tegra: Tsensor: Added guardbanding to temperatures

Bug 844025

- Guardband to account for hotspot offset and sensor accuracy.
- Throttling point specified independent of EDP, but constrained to be
  one of the specified EDP points.

Original-Change-Id: Ic9231ad6887ca282bb520ea23229526ac7a243be
Reviewed-on: http://git-master/r/40566
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R2c24e9513a859fc6abeabf7f3c407d7196457835

7 years agofixup 3c32c5e4 arm: tegra: cardhu: Uart platform data for hsuart driver
Dan Willemsen [Fri, 19 Aug 2011 00:37:19 +0000]
fixup 3c32c5e4 arm: tegra: cardhu: Uart platform data for hsuart driver

Original-Change-Id: I2954eba175980585482772f2e2484550737f177e

Rebase-Id: R1cb65c62bf9b245cfe97de15a256613c32740cc2

7 years agoarm: tegra: pm269: remove power on/off delays
Ray Poudrier [Fri, 17 Jun 2011 00:14:34 +0000]
arm: tegra: pm269: remove power on/off delays

The problem with slow PMU was fixed with a hardware
change to reduce capacitance on the power rail, so
delays are no longer needed

Original-Change-Id: Ib66378ca6bf18c112e90d44d3213dd5f6c870c92
Reviewed-on: http://git-master/r/37127
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R41f0ab153ba153f896390874b41893ee6e11dce5

7 years agoarm: tegra: cardhu: rename vpp_fuse_pg to vdd_fuse
Varun Wadekar [Fri, 10 Jun 2011 11:52:07 +0000]
arm: tegra: cardhu: rename vpp_fuse_pg to vdd_fuse

Bug 796825

Original-Change-Id: I91be0bca739a2daf32807306a611671f387a8988
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/36096
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R5d303050d04b8e2ec2d9724a60bec9b0cbef6f02

7 years agoarm: tegra: adding max_pixclock to board-xxx-panel.c
Donghan Ryu [Mon, 6 Jun 2011 18:36:24 +0000]
arm: tegra: adding max_pixclock to board-xxx-panel.c

setting max_pixclock for cardhu, enterprise, ventana and enterprise
to 148.5Mhz

Original-Change-Id: Ia734bdb9817913183bbf721bf3c14573c9a75888
Reviewed-on: http://git-master/r/35254
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R5d00d50ea3f9079d2427de21a0ecf28788d121d0

7 years agoarm: tegra: cardhu: Add full constraints of regulator
Laxman Dewangan [Tue, 5 Jul 2011 09:30:21 +0000]
arm: tegra: cardhu: Add full constraints of regulator

Adding complete constraints of the regulators.

bug 843566

Original-Change-Id: Ifd07d15d257ff8c89c4a3cc31c9e72d886e6b431
Reviewed-on: http://git-master/r/39633
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rf443864c31cc255e428d6f0de51add028d85db78

7 years agoarm: tegra: panel: Fix build warnings for Cardhu
Scott Williams [Tue, 14 Jun 2011 20:31:54 +0000]
arm: tegra: panel: Fix build warnings for Cardhu

Fixes "warning: '<variable>' defined but not used" and "warning:
label '<label>' defined but not used" messages.

Original-Change-Id: I6172b3648f824bb315d4a296b034f419d81bc786
Reviewed-on: http://git-master/r/36583
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rfc29454b8f9441237109e5b90a427f0eb8a3be71