7 years agotracelevel module: Prioritize trace events
Alon Farchy [Wed, 6 Jul 2011 00:12:29 +0000]
tracelevel module: Prioritize trace events

This module lets subsystem authors prioritize ftrace events
by calling tracelevel_register(...). High priority traces
will be automatically enabled on boot. See tracelevel.h
for more details

Original-Change-Id: If03699e96c598bdcf93b9a9f73918ce7b0c750cb
Reviewed-on: http://git-master/r/40290
Reviewed-by: Alon Farchy <afarchy@nvidia.com>
Tested-by: Alon Farchy <afarchy@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R49f59f81d61907f66fdf892130a1b4dc6575d40e

7 years agohwmon: tegra: tsensor: more error prints
Bitan Biswas [Wed, 17 Aug 2011 10:30:17 +0000]
hwmon: tegra: tsensor: more error prints

In case of tsensor probe failure in temperature
calculation sanity test step, added more prints.

bug 865024

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

Rebase-Id: Rec20a2726eae6e0779761beb6510f59ef3aab6f1

7 years agomedia: video: tegra: add new mode for 1080p
Shiva Dubey [Tue, 16 Aug 2011 05:34:07 +0000]
media: video: tegra: add new mode for 1080p

add new mode for 1080p(1920x1080) in ov5650
which outputs the frame of exactly the same
size as 1920x1080.

Bug 859620

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

Rebase-Id: Rebffb0559230ed187907ad697bcc4c88d0f15120

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

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

bug 863728

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

Rebase-Id: Rfc2975d5b80492523a4a767c001a8e22c9decaa7

7 years agomedia: tegra: nvavp: ucode loading in driver
Gajanan Bhat [Fri, 5 Aug 2011 22:51:57 +0000]
media: tegra: nvavp: ucode loading in driver

Implementation to load the app ucode from driver
instead of each client instance maintaining copy
of common ucode.The driver will load and maintain
a single instance of the app ucode, but gives
ability to flag external ucode usage for every
submit call. The driver also caches both the os
and app ucode till driver is unloaded.

Original-Change-Id: I96ad3c039bf96c621774d41b3f838ea6fbe52ae9
Reviewed-on: http://git-master/r/45872
Tested-by: Gajanan Bhat <gbhat@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R35fe5c503cc761e7e26efe91d254109fb215f520

7 years agonvhost: Fix tegra_host/status debug output
Terje Bergstrom [Fri, 29 Jul 2011 06:09:43 +0000]
nvhost: Fix tegra_host/status debug output

Add tracking of mapping between push buffer gathers and nvmap handles.
Use the mapping to access contents of gather buffers.

Bug 840976

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

Rebase-Id: Rd0c946095890cfe15a68d3c5eaa181a9ac02cf07

7 years agousb: tegra: otg: check connected devices on resume
Rakesh Bodla [Wed, 17 Aug 2011 06:48:02 +0000]
usb: tegra: otg: check connected devices on resume

A device might be connected while CPU is in sleep mode.
In this case no interrupt will be triggered.
Force irq_work to recheck connected devices.

Bug 860693

Reviewed-on: http://git-master/r/40331
(cherry picked from commit 749e994e1e0010843e4a2d54e27a7f19274661a7)

Original-Change-Id: Ic793be7285dca123dd927931b0d92fc2c510a870
Reviewed-on: http://git-master/r/46934
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R41b408abb66ad9c28c8e7c2c48812dd7a292360e

7 years agoARM: tegra: Added CONFIG_TEGRA_EDP_EXACT_FREQ
Peter Boonstoppel [Tue, 16 Aug 2011 18:58:30 +0000]
ARM: tegra: Added CONFIG_TEGRA_EDP_EXACT_FREQ

Used to toggle using exact EDP table frequencies

Bug 863761

Original-Change-Id: I5e6963504a7b472ff8431fe2e646bee52a26aaec
Reviewed-on: http://git-master/r/47362
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R294e6875dfeb503f5a9880dea15e17cebb7a36de

7 years agomedia: video: ov5650: add 2x2 binning mode control
Changyeon Jo [Thu, 28 Jul 2011 16:45:50 +0000]
media: video: ov5650: add 2x2 binning mode control

Add IOCTL (OV5650_IOCTL_SET_BINNING) that user code
can access to registers which have 2x2 binning control
bits.

Bug 835589

Original-Change-Id: I07f8d3536fcdb92e8bae0af294d1a0f8523cefbc
Reviewed-on: http://git-master/r/43727
Tested-by: Changyeon Jo <cjo@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R36b1a800652a73e5b51dd56f30e0f56f6dda7d36

7 years agoarm: tegra: enterprise: Register tps8003x with 0x4A address
Laxman Dewangan [Tue, 16 Aug 2011 10:10:11 +0000]
arm: tegra: enterprise: Register tps8003x with 0x4A address

Registering tps8003x device with the address 0x4A where version number
registers are available.

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

Rebase-Id: Re35a57a98221356a54d59662cd4cdfde9542d9df

7 years agotegra: usb: phy: update BIAS and XCVR registers
Rakesh Bodla [Tue, 16 Aug 2011 08:56:32 +0000]
tegra: usb: phy: update BIAS and XCVR registers

Updating the settings for HSSLEW for all the USB
controllers. Also updated the threshold value for
HS disconnect for passing eye-diagram tests.

Bug 842700

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

Rebase-Id: Rdca0889f230939d1f847526ec4aea68030df0b64

7 years agoarm: defconfig: Enable TEGRA_DC_EXT on L4T configs
Robert Morell [Fri, 12 Aug 2011 20:30:52 +0000]
arm: defconfig: Enable TEGRA_DC_EXT on L4T configs

Bug 863666

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

Rebase-Id: R91032980acaf0033f7e7770d3f6f6b38c686010d

