7 years agoarm: tegra: cardhu/enterprise: Remove pinmux conflicts
Laxman Dewangan [Mon, 30 Jan 2012 13:00:35 +0000]
arm: tegra: cardhu/enterprise: Remove pinmux conflicts

Remove the pinmux conflicts by moving the unused pins
in reserved options.

bug 920706

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

Change-Id: Ieea78535a58707dec9dc9dbe74c6ec25a40d2b26
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/79978
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R435c10b0f74f22d5973be1d91292bce3aa76eb48

7 years agoarm: tegra: cardhu: Prohibit INA monitors from loading on PM269
Gary Fitzer [Sat, 21 Jan 2012 00:15:43 +0000]
arm: tegra: cardhu: Prohibit INA monitors from loading on PM269

Verbier PM269 of cardhu builds do not contain INA219 components
to monitor power.  Stopping drivers from loading on PM269 to remove
i2c error prints.

Bug 927866
Reviewed-on: http://git-master/r/76704

Change-Id: I7a20a9942da58e1d18e75719b43be86ecc2ded01
Signed-off-by: Gary Fitzer <gfitzer@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78699
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Rb3072d95dd6535a7d802c616bfc1090df66f169a

7 years agoarm: tegra: cardhu: enable wakeup through interrupt keys
Laxman Dewangan [Wed, 1 Feb 2012 05:48:33 +0000]
arm: tegra: cardhu: enable wakeup through interrupt keys

Pass wakeup_enable  = true through platform data for interrupt
keys to enable wakeup functionality from suspend states.

Change-Id: I5d58bb0ed34991ca429dbd6f4c2448782c343dbf
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/78608
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Rd88e3d507ee30dca58e972cadba275f89a2a47f7

7 years agoarm: tegra: enterprise/cardhu: set debounce time to 20ms.
Laxman Dewangan [Wed, 1 Feb 2012 05:42:16 +0000]
arm: tegra: enterprise/cardhu: set debounce time to 20ms.

bug 925600

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

Rebase-Id: R1446aa7c28dbdead00dc019abad1e24d16318442

7 years agomach-tegra: fix uninitialized variable
Colin Patrick McCabe [Wed, 18 Jan 2012 20:08:27 +0000]
mach-tegra: fix uninitialized variable

Reviewed-on: http://git-master/r/77400

Change-Id: Idbc213bb17d0e006c9a4cdaf500a94dbae1007d0
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78011
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Rd21a422ddc197ac5e778124077ec490f49419af6

7 years agoarm: tegra: Clock audio from clk_m
ScottPeterson [Wed, 18 Jan 2012 00:37:09 +0000]
arm: tegra: Clock audio from clk_m

Clock audio from clkm as
a pre-condition of disabling pllp_out1 and plla
when I2S is in slave mode.

Change-Id: I1706c2989cf7ad9045526ceba3326777b702868a

Reviewed-on: http://git-master/r/76391

Signed-off-by: ScottPeterson <speterson@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: I243508cc553ebf22bb5594a9461019abfec24b65
Reviewed-on: http://git-master/r/77753
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb035d65833f4dedbe67853010cbc38f3e92de9f9

7 years agoARM: tegra: clock: Auto-detect PLLP rate in uart init
Alex Frid [Fri, 13 Jan 2012 01:39:04 +0000]
ARM: tegra: clock: Auto-detect PLLP rate in uart init

Tegra3 platform may boot with one of the predefined fixed PLLP
(peripheral PLL) output rates: 216MHz, 408MHz, or 204MHz. This
commit implements auto-detection of PLLP rate, and debug uart
configuration during kernel uart initialization.

Bug 928260

Change-Id: I3fac4c462f28ac3dc1c72c0cc0f8f87fa0a809c4
Reviewed-on: http://git-master/r/75849
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77294
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: R1decd75752d7578b6b2715211188921605cbf97d

7 years agoARM: tegra: cardhu: Specify PLLD2 as backup clock source
Alex Frid [Sun, 15 Jan 2012 06:54:23 +0000]
ARM: tegra: cardhu: Specify PLLD2 as backup clock source

Since not all possible PLLP output rates (216MHz, 408MHz or 204MHz)
can provide accurate enough pixel clock rate for cardhu panel, use
PLLD2 as backup clock source.

Bug 928260

Change-Id: I767e621606e849cb7d1976fbed198b9427660544
Reviewed-on: http://git-master/r/76034
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Signed-off-by: Alex Frid <afrid@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76816
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R226265d2fb62d8562ac89b11e0635aa8017c1e71

7 years agoarm: tegra: cardhu: Use fixed regulator
Laxman Dewangan [Wed, 11 Jan 2012 10:25:27 +0000]
arm: tegra: cardhu: Use fixed regulator

Using fixed regulator in place of gpio-switch regulator.
Fixed regulator is very similar to gpio-switch regulator
and it is available by default in linux kernel.

gpio-switch-regulator will be used only for the open
collector load switches.

bug 923713

Change-Id: I42480cb314135d475b4d4b56bb5e8e73eba2f77e
Reviewed-on: http://git-master/r/74536
Reviewed-by: Simone Willett <swillett@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76465
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Rf6810be0f702b017083ac1c88d45b481ea2b2eb7

7 years agoARM: tegra: cardhu: update elpida dqs
Ray Poudrier [Sat, 7 Jan 2012 00:59:58 +0000]
ARM: tegra: cardhu: update elpida dqs

Bug 852560

Change-Id: I335bed2bb4a35e8c740ee54829c1c2e3203d97aa
Reviewed-on: http://git-master/r/73838
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76457
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: R48a1c340b174110b9aaab3bae9a64cdc3bdfe256

7 years agousb: host: tegra: replace CONFIG_USB_HOTPLUG to tegra_ehci_platform_data
Kurt Yi [Wed, 11 Jan 2012 12:11:07 +0000]
usb: host: tegra: replace CONFIG_USB_HOTPLUG to tegra_ehci_platform_data

remove CONFIG_USB_HOTPLUG and add default_enable into tegra_ehci_platform_data
We can't use different def_config because whistler & ventana source code
is merged in same tree.

BUG 923705

Change-Id: I3dfdf237d80865831264f02104c89c8088101905
Reviewed-on: http://git-master/r/74574
Signed-off-by: Kurt Yi <kyi@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75888
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R48a68470bb52fcc57121204a687693f0f022d182

7 years agoarm: tegra: cardhu: pm269 board support for sh532u
Erik Lilliebjerg [Sat, 7 Jan 2012 02:59:50 +0000]
arm: tegra: cardhu: pm269 board support for sh532u

Add PM269 board support for sh532u focuser by adding regulator
defines and the PM269 reset GPIO's.

Bug 923072

Change-Id: Ic042d2c9c2cf78a38a1b72fab2db0289fb1d9909
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/73877
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Reviewed-on: http://git-master/r/75146
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: R71b9f4a6e95e5344587fa46efacf3659d42dbdef

