7 years agoarm: tegra: cardhu: Fix E-Compass orientation
Ali Ekici [Thu, 1 Sep 2011 00:01:03 +0000]
arm: tegra: cardhu: Fix E-Compass orientation

E-Compass does not show correct North-South direction
Fix orientation in board file

Bug 842788

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

Rebase-Id: R469ffa6c1996eefcc260d4125c1cada9b2c15704

7 years agodrivers: misc: mpu: do not register pm_notifier
Mayuresh Kulkarni [Mon, 8 Aug 2011 14:12:16 +0000]
drivers: misc: mpu: do not register pm_notifier

this is causing timing issues with kernel suspend/resume sequence
causing late_resume failure. thus display does not come-up since none
of the late_resume handlers are executed.

fix for bug 858630

Original-Change-Id: Ia622c03891daf794f73bdfcb6a2dcbf2c6653879
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/45847
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Robert R Collins <rcollins@nvidia.com>

Rebase-Id: R26bf4bf2aadcdc57cd01611ff8ee59318a45571d

7 years agoarm: tegra: cardhu: Enabling mpu3050 for all
Alon Farchy [Fri, 15 Jul 2011 23:11:09 +0000]
arm: tegra: cardhu: Enabling mpu3050 for all

MPU sensors were disabled for boards other than cardhu e1291.
This was because of a bug in the sensor device code, which
is fixed in change Ib86327c4. The commit re-enables MPU sensors for
other boards.

Bug 845739
Bug 828100

Original-Change-Id: Idcad7c07b48560b8876a589b1d6dee4b401b1141
Reviewed-on: http://git-master/r/41962
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Alon Farchy <afarchy@nvidia.com>

Rebase-Id: R49f9c3c52c39d3763b1f3e6b1a888701744b9937

7 years agomisc: mpu3050: removed printk
Jon Mayo [Tue, 14 Jun 2011 20:43:53 +0000]
misc: mpu3050: removed printk

unnecessary printk removed

BUG 842174

Original-Change-Id: I4b194a175fa2d040d1512804787f1351dbefc336
Reviewed-on: http://git-master/r/36582
Reviewed-by: Robert R Collins <rcollins@nvidia.com>
Tested-by: Robert R Collins <rcollins@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R8f555dd608b30531fcde5d7c411c848475418a79

7 years agompu3050: Motion Libraries: Update MPU board file to v3.3.4.
Robert Collins [Wed, 20 Apr 2011 20:27:37 +0000]
mpu3050: Motion Libraries:  Update MPU board file to v3.3.4.

Update 2 of 3: MPU 3050 Board file.  Depends on MPU kernel
and defconfig files.

BUG 808052

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

Rebase-Id: R1750e2cd527b4610fed17f5c4930695527c1806b

7 years agompu3050: Motion Libraries: Update MPU kernel to v3.3.4.
Robert Collins [Wed, 20 Apr 2011 20:23:12 +0000]
mpu3050: Motion Libraries:  Update MPU kernel to v3.3.4.

Update 1 of 3:  MPU kernel files.  Depends on board file and
defconfig file.

BUG 808052

Original-Change-Id: I42b08570d3a8dac090860276e04f6d2ab7545461
Reviewed-on: http://git-master/r/29724
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Robert R Collins <rcollins@nvidia.com>
Tested-by: Robert R Collins <rcollins@nvidia.com>

Rebase-Id: R13b53bb717968041f18f76031f32377fabdf8c43

7 years agoARM: tegra: cardhu: sensor: support for rear right camera
Prayas Mohanty [Wed, 13 Apr 2011 07:00:56 +0000]
ARM: tegra: cardhu: sensor: support for rear right camera

- Add support for camera-B.
- Have separate power on/off handler for each camera sensor.
- Remove invidual query for boardId, and bookkeeping boardId information
in a static variable during cardhu_sensors_init.

bug: 787214
bug: 786928

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

Rebase-Id: R776d0b86f61ff9c1daa5f2a0388680ca90871107

7 years agoarm: tegra: cardhu: Registering mpu3050 for E1291 only
Laxman Dewangan [Wed, 13 Apr 2011 08:38:48 +0000]
arm: tegra: cardhu: Registering mpu3050 for E1291 only

Registering the mpu sensor MPU3050 for the E1291 based
cardhu system only.

Original-Change-Id: I614d5496bad34e465d58163e9590d41fefab822e
Reviewed-on: http://git-master/r/27608
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com>
Reviewed-by: Robert R Collins <rcollins@nvidia.com>
Original-Change-Id: I32bb6997dd504c4c070ba27a5e223f4a325d1f96

Rebase-Id: Rb30429965bb8edf799905a39ca843def5b4cf724

7 years agompu3050: Motion Libraries: Invensense MPU code update to v3.3.3.
Robert Collins [Fri, 18 Mar 2011 21:29:07 +0000]
mpu3050: Motion Libraries: Invensense MPU code update to v3.3.3.

Update Invensense Motion Library (MPL) to production version
v3.3.3. Previous version was engineering release and is not
suitable for mass production. This version of the MPL most
notably fixes problems with suspend/resume where touch screen
would quit working during a suspend/resume cycle.

Original-Change-Id: Id061bccf39adb34dda124f7ba18d5956885328dd
Reviewed-on: http://git-master/r/23590
Reviewed-by: Robert R Collins <rcollins@nvidia.com>
Tested-by: Robert R Collins <rcollins@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Original-Change-Id: Ibef0777548486e7ee2504d979e05bdd8fab3a7d8

Rebase-Id: R726205045a29cba87a941b8af5c8356c0543a6ff

7 years agoARM:tegra:ventana:Sensors Invensense MPU code v3.3.3
vsalve [Tue, 15 Mar 2011 10:19:09 +0000]
ARM:tegra:ventana:Sensors Invensense MPU code v3.3.3

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

Rebase-Id: Rf0e1503e3e9c4dcfac7295844f476593968e7737

7 years agomisc: mpu3050: Invensense MPU code update v3.3.3
vsalve [Tue, 15 Mar 2011 09:59:43 +0000]
misc: mpu3050: Invensense MPU code update v3.3.3

Update Invensense Motion Library (MPL) to production version
v3.3.3. Previous version was engineering release and is not
suitable for mass production. This version of the MPL most
notably fixes problems with suspend/resume where touch screen
would quit working during a suspend/resume cycle.

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

Rebase-Id: R8832ce6cbb6eaec0afb32a2265c55b45f7391cb3

7 years agoInvensense: simplify Kconfig
Dan Willemsen [Sat, 5 Mar 2011 20:00:33 +0000]
Invensense: simplify Kconfig

