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

use fractional guardband accurately per chip sku
bug 844025

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

Rebase-Id: Rbcb326cee7961f7d4065ce17b208063cb15f0eba

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

Setting the dsi_csi rails to 1200mV.

bug 869063

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

Rebase-Id: Re9e8cebb8e9db0a6f499514895bf3228eddbd479

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

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

Rebase-Id: R23e65a63d3f2869217af5cc7952ea64931ba4924

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

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

BUG 828389

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

Rebase-Id: R3adb92f2a3f3523c1006969a42499263dd0fa6fb

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

Correcting the supply name for hvdd_pex voltage rail.

bug 868452

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

Rebase-Id: R425970ed9eba558db187b9123241c433bf6addba

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

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

Rebase-Id: Rb9d894df122d0b89284cab827f74088e0b1207d0

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

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

Bug 865058

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

Rebase-Id: Ra7e7c9f128f9101f8a6e4457ef668ab0d123604a

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

Adding support for the gpio changes for E1198-A02.

bug 864282

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

Rebase-Id: R07d861bb8832972e46a713d9ff195fef2cf6d1d2

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

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

bug 817238

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

Rebase-Id: Rf42e80598a66f46cd0ef0e2bfacca3917eb86c45

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

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

Bug 864735

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

Rebase-Id: Rede07c6cc06387a4ccb31eaa2b7bd2e4603c3768

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

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

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

Bug 864592

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

Rebase-Id: R989fd6e64a339d3efec360789805e4392e8468af

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

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

BUG 863313

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

Rebase-Id: R94dcdf70eb0a88719a70da277d2d03236a8e6002

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

Enabling NCT1008 temp sensor for PM269 board also.

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

Rebase-Id: R8956472b2adb83310298adda4c3454093b36f5b8

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

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

bug 863728

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

Rebase-Id: Rfc2975d5b80492523a4a767c001a8e22c9decaa7

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

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

Bug 854305

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

Rebase-Id: R8d196738a87aabbdfee11f0b91e7eca677e86fbb

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

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

Bug 858358

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

Rebase-Id: R867c966b3aa005501ee3678f257e243a5632e9c5

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

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

Bug 854182

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

Rebase-Id: R75eb94abd752ea4dd251243a4e70385842b665d9

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

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

Bug 799568

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

Rebase-Id: R983ccfd877f7fab88a3107e60e95a462640a2c58

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

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

Bug 859226

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

Rebase-Id: R9fab980cec25764004e9562a553a8c65ad02b61f

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

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

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

Rebase-Id: R45b531a1306231937b66bfdfa9c12ec96ccadcf9

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

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

BUG 828389

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

Rebase-Id: Rb3d170a5460bff29550d664c3f783134d2a3a41f

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

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

BUG 828389

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

Rebase-Id: R2d04847c5dc12db17b49ec62a4e12f061bca29fe

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

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

bug 854305

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

Rebase-Id: Rd3737d2e59cd58bc1ebee0b33f069cb78d86dcc4

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

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

Bug 861062

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

Rebase-Id: R5605962a8d026d775af9f7d166daa697c5e6d4d5

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

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

Rebase-Id: R452d613de364d2bdf41af1e048f4586e202fa028

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

Bug 852560

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

Rebase-Id: Re4e99d3595c6437e0ef761b89f6a74f422f5f31a

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

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

bug 850047

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

Rebase-Id: R6dbc2c1acb741666f6d7dda88f1bbb26c465717c

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

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

Bug #827897

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

Rebase-Id: Rad6137ec52951c560c67135595d560910eb97aa0

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

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

Bug 853676

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

Rebase-Id: R687a4bcc0ee8d96a9e6ed39ccee15b035aa9077a

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

Bug 853676

This reverts commit ea52a5ff2107adac0f27c4710728e4158463f5c7.

Conflicts:

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

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

Rebase-Id: Re50c56f529f83f76e54a27d5207441f5130bdaf3

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

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

Bug 851432

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

Rebase-Id: R27207636ba09d2305ebd55230609f85dc500858a

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

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

Bug 836260
Bug 829932

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

Rebase-Id: Rf27767784fa3c62f2e9e2049cf9d9cdbd67ead40

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

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

BUG 828389

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

Rebase-Id: Rd551075e1633406de4cdfbf3a05b1d6bff017666

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

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

bug 855392

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

Rebase-Id: Re636ff84e9c3fd41afa147d91e454bca70f84581

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

Corrected measured backlight linearization table.

Bug 827366
Bug 852481

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

