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/whistler' into after-boardfiles
Dan Willemsen [Thu, 1 Dec 2011 05:46:32 +0000]
Merge branch 'boardfiles/whistler' into after-boardfiles

7 years agoMerge branch 'boardfiles/ventana' into after-boardfiles
Dan Willemsen [Thu, 1 Dec 2011 05:46:31 +0000]
Merge branch 'boardfiles/ventana' into after-boardfiles

7 years agoMerge branch 'boardfiles/enterprise' into after-boardfiles
Dan Willemsen [Thu, 1 Dec 2011 05:46:30 +0000]
Merge branch 'boardfiles/enterprise' into after-boardfiles

7 years agoMerge branch 'boardfiles/harmony' into after-boardfiles
Dan Willemsen [Thu, 1 Dec 2011 05:46:30 +0000]
Merge branch 'boardfiles/harmony' into after-boardfiles

7 years agoMerge branch 'boardfiles/cardhu' into after-boardfiles
Dan Willemsen [Thu, 1 Dec 2011 05:46:29 +0000]
Merge branch 'boardfiles/cardhu' into after-boardfiles

7 years agoARM: tegra: Whistler K39 updates
Dan Willemsen [Thu, 23 Jun 2011 23:45:48 +0000]
ARM: tegra: Whistler K39 updates

Rebase-Id: Ra87c1d4245a0ce31e3fe7529f06ca18fbe703706

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

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

Rebase-Id: Rbbedcebfaef4d21593024e25b3d17647214dda10

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

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

Bug 829501

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

Rebase-Id: Rb5c3398cf5682d6b5573f91b2faccca931059b45

7 years agoARM: tegra: Modify DDC (i2c2) clock rate as 100KHz
Haley Teng [Mon, 2 May 2011 05:59:08 +0000]
ARM: tegra: Modify DDC (i2c2) clock rate as 100KHz

Per the 8.4.1 section of HDMI spec version 1.4a, 100KHz is the maximum
clock rate of DDC i2c bus.

Bug 820552

Change-Id: I7990309c4f3485c9c356623468cfabe25d733604
Signed-off-by: Haley Teng <hteng@nvidia.com>
Reviewed-on: http://git-master/r/29966
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Alok Chauhan <alokc@nvidia.com>

Rebase-Id: Rbdb18e5942ce5a9ae3edcdfe7e1aeee4ae94e925

7 years agoHACK: fix whistler build
Dan Willemsen [Tue, 26 Apr 2011 00:47:03 +0000]
HACK: fix whistler build

Change-Id: Ic78a86dd1e7a465f0de1f3fb9a5c72e2eb3e8ab0

Rebase-Id: Rf493e8ce71a8cd12f0e1bd406ca9c20b6ce12514

7 years agoMerge remote branch 'git-master/android-tegra-2.6.36' into merge-android
Jin Qian [Thu, 30 Dec 2010 01:35:51 +0000]
Merge remote branch 'git-master/android-tegra-2.6.36' into merge-android

Conflicts:
arch/arm/configs/tegra_defconfig
arch/arm/mach-tegra/Kconfig
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/board-ventana-power.c
arch/arm/mach-tegra/board-ventana-sensors.c
arch/arm/mach-tegra/board-ventana.c
arch/arm/mach-tegra/clock.c
arch/arm/mach-tegra/common.c
arch/arm/mach-tegra/cpu-tegra.c
arch/arm/mach-tegra/fuse.c
arch/arm/mach-tegra/headsmp.S
arch/arm/mach-tegra/tegra2_dvfs.c
arch/arm/tools/mach-types
drivers/rtc/rtc-tegra.c
drivers/usb/gadget/fsl_udc_core.c
drivers/video/tegra/host/dev.c
drivers/video/tegra/host/nvhost_channel.c
drivers/video/tegra/host/nvhost_intr.c

Original-Change-Id: I1e9b6d0e761cf1e95cf90b78b5932b53fcb9bb5e
(cherry picked from commit 2f331e046f7c4cfc6ab54fca3193035b3bf3a14f)
Reviewed-on: http://git-master/r/14572
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Change-Id: I29db8796b2e27a8d218c332de36f880a7cf4bcb2

Rebase-Id: R3ddecd31d02becef183c6113ee1c3bd9c7741791

7 years agoARM: tegra: whistler: Power down/up core rail
Prashant Gaikwad [Thu, 21 Apr 2011 04:13:48 +0000]
ARM: tegra: whistler: Power down/up core rail

program pwren signal of max8907c regulator to power down/up core rail on
deep sleep enter/exit deep sleep mode.

core_timer and core_off_timer changed as per K32.

separate_req set to false as whistler pmu has combined power requests.

Bug 817378

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

Rebase-Id: R690a39529c184fea5be02af9223f7479874fd3e4

7 years agoARM: tegra: whistler: enable spi-slave based modem.
Sheshagiri Shenoy [Mon, 18 Apr 2011 22:38:01 +0000]
ARM: tegra: whistler: enable spi-slave based modem.

- configured the pinmuxes needed by the baseband.
- added board specific baseband related code.
- added caif specific platform data needed by protocol layer.

bug 785523

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

Rebase-Id: R88b62bdca3f984c66510158d1bc6878fdd014619