This change makes the choices optional, and removes redundant entries.
With this change, the minimal defconfig format doesn't want to always
build the mpu3050 as a module.

Original-Change-Id: Ic6dc65e982bc59671e27adbce257bf14bc97777c

Rebase-Id: R197cb8c3a6a2792960819056b5f6eb24b1c720ae

7 years agoDriver: Misc: Sensors: MPU: enable kxtf9 and ak8975
Wen Yi [Fri, 4 Feb 2011 21:55:07 +0000]
Driver: Misc: Sensors: MPU: enable kxtf9 and ak8975

BUG 771526

Corrected the mismatched CONFIG_SENSOR_KXTF9 and
CONFIG_SENSOR_AK8975 to CONFIG_SENSOR_KXTF9_MPU
and CONFIG_SENSOR_AK8975_MPU

Original-Change-Id: I760bfdd5cbdd91acdf9ce10ee5be5fcfa0a9c5ab
Reviewed-on: http://git-master/r/18377
Reviewed-by: Wen Yi <wyi@nvidia.com>
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Robert R Collins <rcollins@nvidia.com>
Tested-by: Robert R Collins <rcollins@nvidia.com>
Reviewed-by: Jeremy Wyman <jwyman@nvidia.com>
Tested-by: Jeremy Wyman <jwyman@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R7428db1a61c508ae56afc6fd590f750afa8ca6a5

7 years ago[ARM] tegra: ventana: Invensense MPU update
Wen Yi [Fri, 28 Jan 2011 23:34:43 +0000]
[ARM] tegra: ventana: Invensense MPU update

Update tegra board file to include Invensense MPU3050 drivers
Depends on Change-Id: Iceb3ef8b11d4ce18fd3cb0947268744775b81758
BUG 784570

Original-Change-Id: Ieb75676128fbde4797f8fe6298e57f29b5a2db13
Reviewed-on: http://git-master/r/17527
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd9be2d7c372d6e2bef6b72a686a8864c304a7d5a

7 years ago[ARM/tegra] Invensense MPU3050 sensor board support.
Robert Collins [Wed, 1 Dec 2010 22:44:07 +0000]
[ARM/tegra] Invensense MPU3050 sensor board support.

Original-Change-Id: I17ec64c268bb803966810d3a181140c2b6774245
Reviewed-on: http://git-master/r/11813
Tested-by: Robert R Collins <rcollins@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R27d30b4e1558b0e7c51709fd2f4577accdca344e

7 years agoPort Invensense MPU3050 drivers into tegra-2.6.36
Wen Yi [Fri, 28 Jan 2011 22:38:45 +0000]
Port Invensense MPU3050 drivers into tegra-2.6.36

Original-Change-Id: Iceb3ef8b11d4ce18fd3cb0947268744775b81758
Reviewed-on: http://git-master/r/17525
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R5aa1acdb6de5265529a9695f6cc996d4cf0dbfec

7 years ago[ARM/tegra] Integrate Accelerometer source code files.
Robert Collins [Tue, 23 Nov 2010 21:54:32 +0000]
[ARM/tegra] Integrate Accelerometer source code files.

Inegrate MPL libraries and the following sensors:
Accelerometers:
kxtf9

Compi:
ak8975

Original-Change-Id: I450b5b7ff018249a19bb23b78e722e9a355b7bd8
Reviewed-on: http://git-master/r/11803
Tested-by: Robert R Collins <rcollins@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R76e2da39a90190d176552fdb11aab2009964023f

7 years agoMerge branch 'boardfiles/kai' into after-boardfiles
Dan Willemsen [Sat, 24 Mar 2012 04:17:43 +0000]
Merge branch 'boardfiles/kai' into after-boardfiles

Conflicts:
arch/arm/mach-tegra/Makefile

7 years agoMerge branch 'boardfiles/p1852' into after-boardfiles
Dan Willemsen [Sat, 24 Mar 2012 04:17:42 +0000]
Merge branch 'boardfiles/p1852' into after-boardfiles

Conflicts:
arch/arm/mach-tegra/Kconfig

7 years agoMerge branch 'boardfiles/trimslice' into after-boardfiles
Dan Willemsen [Sat, 24 Mar 2012 04:17:40 +0000]
Merge branch 'boardfiles/trimslice' into after-boardfiles

7 years agoMerge branch 'boardfiles/p852' into after-boardfiles
Dan Willemsen [Sat, 24 Mar 2012 04:17:40 +0000]
Merge branch 'boardfiles/p852' into after-boardfiles

7 years agoMerge branch 'boardfiles/whistler' into after-boardfiles
Dan Willemsen [Sat, 24 Mar 2012 04:17:39 +0000]
Merge branch 'boardfiles/whistler' into after-boardfiles

7 years agoMerge branch 'boardfiles/ventana' into after-boardfiles
Dan Willemsen [Sat, 24 Mar 2012 04:17:38 +0000]
Merge branch 'boardfiles/ventana' into after-boardfiles

7 years agoMerge branch 'boardfiles/enterprise' into after-boardfiles
Dan Willemsen [Sat, 24 Mar 2012 04:17:38 +0000]
Merge branch 'boardfiles/enterprise' into after-boardfiles

7 years agoMerge branch 'boardfiles/harmony' into after-boardfiles
Dan Willemsen [Sat, 24 Mar 2012 04:17:36 +0000]
Merge branch 'boardfiles/harmony' into after-boardfiles

7 years agoMerge branch 'boardfiles/cardhu' into after-boardfiles
Dan Willemsen [Sat, 24 Mar 2012 04:17:36 +0000]
Merge branch 'boardfiles/cardhu' into after-boardfiles

7 years agoarm: tegra: kai: ehci0 USB host default enable
Chandler Zhang [Wed, 14 Mar 2012 05:13:01 +0000]
arm: tegra: kai: ehci0 USB host default enable

set ehci 0 USB host mode to default enable

Bug 937188

Change-Id: I89a3886df7b9a6574ab9f293e5b6164007990be4
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/89968
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R9f82778048b89b087e015e9b3c46b4f272941e88

7 years agoarm: tegra: kai: turn off status LED all the time
Kerwin Wan [Fri, 9 Mar 2012 11:35:34 +0000]
arm: tegra: kai: turn off status LED all the time

Bug 949015
Bug 947228
Bug 947203

Change-Id: Iaca9ff0aba45546c0c16699ae35cc89ff7a043aa
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/89120
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R6fc1223b2c98c874d1a8a1cca2bfd1510efb1342

7 years agotegra: arm: kai: Enable emc in kai
Karthik Ramakrishnan [Fri, 3 Feb 2012 23:34:41 +0000]
tegra: arm: kai: Enable emc in kai

