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

7 years agoarm: tegra: cardhu: Fix the issue of boot screen corruption.
Kevin Huang [Wed, 6 Jul 2011 01:27:43 +0000]
arm: tegra: cardhu: Fix the issue of boot screen corruption.

- The issue is due to the corruption of bootloader fb during kernel
initialization. This change reserves the bootloader fb and then
frees it until bootloader fb is copied to fb for Cardhu, Ventana,
Whistler, Enterprise and Aruba.
- Change color depth of Cardhu and Harmony to 32-bit.

Bug 828271
Bug 832016

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

Rebase-Id: Rc122efc2a98e59008251ff49305af34ee6c5c34b

7 years agoARM: tegra: cardhu: Fix clock-related issues on display.
Kevin Huang [Thu, 30 Jun 2011 22:04:42 +0000]
ARM: tegra: cardhu: Fix clock-related issues on display.

- Set parent clock for lvds and HDMI to avoid clock source conflict.
- Fixed short lvds shutdown during booting.

Bug 847219

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

Rebase-Id: Rba7d9c9d88f95482e0bb3579af1e80b5e2ff65ed

7 years agoarm: tegra: tsensor: driver instantiation
Bitan Biswas [Fri, 10 Jun 2011 07:39:00 +0000]
arm: tegra: tsensor: driver instantiation

Tegra internal tsensor driver supported for fuse revision 0.8
and above.

Bug 661228

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

Rebase-Id: Rc8d1a03922da3d6aade6d211a997df1e13a333f8

7 years agoarm: tegra: cardhu: Fix warnings when USB_SUPPORT is disabled
Krishna Monian [Thu, 23 Jun 2011 18:26:01 +0000]
arm: tegra: cardhu: Fix warnings when USB_SUPPORT is disabled

Original-Change-Id: Id798fd4c2d3a0484933bd2d1778fe9abb106a20e
Reviewed-on: http://git-master/r/38121
Tested-by: Krishna Monian <kmonian@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Vivek Aseeja <vaseeja@nvidia.com>

Rebase-Id: R1c20a6e7f1f1a29e673839fc8a60860b93adcc35

7 years agoARM: tegra: cardhu/enterprise: Binwidth Specific smartdimmer Settings
Matt Wagner [Wed, 22 Jun 2011 18:12:14 +0000]
ARM: tegra: cardhu/enterprise: Binwidth Specific smartdimmer Settings

Added support for Binwidth specific LUT and BLTF

Bug 721258

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

Rebase-Id: R88cf77970c2808fb6060ee11f5db8392a6415aa6

7 years agoARM: tegra: cardhu: Update vid_oc pin for pm269
Ray Poudrier [Wed, 6 Jul 2011 16:22:28 +0000]
ARM: tegra: cardhu: Update vid_oc pin for pm269

Correct pingroup is DAP3_DOUT

Bug 825778

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

Rebase-Id: Rb3bb758d23520c165fa6369bcb16979ec1824b5b

7 years agoarm: tegra: cardhu: add support for TPS61050 flash driver
Danielle Sun [Thu, 26 May 2011 23:52:24 +0000]
arm: tegra: cardhu: add support for TPS61050 flash driver

Bug 794431

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

Rebase-Id: R4427050d243067273f1035b4d7f18db3c8c0ee51

7 years agoarm: tegra: cardhu: correct rail_names in ina219_platform_data
Pritesh Raithatha [Mon, 4 Jul 2011 09:00:02 +0000]
arm: tegra: cardhu: correct rail_names in ina219_platform_data

Bug 844743

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

Rebase-Id: Rc4967909a7a47860073144c11f69b73453e1e897

7 years agoarm: tegra: pm269: Low power mode to unused vddio-gmi pins
Laxman Dewangan [Fri, 1 Jul 2011 15:05:49 +0000]
arm: tegra: pm269: Low power mode to unused vddio-gmi pins

Putting the unused vddio_gmi pins into the low power mode.

bug 833087

Original-Change-Id: I7595d011a61d5993fee167e89ed7eb204d5cb6b6
Reviewed-on: http://git-master/r/37877
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R3fa74a5ebc7720b95f91f8da7b665e634522f210

7 years agoARM: tegra: cardhu: Add 408MHz node to EMC DFS table
Alex Frid [Thu, 30 Jun 2011 18:40:52 +0000]
ARM: tegra: cardhu: Add 408MHz node to EMC DFS table

Bug 836260

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

Rebase-Id: R1edb58986433fd6cc95ddecf0ef38e8c41f81fed

7 years agoARM: tegra: power: Update Tegra3 EMC DFS table
Ray Poudrier [Wed, 22 Jun 2011 01:00:19 +0000]
ARM: tegra: power: Update Tegra3 EMC DFS table

Add EMC table for LP-DDR2 Samsung memory