7 years agohwmon: tegra: tsensor: fuse revision corrected
Bitan Biswas [Fri, 12 Aug 2011 09:26:17 +0000]
hwmon: tegra: tsensor: fuse revision corrected

tsensor functionality is enabled based on fuse revision.
The fuse revision is to be interpreted as an unsigned integer
while it is interpreted as a decimal number. Corrected this.

bug 863460

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

Rebase-Id: R52f072ab4fc835ae803f4e44fcca768c751d9e4c

7 years agohwmon: tegra: tsensor: resume delay removed
Bitan Biswas [Thu, 11 Aug 2011 13:11:20 +0000]
hwmon: tegra: tsensor: resume delay removed

tsensor resume was taking ~20msec because of msleep call.
Removed the unnecessary delay.

bug 862265

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

Rebase-Id: R047a7044707b35fc4e1743f2272aef7e275e92a1

7 years agomfd: tps8003x: Print jtag and eeprom version number
Laxman Dewangan [Tue, 16 Aug 2011 10:14:25 +0000]
mfd: tps8003x: Print jtag and eeprom version number

Displaying the jtag and eeprom version number of tps8003x
to get informative message during kernel boot.

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

Rebase-Id: R470501e42a891bf24e9d37a6fe5bc4543424c306

7 years agousb: host: tegra: hotplug detection using PMC
Suresh Mangipudi [Mon, 15 Aug 2011 12:40:28 +0000]
usb: host: tegra: hotplug detection using PMC

Add support for PMC based sleep walk T30 on USB port 3.

Bug 848886

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

Rebase-Id: R0e562c1f35f442cc92ad8d4f90859090b6779d1e

7 years agoarm: tegra: Include nvhost.h in tegra_dc_ext.h
Robert Morell [Tue, 16 Aug 2011 01:44:52 +0000]
arm: tegra: Include nvhost.h in tegra_dc_ext.h

This header file was moved from mach/nvhost.h to linux/nvhost.h with
commit f82ab0099542, but that commit deleted this include line instead
of updating it, breaking the build.

Bug 854182
Bug 858358

Original-Change-Id: I921cc5be7b0c0d09c70761c8d5d42b5dfc131720
Reviewed-on: http://git-master/r/47237
Tested-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R16e24674cd98367c1ac6e27c88308155f8e39641

7 years agoarm: tegra: enterprise: tsensor init
Bitan Biswas [Fri, 12 Aug 2011 13:00:32 +0000]
arm: tegra: enterprise: tsensor init

Enterprise specific tsensor init call is added. Change
to enable temperature reading only supported now.

bug 862285

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

Rebase-Id: R97adc21aafe8a064f7596c80cb87247fd9f2e616

7 years agoarm: tegra: tsensor: fuse revision corrected
Bitan Biswas [Fri, 12 Aug 2011 09:32:31 +0000]
arm: tegra: tsensor: fuse revision corrected

tsensor functionality is enabled based on fuse revision.
The fuse revision is to be interpreted as an unsigned integer
while it is interpreted as a decimal number. Corrected this
in platform source file.

bug 863460

Original-Change-Id: Iaf9676d559bb7fb3555c7b731aa018f949441c8e
Reviewed-on: http://git-master/r/46901
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R8a85e2ce060dd3110c374b30d0018c7512b22113

7 years agoarm: tegra: baseband: Enable pull-up for ULPI STP
Steve Lin [Wed, 10 Aug 2011 18:31:27 +0000]
arm: tegra: baseband: Enable pull-up for ULPI STP

The ULPI spec mandates that there's a pullup on ULPI_STP when the link
is not driving it.

Bug 862561

Original-Change-Id: I9bfa720f19fb776fea8d2fe19bef9755bcaf51a3
Reviewed-on: http://git-master/r/46411
Tested-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Re173c250ab33199cc5e9f36476463b8380f4ad52

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

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

Bug 854305

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

Rebase-Id: Rc955615a3903d724a5cd32c2a34a341208a506a9

7 years agoarm: tegra: enterprise: avoid contention on lcd_de
Luke Huang [Thu, 11 Aug 2011 02:27:47 +0000]
arm: tegra: enterprise: avoid contention on lcd_de

Set the LCD_DE to be GPIO input pin if one shot mode is not enable to
avoid contention.

Bug 863546

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

Rebase-Id: R571c57cd21c8e73c4b80b987ea28952bf843eeec

7 years agoi2c: tegra: Updated Arbitration lost recovery
Alok Chauhan [Thu, 11 Aug 2011 09:42:11 +0000]
i2c: tegra: Updated Arbitration lost recovery

Updated arbitration lost recovery to accumulate i2c multiplexing.

bug 854305

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

Rebase-Id: R987d84dcf51a3d8e366f2e4b2d0d278304e2db76

7 years agoARM: defconfig: Enabling MXT touch screen for cardhu LDK build
Jong Kim [Tue, 16 Aug 2011 00:30:58 +0000]
ARM: defconfig: Enabling MXT touch screen for cardhu LDK build

Enable the MXT Touch related options for cardhu gnu_linux defconfig file.

bug=832913
test="multi-touch" works on ubuntu desktop.

Original-Change-Id: I5014dd5976ba03bd70854188261c06a95f61daa6
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/47227
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R598849b1778307c583753b6ceab93a0ed5c1841e

7 years agotegra: nvhost: On Tegra2, set 2D clock to maximum
Terje Bergstrom [Mon, 15 Aug 2011 05:52:22 +0000]
tegra: nvhost: On Tegra2, set 2D clock to maximum

On Tegra2, clocks are not rounded up. Nvhost tries to set 2D clock to
zero, which causes a division-by-zero error. Check for SoC version and
for Tegra2, set clocks always to maximum.

Bug 863937

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

Rebase-Id: Reab7a05cea74039b5d914728173efc8a74155c56