emc was not inited for kai in main.

Change-Id: I0562ff8fffdc8a9aa8622925aa18d0d4cedb5567
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/86738
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rfa7cbf9767cbf16d73874b153d9df58f0a6a2a23

7 years agoarm: tegra: kai: Enable 12.75MHz emc for kai
Karthik Ramakrishnan [Sat, 4 Feb 2012 00:49:20 +0000]
arm: tegra: kai: Enable 12.75MHz emc for kai

emc registry entries @ 12.75 MHz for kai

Change-Id: Id68a6368d8f41d537eb52ca3ac8e9b816ee4015f
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/86698
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Ra765bf770cfe6e6c713af6323392ea452e85a782

7 years agoarm: tegra: kai nfc support
Rakesh Goyal [Wed, 7 Mar 2012 10:51:45 +0000]
arm: tegra: kai nfc support

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

Bug 949128

Change-Id: I62c82d338724c4f012ac98d7ec61ec9aae1afae5
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/88288
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Ra47190df75826f755604c90412b0ad21eaa2a9b1

7 years agoarm: tegra: kai: Fix codec name for kai A00.
Manoj Gangwal [Mon, 5 Mar 2012 14:09:24 +0000]
arm: tegra: kai: Fix codec name for kai A00.

Fix the codec name for Kai A00 board.

Change-Id: I3f88a484ac01f8b1374889574b431cfb53901ed6
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/87772
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rf816c0a0d557a1ae5735f3eade0f364a0329b549

7 years agovideo: tegra: host: register nvhost master device in board-xxx-panel.c
Mayuresh Kulkarni [Mon, 5 Mar 2012 13:06:47 +0000]
video: tegra: host: register nvhost master device in board-xxx-panel.c

- the suspend order of devices is governed by the order
in which devices are registered
- this commit ensures that nvhost master is registered before
any of the graphics devices
- previously this was done in rootfs_init call which is
later than arch_init calls of board-xxx-panel.c
- this caused tegra-dc device to be registered *before* nvhost
master device. as a result it was suspended *later* than nvhost
master device. this is a clear violation of dependency rule
for nvhost. this caused suspend-resume to fail for L4T
- this worked on android as it has CONFIG early suspend enabled
while it failed for L4T which doesn't have CONFIG early suspend
enabled

Bug 947617

Change-Id: I6cd405f3ba23d004e7659140019f5130e6c25159
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/87756
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

Rebase-Id: R568331e572365a819601df193ec164a3802634aa

7 years agoarm: tegra: kai: set default_enable to false
Kerwin Wan [Fri, 24 Feb 2012 00:33:22 +0000]
arm: tegra: kai: set default_enable to false

Bug 931371
Bug 947203
Bug 947228

Disable usb hotplug in kai as enterprise to save power

Change-Id: Ia621052d3e825c8b0bd1ef61645dd424df6c29eb
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/85626
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R7d65674cc4ea143a166fb90589e2166edb100b67

7 years agoarm: tegra: kai: read mac address from board eeprom
Om Prakash Singh [Thu, 1 Mar 2012 17:39:18 +0000]
arm: tegra: kai: read mac address from board eeprom

Bug 927456

Change-Id: I98e1d8960888a4e6dd429e73c9ac0d1fce7d90be
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/86958
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Re176b209c9f124d53726ac30ee4e137eb3906f03

7 years agoarm: tegra: kai: Add irq_num for smb349 charger
Syed Rafiuddin [Thu, 1 Mar 2012 15:41:24 +0000]
arm: tegra: kai: Add irq_num for smb349 charger

Board specific change to enable interrupts for
smb349 charger driver

Change-Id: Id0ed2c2644adbfa6181ff07daf6a82c69924d4ab
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/86940
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R53a95db0e810702e17a2a1e4760a754196de7817

7 years agopower: max17048: Add battery custom model data
Syed Rafiuddin [Tue, 28 Feb 2012 17:33:09 +0000]
power: max17048: Add battery custom model data

- Addition of battery custom data to max17048 driver
- Update battery properties like online and charging/discharging
status instantaneously based on the interrupt.

Change-Id: I84f4833caf4c25fb4d73c74c9e986084bb33a94a
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/83505
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R00894129d51b74a29383cbe5976f1d766eb30ca0

7 years agoarm: tegra: kai: Turn off status LED during LP0
Johnny Qiu [Thu, 1 Mar 2012 10:01:34 +0000]
arm: tegra: kai: Turn off status LED during LP0

Use leds-gpio to control status LED during LP0.

Bug 920845
Bug 931371

Change-Id: I22f11629bcefe7ecb47181ad5c461f505654dde1
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/86879
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rc80f18f67b660c14d688afd10d9ad69458d21255

7 years agoRevert "arm: tegra: kai: turn off status LED in LP0"
Johnny Qiu [Thu, 1 Mar 2012 08:13:49 +0000]
Revert "arm: tegra: kai: turn off status LED in LP0"

This reverts commit 39af9f4c2c3cf0d9b8026986db5d73b9ad3ffe11.

Stat LED control through PMU GPIO should be implemented in another
way. No need to touch PMU driver.

Change-Id: I7b577364275a3da3f6fee0b683a4a1323123ae63
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/86827
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R2361ca768031a77ef1584972bfc2c82ff8260ba4

7 years agoARM: tegra: kai: add usb vbus irq
Hao Tang [Fri, 24 Feb 2012 06:08:16 +0000]
ARM: tegra: kai: add usb vbus irq

Bug 931371
Bug 947203
Bug 947228

Change-Id: Ibfa00e5df77661487fc764cb3bff9cd854e8f70a
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/85673
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R3aa01b97a48dae806e8d5c142d72a3e85321a2b3

7 years agoarm: tegra: kai: Fix the judgement of board fab for KAI
Kerwin Wan [Sat, 18 Feb 2012 22:58:09 +0000]
arm: tegra: kai: Fix the judgement of board fab for KAI

Change-Id: Id27c7e7a1894e0ce1f97fa5dab2d437814cca5ed
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/84704
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R286b1bc9fc5a98898fe1842ccf4dbc0cdcc5cacc

7 years agoarm: tegra: kai: enable modem related gpio pins
Sheshagiri Shenoy [Wed, 22 Feb 2012 02:49:54 +0000]
arm: tegra: kai: enable modem related gpio pins

bug 937956

Change-Id: I15e9314c1dce0892fc2d047c6c52a5d3cf437be8
Signed-off-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-on: http://git-master/r/85064
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R7a3edc026f467911418c0a1560be6cc8178e9e30