7 years agoTegra: Cardhu: Added dtv device to cardhu board
Adam Jiang [Wed, 30 Nov 2011 05:52:35 +0000]
Tegra: Cardhu: Added dtv device to cardhu board

Added dtv device to cardhu board

Fixed Bug 904626
Fixed Bug 881303

Change-Id: If1560cc8101403720c46b318c76326621c889154
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/68145
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Reviewed-on: http://git-master/r/74892
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R196a7008839a603978fb713d2c63679575bdcf32

7 years agoarm: tegra: smmu: Set TEGRA_IOMMU_SMMU for platform_device
Hiroshi DOYU [Tue, 27 Dec 2011 08:02:07 +0000]
arm: tegra: smmu: Set TEGRA_IOMMU_SMMU for platform_device

This platform_device will be used for struct iommu_ops for SMMU in
addition to iovmm-smmu exclusively.

Change-Id: I8a15ba5ce40cd4bd5df255ecbe70a79a33fe8209
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/72216
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R0073b9c23357524aef2722f0d9d965544e2c599e

7 years agoARM: tegra: uarte: Enable loopback
Pradeep Goudagunta [Wed, 4 Jan 2012 11:28:03 +0000]
ARM: tegra: uarte: Enable loopback

Enable uarte as loopback interface for Cardhu and Enterprise boards.

Bug 845036
Bug 921090

Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>

Change-Id: Ib27a9dadeefec11fdf5a31ecd887eb2d788350d0
Reviewed-on: http://git-master/r/73178
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>

Rebase-Id: R42b5e1d74f07daaadb390fb7112c5094a3798be7

7 years agoARM: tegra: Clean up tsensor includes
Dan Willemsen [Wed, 28 Dec 2011 23:16:02 +0000]
ARM: tegra: Clean up tsensor includes

mach-tegra/tegra3_tsensor.h is used for the parameterized initialization
of the tsensor device. mach-tegra/include/mach/tsensor.h is used for the
tsensor device driver.

Really, mach-tegra/tegra3_tsensor.c should go away - probably becoming a
device driver.

Change-Id: I16edae878f1e97d1654252cfee49cd9dd7f77db7
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/72481
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Raacadc9292eb0d330e025809ad5a59da486b02d6

7 years agoarm: tegra3: Enable vbus1 & vbus3 for PM311 & PM305.
Preetham Chandru [Mon, 19 Dec 2011 09:39:27 +0000]
arm: tegra3: Enable vbus1 & vbus3 for PM311 & PM305.

Enabled vbus1 & vbus3 for PM311 & PM305 boards. In PM311 & PM305 the gpios
used to enable vbu1 and vbus3 are TEGRA_GPIO_PCC7 & TEGRA_GPIO_PCC6

Bug: 914114
Change-Id: Id52cf6399526cb135968370478b5ac1bd53fe364
Signed-off-by: Preetham Chandru R
Reviewed-on: http://git-master/r/72409
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R32eb6de52e54784d2ed68e8bc9cfb436ae78405c

7 years agoarm: tegra: cardhu: correct 'en_ddr' and 'en_3v3_sys' power setting
Haley Teng [Wed, 26 Oct 2011 13:44:40 +0000]
arm: tegra: cardhu: correct 'en_ddr' and 'en_3v3_sys' power setting

'en_ddr' should be 'always on' and enabled when boot.
'en_3v3_sys' should be enabled when boot.

Signed-off-by: Haley Teng <hteng@nvidia.com>
Reviewed-on: http://git-master/r/60426
Reviewed-on: http://git-master/r/66590
(cherry picked from commit 28ed5f661ecd55de42688e565c65ff9c0bd3bdda)

Change-Id: I86edb0d3317b02da964fc89b8d593d1d0d3b75b0
Reviewed-on: http://git-master/r/71963
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Haley Teng <hteng@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rf98442e35d1481d09e2d29de990a52143cdd2f2a

7 years agoarm: tegra: Create nvmap dev based on config flag.
Krishna Reddy [Sat, 17 Dec 2011 02:35:28 +0000]
arm: tegra: Create nvmap dev based on config flag.

Create nvmap dev and related resources only when CONFIG_TEGRA_NVMAP
is defined.

Change-Id: Iee9e43de79767353a750f73cddd6550a74315cff
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/70699
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>

Rebase-Id: R1e32306f3b050bca2e71c6fb72ba9664d588644c

7 years agoarm: tegra: cardhu: Add DVFS table for cardhu A05
Ahmed Farra [Wed, 7 Dec 2011 02:39:40 +0000]
arm: tegra: cardhu: Add DVFS table for cardhu A05

Add DVFS tables for cardhu A05 memory

Also, update memory SKU to handle new format

Bug 911821

Change-Id: I458669d9d42df542e3305fa0c31363d94390599d
Signed-off-by: Ahmed Farra <afarra@nvidia.com>
Reviewed-on: http://git-master/r/68585
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Reade249aa3274291d7f801c6710a570bae96f879

7 years agoarm: tegra: thermal: Low temp to therm algorithm
Joshua Primero [Sun, 18 Dec 2011 23:44:25 +0000]
arm: tegra: thermal: Low temp to therm algorithm

Instead of using 0C as default low temp in thermal
algorithm, query the thermal device driver for
lowest supported temperature.

Change-Id: Id1f70380ba476dec80e36ce79b42ab6f24a5d5ba
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/70935
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Rcc43c0e15955ca7fe5fb1a504edaff29d6040372

7 years agoarm: tegra: thermal: Added name per therm device
Joshua Primero [Fri, 16 Dec 2011 19:09:50 +0000]
arm: tegra: thermal: Added name per therm device

Added name paramater per therm device so that is
easy to tell which therm device is being used
from sysfs

Change-Id: I58488b4c50ac6dc58dc00e270b613458f61a9fd6
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/70929
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R5a00a0081d39c6a2ecde70f148ed93eac2539e4a

7 years agoarm: tegra: power: add watchdog recovery function
Kamal Kannan Balagopalan [Mon, 12 Dec 2011 22:15:02 +0000]
arm: tegra: power: add watchdog recovery function

Add watchdog recovery mechanism to protect against hangs during
driver suspend/resume sequence

Bug 857748

Change-Id: I03d540b38318a5a953b1a697af123291b48991e9
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/65986
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R4221d65bfc0ff963b31117584e638fa78fb15ecb

7 years agoarm: tegra: cardhu: pm299: Add Ricoh583 RTC support
venu byravarasu [Fri, 16 Dec 2011 07:15:48 +0000]
arm: tegra: cardhu: pm299: Add Ricoh583 RTC support

Add board details for Ricoh583 PMU RTC

bug 902137

Change-Id: I02e9565e907cf3c4a631962fb559ec2a058abb53
Signed-off-by: venu byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/70019
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R56178b884c8df34db626740f0d2e6c8057cee784