7 years agoarm: defconfig: Regenerate defconfigs for Tegra
Robert Morell [Fri, 12 Aug 2011 20:18:39 +0000]
arm: defconfig: Regenerate defconfigs for Tegra

This is the result of running:
make $defconfig
make oldconfig
make savedefconfig
cp defconfig $defconfig

For each of the Tegra defconfigs.

Bonus: remove executable permissions from tegra_cardhu_mods_defconfig.

Bug 863666

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

Rebase-Id: Ra84744b41759e342ef2d705252873fa9f86e8e55

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

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

Bug 858358

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

Rebase-Id: R867c966b3aa005501ee3678f257e243a5632e9c5

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

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

Bug 854182

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

Rebase-Id: Rc4fadf65d59ddfb5bb924e7adfccd39e86a0b2c7

7 years agonvhost: Add tracing for submit activity and cdma
Terje Bergstrom [Thu, 16 Jun 2011 06:31:25 +0000]
nvhost: Add tracing for submit activity and cdma

Adds trace commands for times when a command buffer has been submitted
and when the channel's command buffer has been processed. Also adds
tracing when cdma buffer is full.

This patch fixes a spelling mistake in waitchk trace function.

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

Rebase-Id: R34c172eff1e9c128a7748bb4f9af0cf05a30aa7d

7 years agovideo: add support for 1080p stereo
Dhiren Bhatia [Fri, 12 Aug 2011 00:41:56 +0000]
video: add support for 1080p stereo

Original-Change-Id: I933f64a82b74025f3ea05a2a20a24cba7948b039
Reviewed-on: http://git-master/r/46995
Reviewed-by: Alok Ahuja <alahuja@nvidia.com>
Tested-by: Dhiren Bhatia <dbhatia@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R3b58044e1c821040ffba6adee54fb4b7131dd489

7 years agoARM: tegra: power: Support for resetting module
Chris Johnson [Fri, 12 Aug 2011 05:58:17 +0000]
ARM: tegra: power: Support for resetting module

Add support for resetting a module.

Bug 625545

Original-Change-Id: Ibc5e57d73085e85f3d1184d0657d9bc650b28e4e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/46870
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Rcaa388b315159b1cc69dd29dd03176f4136bd285

7 years agousb: fsl_udc: setting usb charging current
Suresh Mangipudi [Sun, 14 Aug 2011 12:57:30 +0000]
usb: fsl_udc: setting usb charging current

Setting the charging current limit through
the regulator for drawing the vbus current.

Bug 854993

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

Rebase-Id: R2a322c109bfc6f08455bf02069d6fb3828f3534e

7 years agotegra: host: Disable MPE power gating
Terje Bergstrom [Fri, 12 Aug 2011 10:25:57 +0000]
tegra: host: Disable MPE power gating

Disable MPE power gating until power gating race has been fixed.

Bug 857044

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

Rebase-Id: Rae65b78f6a831457b17c6ebcdd02a13c7d90160d

7 years agoARM: tegra: power: Separate throttling code
Alex Frid [Wed, 10 Aug 2011 21:42:54 +0000]
ARM: tegra: power: Separate throttling code

Moved tegra CPU throttling algorithm implementation into a separate
file. For now, the same algorithm is used for both Tegra2 and Tegra3
architecture.

Original-Change-Id: I478c32b5adee4c946472129b89615580c10b41e1
Reviewed-on: http://git-master/r/46748
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R2340f78e1d22942022e171044d6b20f260e2d312

7 years agovideo: tegra: dc: fix CEA timings for hdmi
Jon Mayo [Wed, 20 Jul 2011 20:49:15 +0000]
video: tegra: dc: fix CEA timings for hdmi

Fixes the issue that timings are 1 clock too long in 720p and 1080p.

Bug 847774

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

Rebase-Id: Rafbae1d4ae46bb13509af7ca59709e9f526bf6eb

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

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

Bug 799568

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

Rebase-Id: R4d0b228317fd12c185b735ed248818f5217d9ed4

7 years agohwmon: tegra: tsensor: error propagation
Bitan Biswas [Fri, 12 Aug 2011 08:49:19 +0000]
hwmon: tegra: tsensor: error propagation

tsensor probe was not propagating error from a called function.
Later suspend/resume was getting called causing crash. Fixed the code.

bug 863316

Original-Change-Id: I1851d75aeeee332bc582fe45fd7c1c8f0521b5c7
Reviewed-on: http://git-master/r/46890
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

Rebase-Id: R77a15193c8ae51746ff477f3d877825dd81ecd34

7 years agoarm: tegra: defconfig: ventana: Enable BCM4329
Preetham Chandru [Thu, 11 Aug 2011 11:59:05 +0000]
arm: tegra: defconfig: ventana: Enable BCM4329

Enabled BCM4329 wifi driver for ventana.

Bug: 842148
Original-Change-Id: I53b001c8b05495693dcc326436e7eefbc1583c19
Reviewed-on: http://git-master/r/46669
Tested-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Allen R Martin <amartin@nvidia.com>

Rebase-Id: R65431d39394cb81c3124b20b39267a8832ca420c

7 years agoarm: tegra: whistler: fix complilation error
Mayuresh Kulkarni [Thu, 11 Aug 2011 09:56:33 +0000]
arm: tegra: whistler: fix complilation error

the definition of struct tegra_ulpi_config is changed
which was not accounted for whistler

for bug 862575

Original-Change-Id: I0a4d471f69d6cae0f04c13cc8055ebf5ecbc9dc6
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/46631
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R4acdc7acf86ed5287cd0cd7bb37a015248a59222

7 years agotegra: host: usb: threadsafe variable update
Suresh Mangipudi [Thu, 11 Aug 2011 07:03:37 +0000]
tegra: host: usb: threadsafe variable update

Make sure that the variables which are likely to be accessed by different
threads to be threadsafe. This fixes the issues related to clock,
which are being updated from different threads.