Original-Change-Id: I931bbb0d2283ad94d130803cef7c08b6da5923a1
Reviewed-on: http://git-master/r/37757
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Racdadadfeb4438faab94ca2bea4d9665da381d18

7 years agoarm: tegra: cardhu: handle regulator_get error
Prayas Mohanty [Wed, 22 Jun 2011 11:05:43 +0000]
arm: tegra: cardhu: handle regulator_get error

For sh532u, when regulator_get fails, it still returns
unwanted value. Reset regulator variable to NULL and
return error.

bug 841078

Original-Change-Id: I7265b2b5ca40405c92555a242d7d39f5dfe2bb07
Reviewed-on: http://git-master/r/37848
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R74efd1bf6a77b71f19a32058f55ba094e213648d

7 years agoarm: tegra: cardhu: enable PMU features for lp0
Luke Huang [Wed, 25 May 2011 01:00:49 +0000]
arm: tegra: cardhu: enable PMU features for lp0

Enable PMU only features for LP0. System-wise LP0 is not enable by default yet.

1. Allow pmu SLEEP state
2. Keep 32KHz clk out from PMU enabled on LP0
3. Set core_power_req to be high enable
4. Turn off VDD1 (power for Vcore) on LP0

Original-Change-Id: Id6babdfc36de1a597f8df5d2943ef048699013d4
Reviewed-on: http://git-master/r/32853
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Tested-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R1be5db70870d950a7ffe1361e60aad4156398172

7 years agoarm: tegra: cardhu: Uart platform data for hsuart driver
Laxman Dewangan [Tue, 21 Jun 2011 10:47:07 +0000]
arm: tegra: cardhu: Uart platform data for hsuart driver

Adding uart platform data for the hsuart driver. Passing the
clock information through the platform data.

bug 837140
bug 836059

Original-Change-Id: I321cd904ea072b0bc931016d46a4fa8462c28c8d
Reviewed-on: http://git-master/r/37636
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R2012b1e682e406e31818f38eff0e4c9e8e7358eb

7 years agoarm: tegra: pm269: Correct the input supply for HDMI
Alok Chauhan [Thu, 9 Jun 2011 16:29:09 +0000]
arm: tegra: pm269: Correct the input supply for HDMI

change the input supply to master 5v to enable VDDIO_HDMI
signal for HDMI.

Bug 825778
Bug 823160

Original-Change-Id: I2d6360ab3769ff876bdb7d0e0b34d9298aa780d0
Reviewed-on: http://git-master/r/35904
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R0ad5c2ba75a7fd6c5ab26f27e6aa987681a6b014

7 years agoarm: tegra: cardhu: Modify modem w_disable control.
Raj Jayaraman [Mon, 13 Jun 2011 21:18:41 +0000]
arm: tegra: cardhu: Modify modem w_disable control.

Gpio controlling w_disable has changed since Fab3.
Modify it accordingly.

Bug 819563

Original-Change-Id: Idbeb9467168aa91c5cf942f72ec5d581a28dc4d1
Reviewed-on: http://git-master/r/36368
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R9f571abed87a8da6005f2933d2292f502b05d977

7 years agoARM: tegra: power: Enable LP2 mode on Cardhu platform
Scott Williams [Mon, 15 Aug 2011 19:37:21 +0000]
ARM: tegra: power: Enable LP2 mode on Cardhu platform

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

Rebase-Id: Rfadb990de8dc73fd53392029cc622629c8b986bd

7 years agoARM: tegra: Cardhu/Ventana only select ..._TEGRA_WM8903 if SND_SOC
Dan Willemsen [Fri, 5 Aug 2011 21:23:17 +0000]
ARM: tegra: Cardhu/Ventana only select ..._TEGRA_WM8903 if SND_SOC

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

Rebase-Id: R3d86302e4520a8e1ea3be8cd59e3dadf23b8fa56

7 years agoARM: Tegra: ALSA support for Cardhu
Stephen Warren [Tue, 26 Jul 2011 20:08:31 +0000]
ARM: Tegra: ALSA support for Cardhu

Define GPIO names, platform data, and platform devices for audio support
on Cardhu.

Configure/register the WM8903 IRQ gpio.

Don't statically configure most audio-related clocks; the ASoC utils code
sets this all up now.

Signed-off-by: Stephen Warren <swarren@nvidia.com>

Rebase-Id: R77ca15a61948eefd790d97cbfe1470d2687c5b73

7 years agoARM: tegra: cardhu: Disable power management features
Scott Williams [Fri, 22 Jul 2011 18:58:27 +0000]
ARM: tegra: cardhu: Disable power management features

Tegra3 power management features have not been fully ported to
Linux 2.6.39 yet. Disable them temporarily.