Rebase-Id: Rba2085ed672b2b9c902a3702416f248670454a0f

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

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

Rebase-Id: R86bae22ba87898d11ec854d4326b7f7a50cb5fb8

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

Bug ID: 844882

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

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

Rebase-Id: Ra0a837643b4bfd9c08520d4f5157085c6d97d803

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

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

BUG 828389

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

Rebase-Id: R1a257f5c0a78f8936de4c740026c60378e12fcf2

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

Configuring the drive strengths for SDMMC1, SDMMC3
and SDMMC4.

Bug 799568
Bug 826694

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

Rebase-Id: Raf1d57275c48839cdb4913c3b028b4c2ad176952

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

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

bug 851642

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

Rebase-Id: R534fda0233310be9cb61ae63a02acad4cbe13f12

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

Bug 853132

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

Rebase-Id: Rbd0d325e54141db2187dff6b11d5c0b20ff046d9

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

Bug 852560

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

Rebase-Id: R82c2041d99f8696b37c3c0aa7b932c7dddb757d7

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

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

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

Rebase-Id: Rd00f3fb6f0d75dd2b279b203cb25bee3dfdae112

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

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

Bug 840255

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

Rebase-Id: R70685c053f950a12fffd18f37c7f5ed381594f6d

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

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

Bug 852481

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

Rebase-Id: R55db5712582df547e1786c2a1782491feb4ce3ec

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

Bug 822468

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

Rebase-Id: R48dfe21d4cec9c74978a9800c078bd408f8d41fe

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

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

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

Rebase-Id: Rc7f949b56c0d12d63f313aa005c4e71cbd0a3215

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

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

bug 833087

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

Rebase-Id: R15464c7d3bd221631075f97d350aed8f579dc1b2

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

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

bug 820536

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

Rebase-Id: R712acfe9a1ede8ef8d237ad993bcb5a9eac22a4d

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

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

bug 820536

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

Rebase-Id: R14dcb8c7822b2bdc7e66807e292776b68d08d12d

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

Adding the TPS6591x gpio definition in tps6591x core header
files.

bug 849976

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

Rebase-Id: R78e6ca62b6b1740d52e316784fbc41264ef01f0d

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

setting UART3 signal drive strength to maximum.

Bug 819411

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

Rebase-Id: R3ca41455889e1c5c8a5c5fe7bfc3ace0dd60da2a

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

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

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

bug 820536
bug 832273

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

Rebase-Id: Rf4ebaeeb41b0925cf06cc6852f81d0c7790c787b

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

Removing config variable TEGRA_VERBIER_E1187 as this is no
longer used.

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

Rebase-Id: R5a97f9bd2235fbe5a2e1f12f18fd040b85362d1d

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

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

Bug 827366

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

Rebase-Id: R23e5df8382e08b2334d558949be4e03f5f7d3238

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

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

bug 849973

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

Rebase-Id: Rfe42179fdba401c5aa1f2527fb8c548607dd807c

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

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

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

Rebase-Id: Rd7e2bfcf6780b6b73a8438b904b8a13b0297b59d

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

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

bug 850674

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

Rebase-Id: R9ca33b8b4b489590f649160ae9e6df627391cbf0

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

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

bug 849990

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

Rebase-Id: R3b1f22dc222f4ce000d2e84a48b7e2f379159750

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

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

Fixing this by calling gpio_request before changing direction

Bug 825559

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

Rebase-Id: R379f347f5a06cdee3fa7918c4ff0096d1500f793

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

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

Rebase-Id: R971bafc11deb9f5e5cfba4e537cdcea152d1de8f

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

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

Bug 850512

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

Rebase-Id: Reb6cede9b8f80163437a7d0599be61917f9b07c6

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

Bug 844025

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

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

Rebase-Id: R2c24e9513a859fc6abeabf7f3c407d7196457835

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

Original-Change-Id: I2954eba175980585482772f2e2484550737f177e

Rebase-Id: R1cb65c62bf9b245cfe97de15a256613c32740cc2

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

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

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

Rebase-Id: R41f0ab153ba153f896390874b41893ee6e11dce5

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

Bug 796825

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

Rebase-Id: R5d303050d04b8e2ec2d9724a60bec9b0cbef6f02

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

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

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

Rebase-Id: R5d00d50ea3f9079d2427de21a0ecf28788d121d0

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

Adding complete constraints of the regulators.

bug 843566

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

Rebase-Id: Rf443864c31cc255e428d6f0de51add028d85db78

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

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

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

Rebase-Id: Rfc29454b8f9441237109e5b90a427f0eb8a3be71

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