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

7 years agocdc_ether: Force Tango cdc-ether to enumerate as wwan0
Matthieu Vincenot [Fri, 5 Aug 2011 15:33:38 +0000]
cdc_ether: Force Tango cdc-ether to enumerate as wwan0

bug 860095
Original-Change-Id: I889a990a2079b5e668c5668ac0a8af6aa0afd95a
Reviewed-on: http://git-master/r/45552
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R6ab06a2d2a8474fa4efef7e666508ba1d06d3fe6

7 years agovideo: tegra: host: Add ioctl to set/get clk rate
Prashant Gaikwad [Tue, 2 Aug 2011 15:33:59 +0000]
video: tegra: host: Add ioctl to set/get clk rate

Host modules are initialized to max rate. Not all use cases
require clocks at max rate, which increases the power consumption.
Modules from user space can request for the lower clk rate
using this ioctl.

Bug 850467

Original-Change-Id: I1c7a8dfd159460e7c5a27813e3a08a992a20c132
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/44579
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

Rebase-Id: R0cffab971c5ac6adde28af4777354a1ecae4c54d

7 years agoARM: tegra: enterprise: Enable power saving mode for DSI suspend.
Kevin Huang [Sat, 6 Aug 2011 00:18:24 +0000]
ARM: tegra: enterprise: Enable power saving mode for DSI suspend.

Bug 859593

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

Rebase-Id: Rf5e1cfe1550de65548c42aeee081ec33e8b7f29d

7 years agovideo: tegra: nvmap: Add debugfs for iovmm allocations.
Krishna Reddy [Thu, 4 Aug 2011 22:14:49 +0000]
video: tegra: nvmap: Add debugfs for iovmm allocations.

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

Rebase-Id: R6399e487b817aa16c39e685d3f7860d1eefa8b09

7 years agodriver: video: dc: Add check_ref_to_sync() in dc.
Kevin Huang [Tue, 2 Aug 2011 01:04:18 +0000]
driver: video: dc: Add check_ref_to_sync() in dc.

Add new function to check display timing restrictions.

Bug 847774

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

Rebase-Id: R88a1d1358640b7118074e2efa964d56a3e524f74

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

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

Rebase-Id: R452d613de364d2bdf41af1e048f4586e202fa028

7 years agovideo: tegra: dsi: Optimize DSI suspend flow.
Kevin Huang [Fri, 5 Aug 2011 22:50:55 +0000]
video: tegra: dsi: Optimize DSI suspend flow.

- Added power saving mode to reduce power consumption. It supports
disable whole dsi module, source clock and panel in early suspend.
- Fixed synpt error in DSI resume.

Bug 859593
Bug 858500

Original-Change-Id: I9a734db2192776a2a66ecf2b9075b3d50356e4e8
Reviewed-on: http://git-master/r/45681
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Tested-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R5f508e0bfbaa840efc1bb8cf4f12d9707dd7cedf

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

Bug 852560

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

Rebase-Id: Re4e99d3595c6437e0ef761b89f6a74f422f5f31a

7 years agousb: ehci: tegra: Read port speed from hostpc register
Venkat Moganty [Fri, 5 Aug 2011 13:51:08 +0000]
usb: ehci: tegra: Read port speed from hostpc register

During system suspend USB port speed need to be stored. If controller has hostpc
then port speed should be read from the hostpc register instead of portsc.

Bug 854000

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

Rebase-Id: Ref20e23654c8d80675250240ed901fea26192b18

7 years agovideo: tegra: dc: window bandwidth calculations
Michael Frydrych [Tue, 2 Aug 2011 13:05:33 +0000]
video: tegra: dc: window bandwidth calculations

Determine which windows are overlapping, and apply bandwidth calculations
for emc clock scaling and latency allowance appropriately.

Bug 856234
Bug 850602

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

Rebase-Id: R841ce1734a7afab1311d3367a72ba9755d6d539c

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

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

bug 850047

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

Rebase-Id: Rc4bf2206a7207e28434b46baed442cd6f2797fbc

7 years agovideo: dsi: tegra: Export dsi functions
Animesh Kishore [Fri, 5 Aug 2011 12:51:03 +0000]
video: dsi: tegra: Export dsi functions

Export following functions:
- panel read
- panel write
- register write
- register read

Bug 830296

Original-Change-Id: Ie0854e0b8eb213ac2c7fd54f8883ec28e523e1a3
Reviewed-on: http://git-master/r/45529
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R69d9bed3b6c66384316a849bd646726cd321b1b2

7 years agohwmon: tegra: tsensor: disable hardware reset
Bitan Biswas [Fri, 5 Aug 2011 10:32:19 +0000]
hwmon: tegra: tsensor: disable hardware reset

Hardware reset and clock divide feature of tsensor is disabled as
the temperature readings are not accurate. Incorrect threshold
calculations and temperature readings are seen to show tsensor
reset during boot up.

bug 860513