7 years agoARM: tegra: whistler: add camera sensor soc380
Abhinav Sinha [Thu, 31 Mar 2011 21:22:55 +0000]
ARM: tegra: whistler: add camera sensor soc380

Add registration and initialization of soc380 camera

Bug: 783488
Change-Id: I9ad9d25cfa51a45b2fe889cdac5b90650eafdd03
Reviewed-on: http://git-master/r/24973
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rbc401adf9f12bd877731762ca05dd4886fafe37b

7 years agoARM: tegra: whistler: Add support for AD5820 focuser
Frank Chen [Thu, 7 Apr 2011 01:36:47 +0000]
ARM: tegra: whistler: Add support for AD5820 focuser

Bug 783488

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

Rebase-Id: Rf5bdb5d2a7ddb1d0c198456bb264012a65dc806a

7 years agoARM: tegra: whistler: Update ov5650 driver
Frank Chen [Mon, 4 Apr 2011 19:43:13 +0000]
ARM: tegra: whistler: Update ov5650 driver

- Set vddio_vi voltage to 1.8v
- Enable vddio_mipi regulator
- Adjust camera power on sequence
- Update copyright info

Bug 783488

Change-Id: If5d61879a33131d4b5f99cf232d0b246f0524e2e
Reviewed-on: http://git-master/r/26618
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Frank Chen <frankc@nvidia.com>

Rebase-Id: R6176d3e776bcedda6dd2e9d4e7aec60170cb5dc8

7 years agoARM: tegra: whistler: uart: Add PORT_TEGRA port type
Pradeep Goudagunta [Mon, 28 Mar 2011 11:30:05 +0000]
ARM: tegra: whistler: uart: Add PORT_TEGRA port type

Add and force debug uart port type to PORT_TEGRA.

Bug 803910

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

Rebase-Id: Re96b204e4ce254f2aebb9ba53c86ddff1576e8da

7 years agoARM: tegra: whistler: power down usb3 on suspend
Prashant Gaikwad [Thu, 24 Mar 2011 07:35:50 +0000]
ARM: tegra: whistler: power down usb3 on suspend

To turn off usb3 and usb3.emc clock, tegra-ehci.2 should be powered off
when bus is supended. Enable power_down_on_bus_suspend for usb3 (tegra-ehci.2).
Also added the platform data structure which is used when USB suspends.

Bug 807237

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

Rebase-Id: Ref4b904e6b50bc3a83d1500b912c8d8129bac76d

7 years agoarm: tegra: use debug_uartport kernel parameter
Pradeep Goudagunta [Wed, 23 Mar 2011 17:46:12 +0000]
arm: tegra: use debug_uartport kernel parameter

Use debug_uartport kernel option to configure debug uart port as
high speed(ttyHS1) or low speed(ttyS0) according to odmdata(19:18).

Bug 803465

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

Rebase-Id: R7b0d57256c34a0f9e8643b8e777b4eeb3f94cd88

7 years agoARM: tegra: baseband: fix modem reset sequence
Steve Lin [Wed, 16 Mar 2011 01:24:40 +0000]
ARM: tegra: baseband: fix modem reset sequence

Fix baseband modem reset function on whistler.
Bug 776276

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

Rebase-Id: R2347ccd2261b12ac53f0f4773c24fd739fff5e73

7 years agoARM: tegra: whistler: Add entry for mem on A03
Prashant Gaikwad [Wed, 16 Mar 2011 07:31:03 +0000]
ARM: tegra: whistler: Add entry for mem on A03

elpida memory on E1108 A03 board has different product id.
Added an entry for it in tegra emc chips table.

Bug 786376

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

Rebase-Id: R2e51939f8c9c4d29d0ebc2b1146b26736c675b85

7 years ago[arch/arm] whistler: Add KEY_MENU support
Wen Yi [Sat, 5 Mar 2011 01:07:47 +0000]
[arch/arm] whistler: Add KEY_MENU support

BUG 780067

Map row 2, column 1 to KEY_MENU

Original-Change-Id: I120ea7714111e129c3ec330c70592cc292dbba7a
Reviewed-on: http://git-master/r/21737
Reviewed-by: Wen Yi <wyi@nvidia.com>
Tested-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Re62e357067a84bd6c974ca0c33365cbb78bfac1c

7 years ago[ARM] tegra: Enable EMC scaling
Prashant Gaikwad [Fri, 11 Mar 2011 06:09:30 +0000]
[ARM] tegra: Enable EMC scaling

Frequency tables added for memory.
Enabled memory tables used for EMC scaling.

Bug 786376

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

Rebase-Id: R74db053a9fd2a79023117e9f26c2dc2543c814ea

7 years ago[ARM] tegra: set pm_power_off to whistler routine
Prashant Gaikwad [Thu, 10 Mar 2011 10:57:49 +0000]
[ARM] tegra: set pm_power_off to whistler routine

for whistler, implement pm_power_off with max8907c's power off routine.

Bug 799957
Bug 800602 (Cold boot)

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

Rebase-Id: R60e9aaa33fb680ff91d1836d885cb421b05fdde9

7 years agomerge: trivial updates resolved from upstream
Dan Willemsen [Tue, 8 Mar 2011 08:21:01 +0000]
merge: trivial updates resolved from upstream