7 years agoarm: tegra: kai: enable modem regulator
Sheshagiri Shenoy [Sat, 18 Feb 2012 00:33:50 +0000]
arm: tegra: kai: enable modem regulator

bug 937956

Change-Id: I765f2fb07e438d91e4e3c338206f7d0899c3c67d
Signed-off-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-on: http://git-master/r/84661
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: Rc9cffd9181c1a7e440674f04a1c1ff21183c983b

7 years agovideo: tegra: host: Merge tegra_grhost and host1x devices
Mayuresh Kulkarni [Fri, 24 Feb 2012 10:16:51 +0000]
video: tegra: host: Merge tegra_grhost and host1x devices

- tegra_grhost is a platform device that represents host1x
- nvhost has device host1x which represents the same hardware
- merge these two device structs
- as the new struct is a nvhost_device, platform_driver
is also converted into a nvhost_driver
- register nvhost device before other graphics devices.
this ensures that nvhost_probe() is called as soon as
nvhost_driver is registered with the core.
- this also ensures that nvmap is probed first, followed
by nvhost, followed by tegra-dc and nvavp (if they
are enabled).

Change-Id: Ic420a6516a9cb20d6f481692a4db10fa6053dd90
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/82631
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rdaa7d19e85f574723c479fbda4c4c2ff02db2f6e

7 years agoarm: tegra: kai: Set TEGRA_IOMMU_SMMU for platform_device
Johnny Qiu [Wed, 22 Feb 2012 09:59:48 +0000]
arm: tegra: kai: Set TEGRA_IOMMU_SMMU for platform_device

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

Change-Id: I95734e16764f148e4d91c767d98f399ed2acb593
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/85146
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R9016cd31de6b1e851fdcd74edb11b39f45af1f2f

7 years agoARM: tegra: clock src initialisation for debug port in common place
Laxman Dewangan [Wed, 22 Feb 2012 12:05:38 +0000]
ARM: tegra: clock src initialisation for debug port in common place

Moving clock source rate initialisation of  debug ports in
common place from board files.
In this way, it does not need to call the same function from
all board files and so avoid duplicating.

Change-Id: I4e0292c7760488125c0dd8ee5fa23f50faca3436
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/85174
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R42e630e51a2e172f1095d83d3d180a926641d972

7 years agoarm: tegra: kai: Clock audio from clk_m
Johnny Qiu [Wed, 22 Feb 2012 10:09:29 +0000]
arm: tegra: kai: Clock audio from clk_m

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

Change-Id: If6cf1037598969ae99224e30edd8fecba8a78d1f
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/85147
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rfd75c6cc789c77a8ae3e12749f0b4c09917b8ab3

7 years agoarm: tegra: kai: Integrate CM3217 ALS driver
Johnny Qiu [Thu, 9 Feb 2012 07:00:32 +0000]
arm: tegra: kai: Integrate CM3217 ALS driver

Bug 937953

Change-Id: I202677abe4738e84224cbfd53fec5319392a8cc4
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/83370
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R326271af21e17c4b5786d6988fc2b9cd2e72e12f

7 years agoarm: tegra: kai: Fix build error without TEGRA_NVMAP
Hiroshi DOYU [Wed, 8 Feb 2012 00:16:06 +0000]
arm: tegra: kai: Fix build error without TEGRA_NVMAP

Fix build error without TEGRA_NVMAP

Change-Id: Idbee58471766ab7b6e2a89bc9e994c30b362dd1a
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/79897
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R48c1b2695ba57b50bc91697abc04ac0c96dba078

7 years agoarm: tegra: kai: Auto-detect PLLP rate in uart init
Johnny Qiu [Fri, 3 Feb 2012 06:35:07 +0000]
arm: tegra: kai: Auto-detect PLLP rate in uart init

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

Bug 928260

Change-Id: I217a87aab8e09dafb8bcbdbd3be1dbf239175b84
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/83758
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R1aace0833f138119ea05df0eac6f8bdbfff58c7f

7 years agoarm: tegra: kai: enable max17048 driver in board file
Syed Rafiuddin [Wed, 15 Feb 2012 10:00:25 +0000]
arm: tegra: kai: enable max17048 driver in board file

Board specific changes for max17048 fuel-gauge driver

Change-Id: I6d27616d825c30e3acd7f8fa311dd380fed22b56
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/83730
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Red870182bb0e2c99b3f431d538936de927e07c75

7 years agoarm: tegra: kai: turn off status LED in LP0
Johnny Qiu [Tue, 14 Feb 2012 09:30:25 +0000]
arm: tegra: kai: turn off status LED in LP0

Bug 920845
Bug 931371

Change-Id: If3faee713a456f3f7e2e30b400d2245b2f79bebd
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Hao Tang <htang@nvidia.com>
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/83725
Reviewed-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R58f3b412ce293ead1d8871fd91354d64f49c2a06

7 years agoarm: tegra: kai: Register i2s4 device
Manoj Gangwal [Fri, 17 Feb 2012 06:40:36 +0000]
arm: tegra: kai: Register i2s4 device

Register i2s4 device for BT SCO support
on kai.

Bug 936626

Change-Id: I470a9b1e590dcda58913e9853cd985318a9179e9
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/84489
Reviewed-by: Johnny Qiu <joqiu@nvidia.com>
Tested-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R7b5911afec83799eb325dfdbdf4028fd47daabc9

7 years agoarm: tegra: kai: set default_enable in tegra_ehci_platform_data
Johnny Qiu [Mon, 30 Jan 2012 04:59:48 +0000]
arm: tegra: kai: set default_enable in tegra_ehci_platform_data

set default_enable in tegra_ehci_platform_data for kai since CONFIG_USB_HOTPLUG
has been replaced to tegra_ehci_platform_data

BUG 923705

Change-Id: If51cd8a25658bc86b23d6c6758d3283e5b4bd03a
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/83766
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R2023d04d67b95aa7c103190162d6eddc69cfa775

7 years agoarm: tegra: kai: Specify PLLD2 as backup clock source
Johnny Qiu [Fri, 3 Feb 2012 06:32:54 +0000]
arm: tegra: kai: Specify PLLD2 as backup clock source

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

Bug 928260

Change-Id: I2f268a1551611a9170e86cbdc44a5302edabc9f0
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/83738
Reviewed-by: Liangchuan Mi <lmi@nvidia.com>
Tested-by: Liangchuan Mi <lmi@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R34d4bad0848962359b0c94449d0a6bb91f40ab34

7 years agoarm: tegra: kai: enable VDD_RTC voltage tracking to VDD_CORE
Johnny Qiu [Wed, 1 Feb 2012 05:50:31 +0000]
arm: tegra: kai: enable VDD_RTC voltage tracking to VDD_CORE