Original-Change-Id: Ib64259f3e400eddde54056dae495983930b5c107
Reviewed-on: http://git-master/r/45487
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R01841af1297ed369ea52e6207358cc13296c93e3

7 years agoARM: tegra: dvfs: Update Tegra3 VDE/VI/PLLs dvfs tables
Alex Frid [Sat, 30 Jul 2011 02:44:20 +0000]
ARM: tegra: dvfs: Update Tegra3 VDE/VI/PLLs dvfs tables

Bug 817679

Original-Change-Id: I470693d8d1bcf14ed519d769edbd11b1c714c944
Reviewed-on: http://git-master/r/44183
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R97845546c2eaaf601d01b3ea9934272ee5d761a8

7 years agoarm: tegra: usb_phy: vddio_hsic power rail control
Seshendra Gadagottu [Wed, 3 Aug 2011 14:14:54 +0000]
arm: tegra: usb_phy: vddio_hsic power rail control

Switching off vddio_hsic power rail when hsic interface is
not getting used.

BUG 856606

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

Rebase-Id: Rececab71649aaeaa644cf949033485dc0b977b69

7 years agovideo: tegra: dc: Set PWM pin to SFIO in default
Min-wuk Lee [Tue, 2 Aug 2011 02:39:53 +0000]
video: tegra: dc: Set PWM pin to SFIO in default

Set PWM pin to SFIO before it is configured to DC output pin:
Having too early SFIO setting for this pin makes black screen
in display transition from bootloader to kenel and android
since backlight can be turned off.

Bug 858120

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

Rebase-Id: R89903c1f14f1b867638834bd1581d8637b079c94

7 years agoarm: tegra: enterprise: remove SFIO setting for PWM signal
Min-wuk Lee [Thu, 4 Aug 2011 02:35:19 +0000]
arm: tegra: enterprise: remove SFIO setting for PWM signal

Remove SFIO setting for PWM signal in enterprise_panel_init
since this makes backlight off during display transition from
bootloader to kernel and android, so black screen is visible
in display transition.

Bug 858120

Original-Change-Id: I95462ce519505d8170b56adfde8c163d91c98478
Reviewed-on: http://git-master/r/44306
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Tested-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R1b5882cf8302fb822c59f747d2bceb49972c8dbe

7 years agoregulator: max77663: Add MAX77663 regulator driver
Jin Park [Tue, 2 Aug 2011 07:35:58 +0000]
regulator: max77663: Add MAX77663 regulator driver

Add regulator driver for Maxim PMU MAX77663.

Bug 849360
Bug 854414

Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Original-Change-Id: I740f484ee1f39deefa8e5b9669426d6e6bafb42d
Reviewed-on: http://git-master/r/44484
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Re303620c5dcae6f56d1f219484d659525005eaa7

7 years agomfd: Add MAX77663 mfd driver
Jin Park [Tue, 2 Aug 2011 07:04:54 +0000]
mfd: Add MAX77663 mfd driver

Add mfd core driver for Maxim PMU MAX77663.

Bug 849360
Bug 854414

Original-Change-Id: I6699540fd7d0f7b428a1be64cf06f7cd65b5b32e
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/41503
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rc0f0a67db8b7d554bada7dd6b3e103ab30b374d4

7 years agovideo: tegra: nvmap: include mm.h
Robert Morell [Wed, 16 Feb 2011 23:38:25 +0000]
video: tegra: nvmap: include mm.h

This is needed to pick up definitions for pgprot*

bug 818525

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

Rebase-Id: Rb4c7f3cee9d813549bedb53b5fd7ed760f9a32d5

7 years agovideo: tegra: write permission only for User.
Sachin Nikam [Thu, 4 Aug 2011 12:47:25 +0000]
video: tegra: write permission only for User.

Giving write permission only for User for sysfs nodes
stereo_mode and stereo_orientation.
This is needed to fix the CtsPermissionTestCase.

Bug 859437

Original-Change-Id: I3f93290367a1e68cbc618b5d8ec84a27baa14152
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/45010
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R2038af5a5346062336bae102f799a8460dcef195

7 years agousb: gadget: enable the clocks during resume
Suresh Mangipudi [Thu, 4 Aug 2011 12:33:20 +0000]
usb: gadget: enable the clocks during resume

Need to enable the clock before checking the vbus status during resume

Bug 858490

Original-Change-Id: Id2ce4894c377b2ce878eed16b822877c3f28ae85
Reviewed-on: http://git-master/r/44996
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Bala Murali Krishna <balam@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: Re3853a8dc628ad7349b721b6070df396797a01ac

7 years agotegra: ehci: clock disable
Suresh Mangipudi [Thu, 4 Aug 2011 12:30:28 +0000]
tegra: ehci: clock disable

Disable the clock only when the device clocks are enabled.

Bug 858490

Original-Change-Id: I2f22890b11ec98b88457ffe6c90411f9927d8390
Reviewed-on: http://git-master/r/45007
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Bala Murali Krishna <balam@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R7a42a8bb412327a2c1d84877d84b722e33092ce9