Bug 857667

Original-Change-Id: Id81c1c654b7c7889fcb213e0e00945614b6fca08
Reviewed-on: http://git-master/r/46591
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Ramachandrudu Kandhala <rkandhala@nvidia.com>

Rebase-Id: Rc62bfcbd5986f6c38def3d2f46a12543318dd6e2

7 years agoARM: tegra: la: remove printf warning
Jon Mayo [Wed, 10 Aug 2011 23:20:48 +0000]
ARM: tegra: la: remove printf warning

arch/arm/mach-tegra/latency_allowance.c:499: warning: format '%4u'
expects type 'unsigned int', but argument 4 has type 'long unsigned int'

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

Rebase-Id: R8eeb5ccc518d9591fa1a9a521913b17ec28c6b52

7 years agoARM: tegra: enterprise: Pass chip info
Animesh Kishore [Wed, 10 Aug 2011 12:13:51 +0000]
ARM: tegra: enterprise: Pass chip info

Pass chip id and revision to dsi driver via platform data.

Bug 837129

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

Rebase-Id: Re15dd7f840bcc21428a205cd2ae557794c6ca024

7 years agovideo: dsi: tegra: Add fields to store chip info
Animesh Kishore [Wed, 10 Aug 2011 12:04:48 +0000]
video: dsi: tegra: Add fields to store chip info

Add fields for chip id and revision.

Bug 837129

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

Rebase-Id: Re205f5a2640d5320785ca94fde583efbafbcf24b

7 years agoARM: tegra: power: Update to EDP table
Peter Boonstoppel [Thu, 11 Aug 2011 00:38:44 +0000]
ARM: tegra: power: Update to EDP table

 - updated EDP table for AP30 A02 2.5A to match data from Bug 844268
 - updated EDP cap for single core on AP30 A02 to 1.3Ghz
 - changed EDP table for A01 to match AP30 A02

Original-Change-Id: I1722768f235d63a2f311d082d8126ba071226eb6
Reviewed-on: http://git-master/r/46482
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rc98aaffd4568b9ad642696eef5f559d9c7fd7237

7 years agoARM: tegra: la: use lower LA for display clients
Jon Mayo [Wed, 10 Aug 2011 23:16:10 +0000]
ARM: tegra: la: use lower LA for display clients

In order to prevent display underflow until latency allowance scaling is
enabled, use the LA value corresponding to low threshold, instead of max
LA for full FIFO.

Bug 840688

Original-Change-Id: If405e5931b817cdadec0294d487af1a4b921894a
Reviewed-on: http://git-master/r/46342
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Kevin Huang <kevinh@nvidia.com>

Rebase-Id: Rca14600452178655a8864b0b7bc7bf66576b8ca1

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

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

Bug 859226

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

Rebase-Id: R123f8454f2f38b1f6c551272b364c97a7c5d7a20

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

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

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

Rebase-Id: R45b531a1306231937b66bfdfa9c12ec96ccadcf9

7 years agovideo: tegra: dsi: fix unused variable warning
Jon Mayo [Wed, 3 Aug 2011 01:51:03 +0000]
video: tegra: dsi: fix unused variable warning

This change removes the unused variable 'base_clk' warning.

Bug 850852

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

Rebase-Id: R33afa9192e2e74f1a7b7ff64ce74233d251e8c52

7 years agoARM: tegra: dvfs: Update vdd_cpu/vdd_core dependency
Alex Frid [Sun, 7 Aug 2011 04:42:45 +0000]
ARM: tegra: dvfs: Update vdd_cpu/vdd_core dependency

Updated vdd_core dependency on vdd_cpu: core-above-cpu margin is now
different for different ranges of vdd_cpu (was flat 0).

Bug 860893

Original-Change-Id: Ib62793542957a3b9b4b6b8a41d63f7b3516ac09f
Reviewed-on: http://git-master/r/45926
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R490b997c3a945bb61c056ee0c22c556d203b1b2c

7 years agoARM: tegra: dvfs: Update Tegra3 CPU dvfs tables
Alex Frid [Tue, 9 Aug 2011 22:42:11 +0000]
ARM: tegra: dvfs: Update Tegra3 CPU dvfs tables

Bug 817679

Original-Change-Id: I651ec1004794641c3b6df8b943fbb071699dabe1
Reviewed-on: http://git-master/r/46149
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

Rebase-Id: R5a16e04b7b7b321a15b6282998fd7029d2f678c2

7 years agoARM: tegra: enterprise: Update Enterprise for DIDIM
Matt Wagner [Thu, 11 Aug 2011 00:00:45 +0000]
ARM: tegra: enterprise: Update Enterprise for DIDIM

This change integrates the current DIDIM code with
the enterprise platform

Bug 854820

Original-Change-Id: I0c76d933d9d328255a140fdfff31dd57ec03716c
Reviewed-on: http://git-master/r/42638
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R0a9fd5ec0597ed2196e0cbfe750a8f53613473c7

7 years agoDocumentation: Add documentation for tegra_dc_ext
Robert Morell [Sat, 16 Jul 2011 00:38:26 +0000]
Documentation: Add documentation for tegra_dc_ext

tegra_dc_ext is the extended interface that exposes unique features for
the NVIDIA Tegra display controller.

Original-Change-Id: Ic18087a8fd8a60a6bc1b244361c15a1ed44cced4
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/41348
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Red37e229b1606096c47f6ff0dfb3106ea43b2d69

7 years agovideo: tegra: dc_ext: Add head status ioctl
Robert Morell [Wed, 25 May 2011 02:27:57 +0000]
video: tegra: dc_ext: Add head status ioctl

This change adds a new tegra_dc_ext ioctl to allow userspace to query
whether a head is currently enabled or not.  This is necessary for the X
server to be able to restore the outputs that were enabled before it was
started.