With this feature enabled, VDD_RTC voltage can track to VDD_CORE
while VDD_CORE voltage is higher than the default voltage of VDD_RTC,
which is set to 1.0V here. When VDD_CORE is turned of in LP0, VDD_RTC
keeps its default value 1.0V.

Bug 920845

Change-Id: Ie62859df0d533745ff25cc0d19f8209f86938cec
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/83729
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R1588a6eaa7e8efd4aa4884dc8d6cb2fb3e870e42

7 years agoARM: tegra: kai: Use machine_is_kai()
Dan Willemsen [Tue, 14 Feb 2012 00:58:03 +0000]
ARM: tegra: kai: Use machine_is_kai()

We don't need a static bool here, there's already a function that does
this.

Change-Id: I63e02db770d617c5566af5a3f153b34660b689b0
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/83625
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R02678e6807fc052656282298c51ec9d22e5185a2

7 years agoARM: tegra: kai: Update pm_power_off registration
Dan Willemsen [Tue, 14 Feb 2012 00:02:33 +0000]
ARM: tegra: kai: Update pm_power_off registration

Opt in to the max77663 registering the pm_power_off handler instead of
doing it ourselves.

Change-Id: Ic3efbce21e12337a3f435fbc257950fb977628a0
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/83603
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R87bc243f1991db16140660ee1f8a561a0c88df2c

7 years agoarm: tegra: kai: add ov2710 front camera
Johnny Qiu [Tue, 14 Feb 2012 09:45:26 +0000]
arm: tegra: kai: add ov2710 front camera

Bug 913259

Change-Id: Idc26f500390b476942819289949f042bc25ae4a6
Signed-off-by: Peter Zu <pzu@nvidia.com>
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/82762
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R514fc2949dfe5814353fdc3d2fb253c85eac78a8

7 years agoarm: tegra: kai: Add ALC5639 audio codec
Rakesh Iyer [Sun, 29 Jan 2012 06:19:32 +0000]
arm: tegra: kai: Add ALC5639 audio codec

Changes made to add support of ALC5639 codec for kai.

Bug 931371

Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/77954
(cherry picked from commit 8e3e4e00a97759983a0a2e3a2c4d9d4d367ed950)

Change-Id: I899b31fc416d75875456fe7809e0dce6f2e78ffa
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82736
Reviewed-by: Chandler Zhang <chazhang@nvidia.com>
Tested-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R4ffcfccfc1bb1fd78bc1de1c2689aae7896b7cc3

7 years agoarm: tegra: kai: Set correct I2C slave address of RTC
Johnny Qiu [Fri, 10 Feb 2012 09:17:47 +0000]
arm: tegra: kai: Set correct I2C slave address of RTC

MAX77663 on Kai uses different RTC I2C slave address comparing to
Cardhu PM298.

Bug 937252

Change-Id: I5d6ee036dc4953a8609a2e4492918335a4ecd428
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/83298
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R59ada534082a2d1aa784af58bc2ecb920f4daa41

7 years agoarm: tegra: kai: Add ALC5640 audio codec.
Manoj Gangwal [Sat, 11 Feb 2012 10:07:10 +0000]
arm: tegra: kai: Add ALC5640 audio codec.

Changes made to add support of ALC5640 codec
for kai.

Bug 910788

Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/75958
(cherry picked from commit 2f3e38e34ae7391b9bca74e49f53e20323207f47)

Change-Id: I4f58d29fdaa33f7953373c9a1ebaecc9bd0e49a7
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82735
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R904bb4ce069edbb696499c602e7630614458cd18

7 years agoarm: tegra: kai: Add missing pdata_size in macro MAX77663_REG
Johnny Qiu [Thu, 9 Feb 2012 13:04:57 +0000]
arm: tegra: kai: Add missing pdata_size in macro MAX77663_REG

Change-Id: I9c95a2919db66df935afab068a2f594f68e15423
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/82753
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R6a55712e3ca6dcb3e2418384a0438a6f88e3b0ab

7 years agoarm: tegra: kai: add functionality of power button
Johnny Qiu [Wed, 11 Jan 2012 22:39:26 +0000]
arm: tegra: kai: add functionality of power button

Change-Id: I8c454f465ded68606a29e5dc0cc939cbb9afc96f
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/82764
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Re5cdb96d7c5959e0324916dd7d896a88521e095f

7 years agoarm: tegra: kai: Restrict SD2 output to 1.8V
Johnny Qiu [Fri, 10 Feb 2012 05:23:44 +0000]
arm: tegra: kai: Restrict SD2 output to 1.8V

sdhci-tegra driver has an issue which will pull all VDDIO_SDMMC rails
to 2.7V. However, VDDIO_SDMMC on EMMC and WiFi module should be 1.8V
and they are tied to SD2 output. This is to prevent sdhci-tegra from
burning SD2 output rail.

Change-Id: Idcb7a6864fba6f5e4c9e554178dff440a3ceaffc
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/83007
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R3e77a735c7deac1ef99b8e84762141bc31c8437a

7 years agoarm: tegra: kai: gpio changes for smb349 driver
Syed Rafiuddin [Thu, 2 Feb 2012 10:00:00 +0000]
arm: tegra: kai: gpio changes for smb349 driver

This patch changes gpio direction from output to input
to enable interrupts for smb349 charger driver.

Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/78294
(cherry picked from commit 0e685175440bdb7f004ded2c4a6612a2c8c39b00)

Change-Id: I65435c5f2e9d534344f152758e54d6a3c2835a00
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82706
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: Rc97a374e2d95689f297d887d132a3f26b38a18ca

7 years agoarm: tegra: kai: fix pmu GPIO4 drive strength
Chandler Zhang [Tue, 31 Jan 2012 07:02:12 +0000]
arm: tegra: kai: fix pmu GPIO4 drive strength

Modify Kai PMU MAX77663 GPIO4 from open-drain to push-pull.

Signed-off-by: Chandler Zhang <chazhang@nvidia.com>
Reviewed-on: http://git-master/r/78377
(cherry picked from commit 3f8f4808e723d84d1a4c505beec6d09799b7643e)

Change-Id: I4af87f75bb1ecee5946e0cf684e1c003c5b8f2c7
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82707
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R4f32cec4796c7943a9c20ceecf542ea03fa76c84

7 years agoarm: tegra: kai: Use different power tree for A01
Johnny Qiu [Thu, 2 Feb 2012 10:21:28 +0000]
arm: tegra: kai: Use different power tree for A01