* Move include/linux/tegra_usb.h to
  include/linux/platform_data/tegra_usb.h

Original-Change-Id: I5b7799c5af8029b15ad206978718b337afac8814
Reviewed-on: http://git-master/r/22165
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

Rebase-Id: Rb43ded0f5544dfa7875e1b99edfa67e63caaaaba

7 years ago[ARM] tegra: Platform data for Thermal Throttling
Prashant Gaikwad [Tue, 22 Feb 2011 09:07:27 +0000]
[ARM] tegra: Platform data for Thermal Throttling

Platform data added in ADT7461 Thermal Sensor driver
registration for Thermal Throttling.

Bug 786378

Original-Change-Id: I3bdbe1bb6b32d2221f4a0236f467e11f9b724329
Reviewed-on: http://git-master/r/20376
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Ra421fffd0e080d5c0b1d4a97cdd783de387542ae

7 years agoarm: tegra: whistler: backlight support
Joseph Lehrer [Tue, 15 Feb 2011 16:38:03 +0000]
arm: tegra: whistler: backlight support

bug 773671

Original-Change-Id: I4e2898b17e47b186cd7ffa64d79d38f69bcce269
Reviewed-on: http://git-master/r/19601
Tested-by: Joseph Lehrer <jlehrer@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R605e62fef6564bae2955d54714a914d25f01ca94

7 years agotegra: Board specific file changes related to USB Phy interface
Seshendra Gadagottu [Tue, 8 Feb 2011 00:40:40 +0000]
tegra: Board specific file changes related to USB Phy interface

Board files are updated with USB phy inteface info related to USB2
instance
BUG: 756184

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

Rebase-Id: Re794a80a4f74855b0f937292d76120c6ed1d637a

7 years agowhistler: add irq to max8907c driver
Tom Cherry [Fri, 21 Jan 2011 22:40:30 +0000]
whistler: add irq to max8907c driver

Add irq to max8907c mfd driver to be used with RTC and battery charger

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

Rebase-Id: R1bb02c49817f294215c66b324f755f90dcc13f66

7 years ago[ARM] tegra: i2c registration for ADT7461
Prashant Gaikwad [Wed, 2 Feb 2011 13:25:07 +0000]
[ARM] tegra: i2c registration for ADT7461

Registering ADT7461 thermal sensor on i2c bus 4.

Bug 782954

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

Rebase-Id: R963865ddcbc4a1772df37a8f1bfa6cf16269bb4d

7 years ago[ARM] tegra: whistler: camera: sensor power on/off
Sachin Nikam [Fri, 28 Jan 2011 13:21:46 +0000]
[ARM] tegra: whistler: camera: sensor power on/off

Correcting the GPIO names for sensor power.
Enabling regulator when sensor is opened and disabling it when
sensor is closed.

Bug 783488

Original-Change-Id: I62c5dd8bfc7a1a63e1ff42450af3699a3ecd66f8
Reviewed-on: http://git-master/r/17472
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R48382f3e8adbabbf96314f0caf6b64f70bec9ec1

7 years ago[mach-tegra/whistler] Mux i2c bus i2c2
Tom Cherry [Tue, 1 Feb 2011 01:10:51 +0000]
[mach-tegra/whistler] Mux i2c bus i2c2

Mux i2c bus i2c2 into dcc bus and gen2 bus

Bug 786162

Original-Change-Id: Id163459afa8d9f27564a051f6bf239c13d3cd8b6
Reviewed-on: http://git-master/r/17806
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R269679ca60b740aba650fcdb06adec043d81baad

7 years ago[ARM] tegra: removing LDO5 consumer supply
Sachin Nikam [Thu, 27 Jan 2011 11:15:56 +0000]
[ARM] tegra: removing LDO5 consumer supply

LDO5 regulator has consumers VCORE_MMC, AVDD_LCD1 and
VDDIO_1WIRE.
SDHCI gets this regulator by name "vmmc" and disables in
suspend and enables on resume.
Though it happens equal number of times after resume UI is not seen.
Till proper fix is identified removing the consumer supply entry
for LDO5 after which device resumes with UI properly.

Bug 780047

Original-Change-Id: Ia95906861ad5fa030546f5d723615c74932c97be
Reviewed-on: http://git-master/r/17197
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R94592367db8c19f2158f0eba3b9390acb23d077b

7 years ago[ARM] tegra: add baseband modem support
Steve Lin [Wed, 12 Jan 2011 01:40:15 +0000]
[ARM] tegra: add baseband modem support

Add baseband modem init/reset functions for whistler.
Bug 776276

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

Rebase-Id: R5d0b886b465e018d73b1fcc03d6b3c355a844f7b

7 years ago[ARM] tegra: i2c registration of proximity sensor
Prashant Gaikwad [Thu, 27 Jan 2011 13:06:06 +0000]
[ARM] tegra: i2c registration of proximity sensor

Registering ISL29018 als and proximity sensor on GEN1 I2C.

Bug 782958

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

Rebase-Id: R9ed1dbdc8b30bb72258e1fb900b497c0c0cb8900

7 years ago[ARM] tegra: sdhci: external sdcard hotplug gpio
Sachin Nikam [Thu, 20 Jan 2011 14:35:27 +0000]
[ARM] tegra: sdhci: external sdcard hotplug gpio