bug 818525

Original-Change-Id: I6d209894081312621f623a722cdd3fcb53553c61
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Olof Johansson <olofj@chromium.org>
Reviewed-on: http://git-master/r/40530
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re42eae066099587529fbcc677c06ddefef18d36d

7 years agovideo: tegra: Expose vblank syncpoint
Robert Morell [Mon, 21 Mar 2011 21:42:51 +0000]
video: tegra: Expose vblank syncpoint

This change adds support for userspace to query the syncpoint that
display autoincrements every vblank.  This can be useful for
applications to time buffer submissions to throttle rendering and
prevent excessive host stalls.

bug 818525

Original-Change-Id: I050e4dcd08609da802f10eeec5b70da181b21717
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40529
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rac929d8ba6b14e469fef4c2753b040e02fae0b8e

7 years agovideo: tegra: Expose possible bound head mask
Robert Morell [Mon, 21 Mar 2011 21:42:35 +0000]
video: tegra: Expose possible bound head mask

This change adds support for userspace to query which heads an output
may be bound to.  Since our implementation currently hardcodes the head
to output mapping, we currently always fill in a single bit.  However,
for future implementations we will be able to dynamically bind outputs
to heads.

bug 818525

Original-Change-Id: Ib0dead7748620a538c8f8d6ef548ca8b13a9c2b2
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40528
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R524f90dca82a3a67fa3289a3ebc4c7e32716749b

7 years agovideo: tegra: Add userspace CSC control
Robert Morell [Mon, 21 Mar 2011 21:32:29 +0000]
video: tegra: Add userspace CSC control

This adds configurability of the per-window color space conversion
support in the Tegra display controller through the dc extension
interface.  The CSC matrix defaults to its previously-hardcoded values,
but can be overridden by userspace.

bug 818525

Original-Change-Id: I00d8e48dd38a40e5b8c36d4624d31c834e5cd9de
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40527
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R1f445ab544b4c06f56dde1e3f0e9db3c930a9c14

7 years agovideo: tegra: Allow fractional input rects
Robert Morell [Fri, 18 Mar 2011 00:56:49 +0000]
video: tegra: Allow fractional input rects

This change makes the input rect for Tegra windows be a 20.12
fixed-point number instead of an integer.  This allows software to
specify sub-pixel precision.

bug 818525

Original-Change-Id: I130f63b68159ed896d1113ea537307997875ca40
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40526
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R848e901645aa49776d4dc41fa4210b6b594a8d84

7 years agodrm_fixed: Add dfixed_frac
Robert Morell [Fri, 18 Mar 2011 00:54:39 +0000]
drm_fixed: Add dfixed_frac

This helper macro retrieves the fractional part of a fixed20_12 20.12
fixed-point number.

bug 818525

Original-Change-Id: Ia43a7bd3029a4d09ad7801099cbe2a52a4fc9c04
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40525
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3ad51cd6fb0e1dadbc25807bf12894a9b81e94d3

7 years agovideo: tegra: Only attempt filtering when supported
Robert Morell [Fri, 18 Mar 2011 01:02:00 +0000]
video: tegra: Only attempt filtering when supported

The Tegra display windows are not entirely symmetric; only some of them
support filtering in either direction.  This change makes the kernel
only enable filtering when it's supported by the hardware.

bug 818525

Original-Change-Id: I0f85f52fcc5c6785c75003c54c8aee12fcd0a220
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40524
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R7306a484983f91d501bcb122d5fc3cf25c5006d7

7 years agovideo: tegra: Add vblank syncpts as client managed
Peter Pipkorn [Wed, 19 Jan 2011 13:35:26 +0000]
video: tegra: Add vblank syncpts as client managed

This change adds the vblank syncpoints to the list of client managed
syncpoints, since they are incremented outside driver control.

This makes the check_max function return true, since previously
the max value was never incremented, leading to the situation that
a syncpoint read failed.

bug 818525

Original-Change-Id: Ie7810aab3842b94964a95a7d8256527168b98a31
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
[small commit message edits by rmorell]
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40523
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd4e5529a6ad9c82b11eaa70e588f780bf5f3b533

7 years agovideo: tegra: Wire up output connectedness
Robert Morell [Thu, 3 Mar 2011 23:04:19 +0000]
video: tegra: Wire up output connectedness

This makes the core dc driver keep track of whether a particular input
in enabled.  It is up to the output ops to maintain the connected status
if a detect op is plugged in, otherwise it is assumed that the output is
always connected.

bug 818525

Original-Change-Id: I794d7e2db347f63bbb1a7d80bca1a53d9d10c210
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40522
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rfeeae486b6a39b95d9f1d95b697132b476735f50

7 years agovideo: tegra: Implement fops->poll() for control device
Robert Morell [Tue, 1 Mar 2011 23:33:15 +0000]
video: tegra: Implement fops->poll() for control device

This is necessary for select() and poll() to work properly when clients
are waiting for events.

bug 818525

Original-Change-Id: If98b3e0706495884834813c9a352b946352cc2f5
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40521
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc8813923838bada46d87d71ef852960316eda2f7

7 years agovideo: tegra: Add control device to dc extension driver
Robert Morell [Thu, 3 Mar 2011 23:02:53 +0000]
video: tegra: Add control device to dc extension driver

This device exposes control over everything that's not specific to one
of T20's two display controllers.  It supports:
- output devices
- event delivery
- hotplug events

bug 818525

Original-Change-Id: I3a46f1dddc483b08ed3ee91a4f9c64111c1fd7eb
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40520
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R9e49fe41f3327b797ec65c3729f4f94edbb45307

7 years agovideo: tegra: Prevent hang when output disabled
Robert Morell [Fri, 4 Mar 2011 04:54:09 +0000]
video: tegra: Prevent hang when output disabled