Power tree of A01 is a little different from A00. On A00,
AVDD_USB/AVDD_HDMI shares the same rail with VDD_3V3_GMI. On A01,
VDD_3V3_GMI has been moved to VDD_3V3_SYS for power gating of
AVDD_USB/AVDD_HDMI.

Bug 931371

Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/78406
(cherry picked from commit 53f98f53dfe8a8a6b2d402e0ee2e89443dba01a6)

Change-Id: Ifd5da092be2252baf5a7a4563862d218bc6fc779
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82719
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rc204f96ff1f68f0021cc9e24c230509649db0ed8

7 years agoarm: tegra: kai: use subsys_initcall_sync to initialize fixed regulators
Johnny Qiu [Thu, 2 Feb 2012 08:01:15 +0000]
arm: tegra: kai: use subsys_initcall_sync to initialize fixed regulators

Initialization of fixed regulators should be in subsys_initcall_sync;
otherwise some PMU GPIO based regulators will fail to be registered
since PMU is not registered at this time.

Bug 932578

Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/78945
(cherry picked from commit e6bc3ad1d54240725b082cc18ad4141d76b9a4b7)

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

Rebase-Id: Rda75d41f4bccd8bacf34cf23ad741288d263003d

7 years agoarm: tegra: kai: Use fixed regulator
Johnny Qiu [Mon, 30 Jan 2012 08:27:52 +0000]
arm: tegra: kai: Use fixed regulator

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

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

bug 932578

Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/78039
(cherry picked from commit cd77c6f4f0a1964de84a8b0e9411c177f8e65f34)

Change-Id: Ibfe770501f3037d5c4aac55de2ec2ce82cb95cae
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/82699
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rf663613757a2a989ac300487271dc83c8ab19dc1

7 years agoarm: tegra: Kai: Touch setup
Ali Ekici [Fri, 20 Jan 2012 00:51:28 +0000]
arm: tegra: Kai: Touch setup

Added touch setup and init calls to board-kai.c & h files
Also limited max spi clock rate (sbc1) to 72 Mhz

Bug 912775
Bug 832605

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

Change-Id: I616bd97538c1513307bce178bb9fd4040a9ecd4d
Signed-off-by: Peter Zu <pzu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77777
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R352a3121979fc771a67dd889a93ba7d88dd3228c

7 years agoarm: tegra: kai: Panel fixes for A01 board.
Rakesh Iyer [Thu, 26 Jan 2012 20:24:05 +0000]
arm: tegra: kai: Panel fixes for A01 board.

Modify panel GPIO for A01 board.

Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/77610
(cherry picked from commit 4b45da8a3f35b81772d328d860bff20fe8a46927)

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

Rebase-Id: R23070b2b5af59601731347fedf3e4817aace30fe

7 years agoarm: tegra: pinmux changes for smb349 driver
Syed Rafiuddin [Tue, 31 Jan 2012 15:16:22 +0000]
arm: tegra: pinmux changes for smb349 driver

This patch configures pinmux changes for smb349 charger driver
which enables smb349 to respond to read/while while booted with
battery.

Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/78466
(cherry picked from commit 7330839fa790915202614ba45bead65bb7057993)

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

Rebase-Id: R3cfa2ebfb462cacdb69063de6d552acf331b93d4

7 years agoarm: tegra: kai: board specific changes for smb349
Rakesh Iyer [Tue, 31 Jan 2012 23:06:25 +0000]
arm: tegra: kai: board specific changes for smb349

Board specific changes for smb349 charger driver

Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/78293
(cherry picked from commit 55e4ee17e13614996fc67a8bac8c019523df6294)

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

Rebase-Id: R8aa73eb20af7c54e69642d0d676f56e4b94ef8ee

7 years agoarm: tegra: kai: fix kernel boot failure
Chandler Zhang [Thu, 19 Jan 2012 14:46:08 +0000]
arm: tegra: kai: fix kernel boot failure

regulator vdd_vbus_micro_usb is not yet defined.
remove it to fix kernel boot failure

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

Change-Id: If2efc8efab70fcc130f9303ac6a04428c8e4489b
Signed-off-by: Peter Zu <pzu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77301
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Rcddfe52461baf1aa0e33da2fbcc367a5edf9d687

7 years agoarm: tegra: kai: Add DVFS table for Hynix DDR3
Johnny Qiu [Wed, 11 Jan 2012 23:20:47 +0000]
arm: tegra: kai: Add DVFS table for Hynix DDR3

Bug 913259

Change-Id: Id337b7d9c24ee226e3de5f38dc495e03084a4ba0
Reviewed-on: http://git-master/r/74830
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: Peter Zu <pzu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77299
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Rdbdcc08df000cd16a63348fab8e934624da6aa27

7 years agoarm: tegra: kai: Fill power rails details
Johnny Qiu [Thu, 12 Jan 2012 01:29:34 +0000]
arm: tegra: kai: Fill power rails details

Register PMU MAX77663 and provide detailed power rails information.

Change-Id: I28051b621b72c88519c57ba2485fa7cdb4e76c70

Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: Icace4430f24c7e3ac62ed2ac359ace707cd11209
Reviewed-on: http://git-master/r/77298
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Rf7e65b66699e37d6cf289bf882992147355ea78b

7 years agoarm: tegra: kai: create board files
Johnny Qiu [Tue, 10 Jan 2012 20:40:05 +0000]
arm: tegra: kai: create board files

Create initial board files and config files for Kai.

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

Change-Id: I4b07607da85fe4bcb00e5fce2ddbc2a83471b1de
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77296
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Ra0b66a800e60aae521a60d05ce283623534a9a81

7 years agoarm: tegra: p1852: Add proc interface for board specific info
Bob Johnston [Thu, 15 Mar 2012 17:45:52 +0000]
arm: tegra: p1852: Add proc interface for board specific info

1) /proc/board_serial will have the board serial number.
2) /proc/skuinfo will have 18 character sku information.
3) /proc/skuver will have 2 character sku version number.
4) /proc/prodinfo will have product information
5) /proc/prodver will have product version number.

bug 931053

Change-Id: I7daccf932d3ee55b13c89eb4aaa519f51d8dba3e
Signed-off-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-on: http://git-master/r/90378
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R4f1ac71a36dad82053f4e4770f1ca22864d6e89c

7 years agoarm: tegra: p1852: instantiated audio drivers
Nitin Pai [Thu, 15 Mar 2012 05:27:11 +0000]
arm: tegra: p1852: instantiated audio drivers

Instantiated audio drivers for I2S and AHUB.
Instantiated the machine driver for P1852 boards.
Added clocks that were not initialized by QB which are needed to be on.

Bug 948478