Change-Id: Id9e1ebcab5f665845e6d1b685364f9cea9fe7329
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Rd813fa7d2be0ae8eec44c02834e21c2a47b5a846

7 years agoARM: tegra: cardhu: Use common IRAM carveout
Scott Williams [Fri, 22 Jul 2011 23:07:40 +0000]
ARM: tegra: cardhu: Use common IRAM carveout

Change-Id: I9dcd5b3c9351f191b23ee79da18ace1fc9fc471c
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
DW: Split into logical changes
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R7c407cef86d974e412761c2ba693047088d9bcf2

7 years agoHACK: cardhu: get sdmmc working
Dan Willemsen [Wed, 15 Jun 2011 01:03:18 +0000]
HACK: cardhu: get sdmmc working

Rebase-Id: Rddb2de215a6dfab3847428c1d9a76b0f7cab1fa0

7 years agoHACK: cardhu: Disable KBC for now
Dan Willemsen [Fri, 15 Jul 2011 21:03:28 +0000]
HACK: cardhu: Disable KBC for now

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

Rebase-Id: R02186adb5bea70779d009189fd4a8ab6878963c3

7 years agoARM: tegra: cardhu: Enable Atmel touchscreen
Dan Willemsen [Thu, 14 Jul 2011 20:52:33 +0000]
ARM: tegra: cardhu: Enable Atmel touchscreen

Config from android-tegra-2.6.36
bd2851636f71599498952db09c81a26d9e378da4

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

Rebase-Id: Rb0c3ce1016f3ac17efa259c4bc1515d9bdf17e21

7 years agofixup: cardhu k39 updates
Dan Willemsen [Tue, 14 Jun 2011 01:41:18 +0000]
fixup: cardhu k39 updates

Rebase-Id: R3bfb891d902c53397bf23a004e1df078dc5a53d8

7 years agoHACK: cardhu: ignore audio
Dan Willemsen [Tue, 14 Jun 2011 01:41:00 +0000]
HACK: cardhu: ignore audio

Rebase-Id: R64fe759b83c0a49cd92e985610dcae070d1fc123

7 years agoHACK: cardhu: sdhci disable for upstream driver
Dan Willemsen [Tue, 14 Jun 2011 01:40:39 +0000]
HACK: cardhu: sdhci disable for upstream driver

Rebase-Id: Rf9b3ef358ab12992fef3a90c60ea1644c6194cf7

7 years agoARM: tegra: Update cardhu boardfiles for K39
Dan Willemsen [Mon, 13 Jun 2011 22:35:15 +0000]
ARM: tegra: Update cardhu boardfiles for K39

Rebase-Id: R53c264de0e30d06937fd88d97b9709b35c069f6d

7 years agoARM: tegra: cardhu: Disable internal tegra RTC
Dan Willemsen [Fri, 15 Jul 2011 20:42:27 +0000]
ARM: tegra: cardhu: Disable internal tegra RTC

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

Rebase-Id: R037ebd07e577e915fbdd5c524e412d0838afad0b

7 years agoARM: tegra: cardhu: Mark usb otg funcs static
Dan Willemsen [Sun, 26 Jun 2011 03:47:58 +0000]
ARM: tegra: cardhu: Mark usb otg funcs static

Rebase-Id: Rbcbf7c8bf9f1bc189aa356687466760f2d13fcf1

7 years agoarm: tegra: cardhu: support for PMUA03/A04
Laxman Dewangan [Tue, 14 Jun 2011 18:17:44 +0000]
arm: tegra: cardhu: support for PMUA03/A04

The core_pwr_req signal need to be make high for the PMU A03 and A04.

bug 829846

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

Rebase-Id: Ra97979df79f413641d2d862f982e6a7a114c2387

7 years agoarm: tegra: cardhu: Board changes for powermon
venu byravarasu [Mon, 13 Jun 2011 06:53:48 +0000]
arm: tegra: cardhu: Board changes for powermon

Board details needed by INA219 power monitor device
to measure current, voltage and power on Cardhu are
being filled.

bug 808311

Change-Id: Idbee6034312f5bd888b1ed87ef98f531c45938a0
Reviewed-on: http://git-master/r/34299
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rcb4e4b1f79367f297801e5ceb3d124f5e31f01f8

7 years agoARM: tegra: dvfs: Update Tegra3 EMC DFS
Alex Frid [Thu, 9 Jun 2011 01:39:10 +0000]
ARM: tegra: dvfs: Update Tegra3 EMC DFS

Updated Tegra3 EMC DFS table to match new PLLP base frequency
(408MHz)  and enable power saving features.

Bug 836260

Change-Id: Ie85cda67804ea29a0df475464020b1e76176ea3b
Reviewed-on: http://git-master/r/36049
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>

Rebase-Id: Rdbb0343817c2aee5506f5ca78ead4807d4c76182