Bug 779990

Original-Change-Id: I229d05da084ac15439e7b458f231f6f983776d4a
Reviewed-on: http://git-master/r/16404
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R605d925c23196b3c5a9b1575d7173126b569ff5d

7 years ago[ARM] tegra: Enable LP0 support
Sachin Nikam [Mon, 17 Jan 2011 13:28:16 +0000]
[ARM] tegra: Enable LP0 support

Bug 780047

Original-Change-Id: Ideec82c535d9fbad869cce89375828342da91dbb
Reviewed-on: http://git-master/r/16058
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Re614c8b44c1062d3444ecabea1c9163ef0473ede

7 years ago[ARM] tegra: i2c registration of accelerometer
Prashant Gaikwad [Wed, 19 Jan 2011 12:45:47 +0000]
[ARM] tegra: i2c registration of accelerometer

Registering ADXL34x accelerometer on GEN1 I2C.

Bug 780004

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

Rebase-Id: Rec54e5a14a0be700f035a6d34f1d683591522c4e

7 years ago[ARM] tegra:kbc:Misc fixes and cleanups
Pradeep Goudagunta [Wed, 19 Jan 2011 14:31:22 +0000]
[ARM] tegra:kbc:Misc fixes and cleanups

Following are changes:
- Fixes stylistic, indenting and coding style issue.
- Added option for scan timeout.
- Fixes code to have only required number of key codes from board.
- Remove the keycodes from driver and only based on board table.
- Fixes the kbc platform data to provide better option for configuration.
- Modified board files to build properly.

Original-Change-Id: I5e6b9f26ecf8db0769aabac9574cfb6d48c1f061
Reviewed-on: http://git-master/r/16254
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R3c23e26a5a9faa1ae3889fea08426cf0aae6f190

7 years agoARM: tegra: whistler: sdmmc2 controller clock to 25MHz
rgoyal [Thu, 6 Jan 2011 07:08:20 +0000]
ARM: tegra: whistler: sdmmc2 controller clock to 25MHz

As seeing issue with e1219 for high clock frequency
capping it to 25 MHz, we need to resolve this issue

BUG 780995

Original-Change-Id: I8094421b9b6d176af085d55541ef506dcefc8403
Reviewed-on: http://git-master/r/15104
Tested-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R93b21c35cbb5ec573b13781045e295f4a8be70ac

7 years agoARM: tegra: whistler: enabling wifi for bcm4329
rgoyal [Thu, 6 Jan 2011 06:26:49 +0000]
ARM: tegra: whistler: enabling wifi for bcm4329

Enabling wifi for whistler by adding bcm platform device and changing
pinmux.

BUG 773541

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

Rebase-Id: Rfdd79a84f1878a5257077300f67cc75e7b3cebcb

7 years ago[ARM] tegra: whistler: regulator constraints
Sachin Nikam [Mon, 3 Jan 2011 15:16:11 +0000]
[ARM] tegra: whistler: regulator constraints

For Max8907b SD1 and SD2 regulator min and max voltages are same.
min = 637500mV and max = 1425000mV.

Original-Change-Id: I11ace93220df1a8f57ba2f08aff7b25f2f37a9e2
Reviewed-on: http://git-master/r/14796
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R81bc83db6f043ff529a994b70438aa65a114e464

7 years ago[ARM] tegra: whistler: hdmi support
Sachin Nikam [Fri, 7 Jan 2011 11:12:57 +0000]
[ARM] tegra: whistler: hdmi support

Registering second display controller for hdmi.
And HDMI hotplug detection gpio.

Original-Change-Id: I8428044f034698b4158f8aabc8ab39aba9cf5f2d
Reviewed-on: http://git-master/r/15233
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R9ec5401e1675f9b56ed6ffbf5ccc1a7814bd5f3a

7 years ago[ARM] tegra: Add GPS support.
Raj Jayaraman [Thu, 6 Jan 2011 19:45:05 +0000]
[ARM] tegra: Add GPS support.

Bug 773512

Original-Change-Id: Ic4eb14be2ecd0410174b023ed3bba70bae9e8418
Reviewed-on: http://git-master/r/15148
Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R4cfb8e95835f6b03e137c2d051f5cd73c50075f3

7 years ago[ARM] tegra: whistler: USB OTG Support
Sachin Nikam [Tue, 4 Jan 2011 08:37:24 +0000]
[ARM] tegra: whistler: USB OTG Support

Ground work to support OTG.

Original-Change-Id: I92360eab9ad91043ad4a69411fa2cc52942e21f0
Reviewed-on: http://git-master/r/14867
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rd504297c374fba4534925ad1bca891e7dd58bc85

7 years ago[ARM] tegra: whistler: Camera sensor ov5650
Sachin Nikam [Mon, 3 Jan 2011 08:44:13 +0000]
[ARM] tegra: whistler: Camera sensor ov5650

Regestering and intializing tegra_camera and ov5650.
Configuring pinmix for VI.

Original-Change-Id: I7672f5a1e4ef87cc115183395b144a82bb52f9e8
Reviewed-on: http://git-master/r/14773
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rd2e3a9a82f64070c2e10fbf26a56b78ff705ccdf