7 years agoARM: tegra: cardhu: add e1186 to gpio & int key
Ray Poudrier [Wed, 9 Nov 2011 04:48:00 +0000]
ARM: tegra: cardhu: add e1186 to gpio & int key

Bug 891536

Reviewed-on: http://git-master/r/63178
(cherry picked from commit e537469bce8711c4ec871663e659dce02f199695)

Change-Id: Id62581baab9ce45c7bf588b19f70b20901f3a98e
Reviewed-on: http://git-master/r/66982
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R8b4ee85360215686d0906297ef0572b8cb3e51ed

7 years agoarm: tegra: cardhu: change default regulator current
Diwakar Tundlam [Thu, 15 Dec 2011 01:42:39 +0000]
arm: tegra: cardhu: change default regulator current

Bug 888679

Change default regulator current to 6A on cardhu to support T33 based
board without VF

Change-Id: Ica8c1a9a4276ae1fb140c6a2ad1db04bd96c9471
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/70187
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>

Rebase-Id: R27d28d21ea86bbd0055aa00be10de603d99d1227

7 years agoarm: tegra: cardhu: Fix error if CONFIG_TEGRA_DC is not defined
Hyungwoo Yang [Thu, 15 Dec 2011 01:51:02 +0000]
arm: tegra: cardhu: Fix error if CONFIG_TEGRA_DC is not defined

This change fixes the compilation error.
The error happens when CONFIG_TEGRA_DC is not defined

Bug 916044

Change-Id: Icddd959f1ad9d9d9acad66e478e84c2bc96687b2
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/70191
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: Rad0330d9a17dc9147d83ad031763a84afa499618

7 years agoarm: tegra: cardhu: pm299: Correcting PMU name
venu byravarasu [Thu, 15 Dec 2011 05:06:00 +0000]
arm: tegra: cardhu: pm299: Correcting PMU name

Most of the places in the file refers to TPS, even though
the PMU used is RICOH.
Hence fixing it.

Change-Id: I3c8aa6185c03c3b1b62ca0de0520180ccaeafa9c
Signed-off-by: venu byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/70220
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Rf0d2798f92885ec8e8dd75c20e83928b8f2a22f5

7 years agoSPI: Register SPI1 as slave device
Krishna Yarlagadda [Mon, 21 Nov 2011 11:31:44 +0000]
SPI: Register SPI1 as slave device

Registering SPI1 as slave device which will be used in
loopback tests on E1198

Bug 903874

Reviewed-on: http://git-master/r/66790
(cherry picked from commit 87d7bc65a43dbb3a745c1bcb03e53ba44f8e80e9)

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

Rebase-Id: R62135f440f2480ee6cc181de84b670bc76ddcc37

7 years agoARM: Tegra: Set i2s_sync as parent of audio clock for Tegra30
Sumit Bhattacharya [Tue, 13 Dec 2011 13:09:04 +0000]
ARM: Tegra: Set i2s_sync as parent of audio clock for Tegra30

Set i2s_sync clocks as parent of audio clocks in tegra_clk_init_table.
Entries are added only for active I2s ports for corresponding Tegra30
board.

Bug 911332

Change-Id: I86440cbff6432fcec3de249c9baf46aab785122f
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/69757
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: Re29bcdd39b64d9c83653d1d50e1cefc172a8ed2f

7 years agoARM: tegra: cardhu: fix 5650 power on sequence
Anton Kondratenko [Tue, 13 Dec 2011 03:06:17 +0000]
ARM: tegra: cardhu: fix 5650 power on sequence

Since front and back right camera are multiplexed,
back right camera needs to be selected on power on.

Bug 890780

Change-Id: I6c9ecb95c42b3faedfede98b7e7de7e778d720b6
Signed-off-by: Anton Kondratenko <akondratenko@nvidia.com>
Reviewed-on: http://git-master/r/69662
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R7c67f379582e3f5536edbb7d099da0938f14c6f2

7 years agoarm: tegra: cardhu: pcie support for cardhu bsp
Jay Agarwal [Mon, 5 Dec 2011 08:55:38 +0000]
arm: tegra: cardhu: pcie support for cardhu bsp

Enabling PCIE support in cardhu board.
Fixes bug: 637871

Reviewed-on: http://git-master/r/34474
(cherry picked from commit bde3e58d998b6e76934152219b8803327cea2fad)

Change-Id: I18c548b458ad3d17ec07d2ec5b16fd83897b44b1
Signed-off-by: Krishna Kishore <kthota@nvidia.com>
Reviewed-on: http://git-master/r/62072
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: Rfae7cfb6a0e4419a40b7f525217726c4ddb71312

7 years agoarm: tegra: cardhu: TPS61050 board support
Erik Lilliebjerg [Thu, 1 Dec 2011 12:44:07 +0000]
arm: tegra: cardhu: TPS61050 board support

Bug 860351
Bug 850614
Bug 852480
Bug 872156
Bug 824459

Change-Id: I60366c7eb918a76860dbbc087407d3f89663c00d
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/66166
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Rf3aa0d747fe08d8117b7168d552aa39de78b3184

7 years agoarm: tegra: cardhu: Enable output capacitor discharge
Laxman Dewangan [Wed, 16 Nov 2011 11:35:59 +0000]
arm: tegra: cardhu: Enable output capacitor discharge

Enabling output capacitor discharge for the core power
supplied from tps62361x.

bug 871944

Reviewed-on: http://git-master/r/64838
(cherry picked from commit 8dfc169da3f7af3072956f766fb760830cf8b8ad)

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

Rebase-Id: R5d39c2af7cd5887c78b6a35f36c60125e618a238

7 years agoarm: tegra: thermal: Thermal cleanup
Joshua Primero [Tue, 22 Nov 2011 22:37:06 +0000]
arm: tegra: thermal: Thermal cleanup

Added tc1, tc2, and passive delay to thermal framework
parameters.

Made thermal offsets more explicit and clean.

In throttling code, instead of using one 10 second 640000 entry,
split this into five 2 second entries.  This will give better
temperature stability.

bug 877359

Change-Id: Idc463ab18bdabb7a0472f4f6572195bf76067bd4
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/68029
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: Raab6866727cf4b04590791e6257b73e1bd66b19e

7 years agoarm: tegra: cardhu: new emc DFS table for samsung
Ray Poudrier [Mon, 17 Oct 2011 22:36:14 +0000]
arm: tegra: cardhu: new emc DFS table for samsung

Bug 871975

Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>

Reviewed-on: http://git-master/r/59997
(cherry picked from commit 228f9b4eb5533a0a1cc5ca43c8aa3770dbaeb4c3)

Reviewed-on: http://git-master/r/64272
(cherry picked from commit 0cf62a0879cf0df49d09abea9f6da6a700f85f3a)

Change-Id: I9083a812b31719e069e24dd9283270df4d0680b7
Reviewed-on: http://git-master/r/68067
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Ra483eefef3f3f548396e43100309aaf3de8005d2