7 years agoarm: tegra: cardhu: Changes for E1291-A04 power rails
Laxman Dewangan [Wed, 8 Jun 2011 18:08:55 +0000]
arm: tegra: cardhu: Changes for E1291-A04 power rails

The E1291-A04 power rails are different then the A02/A03 version of E1291.
Supporting the A04 power rails properly.

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

Rebase-Id: Rafba9f71503029ac561c01ad7c97595926854917

7 years agoarm: tegra: cardhu: Remove cardhu_ov5650_late_init error during boot.
Abhiruchi Birajdar [Wed, 8 Jun 2011 14:06:37 +0000]
arm: tegra: cardhu: Remove cardhu_ov5650_late_init error during boot.

We need TCA6416 for E1187/E1188. It is not on E1198/E1291 boards.
So for E1198/E1291, we can return without doing anything in
cardhu_ov5650_late_init.

Bug: 822234
Change-Id: I25e0af2ed0da70ac33470b282f4446b6a9471be8
Reviewed-on: http://git-master/r/35707
Tested-by: Abhiruchi Birajdar <abirajdar@nvidia.com>
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>

Rebase-Id: Rf772a9a5f4c67d2a65983f3f8a507471b21bc862

7 years agoarm: tegra: cardhu: change framebuffer from 16 to 32 bpp
Brian Anderson [Mon, 6 Jun 2011 23:40:05 +0000]
arm: tegra: cardhu: change framebuffer from 16 to 32 bpp

Change-Id: I524435fefffeb0b62dd21d34d0523103ab01815f
Reviewed-on: http://git-master/r/35292
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R6b16dc3787f8f56eb5851424b316eb1f57881d43

7 years agoARM: tegra: cardhu: Keypad Support
vikasr [Fri, 27 May 2011 20:57:27 +0000]
ARM: tegra: cardhu: Keypad Support

Made changes in the code to include PM269's Keypad Functionality

Bug 833265

Change-Id: Iec996d9c0f8fe03a8f28278b0dfc80c699d14d26
Reviewed-on: http://git-master/r/34364
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rcc57d10bd56e131c46e996c7fc68aa6ee38a4a20

7 years agoARM: tegra: dvfs: Update Tegra3 EMC DFS
Alex Frid [Mon, 6 Jun 2011 22:45:45 +0000]
ARM: tegra: dvfs: Update Tegra3 EMC DFS

Updated Tegra3 EMC clock change procedure with periodic qrst support,
and EMC DFS tables.

Bug 836260

Change-Id: Ia3d7f58bf61ee6e695ab62f934388d4c1b4d2079
Reviewed-on: http://git-master/r/35321
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>

Rebase-Id: Rf17a6b73285ddf723c8629b56e6d8e56efb28798

7 years agoARM: tegra: cardhu: use 68MHz pixel clock
Jon Mayo [Thu, 2 Jun 2011 03:14:02 +0000]
ARM: tegra: cardhu: use 68MHz pixel clock

use 68MHz pixel clock for internal panel. On a 408MHz pll_p this works
out exactly. on 216MHz pixel clock, the driver rounds it up to 72MHz.

Bug 829081

Original-Change-Id: I9e4bd4a00389d7f36bd78fc6574874cfd56c977e
Reviewed-on: http://git-master/r/34834
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R18f54fe76df444f1f6152dfbf6343a38f0b1963c

7 years agoARM: tegra: clock: Change Tegra3 PLLP output frequency
Alex Frid [Sat, 28 May 2011 07:21:30 +0000]
ARM: tegra: clock: Change Tegra3 PLLP output frequency

On Tegra3 fixed PLLP output frequency has been set to 408MHz
(instead of 216MHz). Respectively changed:

- Tegra3 broads setting for UART, and audio clocks
- Tegra3 common clock setting for PLLP output dividers, SDMMC,
  and system buses
- Tegra3 CPU backup configuration to guarantee safe backup at
  any voltage

Bug 829081

Original-Change-Id: Ied0c75204ccb2e4a428f0b8a124f0f3e053aa386
Reviewed-on: http://git-master/r/34813
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rbdf484688e71d7f83e88da550b2a0c98136ea6d6

7 years agoarm: tegra: cardhu: do not enable clock to SE during init.
Varun Wadekar [Wed, 8 Jun 2011 07:09:15 +0000]
arm: tegra: cardhu: do not enable clock to SE during init.

Bug 835859

Original-Change-Id: Ie28b9f0c62aff874a7ef4153bdfe7b8606ac000e
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/35637
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R4bfca65717150aa9ae71ef77023740047e08cc5b

7 years agoarm: tegra: cardhu: Making selection of debug port dynamically.
Laxman Dewangan [Sat, 4 Jun 2011 02:35:55 +0000]
arm: tegra: cardhu: Making selection of debug port dynamically.