7 years agotegra: otg: Don't use global functions in board files
Dan Willemsen [Wed, 5 Jan 2011 02:10:33 +0000]
tegra: otg: Don't use global functions in board files

Releasing the platform_data in unregister.

Original-Change-Id: Iba1c6e7ad42b0886f8ce9dadf9664bcc266398d4
Reviewed-on: http://git-master/r/14963
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R9e64082fe3f9aa4dc94b9f9eb629a71023945dfe

7 years ago[ARM] tegra: whistler: mmc regulator name
Sachin Nikam [Thu, 30 Dec 2010 14:22:04 +0000]
[ARM] tegra: whistler: mmc regulator name

mmc driver expects regulator name as "vmmc"

Original-Change-Id: Ic3aa58f7794c24042fafe0b5d3915875bda7447a
Reviewed-on: http://git-master/r/14728
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R72524359786125b048414e122d7b2bcce14cf389

7 years ago[arm/tegra] enabling bt on whistler
rgoyal [Tue, 28 Dec 2010 07:56:05 +0000]
[arm/tegra] enabling bt on whistler

Enabling bt on whistler board. creating rfkill platform device
(whistler_bcm4329_rfkill_device)

BUG 773549

Original-Change-Id: Ib64786f36c63121e16ffd64fd2ac0621f19f5137
Reviewed-on: http://git-master/r/14453
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Tested-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R2436aa6591ae3b3888496ef526aa2a75999ff06b

7 years ago[ARM] tegra: whistler: register scrollwheel
Sachin Nikam [Tue, 21 Dec 2010 07:40:31 +0000]
[ARM] tegra: whistler: register scrollwheel

Registering GPIOs for scrollwheel device.

Original-Change-Id: I236d122c5c374ebe09a6dea7242be49b4a773e18
Reviewed-on: http://git-master/r/13965
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R414cca0426e424c35032173685597dc6cc4b09e3

7 years ago[ARM] tegra: whistler: regulator consumer supply
Sachin Nikam [Mon, 27 Dec 2010 09:07:12 +0000]
[ARM] tegra: whistler: regulator consumer supply

Adding names of the regulator supply for max8907c

Original-Change-Id: I7e56937bc7b223f062b9573776435a479cccb203
Reviewed-on: http://git-master/r/14378
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8b98ffb859d0c54d132346d55b92a37a7f773fdd

7 years ago[KBC] Fix KBC implementation for Whistler.
Victor Ryabukhin [Fri, 24 Dec 2010 06:01:52 +0000]
[KBC] Fix KBC implementation for Whistler.

See bug 773201.

Previous implementation defined all possible pins as KBC pins, which
caused some conflicts. New implementation uses only Row0/1/2 and Col0/1
as KBC.

Original-Change-Id: I0d599c3fe9c076ea930ee8e9ae682be865b54361
Reviewed-on: http://git-master/r/14217
Tested-by: Victor Ryabukhin <vryabukhin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R2f3fcdac1d6d0696a5c84112e5c2d54ec88ec36b

7 years agotegra: common: move pll_m initialization to common.c
Tom Cherry [Wed, 22 Dec 2010 02:03:06 +0000]
tegra: common: move pll_m initialization to common.c

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

Rebase-Id: Rbbe25110aa153e18aaed4410f2615547b588c56c

7 years ago[ARM] tegra: whistler: registering kbc driver
Sachin Nikam [Mon, 20 Dec 2010 05:49:04 +0000]
[ARM] tegra: whistler: registering kbc driver

Adding functional keymap for whistler.

Original-Change-Id: I43208d8f901933b368c1c034f56cf0680613312a
Reviewed-on: http://git-master/r/13777
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R08ed261467ceee3bb8a841a154123406c21ff29d

7 years ago[ARM] tegra: registering tegra-avp device
Sachin Nikam [Mon, 20 Dec 2010 13:13:34 +0000]
[ARM] tegra: registering tegra-avp device

Original-Change-Id: I5f8603d54c8c5eae39bd95a93908bc6aa43ff225
Reviewed-on: http://git-master/r/13805
Tested-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rf19563de4da01631235d96b6f78eb12d84105bb4

7 years agoInitial whistler backlight support
Tom Cherry [Thu, 2 Dec 2010 23:02:18 +0000]
Initial whistler backlight support

Original-Change-Id: I6ec5ec582470feb389a988ae6b48f08b04fc6402
Reviewed-on: http://git-master/r/12349
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R830e8b7be3a97869bdba9fe43fd1db0950c52f2a

7 years agotegra: whistler: memblock_reserve
Tom Cherry [Thu, 2 Dec 2010 21:35:46 +0000]
tegra: whistler: memblock_reserve

use memblock_reserve fb functions for fb memory reservation

Cherry-picked from http://git-master/r/#change,11090

Original-Change-Id: I71c47dfb381eb070c87b94620989ff99b053df30
Reviewed-on: http://git-master/r/12348
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R77e20833f546484ef5780d1f46bac282b4cdf451

7 years agoInitial whistler panel support
Tom Cherry [Fri, 17 Dec 2010 21:55:53 +0000]
Initial whistler panel support

Original-Change-Id: I39d19f408d8ecfff67b132a5d22884c541dd54cd
Reviewed-on: http://git-master/r/12347
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R0a0c5e6fe56f339b867c5ed809b4cc2a0cbea0a8