7 years agoarm: tegra: cardhu: Support cap sensor for E1291-A04
Laxman Dewangan [Wed, 30 Nov 2011 13:20:44 +0000]
arm: tegra: cardhu: Support cap sensor for E1291-A04

Supporting the cap sensor based key board which is used in
cardhu - A04.

bug 895616

Change-Id: I433610de6945a5d9fe6e282d80e8e5e9fa6ac5b3

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Change-Id: I47d857f34a18a72c7aad44ae26921404b091dd14
Reviewed-on: http://git-master/r/67426
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: R87d922f5c936b28a1662667db0a1ae10b1498392

7 years agoarm: tegra: power: Removed unnecessary nct code
Joshua Primero [Tue, 18 Oct 2011 23:09:25 +0000]
arm: tegra: power: Removed unnecessary nct code

Having moved a lot of thermal functionality out of
the nct1008 driver, cleaned up all the unnecessary
code.

Reviewed-on: http://git-master/r/58849
Reviewed-on: http://git-master/r/63340
(cherry picked from commit eeee660eea54ddf76881587246bb9c59c6f0ad07)

Change-Id: I39ed5683ddc5df068e11d21680863f9ba979f862
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/66553
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R77ff7022e05176f1b3caca0a18b79c074d10ad7b

7 years agoarm: tegra: power: Tegra Thermal refactoring
Joshua Primero [Fri, 14 Oct 2011 00:49:20 +0000]
arm: tegra: power: Tegra Thermal refactoring

Refactored Thermal module so that thermal device
drivers themselves are agnostic of the thermal
framework.  Also separated throttle limit constraints
from EDP table.

Reviewed-on: http://git-master/r/57990
Reviewed-on: http://git-master/r/63338

Cherry-picked from 8d0610bdd03c3490b718f11bc2108f45cd868533.

Change-Id: I4f87889c9cdc88daac1e6173043bab1f2e7cebfd
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/66551
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R48ab4360228620638d8e2af6b27f6d0edcaa4b93

7 years agoARM: tegra: cardhu: Update dvfs tables for elpida & samsung
Alex Frid [Wed, 2 Nov 2011 06:23:36 +0000]
ARM: tegra: cardhu: Update dvfs tables for elpida & samsung

Added dynamic self-refresh field and updated arbitration settings.

Bug 896654

(cherry picked from commit 9af03dda41ee154ce7d3818f70456e833a22c893)
(cherry picked from commit f05bd447cb8bc53ff2f98dca3db55c05f53ce29d)

Change-Id: I9f60a60bd0768a86735ccf4e8d0db772d9caeeb9
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/67023
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R5072d0c38f475228125f1217896a6f1307e442bf

7 years agoARM: tegra: cardhu: Update EMC DFS table for Hynix DDR3
Alex Frid [Tue, 25 Oct 2011 05:23:05 +0000]
ARM: tegra: cardhu: Update EMC DFS table for Hynix DDR3

- Added 800MHz, 400MHz (for T33 parts), and replaced 408MHz with 375MHz
entry (for T30 parts).

- Added dynamic self-refresh field, and updated arbitration settings.

Bug 867684
Bug 896654

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 5e31d110a4da1fa37790ace0297f6141f872c183)
(cherry picked from commit 94eafeb884a63fe7fcc57a4636904853d8b3ab72)

Change-Id: I04db7784803b203ecdc1e828bb70cdd7eae017bc
Reviewed-on: http://git-master/r/67022
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R24b56d584693c655b814a4f5fc01f5e88cd0570b

7 years agoarm: tegra: cardhu: sh532u board support
Erik Lilliebjerg [Tue, 22 Nov 2011 11:06:03 +0000]
arm: tegra: cardhu: sh532u board support

Bug 865305

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

Rebase-Id: R54cebc69c16bbedb4ed2dbf3fc33dbc34456cb57

7 years agoarm: tegra: cardhu: Call tegra_gpio_enable() for tegra gpio only
Chaitanya Bandi [Wed, 16 Nov 2011 13:07:07 +0000]
arm: tegra: cardhu: Call tegra_gpio_enable() for tegra gpio only

Corrected the range check for enabling gpio for TSP62361B because
tegra_gpio_enable() is for tegra gpio only

Bug 897387

Reviewed-on: http://git-master/r/65123
(cherry picked from commit f7ef3d5a8a56a5050174383da1818c80a65729bd)

Change-Id: I66e08170596678a267f25602f0daf79a3e0d34bd
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/66609
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R14092c5f0f254e11358349e9ecfc84faa0228cb8

7 years agoarm: tegra: cardhu: Support PM313 SKU0001
Hyungwoo Yang [Sat, 29 Oct 2011 01:57:08 +0000]
arm: tegra: cardhu: Support PM313 SKU0001

PM313 SKU0001 supports selecting BPP ( 18bpp or 24bpp )

Bug 822980

Reviewed-on: http://git-master/r/61005
(cherry picked from commit c6f9f5ebfe5f85bc56298092dce142980bed5d71)

Change-Id: Ifa25704d91bdd9de164b2baac835c38f0cdc0813
Reviewed-on: http://git-master/r/66576
Reviewed-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Tested-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

Rebase-Id: Ra8e388176b4d7d35915809d5272524ad0fa02cae

7 years agoARM: tegra: clock: Support restricted PLLM usage
Alex Frid [Sat, 12 Nov 2011 02:19:16 +0000]
ARM: tegra: clock: Support restricted PLLM usage

Added configuration option TEGRA_PLLM_RESTRICTED - when enabled,
PLLM - memory PLL - usage may be restricted to modules with dividers
capable of dividing maximum PLLM frequency at minimum voltage. When
disabled, PLLM is available as a clock source with no restrictions
(current configuration), which may effectively increase lower limit
for core voltage if high grade SDRAM is used.

Implemented PLLM restrictions in Tegra3 clock framework and DVFS, but
keep them disabled by default.

Bug 884419

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 5313ebcae92839146870d5865bc0f4cd08b35c61)
(cherry picked from commit 634647a9d2a8c1e03c8d98d0b2199950c947acc3)

Change-Id: I012452d92830ad6b63ec407350568b8c316b3caa
Reviewed-on: http://git-master/r/66512
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: Rded91b0aab5167ab2c6aa4ff3a7b7c7829cb221c

7 years agoarm: tegra: cardhu: pm299: enable shutdown from pin SHUTDB
Laxman Dewangan [Wed, 16 Nov 2011 13:03:27 +0000]
arm: tegra: cardhu: pm299: enable shutdown from pin SHUTDB

Enabling the shutdown from the pin SHUTDB.

bug 900732

Reviewed-on: http://git-master/r/65442
(cherry picked from commit fa523f222c1db34a0e11f433bde3e0f5e8c408f3)

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

Rebase-Id: R96ac32c68865680dc2b0448f918f4f60490709ba

7 years agoarm: tegra: cardhu: Register tegra based keyboard driver
Laxman Dewangan [Mon, 21 Nov 2011 14:28:38 +0000]
arm: tegra: cardhu: Register tegra based keyboard driver