Handling the uart device initialization in separate init call
so that it will be easy to select the debug console based on
board id.
For E1186/E1187/PM269 with SKU-1002 enabling the UARTB as console channel.
For other cases, debug channel will remain as UARTA.

bug 832273

Original-Change-Id: I924085fbb05ed749d817584644342ee5d7104274
Reviewed-on: http://git-master/r/34468
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rb14a3b98f375735c4cb6a58ceef373da7917964b

7 years agoARM: tegra: cardhu: pass ac present interrupt and gpio to bq27x00
Pritesh Raithatha [Sat, 4 Jun 2011 13:33:16 +0000]
ARM: tegra: cardhu: pass ac present interrupt and gpio to bq27x00

-Define AC_PRESENT_INT
-Assign AC_PRESENT_INT to .irq of battery driver bq27x00
-Pass AC_PRESENT_GPIO to bq27x00 throught plarform data

Original-Change-Id: Ic493cc4be5ef38a75f026cfd7082315563a07214
Reviewed-on: http://git-master/r/32620
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Tested-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rbfe05a3a86c1c54e0c0dadf3640a1814b4b782f0

7 years agoarm: tegra: hsic: Remove use of hsic hub reset gpio on non-PM267 boards.
Michael Hsu [Sat, 7 May 2011 01:47:51 +0000]
arm: tegra: hsic: Remove use of hsic hub reset gpio on non-PM267 boards.

Only PM267 board has SMSC4640 HSIC hub, which requires reset signal.
Do not use HSIC hub reset gpio on non-PM267 boards.

Original-Change-Id: I12d33aeab1a0c67b429e651ad373bd71ac6938cc
Reviewed-on: http://git-master/r/30786
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R4937d49b112f656c5f16b6e087107f23a9c3ba69

7 years agoARM: tegra: cardhu: Power button to unlock screen
vikasr [Sat, 14 May 2011 00:32:49 +0000]
ARM: tegra: cardhu: Power button to unlock screen

Made changes in the code to include PM269's power button to
lock and unlock the screen.

Bug 824765

Original-Change-Id: I6cead8cfd2a84ffa6ba5ef654e690f2f675a3c77
Reviewed-on: http://git-master/r/31607
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Vikas Ramesh Kedigehalli <vikasr@nvidia.com>

Rebase-Id: R46af0c6c7b5baff9e72fe144eaa0127a05fa9de8

7 years agoARM: tegra: display: pm269: Support for lvds
Pradeep Goudagunta [Wed, 4 May 2011 11:39:13 +0000]
ARM: tegra: display: pm269: Support for lvds

Added support to boot with LVDS display by default on pm269 board.

Bug 823160

Original-Change-Id: I8013bc011328d4724f499af47aa1b118811cc3ec
Reviewed-on: http://git-master/r/30374
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Rb93de6230f72f44c7337773fa1fca60dd35f5c92

7 years agoARM: tegra: Cardhu: increase framebuffer size to 8M
Pritesh Raithatha [Thu, 2 Jun 2011 11:47:11 +0000]
ARM: tegra: Cardhu: increase framebuffer size to 8M

Bug 827221

Original-Change-Id: Iebb71993e618352766309d225908a0152b252bcb
Reviewed-on: http://git-master/r/34895
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Tested-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Kaushik Sen <ksen@nvidia.com>

Rebase-Id: Rbd1f4ef839d95f398f406c51ee690ffcc88dde9f

7 years agoARM: tegra: power: Update Tegra3 EMC DFS table
Alex Frid [Sat, 21 May 2011 04:57:28 +0000]
ARM: tegra: power: Update Tegra3 EMC DFS table

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

Rebase-Id: R3eee4a16493f149b6090fd96d64c17216e64a2e7

7 years agoarm: tegra: cardhu: Configuring DEV_SLP and gpio2 for A04
Laxman Dewangan [Mon, 23 May 2011 15:06:38 +0000]
arm: tegra: cardhu: Configuring DEV_SLP and gpio2 for A04

Configuring the tps6591x into DEV_SLP mode and
gpio2 of tps6591x into sleep mode for E1291-A04 board.

This is required in order to have the gpio2 follow the
'CORE_PWR_REQ' pin in E1291-A04. GPIO2 of tps6591x is
connected to the EN of the DC-DC converter which supply
core voltage.

bug 821295

Original-Change-Id: I01a8fa6c056872cff84dd0f2ae7601cee298ebcf
Reviewed-on: http://git-master/r/32614
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R7eb913eabd4b8a51a688eb3bd09dff1ffc5c9545

7 years agoFix incorrect license.
Maria Gutowski [Fri, 27 May 2011 01:44:51 +0000]
Fix incorrect license.