Change-Id: I6e696f97ed114ae684a74d9b9869066606dfaa22
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/90252
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Bob Johnston <bjohnston@nvidia.com>
Tested-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R0d2ec794b1d1b6780f8e3ba292f44c69ea784db7

7 years agovideo: tegra: host: register nvhost master device in board-xxx-panel.c
Mayuresh Kulkarni [Mon, 5 Mar 2012 13:06:47 +0000]
video: tegra: host: register nvhost master device in board-xxx-panel.c

- the suspend order of devices is governed by the order
in which devices are registered
- this commit ensures that nvhost master is registered before
any of the graphics devices
- previously this was done in rootfs_init call which is
later than arch_init calls of board-xxx-panel.c
- this caused tegra-dc device to be registered *before* nvhost
master device. as a result it was suspended *later* than nvhost
master device. this is a clear violation of dependency rule
for nvhost. this caused suspend-resume to fail for L4T
- this worked on android as it has CONFIG early suspend enabled
while it failed for L4T which doesn't have CONFIG early suspend
enabled

Bug 947617

Change-Id: I6cd405f3ba23d004e7659140019f5130e6c25159
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/87756
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

Rebase-Id: R127a8454b222c8387410443968e09eb73e268d26

7 years agoarm: tegra: p1852: Add nvavp driver
Gajanan Bhat [Thu, 9 Feb 2012 23:11:40 +0000]
arm: tegra: p1852: Add nvavp driver

Change-Id: Ibbddfeb25bbbb5610c1cd18fb20029fd0c4a009e
Signed-off-by: Bob Johnston <bjohnston@nvidia.com>
Reviewed-on: http://git-master/r/86250
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R13320130719717bd8896bceb2e65dfadfb457bb6

7 years agovideo: tegra: host: Merge tegra_grhost and host1x devices
Mayuresh Kulkarni [Fri, 24 Feb 2012 10:16:51 +0000]
video: tegra: host: Merge tegra_grhost and host1x devices

- tegra_grhost is a platform device that represents host1x
- nvhost has device host1x which represents the same hardware
- merge these two device structs
- as the new struct is a nvhost_device, platform_driver
is also converted into a nvhost_driver
- register nvhost device before other graphics devices.
this ensures that nvhost_probe() is called as soon as
nvhost_driver is registered with the core.
- this also ensures that nvmap is probed first, followed
by nvhost, followed by tegra-dc and nvavp (if they
are enabled).

Change-Id: Ic420a6516a9cb20d6f481692a4db10fa6053dd90
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/82631
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rb53faa7cbff5d5bcc8f8a5f23a6c01e3f2dc94bd

7 years agotegra: p1852: Fix build break
Manoj Chourasia [Fri, 10 Feb 2012 10:35:29 +0000]
tegra: p1852: Fix build break

linux/gpio.h header was missing in p1852 board files
causing build break. Adding header fixes the break.

bug 938667

Change-Id: Ie5b471432af2501d74d2dcaa9fe786b1c616107c
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-on: http://git-master/r/83081
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R039717a19d8fe4bef6e027843d72cce151bfc25e

7 years agoARM: tegra: p1852: Add board support files for p1852
Amlan Kundu [Mon, 30 Jan 2012 10:02:59 +0000]
ARM: tegra: p1852: Add board support files for p1852

bug 871603

P1852 is a T30 based Automotive platform.

Signed-off-by: Amlan Kundu <akundu@nvidia.com>
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>

Reviewed-on: http://git-master/r/72253
(cherry picked from commit 98d50016e70a22ae7e8e109cfb6633a8fe75f905)

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

Rebase-Id: Rf9df1d356833eb1832ca097ab87a75442887c7c3

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

Enabling PCIE support in cardhu board.
Fixes bug: 637871

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

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

Rebase-Id: Rc764294969955482ef5f63c3a06ef2c56881ae0f

7 years agovideo: tegra: host: register nvhost master device in board-xxx-panel.c
Mayuresh Kulkarni [Mon, 5 Mar 2012 13:06:47 +0000]
video: tegra: host: register nvhost master device in board-xxx-panel.c

- the suspend order of devices is governed by the order
in which devices are registered
- this commit ensures that nvhost master is registered before
any of the graphics devices
- previously this was done in rootfs_init call which is
later than arch_init calls of board-xxx-panel.c
- this caused tegra-dc device to be registered *before* nvhost
master device. as a result it was suspended *later* than nvhost
master device. this is a clear violation of dependency rule
for nvhost. this caused suspend-resume to fail for L4T
- this worked on android as it has CONFIG early suspend enabled
while it failed for L4T which doesn't have CONFIG early suspend
enabled

Bug 947617

Change-Id: I6cd405f3ba23d004e7659140019f5130e6c25159
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/87756
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

Rebase-Id: Rcf500ccad39bd721b03dd1d83b6c70b731c317be

7 years agovideo: tegra: host: Merge tegra_grhost and host1x devices
Mayuresh Kulkarni [Fri, 24 Feb 2012 10:16:51 +0000]
video: tegra: host: Merge tegra_grhost and host1x devices

- tegra_grhost is a platform device that represents host1x
- nvhost has device host1x which represents the same hardware
- merge these two device structs
- as the new struct is a nvhost_device, platform_driver
is also converted into a nvhost_driver
- register nvhost device before other graphics devices.
this ensures that nvhost_probe() is called as soon as
nvhost_driver is registered with the core.
- this also ensures that nvmap is probed first, followed
by nvhost, followed by tegra-dc and nvavp (if they
are enabled).

Change-Id: Ic420a6516a9cb20d6f481692a4db10fa6053dd90
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/82631
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R929e1a967a04201bd7fad36531160375b767695d

7 years agoARM: tegra: p852: Update pm_power_off registration
Dan Willemsen [Tue, 14 Feb 2012 00:06:00 +0000]
ARM: tegra: p852: Update pm_power_off registration

Opt into the tps6586x registering the pm_power_off handler instead of
doing it ourselves.

Change-Id: Ia722505aa3ee6eba8dd5ebe7769d784045d76ec4
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/83604
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R01210eaf319aef8e236f699af0c9b36768f9beeb

7 years agotegra: NOR: Pass timing register value from platfom data
Manoj Chourasia [Thu, 1 Dec 2011 17:37:25 +0000]
tegra: NOR: Pass timing register value from platfom data

Get timing register value from platform data
instead of timing structure.

Fix NOR device registration using tegra_nor_device.

Signed-off-by: Manoj Chourasia <mchouraia@nvidia.com>

Reviewed-on: http://git-master/r/56889
(cherry picked from commit f77e726ec89d09ba3174a395d9f98c1b02a83c58)