This adds code to track when the dc is disabled and prevent flips or
cursor moves.  This prevents system hangs since the dc is powergated
when it's disabled.

bug 818525

Original-Change-Id: I061da1f6a831fa14a216520e603e0fbc5dbb0437
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40519
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rb648ef48bd3528344cf090c49093dcb258c20150

7 years agovideo: tegra: Add cursor support to dc extensions
Robert Morell [Fri, 18 Feb 2011 23:51:38 +0000]
video: tegra: Add cursor support to dc extensions

This change adds full support for specify the cursor image and
manipulating its position.

bug 818525

Original-Change-Id: I101a951aff358b0ac0998afc6fe5f6c5c4d37c64
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40518
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R93f0c68a14e4419f200a77d48a17eb8862f2e4e1

7 years agovideo: tegra: Move pin function to new util file
Robert Morell [Wed, 23 Feb 2011 01:15:06 +0000]
video: tegra: Move pin function to new util file

This will be used in forthcoming cursor support in addition to the
existing overlay flipping support.

bug 818525

Original-Change-Id: Ic27267deeaefad4ec803eb457a02b22c0d9a1373
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40517
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc1e18fe5248f9dfd1f9ee23184cd2c102539ca61

7 years agovideo: tegra: nvhost: Use a syncpoint per window
Robert Morell [Thu, 3 Mar 2011 22:58:06 +0000]
video: tegra: nvhost: Use a syncpoint per window

Reserve one syncpoint per window per display controller instead of one
for the entire display controller.  This is necessary to allow multiple
windows on a single display controller to flip asynchronously.

bug 818525

Original-Change-Id: Ide1de2bf2ed0bfea7f6abe9aa93815efd0824db1
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40516
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R49886938a74e71db0c8f53edc8ac45e5015ffe84

7 years agovideo: tegra: Remove fbdev SET_NVMAP and FLIP ioctls
Robert Morell [Thu, 3 Mar 2011 22:24:25 +0000]
video: tegra: Remove fbdev SET_NVMAP and FLIP ioctls

This is necessary so that multiple clients can open /dev/fb* at the same
time.  The functionaly has been moved to the dc extension device nodes.

bug 818525

Original-Change-Id: I299e060fce3bb9e3cbf976f3d94dbabc4b3f1654
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40515
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R32908db3f1e344eea13d628f0341600ed698783d

7 years agovideo: tegra: Implement FLIP dc extension ioctl.
Robert Morell [Wed, 16 Feb 2011 18:45:53 +0000]
video: tegra: Implement FLIP dc extension ioctl.

This is very similar to the tegra_fb FLIP ioctl.

bug 818525

Original-Change-Id: Iba32ab5bf730b575477c62a8ae4394f1779ef65e
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40514
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R9a79363b09d2df38bec4b8a8666f97b1feff76ff

7 years agovideo: tegra: Add an ioctl() implementation.
Robert Morell [Wed, 16 Feb 2011 02:13:36 +0000]
video: tegra: Add an ioctl() implementation.

This implements:
- GET_WINDOW
- PUT_WINDOW
and adds a stub for FLIP.

bug 818525

Original-Change-Id: I467b58a77242b2a8077e236106b542b8545f5353
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40513
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R4fc354fdae76f3eac189d481fb346a0982146db5

7 years agovideo: tegra: Add skeleton support for extensions
Robert Morell [Thu, 3 Mar 2011 21:04:00 +0000]
video: tegra: Add skeleton support for extensions

This adds the infrasturcture for an enhanced driver interface to program
extended capabilities of the Tegra display controller.

It exposes a new set of device nodes for userspace clients distinct from
the traditional fbdev device nodes.  This is necessary due to
limitations in the fbdev infrastructure that don't allow drivers to
store file-private data.

bug 818525

Original-Change-Id: I06cecf894792b9904c73f9ebcdeb746ff7455f6e
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40512
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: Rfa3969804d7f52c841be1ff96305c9463077e1c5

7 years agovideo: tegra: Add flags to tegra_overlay.h
Robert Morell [Mon, 11 Jul 2011 20:30:23 +0000]
video: tegra: Add flags to tegra_overlay.h

These were missing from tegra_overlay.h, but present in tegrafb.h.

bug 818525

Original-Change-Id: Ia174516a068dd3c53d462eb9c68b3e76e0ea25ff
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40511
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R8b80f31a7b2de86c3032cf3f0fad59e838b9eac4

7 years agoARM: Tegra: dvfs: Added SKU definitions for AP33, T33, T33S
Diwakar Tundlam [Thu, 23 Jun 2011 04:17:19 +0000]
ARM: Tegra: dvfs: Added SKU definitions for AP33, T33, T33S

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

Rebase-Id: Rfde53d5c4d6819494d9c4484e76ab3febfc813a4

7 years agoserial: tegra: Check tx fifo status before writing
Pradeep Goudagunta [Wed, 10 Aug 2011 12:09:51 +0000]
serial: tegra: Check tx fifo status before writing

TX fifo should be checked before writing into it, if it is full then stop
writing.

Bug 847599

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

Rebase-Id: R6e82e11cfa4924b4ceb06fb753905e328f6a4dcd

7 years agoventana: use separate emc chips for ventana based devices
Nitin Kumbhar [Mon, 25 Jul 2011 10:54:11 +0000]
ventana: use separate emc chips for ventana based devices

Many platforms are derived from ventana and have different types
of memories. Add a separate array for the emc chips being used on
those platforms.

Be default, the array is not populated with any entries. This
disables memory scaling for that device.

BUG 854226

Reviewed-on: http://git-master/r/43038
(cherry picked from commit de90911c0b7e9a1a58cfb4bd540de5474486bfc6)

Original-Change-Id: I067b272f63cad873a9f25fff3d54151a1b56f479
Reviewed-on: http://git-master/r/46243
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Ching Kuang (Roger) Hsieh <rhsieh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>