Original-Change-Id: Iefa77c7f9f8dcf9f21ea62ac4ccaf8a7954bfa99
Reviewed-on: http://git-master/r/34230
Reviewed-by: Maria Gutowski <mgutowski@nvidia.com>
Tested-by: Maria Gutowski <mgutowski@nvidia.com>

Rebase-Id: Re64906e5d722c94c6be66f53d18265672f668ebd

7 years agoARM: tegra: pm269: sdhci: Support for PM269
Pradeep Goudagunta [Wed, 4 May 2011 11:31:23 +0000]
ARM: tegra: pm269: sdhci: Support for PM269

Added support to read board ID and then configure clk frequency for
WiFi and SDCARD_WP gpio initialization.

Bug 823160

Original-Change-Id: Ia05c8258b275541c2130fc8a038a8fc4348a5866
Reviewed-on: http://git-master/r/30373
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Re4a5c9ef539f2273f3a108972c0890fc343fe86e

7 years agoarm: tegra: cardhu: Enabling Security Engine
Kasoju Mallikarjun [Tue, 24 May 2011 14:38:38 +0000]
arm: tegra: cardhu: Enabling Security Engine

bug 622025

Original-Change-Id: Ic01ad6e93a26b332e016fcef6dbc928918c25745
Reviewed-on: http://git-master/r/29952
Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R39ce4ae17284fb55c18a7c4a6eaf7fca0b856884

7 years agoRevert "arm: tegra: cardhu: core related fixes for lp0"
Niket Sirsi [Tue, 24 May 2011 04:08:08 +0000]
Revert "arm: tegra: cardhu: core related fixes for lp0"

This reverts commit 0885c8037152e4b11d669c845ddf09ba49e5c8b6.

Original-Change-Id: I254ca2966cdf28d548368340efb64617ce274a74
Reviewed-on: http://git-master/r/32698
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: R018aa71bbf41b0d3586002fe7226ff3573388407

7 years agoARM: Tegra: Cardhu: Enable CPU EDP limits table
Diwakar Tundlam [Wed, 18 May 2011 22:44:17 +0000]
ARM: Tegra: Cardhu: Enable CPU EDP limits table

Original-Change-Id: I57f033f44cfdf19d61bc5bab41cec23e51b40c11
Reviewed-on: http://git-master/r/32089
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>

Rebase-Id: Re8f7d38f87635a3e709e83c8af6a81c67095210d

7 years agoarm: tegra: cardhu: core related fixes for lp0
Luke Huang [Fri, 20 May 2011 01:13:05 +0000]
arm: tegra: cardhu: core related fixes for lp0

1. Set core_power_req to be high enable
2. Turn off VDD1 (power for Vcore) on LP0

Original-Change-Id: I81aedb4332c9e7ccd97def546a9a0611253f744a
Reviewed-on: http://git-master/r/32277
Tested-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R4886f57403bc6148a6641ed8abe875da037cd4cb

7 years agoarm: tegra: Declare tegra_throttling_enable in .h
Robert Morell [Thu, 19 May 2011 16:31:45 +0000]
arm: tegra: Declare tegra_throttling_enable in .h

The build currently fails for some boards when CONFIG_CPU_FREQ=n, since
we don't build cpu-tegra.c but tegra_throttling_enable is still
referenced.  To fix this:
- Add cpu-tegra.h
- Define tegra_throttling_enable to NULL in the header if either
  CONFIG_CPU_FREQ or CONFIG_TEGRA_THERMAL_THROTTLE are not set
- Use the header file instead of declaring the function extern
  everywhere it's used

Bug 829501

Original-Change-Id: Ice84309546dee201f991a1194fefd80583afc455
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/32208
Reviewed-by: Allen R Martin <amartin@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R1f22b33952e038a770ecdb0ed894e3f85017fdec

7 years agoARM: tegra: cardhu: Panel power management
ankishore [Mon, 16 May 2011 09:20:53 +0000]
ARM: tegra: cardhu: Panel power management

Added power management support for dsi panels

Bug 793857

Original-Change-Id: I96df03cefc023efef36812ab2bc504f222476160
Reviewed-on: http://git-master/r/31546
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>

Rebase-Id: Ra332c35af169259a1410f72fb40dbfc7f45d840b

7 years agoarm: tegra: cardhu: set CPU EDP limits
Varun Wadekar [Thu, 12 May 2011 08:55:01 +0000]
arm: tegra: cardhu: set CPU EDP limits

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

Rebase-Id: R71a8023042831f208803dd7d7cad84912db9d3c1

7 years agoarm: tegra: sensors: synchronize cam A and cam B
Prayas Mohanty [Wed, 18 May 2011 12:22:29 +0000]
arm: tegra: sensors: synchronize cam A and cam B

For stereo camera support, both cam A and cam B should
start at the same point of time to be in sync.

bug 787214
bug 786928