Registering the tegra based keyboard driver.

bug 887629

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

Rebase-Id: R4bc41ee23fcbdd8c4320326884a88e3e245349e1

7 years agoarm: tegra: cardhu: Shutdown system if ONKEY press for long
Laxman Dewangan [Tue, 15 Nov 2011 15:37:12 +0000]
arm: tegra: cardhu: Shutdown system if ONKEY press for long

Powering off the cardhu if onkey is pressed for longer time
(more than 5 sec).
The short key (< 1 second) takes system into suspend,
the key press to 1 to 5 sec popup shutdown menu and more than
5 second power off the system.

bug 810512

Reviewed-on: http://git-master/r/65108
(cherry picked from commit 71ecd268ab0a3fb8417c1d9a13dcb5e06fc3ac7a)

Change-Id: I1da27b2464445131ae82bc67a419d064c8149d60
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/65805
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R7f958a5d99de7dc354d807acd75bc319cfe87b30

7 years agoARM: tegra: Cardhu/Enterprise: Phase in pixel/backlight adjustments
Matt Wagner [Mon, 24 Oct 2011 22:42:03 +0000]
ARM: tegra: Cardhu/Enterprise: Phase in pixel/backlight adjustments

Turns on phase_in_adjustments on for Cardhu / Enterprise and
updates flicker control

Reviewed-on: http://git-master/r/64522
(cherry picked from commit 9b217486322c4da8ba0df0ec6710caf94efbd721)

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

Rebase-Id: R5fe1e3693b242804bd20842eba9c5e8551101b52

7 years agoarm: tegra: cardhu: Put LDO4 in high power mode always
Laxman Dewangan [Mon, 14 Nov 2011 14:56:29 +0000]
arm: tegra: cardhu: Put LDO4 in high power mode always

Based on characterization, at high temperatures Tegra will
draw more than 1mA, which is what the datasheet reports for
the low-power mode of LDO4.
So removing the LOW_POWER mode flag which makes LDO4 in low
power mode in suspend.

bug 890770

Reviewed-on: http://git-master/r/64825
(cherry picked from commit f4263c693e235c52d7ad4ad32d2508b4a6393508)

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

Rebase-Id: R3cf4b2dfa2b5fea9fe281cad769fb5addc241abd

7 years agoARM: tegra: cardhu: Update dvfs tables for elpida & samsung
Ray Poudrier [Fri, 4 Nov 2011 01:29:39 +0000]
ARM: tegra: cardhu: Update dvfs tables for elpida & samsung

Added dynamic self-refresh field and updated arbitration settings.

Bug 896654

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

Reviewed-on: http://git-master/r/62297
(cherry picked from commit 9c60a6c5f5bc07253454a057e9b3e0046c574b45)

Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>

Reviewed-on: http://git-master/r/62535
(cherry picked from commit af73bb50258071d264645f655cae17ea70b9bd10)

Change-Id: Idf7382b1df0d4c06dbe763d5ab20918b48d50515
Reviewed-on: http://git-master/r/64983
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R99ee0ac14f211cd87174642acb3506028bcb3a74

7 years agoARM: tegra: cardhu: Expand EMC DFS table for Hynix DDR3
Ray Poudrier [Fri, 4 Nov 2011 01:12:15 +0000]
ARM: tegra: cardhu: Expand EMC DFS table for Hynix DDR3

- Added dynamic self-refresh field, and updated arbitration settings

Bug 896654

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

Reviewed-on: http://git-master/r/62296
(cherry picked from commit 31f9198bcc05c35cc4aa797e4f224aed62fdfc64)

Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>

Reviewed-on: http://git-master/r/62534
(cherry picked from commit a0977e407c3937aae077304ca1ec1f937419c07b)

Change-Id: I16b46da22d1a7c40bafcc1e55fd22f2979f3798b
Reviewed-on: http://git-master/r/64982
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R15d84c206780f90108f44ebe7cc4812d75d3e57f

7 years agoarm: tegra: Configuring kbc pins as per gpio nr
Laxman Dewangan [Wed, 9 Nov 2011 13:29:02 +0000]
arm: tegra: Configuring kbc pins as per gpio nr

Configuring the kbc pins such that the row/column is configured
in their respective GPIO number.

bug 804531

Reviewed-on: http://git-master/r/64033
(cherry picked from commit ec1c562461090170ce9515147954185c9a5bda44)

Change-Id: I5242bee91e767151022071022f195f0f1ca7bea2

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Change-Id: I3cb02c81b88db4284337177355caaea77ef48e12
Reviewed-on: http://git-master/r/65134
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R53249b9755afca077b20d6efde96c38ef02db360

7 years agoarm: tegra: cardhu: pm298: Support for PM305, PM311 and E1257
Jin Park [Thu, 6 Oct 2011 05:21:46 +0000]
arm: tegra: cardhu: pm298: Support for PM305, PM311 and E1257

PM298 what MAX77663 PMIC supports for PM305, PM311 and E1257 based
systems.

Reviewed-on: http://git-master/r/56365
(cherry picked from commit 7ed6615501bf406e0fca79e559e60e896b07bea2)
Signed-off-by: Jin Park <jinyoungp@nvidia.com>

Change-Id: Ie4e376fdadf530d25bc3d446d925fde08f42e2b1
Reviewed-on: http://git-master/r/65067
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rf6feb97cfccb4993e40b95ae2ff07a2822fef80a

7 years agoarm: tegra: cardhu: pm298: Remove SDMMC1_VDD control for PM269
Jin Park [Thu, 6 Oct 2011 06:20:53 +0000]
arm: tegra: cardhu: pm298: Remove SDMMC1_VDD control for PM269

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

Reviewed-on: http://git-master/r/56367
(cherry picked from commit b30687a50bb2bf520d71e02339d01481c2d418bd)
Signed-off-by: Jin Park <jinyoungp@nvidia.com>

Change-Id: I24d37dec2fa064c8a25526352247bcc9d3a002f9
Reviewed-on: http://git-master/r/65066
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R86cfccdc962147722f40b6dbcd4d6c81d9afb169

7 years agoarm: tegra: cardhu: pm298: Fix SDMMC regulator registration
Jin Park [Thu, 6 Oct 2011 07:20:47 +0000]
arm: tegra: cardhu: pm298: Fix SDMMC regulator registration

Use the device driver name instead of encoding the SDMMC controller
in the regulator supply name.
This change is came from commit 676dd57f8eb252ce61807c02e5153b4ee4e29418,
and it was reviewd on http://git-master/r/#change,53783.

Reviewed-on: http://git-master/r/56368
(cherry picked from commit 03aa6082f7db7006de6e9c357fcf04e0d395fb16)
Signed-off-by: Jin Park <jinyoungp@nvidia.com>

Change-Id: If80057e52feb29598e2b6bff2e729277f7828531
Reviewed-on: http://git-master/r/65065
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rdb7c61e477e59a56237e0ea89c37848552842323