Rebase-Id: R20685e06fa47f3d006f716d6eff80d8177877aee

7 years agocrypto: tegra-se: RNG support for more than 16 bytes
Kasoju Mallikarjun [Tue, 9 Aug 2011 12:32:28 +0000]
crypto: tegra-se: RNG support for more than 16 bytes

Added support for generating RNG for more than 16 bytes.

Bug 861777

Original-Change-Id: I414063378c1b7c31c9ef2ade950adcaa4e7db388
Reviewed-on: http://git-master/r/46066
Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: Ra4ff01903b00f98b317606be3ffdfef58668aa92

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: adding two virtual clients (WriteTally and ReadTally)
licheng [Thu, 28 Jul 2011 22:32:21 +0000]
arm: tegra: adding two virtual clients (WriteTally and ReadTally)

It is requested to support the measurement of read and write
bandwidth simultaneiously, which requires to utilize both mc
counters. This change adds the two virtual clients, writeTally
and readTally, and enables the support of two counters.

Bug 845884

Original-Change-Id: I1220a9ac8fe90c4211c543bd34c0e6572c3bb756
Reviewed-on: http://git-master/r/43803
Tested-by: Liang Cheng (SW) <licheng@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R4e402754b33f21acd4e024b247c1e8cb49112374

7 years agousb: gadget: udc: USB charger detection support
Rakesh Bodla [Tue, 9 Aug 2011 10:49:08 +0000]
usb: gadget: udc: USB charger detection support

Adding the USB charger detection support for
device controller.

Bug 819334

Reviewed-on: http://git-master/r/42299
(cherry picked from commit 06bdd7fc427abd7a6e907af52441dec07f92e2f6)

Original-Change-Id: I3559b00f171c3d4111c1a9c1ecfb89f4d6a57fd1
Reviewed-on: http://git-master/r/43519
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: Rb088810caf6946a123094851d6da1c17940a83ba

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

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

BUG 828389

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

Rebase-Id: Rb3d170a5460bff29550d664c3f783134d2a3a41f

7 years agohwmon: tegra: tsensor: log messages reformatted
Bitan Biswas [Fri, 5 Aug 2011 09:56:15 +0000]
hwmon: tegra: tsensor: log messages reformatted

Formatted the tsensor driver log message's new line location
to match prints from other drivers.

bug 860513

Original-Change-Id: I4a03ecce246ac9847fb1562159bfd9cbcf95ab14
Reviewed-on: http://git-master/r/45501
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: R1f3169b9a05d51ddb81d5066d78afc342f2199fb

7 years agotegra: host: fix the compare statement.
Jubeom Kim [Tue, 9 Aug 2011 09:22:24 +0000]
tegra: host: fix the compare statement.

Original-Change-Id: Ie1c1aaf2a994193897fc8cc88768e40fb8479b6b
Reviewed-on: http://git-master/r/46028
Tested-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R2f161c994ef58f20a0ec639964f84c6ebc139467

7 years agortc: tps6591x: Registering PMU RTC as a wake source
venu byravarasu [Tue, 2 Aug 2011 09:24:21 +0000]
rtc: tps6591x: Registering PMU RTC as a wake source

Without this registration, "wakealarm" node doesnot
get created under the sysfs path /sys/class/rtc/rtc0.

This is used for setting RTC alarms using sysfs.

bug 846920

Original-Change-Id: I287448354612d526f4b96294fef24f5669949130
Reviewed-on: http://git-master/r/44507
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>

Rebase-Id: Rab6c47661fad4fd823fb8bb2c7aa5b8b210f23a7

7 years agoarm: tegra: enterprise: Add the pull-up for ddc i2c
Alok Chauhan [Tue, 12 Jul 2011 04:51:48 +0000]
arm: tegra: enterprise: Add the pull-up for ddc i2c

Add the pull-up for ddc i2c pins because there is
no internall pull-up present for ddc i2c pins.
Disable the output drain also for ddc i2c pins.

bug 833992

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

Rebase-Id: R9b58d1485d786bc82773a2e5f2afdc92837b30e1

7 years agoi2c: tegra: Added arbitration lost error recovery
Alok Chauhan [Tue, 26 Jul 2011 10:38:21 +0000]
i2c: tegra: Added arbitration lost error recovery

Added the arbitration lost error recovery code into
i2c driver.

bug 854305

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

Rebase-Id: R7cda6214579416b3b0a4eafe412a18293260e669

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

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

bug 854305

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

Rebase-Id: R11e00587725418e6e6ef5d0fa2f718424cc0635e

7 years agovideo: backlight: tegra: add callback to tegra_pwm_backlight
Matt Wagner [Fri, 22 Jul 2011 07:13:08 +0000]
video: backlight: tegra: add callback to tegra_pwm_backlight

tegra-pwm-backlight now has a notify function that enables the
brightness to be passed back to the boardfile where it is modified.

Bug 854820

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

Rebase-Id: R156ca05e91b04723146628b1b1abcef31a43795a

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

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

Bug 861062

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

Rebase-Id: R5605962a8d026d775af9f7d166daa697c5e6d4d5

7 years agomedia: video: tegra: sh532u: fix macro focus
Erik Lilliebjerg [Mon, 8 Aug 2011 11:49:36 +0000]
media: video: tegra: sh532u: fix macro focus

bug 860561

Original-Change-Id: I68288334ba296bdbf7ff516f78bc9f5af91935e0
Reviewed-on: http://git-master/r/45821
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Patrick Shehane <pshehane@nvidia.com>
Reviewed-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Tested-by: Erik M Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>

Rebase-Id: R8002e05e8fa0b7ac10df4d9f51c3ff87828a0a08

7 years agoARM: tegra: dvfs: Update Tegra3 speedo thresholds
Alex Frid [Fri, 5 Aug 2011 05:57:24 +0000]
ARM: tegra: dvfs: Update Tegra3 speedo thresholds