Change-Id: Ie5ea216a770c998dd2ce578f206f83bcbd248fd2
Reviewed-on: http://git-master/r/67710
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R6b43da62f23a9e750cfe8c1a3fa471030284ba22

7 years agotegra: p852: Enable p852 support in kernel
Manoj Chourasia [Sun, 9 Oct 2011 15:24:28 +0000]
tegra: p852: Enable p852 support in kernel

This patch enable support of p852 in kernel

bug 872849

Reviewed-on: http://git-master/r/46387
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
(cherry picked from commit 10f747a674951ef977f4cc66767ade1b6caa6565)

Change-Id: Ideb3c9d09225a6266bfcfa4455613ada72acd789
Reviewed-on: http://git-master/r/56898
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R90b51f3cbda86d52e6b460e21121d85412d4d626

7 years agotegra: p852: Add initial support of p852 platform
Manoj Chourasia [Mon, 19 Sep 2011 10:55:57 +0000]
tegra: p852: Add initial support of p852 platform

This patch adds initial support for p852 platform

bug 872849

Signed-off-by: Manoj Chourasia<mchourasia@nvidia.com>

Reviewed-on: http://git-master/r/46397
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
(cherry picked from commit 7c3e671d05fcabdac4e73adf8f3f297924d44498)

Change-Id: I098489f5ef672ab1462edc0a188dc107f1291435
Reviewed-on: http://git-master/r/56897
Tested-by: Manoj Chourasia <mchourasia@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R7bfc6620b98515249ead457cf9dde9d2f267de64

7 years agoarm: tegra: whistler: Add board suspend/resume
Laxman Dewangan [Mon, 30 Jan 2012 13:30:34 +0000]
arm: tegra: whistler: Add board suspend/resume

Adding board suspend/resume functionality for whistler.

bug 907612

Change-Id: Ibb4178bbed7e4fa5f0d8b0080a34e85a3fe5aefc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/88278
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Tested-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R7ec14556a2b2afcbdc1441c1a44a85ff514a3ddd

7 years agovideo: tegra: host: register nvhost master device in board-xxx-panel.c
Mayuresh Kulkarni [Mon, 5 Mar 2012 13:06:47 +0000]
video: tegra: host: register nvhost master device in board-xxx-panel.c

- the suspend order of devices is governed by the order
in which devices are registered
- this commit ensures that nvhost master is registered before
any of the graphics devices
- previously this was done in rootfs_init call which is
later than arch_init calls of board-xxx-panel.c
- this caused tegra-dc device to be registered *before* nvhost
master device. as a result it was suspended *later* than nvhost
master device. this is a clear violation of dependency rule
for nvhost. this caused suspend-resume to fail for L4T
- this worked on android as it has CONFIG early suspend enabled
while it failed for L4T which doesn't have CONFIG early suspend
enabled

Bug 947617

Change-Id: I6cd405f3ba23d004e7659140019f5130e6c25159
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/87756
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

Rebase-Id: R1ab18ef7a987f47a5dfb6492ed1f7ef32a127671

7 years agoarm: tegra: whistler: reduce carveout size
Prashant Gaikwad [Tue, 14 Feb 2012 12:29:54 +0000]
arm: tegra: whistler: reduce carveout size

Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
(cherry picked from commit 9896377607fb90757289434cd969bebc52726f51)

Change-Id: Ibe6da0737ccd39930ef68f4fb886b507c5efbafe
Reviewed-on: http://git-master/r/87621
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R69cf680e0787e4c763a131a3409812874942d0fc

7 years agoarm: tegra: whistler: reduce reserved fb memory
Prashant Gaikwad [Tue, 14 Feb 2012 12:17:50 +0000]
arm: tegra: whistler: reduce reserved fb memory

Android needs framebuffer for recovery process and display transition
from boot loader to kernel. Reserve only required memory for these scenarios.

Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
(cherry picked from commit 6e4617224e5b9fe5793691a33f3304acff336e55)

Change-Id: I9892025ed256cb0be5c337d65cd84ba42b604158
Reviewed-on: http://git-master/r/87620
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R81c8895f3d78130f87d2cf66c54c73e22c904e6e

7 years agovideo: tegra: host: Merge tegra_grhost and host1x devices
Mayuresh Kulkarni [Fri, 24 Feb 2012 10:16:51 +0000]
video: tegra: host: Merge tegra_grhost and host1x devices

- tegra_grhost is a platform device that represents host1x
- nvhost has device host1x which represents the same hardware
- merge these two device structs
- as the new struct is a nvhost_device, platform_driver
is also converted into a nvhost_driver
- register nvhost device before other graphics devices.
this ensures that nvhost_probe() is called as soon as
nvhost_driver is registered with the core.
- this also ensures that nvmap is probed first, followed
by nvhost, followed by tegra-dc and nvavp (if they
are enabled).

Change-Id: Ic420a6516a9cb20d6f481692a4db10fa6053dd90
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/82631
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rfb159196a3cbcbefd6577411ad1b834c08c778b2

7 years agomach tegra: give a device name for TI aic326x codec that matches its driver
Nikesh Oswal [Fri, 3 Feb 2012 14:40:57 +0000]
mach tegra: give a device name for TI aic326x codec that matches its driver

Change-Id: I02bd96569bb5fec8f9b81a4841b0d4ab44d9f836
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/84526
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R0d27904ae0cf10346079ffa31100648b0bdd06c8

7 years agohwmon: adt7461: Remove usage of irq_to_gpio
Dan Willemsen [Sat, 11 Feb 2012 01:37:41 +0000]
hwmon: adt7461: Remove usage of irq_to_gpio

This API is being removed in v3.2

Change-Id: I3d864dabd2273e737604776aa43c45a64eae90b3
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-on: http://git-master/r/83561
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R6dd4548078c8f3a0a8bfb828f5212cf650b7df5d

7 years agoARM: tegra: whistler: nvidia memory table updates to prevent corruption
Prashant Gaikwad [Thu, 5 Jan 2012 06:38:14 +0000]
ARM: tegra: whistler: nvidia memory table updates to prevent corruption

To avoid memory corruption when device is operating at full temperature
QUSE_EXTRA should always be set to 0 for frequencies 150MHz and less.
As extra protection change FBIO_CFG5 to remove the region where there
is TriState on the DQS signals thus preventing false DQS pulses (and
false reads).

Bug 851461

Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
(cherry picked from commit b4eed65c4d0c493384c8cd10d2e455a9ea0d8ea5)

Change-Id: I9aa60fca6fa09e538a1f2643cfe86247945ea000
Reviewed-on: http://git-master/r/84318
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Edward Ahn <eahn@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rab92c793a33c8d4e98669060ca0be28bdbde761b