7 years agoarm: tegra: cardhu: pm298: Correct min_uV for SD1 power rail
Jin Park [Mon, 10 Oct 2011 08:42:17 +0000]
arm: tegra: cardhu: pm298: Correct min_uV for SD1 power rail

Previously it is configured SD1 min_uV to 1.05V to avoid voltage
under-shooting issue on SD1 power rail.
But it doesn't need after safe voltage scaling step patch for
max77663 regulator driver.

Reviewed-on: http://git-master/r/56962
(cherry picked from commit 3ea4ea8a5594cb8b5781bfd06816993b0a3e90cf)

Change-Id: Ied2b8e54f2ac05182b1e0d256e48cda2b6aab0b4
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/65064
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rd4e1d0ea5f087fe223bb8bb5722c972031012678

7 years agoarm: tegra: cardhu: pm298: Add regulator supply for NCT1008
Jin Park [Thu, 17 Nov 2011 02:08:30 +0000]
arm: tegra: cardhu: pm298: Add regulator supply for NCT1008

Adding regulator supply "vdd" for NCT1008 into PM298 what MAX77663 PMIC.

Reviewed-on: http://git-master/r/56366
(cherry picked from commit 3db418ee3342f70cb8bfbb7edc0e897d69a826c9)

Change-Id: Iba41fac3e8a92bc0e9f6ed4037b48bfded32e271
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/65063
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rd14450aeff9bcd71c086266aa41114fcd6446970

7 years agoarm: tegra: cardhu: KEY_POWER event through ONKEY for PM298
Jin Park [Thu, 27 Oct 2011 08:59:26 +0000]
arm: tegra: cardhu: KEY_POWER event through ONKEY for PM298

ONKEY is connected with PMU and PMU generates power-on interrupt.
PM298's power-on interrupt was handled as KEY_POWER event using
interrupt keys driver.

Bug 849360

Reviewed-on: http://git-master/r/60654
(cherry picked from commit 733e3c5dd9b8748c2431eb28accb9b3638919c48)

Change-Id: I15b8fc6d672af5987e0f790ffc8b005e38340458
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/64868
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rb67a1dcf46e426ba3700e238bc58088f681e0a92

7 years agoarch: arm: Enable HDA on cardhu and enterprise
Sumit Bhattacharya [Fri, 21 Oct 2011 15:58:40 +0000]
arch: arm: Enable HDA on cardhu and enterprise

Bug 872652

Change-Id: I89e505f6dedbb9de1a457f797362265cf06e76bb
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/59631
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R7fe0c4c73775ef9f745d2d99cb8ee4eeef3858f1

7 years agoARM: Tegra: Don't switch to DAP2-HDA path
Sumit Bhattacharya [Tue, 15 Nov 2011 10:11:44 +0000]
ARM: Tegra: Don't switch to DAP2-HDA path

SND_HDA_CODEC_REALTEK config by default gets enabled when SND_HDA_INEL
config is enabled. Just enabling realek HDA codec compilation flag
does not mean board has same installed. Remove code which switches
DAP2-I2s21 path to DAP2-HDA based on CONFIG_SND_HDA_CODEC_REALTEK
check.

Bug 872652
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>

Change-Id: I5334d156ed50dfa37fa4b5b6b2e1f34049b762a0
Reviewed-on: http://git-master/r/64402
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R9c70411abf91029075facf6f22f9612cdfcdb4fd

7 years ago3.0: mfd: mfd_data has been removed
Dan Willemsen [Tue, 29 Nov 2011 22:11:28 +0000]
3.0: mfd: mfd_data has been removed

Use platform_data instead

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

Rebase-Id: Rad998951cfaa5d2ad85a0e6de1ca81d5ac39f20c

7 years agoarm: tegra: cardhu: Integrate MAX77663 PMIC into Cardhu
Jin Park [Tue, 15 Nov 2011 09:12:41 +0000]
arm: tegra: cardhu: Integrate MAX77663 PMIC into Cardhu

Integrating MAX77663 PMIC based PM269 board into the Cardhu board.
The system will be find the correct PMIC using the Board ID of PMIC
in the Cardhu init phase.

Bug 849360

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

Change-Id: I41a52b70d27378e6240522c16256f8c7e42144b5
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/64399
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R6baa5408a249a41d577f22da8476ad020600b12d

7 years agoarm: tegra: cardhu: Enable 8-bit support for emmc
Pavan Kunapuli [Tue, 15 Nov 2011 16:27:57 +0000]
arm: tegra: cardhu: Enable 8-bit support for emmc

Enable 8-bit support for eMMC cards.

Bug 896706

Change-Id: I075d2b86c9953edca687d36f35c1aab7cccbb71a
Reviewed-on: http://git-master/r/64494
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: Rb9b734950a41200456eaf7221b6f70a94598c964

7 years agoARM: Tegra: Power: use new api to get cpu regulator max_curr
Diwakar Tundlam [Thu, 20 Oct 2011 23:43:56 +0000]
ARM: Tegra: Power: use new api to get cpu regulator max_curr

used when the chip SKU is T33/T33S (cardhu case) or AP33 (enterprise case) to
initialize edp with a higher cpu regulator max_curr value.

bug 888679

Change-Id: Icb50b33b1fc9b1248886e040f4b9b927feee4242
(cherry picked from commit ea572ebf71bbced17f2df2313f03e032949fac68)
Reviewed-on: http://git-master/r/64210
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R98017f0f2bbf6e745961c427d1dc2d05e042b303

7 years agoarm: tegra: cardhu: Put LDO7/8 to OFF in sleep state
Laxman Dewangan [Fri, 28 Oct 2011 13:30:55 +0000]
arm: tegra: cardhu: Put LDO7/8 to OFF in sleep state

Putting the LDO7 and LDO8 to OFF in sleep state.

bug 892613

Reviewed-on: http://git-master/r/63500
(cherry picked from commit 52897937e5c30cd7e0e6c096f166936a0d396a4f)

Change-Id: Ie51594f739e5e581dec17733550ebd4e8d28e040
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/64046
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R58fc9d4c16f990658da18822505d0d9dbe7a31a5

7 years agoarm: tegra: cardhu: correct supplied_to battery driver name
Pritesh Raithatha [Mon, 14 Nov 2011 09:47:39 +0000]
arm: tegra: cardhu: correct supplied_to battery driver name

supplied_to battery driver name is used to link charger
 driver with battery driver. Using that upon
 power_supply_changed() of charger, external_power_changed()
 of battery driver get called.

Bug 872590

Change-Id: Ib80c1770a5a519d21430b3fad5759a848f5db1f3
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/64078
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rced3500a496746d8186f44e2948a37f6b1cb66b8

7 years agoarm: tegra: cardhu: pm299: Controls cpu power through PWRREQ2
Laxman Dewangan [Mon, 7 Nov 2011 06:26:09 +0000]
arm: tegra: cardhu: pm299: Controls cpu power through PWRREQ2