Bug 817679

Original-Change-Id: I12374b3e32f0b110fcb2514802f0d8f3c51ea4d1
Reviewed-on: http://git-master/r/45455
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>

Rebase-Id: Re878058126c5206dc9ce8e05aa2eb2ec20221d49

7 years agoARM: tegra: dvfs: Update Tegra3 CPU dvfs tables
Alex Frid [Thu, 4 Aug 2011 04:54:42 +0000]
ARM: tegra: dvfs: Update Tegra3 CPU dvfs tables

Bug 817679

Original-Change-Id: I02a1f3a3d12d426748abaa11947b055a655ebfdf
Reviewed-on: http://git-master/r/45454
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>

Rebase-Id: Raeb48e25187d8cc47c9418dffdcb7f770afac83b

7 years agoARM: tegra: dvfs: Update Tegra3 I/O dvfs tables
Alex Frid [Sun, 31 Jul 2011 00:07:59 +0000]
ARM: tegra: dvfs: Update Tegra3 I/O dvfs tables

Bug 817679

Original-Change-Id: I389484bcabd5546da55d851ec0b4ffbb82318a81
Reviewed-on: http://git-master/r/45453
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>

Rebase-Id: R05f71b759e1038eea0ed8743bad1f4f5d4309a98

7 years agovideo: tegra: host: 3d clock scaling
Ilan Aelion [Fri, 15 Jul 2011 18:05:01 +0000]
video: tegra: host: 3d clock scaling

Adds support for 3d clock scaling based on the 3d module idle
time percentage.

Original-Change-Id: I4d3a70d372b9a8bd6f999e71e135fcd35673e18f
Reviewed-on: http://git-master/r/41250
Tested-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R64b86250fce24e3b43d70ffd316e9de518eb24ba

7 years agoarm: tegra: enterprise: change vpp_fuse to vdd_fuse
Varun Wadekar [Fri, 29 Jul 2011 06:58:36 +0000]
arm: tegra: enterprise: change vpp_fuse to vdd_fuse

the fuse driver looks for vdd_fuse during its init
process in order to burn fuses

Bug 836973

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

Rebase-Id: Re017e9bd5f391381fedb0bd9681a4d1f09c47e99

7 years agotegra: usb: phy: USB charger detection support
Rakesh Bodla [Thu, 28 Jul 2011 04:21:11 +0000]
tegra: usb: phy: USB charger detection support

USB PHY related charger detection logic is
implemented.

Bug 819334

Reviewed-on: http://git-master/r/42298
(cherry picked from commit 69c083d495e1f187654c5a1bcd58569e54bf985b)

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

Rebase-Id: Rb595c863647c37078ab1b66c05ccd32cdea74bbe

7 years agoarm: tegra: enterprise: set suspend_mode
Wen Yi [Mon, 8 Aug 2011 17:15:32 +0000]
arm: tegra: enterprise: set suspend_mode

Set LP0 as default suspend_mode for Enterprise and 1197.
Set LP1 as suspend_mode for Enterprise A01.

BUG 861362

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

Rebase-Id: Rc85f78a9d7df6531f779e33f42847b7c246b8052

7 years agoarm:video:dc Audio EDID improvements
ScottPeterson [Tue, 26 Jul 2011 21:54:14 +0000]
arm:video:dc Audio EDID improvements

Finer grain determination of audio capabilities
for HDMI devices. TO enable audio we have to have
basic audio supported in the EDID plus at least one
Short Audio Descriptor block.

Reviewed-on: http://git-master/r/43304
(cherry picked from commit aaadcb7a4f8501dc71c6185e111fab1427bb7286)

Original-Change-Id: I30c818cdc77ccb351f304bd3639f28a5d370f36b
Reviewed-on: http://git-master/r/45568
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Tested-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R608c722e0481a4e2a4f8294c4358569f7970e722

7 years agoARM: tegra: clock: Use rounded ActMon maximum rate
Alex Frid [Sat, 6 Aug 2011 01:56:04 +0000]
ARM: tegra: clock: Use rounded ActMon maximum rate

Used round rate API to determine maximum frequency of Tegra3 activity
monitoring shared users, instead of maximum rate directly. The former
takes into account available PLL/dividers and return actually
reachable frequency.

Bug 860618

Original-Change-Id: I48292c65bfbf58906ab59f86959b0e7155117558
Reviewed-on: http://git-master/r/45711
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Tested-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R2be5b1549b53d2b203ccfe6ea1d1cd2368359d91

7 years agomedia: video: tegra: add 1080p table to ar0832
Jihoon Bang [Wed, 3 Aug 2011 23:10:06 +0000]
media: video: tegra: add 1080p table to ar0832

Add 1080p I2C table to ar0832 driver. The new table allows to record
video with 1080p at 30fps.

Bug 859779

Original-Change-Id: I626c6ce70e276dc0bc8cb4d965efe84f2ceb7b76
Reviewed-on: http://git-master/r/44855
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Krupal Divvela <kdivvela@nvidia.com>
Reviewed-by: Amit Purwar <apurwar@nvidia.com>
Reviewed-by: Ravikumar Boddeti <rboddeti@nvidia.com>
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R6ab2b1a009ee8bb30ebf9b5a20475fbc56fecfd4

7 years agoARM: tegra: power: Propagate Tegra3 EMC parent ref count
Alex Frid [Fri, 5 Aug 2011 07:28:10 +0000]
ARM: tegra: power: Propagate Tegra3 EMC parent ref count

Since, Tegra3 low level suspend code may change EMC parent underneath
clock framework ref count for the new parent is propagated up to the
clock root during clock resume procedure.

Bug 853986

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

Rebase-Id: Rcc48c9ee5b48d840a7886d80ed0dd30f8c4b6691