7 years agomax8907c regulator for whistler
Tom Cherry [Mon, 13 Dec 2010 19:18:28 +0000]
max8907c regulator for whistler

Original-Change-Id: I03149a2ca8d7fd1724a450612ac37c750167d7cd
Reviewed-on: http://git-master/r/11699
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Ra5c3135f477e1b988f935c6df5c16675f32faaf6

7 years agoInitial Whistler support in K36
Tom Cherry [Mon, 13 Dec 2010 19:15:36 +0000]
Initial Whistler support in K36

Original-Change-Id: I6fce3852aa1e5063c45caa72c53d6f095db969b7
Reviewed-on: http://git-master/r/11640
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rb8c00a412d29ee52d6ad680af817dd1cd99fc727

7 years agoARM: tegra: usb: update default UTMIP phy setting
Jay Cheng [Thu, 5 May 2011 20:03:52 +0000]
ARM: tegra: usb: update default UTMIP phy setting

Revise some default settings for utimp phy

Bug 815848

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

Change-Id: I403746d85a3ef32d05bec5867b407f41e1f614e4
Reviewed-on: http://git-master/r/30568
Tested-by: Cho-Che Cheng <jacheng@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R604781894e13c3c82b8e6dec0b20bc24f78ea080

7 years agoarm: tegra: ventana: ldo4 must never be disabled
Varun Wadekar [Wed, 1 Jun 2011 10:21:45 +0000]
arm: tegra: ventana: ldo4 must never be disabled

disabling ldo4 kills power to the board completely.
there is no way to power on the board again, other
than reinserting the power plug.

Reviewed-on: http://git-master/r/#change,34692
(cherry picked from commit a556670031234ea910561b4a0de75a5741f6b1b6)

Original-Change-Id: Id248811727cc7ca8f5ef2640f9a1d81a0217de05
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/35195
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8a2543048e33e74a83e9d9b58c43d7792d657bcc

7 years agoarm: tegra: ventana: ldo6 uses 1.8v always
Varun Wadekar [Mon, 30 May 2011 11:43:03 +0000]
arm: tegra: ventana: ldo6 uses 1.8v always

camera needs LDO6 to be 1.8v always. the same was
done in the camera init code but was causing issues
because of recent changes in the regulator core.
fixing this issue by setting LDO6 to 1.8v at
during regulator init.

Bug 832292

Original-Change-Id: I185d83f5f31640d30c2c04acc28ccbb04f9f0557
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/34473
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Abhinav Sinha <absinha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R32a9fd66a379b201edc689d80f926cc1ef3b2f4e

7 years agoarm: tegra: otg: Set platform data to NULL
Suresh Mangipudi [Fri, 6 May 2011 09:26:30 +0000]
arm: tegra: otg: Set platform data to NULL

Set the platform data for the USB1 host mode to NULL during the unregister.
After freeing up the platform data pointer.

Bug 820333

(cherry picked from commit 3d416101e629b50c9060e3daed7ab1281a465de5)

Original-Change-Id: I432a7315ed3a2ff3c1d8d961f6f1e981451b22fe
Reviewed-on: http://git-master/r/34459
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R5275958f08715d65d117bf5c687898498f8b166b

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

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

Rebase-Id: R6e06e415416bfc1c7ce85a2130c8691ccd50c3b9

7 years agoarm: tegra: ventana: switch on supply only when camera is opened
Nitin Kumbhar [Mon, 2 May 2011 11:49:36 +0000]
arm: tegra: ventana: switch on supply only when camera is opened

LDO_SHDN_L signals control AVDD_2P8V and VDD_AF_2P8V supplies to
camera sensor modules. Power on these supplies only when camera
is in use.

BUG 782390

Reviewed-on: http://git-master/r/30015
(cherry picked from commit 2625b09d0e176c6ae1c4cd779ec1bb9f23c57e0b)

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

Rebase-Id: R64714642bcd49e30dbb4ff3c7ee36dc3449aafec

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

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

Bug 829501

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

Rebase-Id: R9c90fa22cc86b7be95484ad66fb3d0e3ff882b0c

7 years agoarm: tegra: ventana: deselect pca9546 i2c mux channel on exit
Nitin Kumbhar [Fri, 29 Apr 2011 09:03:57 +0000]
arm: tegra: ventana: deselect pca9546 i2c mux channel on exit

On ventana, pca9546 is used as a mux for 0v2710/ov5650 camera
sensors. With UJA0H14 version of ov5650 sensor, it is observed
that pca9546 driver incorrectly caches last channel when VDDIO_CAM
is toggled while enabling/disabling tegra camera. Deselect i2c
mux channel on exit so that i2c mux is correctly configured with
new mux channel.

BUG 812134

(cherry picked from commit 2d62e589c0bd933db846d4b8f9fe4f2116bef8ad)

Reviewed-on: http://git-master/r/29811
(cherry picked from commit c53b7eb26bee96fd7927e94848055af94baa831b)

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

Rebase-Id: R3e1bb9b2c39b5128bb193bb850714db94261e442