Original-Change-Id: I417db0f8ff8c76130b76d8edb4e66189d6b92447
Reviewed-on: http://git-master/r/30004
Tested-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Re9bbc67fd3560887f1f38dba129d267b1cf21af7

7 years agoarm: tegra: cardhu: Adding board entry for tps6236x
Laxman Dewangan [Thu, 12 May 2011 17:47:01 +0000]
arm: tegra: cardhu: Adding board entry for tps6236x

Adding platform data entry for the tps6236x device and registering
this device if board info has sku with bit0 as 1.

bug 821295

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

Rebase-Id: Rb0d48c28c7460bd00874bd4cf972427e6939ba40

7 years agoARM: tegra: cardhu: remove avdd_dsi_csi regulator code
Pritesh Raithatha [Wed, 11 May 2011 17:01:14 +0000]
ARM: tegra: cardhu: remove avdd_dsi_csi regulator code

remove avdd_dsi_csi regulator code as it is already handled by
 tegra_camera.c

Bug 826043

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

Rebase-Id: R380b03fdd0c8e2a9f247c1222892634ae826ede8

7 years agoARM: tegra: power: PM269: Add GPIO_REG
Pradeep Goudagunta [Wed, 4 May 2011 11:07:43 +0000]
ARM: tegra: power: PM269: Add GPIO_REG

Adding GPIO_REG for power rails of PM269 board.

Bug 823160

Original-Change-Id: Idbb889420e033780900b1b1b700637017640414e
Reviewed-on: http://git-master/r/30366
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R2f23a797a5e751bb6fc781a4aa7ed0c1a9ea1805

7 years agoARM: tegra : power: Set power rails SATA & PCIE off by default
Karan Jhavar [Mon, 9 May 2011 20:09:52 +0000]
ARM: tegra : power: Set power rails SATA & PCIE off by default

Setting SATA & PCIE power rails (ldo1 & ldo2) off by default since
they are not enabled on Cardhu.

Bug 793780, 790141

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

Rebase-Id: R73fb44a458b8ce548ca6e8ad4af12b2e626638c7

7 years agoarm: tegra: nvmap: Forcing to convert CarveOut requests to IOVM
Hiro Sugawara [Thu, 17 Mar 2011 20:58:13 +0000]
arm: tegra: nvmap: Forcing to convert CarveOut requests to IOVM

Adding a build time CONFIG option to enable forcing of conversion
of non-IRAM CarveOut memory allocation requests to IOVM requests.
Default is "y" to force the conversion.
Each forced conversion is reported to console.
Allocation alignments larger than page size for IOVM are enabled.
Single page CarveOut allocations are converted to system memory.
CarveOut memory reservation has been removed for aruba, cardhu,
and enterprise.

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

Rebase-Id: R826eb96ee93bdfaee4d6c9d0b9800b2a89f5956a

7 years agoarm: tegra: cardhu: Adding platform data for sh532u device
Laxman Dewangan [Tue, 3 May 2011 08:54:58 +0000]
arm: tegra: cardhu: Adding platform data for sh532u device

Adding the board init and deinint function to power on/off
rails for the sh532u autofocus driver.
This function is passed as platform data to the driver.

bug 802264

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

Rebase-Id: Raa4fe90155de6870e767e0de0509f67d2cb609fd

7 years agoarm: tegra: cardhu: Adding cam-AF power rails
Laxman Dewangan [Mon, 2 May 2011 09:28:16 +0000]
arm: tegra: cardhu: Adding cam-AF power rails

Adding the camera autofocus power rail infomration.
Removing non-existant peripheral entry from i2c4 bus.
Adding deselect mux option after each i2c transfer
through mux i2c.

bug 802264

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

Rebase-Id: Rd791771ddf72c52686de86ce1f1aa99cf03ab877

7 years agoARM: tegra: cardhu: Separate LPDDR2 processor board
Alex Frid [Wed, 20 Apr 2011 02:01:33 +0000]
ARM: tegra: cardhu: Separate LPDDR2 processor board

Made sure default DDR3 EMC DFS table is not applied to cardhu
processor board with LPDDR2.

Original-Change-Id: I78bb2a4f80a5db00e04cb82c530924219e6baa78
Reviewed-on: http://git-master/r/30311
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>

Rebase-Id: Rc526c375fd15719b434694d7db8b91099a220c2a

7 years agotegra: cardhu: Set smartdimmer to disable by default.
Laurence Harrison [Thu, 7 Apr 2011 01:23:48 +0000]
tegra: cardhu: Set smartdimmer to disable by default.

Now that we have sysfs objects for smartdimmer, set our
default to disable for this feature.

Original-Change-Id: Ie5a6755ff159496fe0e02a3f164325672954712d
Reviewed-on: http://git-master/r/29892
Reviewed-by: Laurence Harrison <lharrison@nvidia.com>
Tested-by: Laurence Harrison <lharrison@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rf267975672adbbd28d8b93e6133fd79f158fd498