7 years agotegra: otg: State update during suspend
Suresh Mangipudi [Thu, 4 Aug 2011 12:28:00 +0000]
tegra: otg: State update during suspend

Update the state of OTG when the device is entering suspend mode with
the device cable connected.

Bug 858490

Original-Change-Id: I7c8fb029f6e47418295d4f665cedf1774dd05e51
Reviewed-on: http://git-master/r/45006
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Bala Murali Krishna <balam@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R1bad22e4207e558065f307f942907659c1d110d4

7 years agoserial: tegra: Add delay after TX DMA complete
Pradeep Goudagunta [Thu, 4 Aug 2011 06:04:12 +0000]
serial: tegra: Add delay after TX DMA complete

Add 30 micro seconds delay after TX DMA burst complete, to make
sure DMA burst completed before writing to tx fifo.

Bug 847599

Original-Change-Id: Ifcc1f3f208f8c2396ef410bedfa1158643b94015
Reviewed-on: http://git-master/r/44933
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Tested-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R16d2c723f934b72ee770795d988c8ef9659c55e2

7 years agoarm: tegra: baseband: add callback functions for null phy power off
Steve Lin [Wed, 3 Aug 2011 22:05:55 +0000]
arm: tegra: baseband: add callback functions for null phy power off

Adding pre_phy_off and post_phy_off callback functions in null_phy_power_off
function. So that the modem handshaking GPIO is set to reflect the real phy
status.

Bug 856096
Bug 854339

Original-Change-Id: Ia39a84d3958b9dd078f93ab5be20387fb1ed9103
Reviewed-on: http://git-master/r/44840
Tested-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R77bcdb38dc78c01dd8dc517d28e3a45fd0237170

7 years agocrypto: tegra-se: add LP context save support
Kasoju Mallikarjun [Thu, 4 Aug 2011 11:50:32 +0000]
crypto: tegra-se: add LP context save support

Added LP context save support in Security Engine

Bug 855476

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

Rebase-Id: R5d891e6908a2e5f6206c7c509d7d0585b1522aee

7 years agoarm: tegra: devices: Add PMC IO address in SE resources
Kasoju Mallikarjun [Wed, 3 Aug 2011 18:17:12 +0000]
arm: tegra: devices: Add PMC IO address in SE resources

Added PMC IO registers as platform resources of
Security Engine for storing context save buffer
address in PMC registes during context save.

Bug 855476

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

Rebase-Id: Rd5030cf1659887cedd9f60b00224ad7dddd7cd8c

7 years agoarm: tegra: usb: add callback functions for null phy power off
Steve Lin [Tue, 2 Aug 2011 22:16:27 +0000]
arm: tegra: usb: add callback functions for null phy power off

Adding pre_phy_off and post_phy_off callback functions in null_phy_power_off
function. So that the modem handshaking GPIO is set to reflect the real phy
status.

Bug 856096
Bug 854339

Original-Change-Id: I6f4ce9d6072d550c4f02c7fc3bd9c601f05822ab
Reviewed-on: http://git-master/r/44634
Tested-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R6f086d6d1608f961fcffe136ed6ff5f0a3646303

7 years agoARM: tegra: la: Add debugfs to latency allowance.
Jon Mayo [Thu, 21 Jul 2011 01:49:00 +0000]
ARM: tegra: la: Add debugfs to latency allowance.

add /sys/kernel/debug/tegra_latency/la_info to print programmed latency
allowance settings.

Original-Change-Id: I65a7a04c42f8ac27aaf2c1c953d695bc0bba0c77
Reviewed-on: http://git-master/r/42285
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R540ef9a4ed274eae52800edcd6ad590e16b67e09

7 years agonvhost: Add IOCTL to read 3D registers
Terje Bergstrom [Wed, 8 Jun 2011 10:07:23 +0000]
nvhost: Add IOCTL to read 3D registers

Add IOCTL to read values from registers of 3D unit.

Bug 716734

Original-Change-Id: I5e85429d67433d6dadb4a853ce32901a9e66ab74
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/38035
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Rd4f9a38eac423fa9fbdc685647e32be1dc134d53

7 years agoARM: tegra: Disable PL310 double line fill feature
Scott Williams [Thu, 4 Aug 2011 04:56:02 +0000]
ARM: tegra: Disable PL310 double line fill feature

Bug 854424

Original-Change-Id: I53a86b023920978cee0e6804985dd35d1f286de5
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/44930
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: R0c3899291fd85be56c6e93c02d072fd9cd6dd116

7 years agoARM: tegra: dvfs: Update Tegra3 SCLK dvfs table
Alex Frid [Tue, 26 Jul 2011 04:13:07 +0000]
ARM: tegra: dvfs: Update Tegra3 SCLK dvfs table

Bug 817679

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

Rebase-Id: Rda0b1a55e7f41da44476547fe6dde8987c02c363