7 years agoARM: tegra: Modify DDC (i2c2) clock rate as 100KHz
Haley Teng [Mon, 2 May 2011 05:59:08 +0000]
ARM: tegra: Modify DDC (i2c2) clock rate as 100KHz

Per the 8.4.1 section of HDMI spec version 1.4a, 100KHz is the maximum
clock rate of DDC i2c bus.

Bug 820552

Original-Change-Id: I7990309c4f3485c9c356623468cfabe25d733604
Signed-off-by: Haley Teng <hteng@nvidia.com>
Reviewed-on: http://git-master/r/29966
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Alok Chauhan <alokc@nvidia.com>

Rebase-Id: Rb653b99d7f392767c04e910077c132e2f52b867d

7 years agoHACK: fix ventana build
Dan Willemsen [Mon, 25 Apr 2011 22:18:14 +0000]
HACK: fix ventana build

Original-Change-Id: I1cc3005f179fbb4de44c991c026b73ef1cbd9897

Rebase-Id: R8da265e6645f80c2d7f0211d999b71a241ba0fbc

7 years agoARM: tegra: usb: using proper usb phy types
Steve Lin [Fri, 8 Apr 2011 21:12:07 +0000]
ARM: tegra: usb: using proper usb phy types

Using proper usb phy types instead of hard coded usb instance.
Bug 800301

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

Rebase-Id: Re744ad52caf6c5814295a6712b7e17022e31d5e5

7 years agoUpdate copyrights
Scott Williams [Mon, 28 Mar 2011 07:34:42 +0000]
Update copyrights

Original-Change-Id: I2ffeaf6f8dfeb279b40ca6f69f6c9157401a746a

Rebase-Id: R956561f60449956126a3885ea8ba25f84965e36e

7 years agotegra: usb: ventana: Select proper phytype
Suresh Mangipudi [Tue, 15 Feb 2011 08:23:46 +0000]
tegra: usb: ventana: Select proper phytype

Set proper phy type for each of the USB host instances.

Original-Change-Id: Ic02e2bdddf77c9118c312d2d9aeb607721e7769b
Reviewed-on: http://git-master/r/19568
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Original-Change-Id: Ida37a16bdb214dc3263dc653013aa71db86fd161

Rebase-Id: R65125c99bd3d92914d0083882bf5bd4d757fd9ab

7 years agoARM: tegra: ventana: SSL3250A board level support
Erik Lilliebjerg [Tue, 19 Apr 2011 12:32:32 +0000]
ARM: tegra: ventana: SSL3250A board level support

Fix SSL3250A camera flash I2C errors.

Bug 778859

Original-Change-Id: I086eb863cce343a107f5f382d2b96eecf70d6902
Reviewed-on: http://git-master/r/28202
Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Tested-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R84be03109b84d0637e45167934d913d5a1afaeef

7 years agoARM: tegra: ventana: SSL3250A board level support.
Erik Lilliebjerg [Thu, 10 Mar 2011 08:55:35 +0000]
ARM: tegra: ventana: SSL3250A board level support.

Add board level support for camera SSL3250A flash.

Bug 778859

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

Rebase-Id: Rc70a0c3f24d788455cef90068d06cb8cb771dce9

7 years agoARM: tegra: ventana: updated on/off handlers for left/right ov5650
Pritesh Raithatha [Thu, 7 Apr 2011 12:22:39 +0000]
ARM: tegra: ventana: updated on/off handlers for left/right ov5650

Bug 809921

Original-Change-Id: I3de13b3e53471c2550284b41e52fc191bba87f8b
Reviewed-on: http://git-master/r/27033
Tested-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: George Bauernschmidt <georgeb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Ra1606d537d88ec62ee670bd299a7be73a96b66ef

7 years agoARM: tegra: ventana: Fixed the VI GPIO control
Shan Neng Chen [Thu, 24 Mar 2011 05:50:33 +0000]
ARM: tegra: ventana: Fixed the VI GPIO control

Current Ventana flash designed is connected to VI GPIO pin.
GPIO can't control as expected if we didn't set it to correct
Pinmux group.

Original-Change-Id: I77277f268c4086e135c2852bcb5a430bd3a3d2ca
Reviewed-on: http://git-master/r/24094
Reviewed-by: Shan Neng Chen (Engrg-HW-Media & Commns Prcsng) <snchen@nvidia.com>
Tested-by: Shan Neng Chen (Engrg-HW-Media & Commns Prcsng) <snchen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rc97d8229cb97972f1d430146501cebe6fd540783

7 years agoarm: ventana: Change the i2c pins pupd to normal
Alok Chauhan [Tue, 5 Apr 2011 10:19:07 +0000]
arm: ventana: Change the i2c pins pupd to normal

Change the i2c pins pupd to normal because internal pull up
are present. gen1_i2c(rm), cam_i2c(dtf), gen2_i2c(pta),
pwr_i2c(i2cp) and ddc_i2c(ddc) are respectively pulled up to
vddio_uart, vddio_vi, vddio_nand, vdd_1v8 and vddio_hdmi

bug 788286

Reviewed-on: http://git-master/r/26695
(cherry picked from commit 617e288c1f7adca21b33e56ff124fde317eaaecd)

Original-Change-Id: I4ca5b76616b7664c2b9bd49c9bfc7988d8de0a0f
Reviewed-on: http://git-master/r/26831
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rff8c97abb43b92356f50fd3cae9eb5ca19aedd75