7 years agoarm: tegra: cardhu: Unused pins from vddio_gmi to low power mode
Laxman Dewangan [Tue, 26 Apr 2011 12:14:54 +0000]
arm: tegra: cardhu: Unused pins from vddio_gmi to low power mode

Configuring the pins which are belonging to vddio_gmi to recommended state
to consume low power.

bug 807813

Original-Change-Id: I18b67688b0e45ccd5f16ac3f1f8a7f4db3142bae
Reviewed-on: http://git-master/r/29628
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R6d2cf20145cc6fc403edb9a7818f53104f8b9bf3

7 years agoRevert "arm: tegra: cardhu: Setting the gpio pins properly."
Jin Qian [Tue, 10 May 2011 18:16:18 +0000]
Revert "arm: tegra: cardhu: Setting the gpio pins properly."

Original change breaks LP1 on t30.

This reverts commit 522f94b14b99c47322a72012fb5ce9a59c145630.

Original-Change-Id: Ia3aacc5924987828aa0fd1e2c6ccc3c990b871c0
Reviewed-on: http://git-master/r/31023
Tested-by: Jin Qian <jqian@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rfaa8c9a8b179ed7163095d29bdde24ec2f93b2d3

7 years agoARM: tegra: power: Set cpu_pwr_off timer to 200us for PMIC
Diwakar Tundlam [Fri, 29 Apr 2011 22:21:19 +0000]
ARM: tegra: power: Set cpu_pwr_off timer to 200us for PMIC

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

Rebase-Id: R9c24f87480bddc1e35ad43d8f1a23332d2001e24

7 years agoarm: tegra: cardhu: Setting CORE_PWR_REQ to output high
Laxman Dewangan [Wed, 27 Apr 2011 09:56:40 +0000]
arm: tegra: cardhu: Setting CORE_PWR_REQ to output high

Setting CORE_PWR_REQ to high.
This is require to enable tracking regulator to supply more than
2A current for cardhu A03 board.

bug 805454

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

Rebase-Id: Rd688aca0b100371f31b3eeba280d744b314c0d8d

7 years agoarm: tegra: cardhu: adding support for wifi OOB interrupt
Rakesh Goyal [Wed, 4 May 2011 07:10:58 +0000]
arm: tegra: cardhu: adding support for wifi OOB interrupt

Configuring gpio line for oob interrupts and providing
required resources to make oob work.

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

Rebase-Id: R18831152a2bc2a4f8d017dca1db616613dbbd1e6

7 years agoARM: tegra: clock: Init Tegra3 sclk frequency to 108MHz
Alex Frid [Thu, 28 Apr 2011 03:42:51 +0000]
ARM: tegra: clock: Init Tegra3 sclk frequency to 108MHz

Set Tegra3 default system clock frequency to 108MHz. Previous setting
216MHz was kept until the 1st sclk user is enabled, and then, when it
is disabled go down to 108MHz, anyway. On the other hand, system power
immediately after boot was affected by unnecessary high sclk frequency
while OS is idle. This change also enables dynamic switching between
sclk parents PLLP_OUT4 and PLLM_OUT1.

Original-Change-Id: I00b12f3aef5c5fc8226d6c27470f4610e9e43ad8
Reviewed-on: http://git-master/r/29761
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R78614e2149eaf497fe1c9a8dbf0d4e67fb0ecf06

7 years agoarm: tegra: cardhu: Setting the gpio pins properly.
Abhiruchi Birajdar [Tue, 3 May 2011 13:18:30 +0000]
arm: tegra: cardhu: Setting the gpio pins properly.

The gpio power down pins for rear and front camera are
properly set depending on the board type.

Bug 821048

Original-Change-Id: Ibf265bc79b582d9ed4c4cc0d1a864a5c68b05835
Reviewed-on: http://git-master/r/30213
Tested-by: Abhiruchi Birajdar <abirajdar@nvidia.com>
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Danielle Sun <dsun@nvidia.com>

Rebase-Id: Red0452f3334a2e371bfafcb58e2160d0858916b1

7 years agoSdhci:tegra:Switch OFF/ON power rails in suspend/resume
Pavan Kunapuli [Tue, 26 Apr 2011 11:33:55 +0000]
Sdhci:tegra:Switch OFF/ON power rails in suspend/resume

Switching off and switching on the power rails during
suspend and resume. Passing the power rail name, maxV
and minV through platform data.

Bug 793796

Original-Change-Id: I6c80c1a23c9681043d11ffdd210dc6d2146bdd2e
Reviewed-on: http://git-master/r/29660
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rf38a0a31b35d86cf1014aeb2d04bbc74181298c7