Controlling cpu power through external power request PWRREQ2.

Reviewed-on: http://git-master/r/62896
(cherry picked from commit a49db43178ed94f0f7081b18ba89bbeb7e6188b6)

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

Rebase-Id: R6521e88cf1c1854d8b8acd2d5a4990b1a7c03a60

7 years agoarm: tegra: cardhu: Register ricoh583 pmu driver
Laxman Dewangan [Tue, 8 Nov 2011 10:54:13 +0000]
arm: tegra: cardhu: Register ricoh583 pmu driver

Registering the ricoh583 pmu driver.

Change-Id: I3547522d661852826185e50b6958234a04ca0b4b
Reviewed-on: http://git-master/r/62948
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R458057614dd9db4aeb34d37de20c6753e78b3e51

7 years agoarm: tegra: cardhu: pm299: Onkey support
Laxman Dewangan [Mon, 31 Oct 2011 10:08:20 +0000]
arm: tegra: cardhu: pm299: Onkey support

Enabling the onkey for pm299 based system. This
will be used to wakeup/suspend the system.

Reviewed-on: http://git-master/r/61901
(cherry picked from commit e86410259e234d0c6ab9acdab7ab0e0fa36309ca)

Change-Id: I48c1e8ad44fa1a991b357e924baf9e0b3ba74563
Reviewed-on: http://git-master/r/62914
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R075c1d69a70af7d4b90a61315ed1b025528fce61

7 years agoarm: tegra: power: set throttling temperature = 85C
Diwakar Tundlam [Fri, 2 Sep 2011 17:38:24 +0000]
arm: tegra: power: set throttling temperature = 85C

Earlier value of 75 had unnecessary double guardbanding.
Changed 90C row in EDP table down to 85C to get throttling alert.

Bug 862301

Reviewed-on: http://git-master/r/50544
(cherry picked from commit 9f2693a80274bcd9eb8e7424bca87f34cc190741)

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

Rebase-Id: Rca01083973997a932972c54734ad60fc0a838105

7 years agoarm: tegra: power: guardbanding only for accuracy of TDiode
Diwakar Tundlam [Thu, 8 Sep 2011 17:59:56 +0000]
arm: tegra: power: guardbanding only for accuracy of TDiode

Bug 844025

Reviewed-on: http://git-master/r/51443
(cherry picked from commit 1abdcb266a1fa22fd766549d5eddcca92e1fb17e)

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

Rebase-Id: Rb3c087972a3ead5b298dbd6756994f2b95995561

7 years agoarm: tegra: kbc: cardhu/enterprise: Set scan times
Laxman Dewangan [Sun, 30 Oct 2011 13:21:23 +0000]
arm: tegra: kbc: cardhu/enterprise: Set scan times

Setting the number of scans to 30 by keyboard controller after
pressed key released.
Also setting repeat delay time to 1 clock.

bug 876712

Reviewed-on: http://git-master/r/62592
(cherry picked from commit 9afabbf3d72135346b02c9a2cf48e4793fb90d43)

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

Rebase-Id: Rff2ef90d39a71cb0692cf620872c73b2ea73d164

7 years agoarm: tegra: enterprise: cardhu: pn544 nfc support
Rakesh Goyal [Mon, 7 Nov 2011 20:30:31 +0000]
arm: tegra: enterprise: cardhu: pn544 nfc support

1) configuring pinmux
2) create pn544_i2c_platform_data
3) register i2c device info using i2c_register_board_info

Bug 846684
Bug 873017

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

Rebase-Id: R0c8935bff65dd500d2e7afd4aef441e32ab3e50a

7 years agoArm: Tegra: Cardhu: pm269: Add ramp voltage for LDO3
Pavan Kunapuli [Thu, 8 Sep 2011 14:13:56 +0000]
Arm: Tegra: Cardhu: pm269: Add ramp voltage for LDO3

The ramp voltage for the ldo3 for PM269 is around 1mV/us.
Setting this value.

bug 872382

Reviewed-on: http://git-master/r/51364
(cherry picked from commit aa84b06982dbea58b815fc99bbbf84c7bdaddc78)

Change-Id: I2b7cd8883c06250490c3e27dd28384985706aa68
Reviewed-on: http://git-master/r/62341
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R74b6d629197cc9b1cc591a4ac318f7105c7f28c5

7 years agotegra: usb: otg: factorize host registration code
Alexandre Courbot [Wed, 2 Nov 2011 07:57:31 +0000]
tegra: usb: otg: factorize host registration code

OTG host register/unregister functions were duplicated identically
across all board files, making the code difficult to maintain (and
actually some boards did not get all some code fixes leading to the same
bug being met again and again). This patch moves this common code into
tegra-otg.c.

Bug 884315
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Change-Id: I99b118664f0481f6c5470411b43f36609e0feb52
Reviewed-on: http://git-master/r/61763
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: Rd9299cca0d0de521f6f81ac450db3df55b5c5ff4

7 years agoarm: tegra: cardhu: Configure LDO4/7/8 in lp mode in suspend
Laxman Dewangan [Wed, 19 Oct 2011 08:21:49 +0000]
arm: tegra: cardhu: Configure LDO4/7/8 in lp mode in suspend

Configuring the LDO4, LDO7 and LDO8 in low power mode in suspend.

bug 890770

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

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

Rebase-Id: Rd5f3000c7845e3967b542268feaeeff169ad7498

7 years agoarm: tegra: cardhu: Enable i2s3 and BT device
Sumit Bhattacharya [Thu, 3 Nov 2011 07:08:53 +0000]
arm: tegra: cardhu: Enable i2s3 and BT device

Enable i2s3 and bluetooth dit device for cardhu. Also add i2s2 clock in
clock table. It is needed to support BT SCO playback/record.

Bug 872652
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>

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

Rebase-Id: R035bff07f147e9100956df6c238bf7df60d89e93

7 years agoarm: tegra: cardhu: Select debug console from kernel command line
Laxman Dewangan [Sun, 11 Sep 2011 04:52:05 +0000]
arm: tegra: cardhu: Select debug console from kernel command line

Selecting debug console from linux command line.

bug 795847

Reviewed-on: http://git-master/r/51723
(cherry picked from commit ce5675f5a7607f9e549f84c42bea3df6f14c9008)

Change-Id: Ia242b6b0fed0b9d2fad6c66a14895e5574f6f5b9
Reviewed-on: http://git-master/r/61422
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R3fd2b06fefa1b153d2c739c5d7c55b2265659225

7 years agoarm: tegra: initialise dam/ahub audio clocks
Nikesh Oswal [Tue, 18 Oct 2011 10:18:06 +0000]
arm: tegra: initialise dam/ahub audio clocks

Bug: 862023

Change-Id: I62a66cdf12fb78132d78b2e6853d32c3f8a8d68a
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/58675
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R764cea18343aaf8d6d497c63b8ce51c4aa5383cf