7 years agoarm: ventana: i2c addresses for new i2c slaves
Nitin Kumbhar [Fri, 1 Apr 2011 14:16:09 +0000]
arm: ventana: i2c addresses for new i2c slaves

Assign 0xFC as i2c slave address for all new i2c slaves

BUG 788286

Reviewed-on: http://git-master/r/25101
(cherry picked from commit 32390e01c72732272c933883d0921a80d369c82f)

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

Rebase-Id: Re3223392d37740e802da731d722c4525cc6cc90a

7 years agoarm: tegra: ventana: fix dc out bit depth
Ari Hirvonen [Sat, 12 Mar 2011 15:47:04 +0000]
arm: tegra: ventana: fix dc out bit depth

Set to 18bit which is what Ventana's panel expects.
Enabled ordered dithering for smoother gradients.

Bug 797698

Signed-off-by: Ari Hirvonen <ahirvonen@nvidia.com>
Reviewed-on: http://git-master/r/22717
(cherry picked from commit a904334b06a7b3bf255edadedd8b04055b2a0457)

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

Rebase-Id: R57d0c8a0fcfcc5a551c3e8ac957741dcdd5fd61f

7 years agoARM: tegra: ventana: enable debug_uart port hs/ls
Pradeep Goudagunta [Mon, 28 Mar 2011 17:58:20 +0000]
ARM: tegra: ventana: enable debug_uart port hs/ls

enable debug_uart port as highspeed(ttyHS*) or lowspeed(ttyS*)
according to kernel parameter debug_uartport.

Bug 778978

Original-Change-Id: Icb56357f62ad8375933fb0fe5032b42a59346d79
Reviewed-on: http://git-master/r/24519
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rfc20ac1e2328ef462ca145a630939376a710930f

7 years agoARM: tegra: ventana: Tune RTC XTAL capacitance
David Schalig [Thu, 10 Mar 2011 12:55:45 +0000]
ARM: tegra: ventana: Tune RTC XTAL capacitance

Ventana has external 20pF cap on RTC XTAL, set PMU
internal cap to minimum value.

Bug 798832, Tested on Ventana/wake via Alarm Clock

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

Rebase-Id: R0a764a3b15ee0fc84b333e2b0eb86fd5cfdcbd61

7 years agoARM: tegra: ventana: Fix initcall for multiboard
Dan Willemsen [Tue, 22 Mar 2011 21:27:12 +0000]
ARM: tegra: ventana: Fix initcall for multiboard

Original-Change-Id: Ifb9469d85096eedc0d872b8aac086facfdf7c843
Reviewed-on: http://git-master/r/24084
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R45875775e68c3280b234dae237aeb17f943701fa

7 years agoARM: tegra: pinmux: correct i2c drive pin groups
Nitin Kumbhar [Tue, 22 Mar 2011 06:27:35 +0000]
ARM: tegra: pinmux: correct i2c drive pin groups

The drive pin groups for i2c are DBG(GEN1_I2C), VI2(CAM_I2C),
AT1(GEN2_I2C) and AO1(PWR_I2C). As there are no entries in
tegra_soc_drive_pingroups table for DTF, I2CP and RM, pg_readl()
and pg_writel() use '0' as reg offset while configuring i2c drive
pin groups.

Original-Change-Id: Ide6aa68ad0d7247791169f1b3e6c84b324c1dfcf
Reviewed-on: http://git-master/r/23831
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

Rebase-Id: R48299d59c3865ff80431d04a51df89f03669ff93

7 years agoARM: tegra: ventana: Fixed backlight toggling.
Gaurav Sarode [Tue, 15 Mar 2011 23:52:32 +0000]
ARM: tegra: ventana: Fixed backlight toggling.

Ventana 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 implement the check_fb pwm_backlight hook to make the internal
panel's backlight only toggle on fb0 blank changes.

Making equivalent commit from http://git-master/r/21717

Fixed bug 798863

Original-Change-Id: I6465ec40720dc24410808723439277a20c7f764d
Reviewed-on: http://git-master/r/23101
Reviewed-on: http://git-master/r/23726
Tested-by: Gaurav Sarode <gsarode@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R42c55c886e4c7aee975278eb8569cafb79c06da8

7 years agoARM: tegra: ventana: camera: corrected ifdef and func names
Pritesh Raithatha [Wed, 16 Mar 2011 11:44:05 +0000]
ARM: tegra: ventana: camera: corrected ifdef and func names

-using CONFIG_TEGRA_CAMERA instead of CONFIG_VIDEO_OV5650
as the code is common for all three cameras.
-corrected function, struct and variable names as they
were leading misunderstanding.

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

Rebase-Id: Rc0b7fa95583178a07b1b9577fd67a05ea5ef2060

7 years agoARM: tegra: ventana: camera: Set LDO6 to 1.8V
Pritesh Raithatha [Wed, 16 Mar 2011 10:35:32 +0000]
ARM: tegra: ventana: camera: Set LDO6 to 1.8V

By default ldo6 is set to 2.85V. Ventana camera require it
 to set to 1.8V.

Bug 799890

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

Rebase-Id: R2eac0475e743fda09e22506d1800a08a5ea1a3f5