7 years agoarm: tegra: register dam device in various boards
Nikesh Oswal [Mon, 24 Oct 2011 05:13:41 +0000]
arm: tegra: register dam device in various boards

Bug: 862023

Change-Id: Ibdb12ce9ae50b30e4c25ea43adc4c8c7e6516858
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/59863
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R36a1b36b2e0ce268404ca7c9ef4ae252c4622c14

7 years agoarm: tegra: cardhu: Reset Modem during init
BH Hsieh [Fri, 14 Oct 2011 05:00:36 +0000]
arm: tegra: cardhu: Reset Modem during init

Set GPIO direction to high on main k39 branch.

bug 817238

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

Rebase-Id: R3a80bfd11cd3959fd2c760eda277f6db42ecb333

7 years agoarm: tegra: cardhu: enable LP0
Wen Yi [Tue, 25 Oct 2011 23:18:46 +0000]
arm: tegra: cardhu: enable LP0

Enable LP0 for cardhu family boards.

BUG 893759

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

Rebase-Id: Rd7c4a6633a428895ebdb1e98932c696e7587271e

7 years agoARM: tegra: clock: Remove Tegra3 initial pll_m refcount
Alex Frid [Tue, 25 Oct 2011 01:51:32 +0000]
ARM: tegra: clock: Remove Tegra3 initial pll_m refcount

Removed Tegra3 pll_m refcount from common and board initialization.
As a result pll_m is turned off when all client clocks are disabled.
Added pll_m disable/enable control via PMC registers - this one
actually works on Tegra3; kept clock register control in place, just
in case.

Originally implemented in dee91eaf47a7e6b392e9663170dcfdcdde73446c.

Bug 888476

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

Rebase-Id: R8de74a2b14d06ef754ba043f07a95ad636924c65

7 years agovideo: tegra: support display board PM313
Hyungwoo Yang [Mon, 24 Oct 2011 22:06:17 +0000]
video: tegra: support display board PM313

This change supports PM313 with 19X12 panel.
The change uses PM313 in "Single input to Dual output" mode

Bug ID : 822980
Reviewed-on: http://git-master/r/50215
(cherry picked from commit b83e795747fa860b5b7fb66b2067ebe4f15bcfd0)

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

Rebase-Id: Rda6368b3e3d31b508be0cee4b13b322125495226

7 years agoARM: tegra: Fix board-specific initcalls
Dan Willemsen [Mon, 24 Oct 2011 21:32:09 +0000]
ARM: tegra: Fix board-specific initcalls

These initcalls weren't ensuring that they're actually running on the
board they care about, which breaks on a multi-board kernel.

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

Rebase-Id: Rf189bc5a0510612b55504b3412f01cf8470038d0

7 years agoARM: tegra: fix invalid return
Colin Patrick McCabe [Wed, 19 Oct 2011 19:06:18 +0000]
ARM: tegra: fix invalid return

Change-Id: Iaa3debdcbf16ff3243c635d2fd23a3e17bc35103
Signed-off-by: Colin Patrick McCabe <cmccabe@nvidia.com>
Reviewed-on: http://git-master/r/59169
Reviewed-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R191e18882409373cf238f6588c91cbfc48daebb5

7 years agoarm: tegra: cardhu: update ina monitor for VDD_CORE_IN
Nitin Kumbhar [Tue, 18 Oct 2011 10:38:39 +0000]
arm: tegra: cardhu: update ina monitor for VDD_CORE_IN

for fab A04 of cardhu, VDD_CORE_IN is monitored with ina monitor
present at i2c addr 0x4A. Update platform data to accommodate
this change.

Also, remove hard-coded indexes used in platform data and i2c
board info.

BUG 883788

Reviewed-on: http://git-master/r/58678
(cherry picked from commit 8e1628bc03bd4a1fde574187a017f67b6358c180)

Reviewed-on: http://git-master/r/59309
(cherry picked from commit ab3a20d05dd46483604f61fabfe865476bc448ac)

Change-Id: I48cc76fff912e702e4862014adf19806c58da915
Reviewed-on: http://git-master/r/59316
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R9642d23012d370a536ab72e050de059112d1e7bd

7 years agoarm: tegra: cardhu: Support Fab A05
Laxman Dewangan [Tue, 27 Sep 2011 09:50:07 +0000]
arm: tegra: cardhu: Support Fab A05

Support for E1291-A05 board.

bug 881745

Reviewed-on: http://git-master/r/58053
(cherry picked from commit be104b795f0c46b8bbe1e45ca618fed74d81a7c6)

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

Rebase-Id: R6450506e02427f4bae13857a52ed43dd530e720a

7 years agoarm: tegra: Make kernel buildable without nvhost
Terje Bergstrom [Thu, 6 Oct 2011 07:55:04 +0000]
arm: tegra: Make kernel buildable without nvhost

Cuts dependencies to nvhost by adding a Kconfig dependency from DC to
GRHOST and from HD Audio to DC. Configure out calls to nvhost in board
panel files if GRHOST is not present.

Bug 870898

Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>

Change-Id: If7830528e321e951bcadc2a10515e6cab58a6cdf
Reviewed-on: http://git-master/r/56370
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Chris Dragan <kdragan@nvidia.com>

Rebase-Id: R0a41df10957fd98959b546fc9439402c9e6d18c6

7 years agoarm: tegra: cardhu: OV14810 sensor support
kdivvela [Fri, 30 Sep 2011 13:04:14 +0000]
arm: tegra: cardhu: OV14810 sensor support

Support for OV14810 sensor on cardhu

Bug 839441

Reviewed-on: http://git-master/r/51985
(cherry picked from commit f1aea025b145a884ac4cc507c86c647ca65e348f)

Change-Id: I9db882aab6f8ae89c4d463b9d6825e7c7cfd2928
Reviewed-on: http://git-master/r/58660
Reviewed-by: Krupal Divvela <kdivvela@nvidia.com>
Tested-by: Krupal Divvela <kdivvela@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8f2a1692deba888e2d0476ea2159a1e36722cc63

7 years agoarm: tegra: cardhu: change i2c pll src to pll_p
Alok Chauhan [Wed, 12 Oct 2011 09:01:04 +0000]
arm: tegra: cardhu: change i2c pll src to pll_p

Change the pll source of i2c from CLK_M to PLL_P_OUT0.

Bug 856468

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

Rebase-Id: R04fd8dd082ad497a7ca7673f593fb4e309b3a2da

7 years agoarm: tegra: cardhu: Initialize gpio pins mode
Laxman Dewangan [Tue, 4 Oct 2011 12:58:57 +0000]
arm: tegra: cardhu: Initialize gpio pins mode

Initializing the pins which is used in gpio to their inital state.

bug 876305

Reviewed-on: http://git-master/r/57516
(cherry picked from commit 3f33cb777295669e71e291bb05651d3c6c4b37d5)

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

Rebase-Id: R647b033cdcc7abbdcad77e58b170f20b08a53e6b

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