7 years agohwmon: tegra: tsensor: lp0 save/restore configuration
Bitan Biswas [Tue, 19 Jul 2011 12:41:58 +0000]
hwmon: tegra: tsensor: lp0 save/restore configuration

tsensor configuration needs to be saved before lp0 and restored
after lp0 resume else POR values are seen after lp0 resume.
- Config0, Config1 and Config2 registers are saved and restored

bug 851791

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

Rebase-Id: Raceac7154fc86486f2726cdd13637d7e8d1e6828

7 years agovideo: tegra: nvmap: Fix cache flush issue during page alloc.
Krishna Reddy [Wed, 6 Jul 2011 21:57:44 +0000]
video: tegra: nvmap: Fix cache flush issue during page alloc.

Bug 39790
Original-Change-Id: I5ce0e35501442ed1a6818aebfeae1670ebb9d08d
Reviewed-on: http://git-master/r/39867
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R5679d529af4779bde735d3055b04d368b765c620

7 years agovideo: tegra: check for hdmi peripheral during resume
Sanjay Singh Rawat [Wed, 6 Jul 2011 07:41:28 +0000]
video: tegra: check for hdmi peripheral during resume

As HDMI is not a wakeup source. To detect HDMI peripheral which is
connected after suspend, we scan for it during HDMI resume.

Bug 846365

Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/39776
(cherry picked from commit fd1134f413845f8e0b3944153eb7406f713a9709)

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

Rebase-Id: R01d0a5d61afb386240ae35da73fe12f38e26ed28

7 years agoARM: tegra: power: Add throttling enable reference counting
Alex Frid [Sun, 10 Jul 2011 06:22:12 +0000]
ARM: tegra: power: Add throttling enable reference counting

Added throttling enable reference counting, so that it can be
controlled by drivers for different thermal sensors (e.g, on
chip and device skin sensors).

Fixed possible dead-lock when cancel delayed work synchronous is
called while locked with the very same mutex that protects work
function.

Bug 837005

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

Rebase-Id: R893b5a7b402d327b40acb7adbadb53f930804c0d

7 years agoARM: tegra: clock: Unify CPU set rate paths
Alex Frid [Sun, 10 Jul 2011 04:33:37 +0000]
ARM: tegra: clock: Unify CPU set rate paths

Made sure that CPU thermal and edp limits are applied on all CPU set
rate paths: cpufreq governor, thermal throttling, edp notification,
power management notification. Also included auto-hotplug governor
state update in all these paths (current code does not apply the
limits, or does not include auto-hotplug on some rate change paths).
One exception - keep current functionality for suspend notification:
set pre-defined CPU rate, and force auto-hotplug idle state.

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

Rebase-Id: R1471a5f318644fa5a7f436d8ed73c12de8b76245

7 years agoARM: tegra: power: Re-factor power headers.
Alex Frid [Sun, 10 Jul 2011 01:38:04 +0000]
ARM: tegra: power: Re-factor power headers.

Renamed and moved tegra cpu related function prototypes from power.h
to tegra-cpu.h. No functional changes.

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

Rebase-Id: R3d90799453a86a5a9ed012d2bfe373715de6d5c3

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

Bug 852560

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

Rebase-Id: R82c2041d99f8696b37c3c0aa7b932c7dddb757d7

7 years agoARM: tegra: ventana: change TPS6586x SMx slew rate
Xin Xie [Tue, 26 Apr 2011 00:36:15 +0000]
ARM: tegra: ventana: change TPS6586x SMx slew rate

Currently Ventena reference design is using the wrong LC values in tps6586x,
we need reduce the slew rate of SMx in order to prevent voltage undershoot.

BUG 815933

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

Rebase-Id: Rfe48ec428553eed008c70244d4872a9a1bd3e36c

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

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

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

Rebase-Id: Rd00f3fb6f0d75dd2b279b203cb25bee3dfdae112

7 years agomedia: tegra: avp: Add channel based AVP driver
Gajanan Bhat [Fri, 24 Jun 2011 02:09:21 +0000]
media: tegra: avp: Add channel based AVP driver

New AVP driver based on channel model. The AVP
acts as s/w host1x channel and has a syncpoint
allocated to synchronize audio/video operation
submitted by the host. The driver is responsible
for loading the AVP kernel and initializing s/w
channel.

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

Rebase-Id: Rfa4a49bb322192861df6c9cc16ada6ae1040f8be

7 years agoregulator: tps6586x: add SMx slew rate setting
Xin Xie [Tue, 26 Apr 2011 00:36:15 +0000]
regulator: tps6586x: add SMx slew rate setting

bug 815933

Original-Change-Id: I3b8f8910b12ff4f8a5f9588615bd0bb6452bdc3b
Reviewed-on: http://git-master/r/40263
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R18292e6e68c95b9f67d24281a9f2b80439452ba8

7 years agocrypto: tegra-se: add support to use ssk
Varun Wadekar [Thu, 14 Jul 2011 09:26:02 +0000]
crypto: tegra-se: add support to use ssk

support to use ssk for some special encrypt
decrypt operations. algo names changed to match
the ones accessed by /dev/tegra-crypto

Bug 850434

Original-Change-Id: I8f13ae1fd15ffeae4aceee5799552d173560479a
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/41012
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R86620bd834ae7740377f43c285ba86aee74bb4cc

7 years agonvhost: Enable 3D powergating
Terje Bergstrom [Tue, 14 Jun 2011 08:04:56 +0000]
nvhost: Enable 3D powergating

Enables 3D power gating on chips that support it.

Bug 793861

Original-Change-Id: Iadc40b65ac4897550d3b0d2076cc7efe98c95dfa
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/37821
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Tested-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R14eebcaa38b71d81b5286f922d0d10e15a121b13

7 years agoarm: tegra: renaming tegra3_mc_stats sysfs to tegra3_mc
Donghan Ryu [Sun, 17 Jul 2011 14:01:47 +0000]
arm: tegra: renaming tegra3_mc_stats sysfs to tegra3_mc

this change is the follow-up patch to change replace
tegra3_mc_stats to tegra3_mc.

Original-Change-Id: I50e97a122553746d025eb4628c76e6d744967e28
Reviewed-on: http://git-master/r/41478
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Tested-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

Rebase-Id: Rb4bc285d1d3b5ff888a8b7d7ee68fa17c5e37151

7 years agoARM: Tegra: dvfs: Separate proc array size for CPU and CORE
Diwakar Tundlam [Fri, 17 Jun 2011 02:47:05 +0000]
ARM: Tegra: dvfs: Separate proc array size for CPU and CORE

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

Rebase-Id: R75d67a71f0c54b4a368d48fb89c3185030d5ab8a

7 years agovideo: tegra: host: Channel based AVP driver
Soumen Kumar Dey [Fri, 15 Jul 2011 06:04:59 +0000]
video: tegra: host: Channel based AVP driver

Reserving syncpoint for channel based AVP driver.

Original-Change-Id: I2829341417a9bdc010ba51f4416d8648b7068b17
Reviewed-on: http://git-master/r/41148
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Gajanan Bhat <gbhat@nvidia.com>
Tested-by: Gajanan Bhat <gbhat@nvidia.com>
Reviewed-by: Chris Johnson <cwj@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rffd00ab1a181b331fc5e309f68f61748b8d2bd65

7 years agovideo: tegra: update copyright and comments
Jon Mayo [Thu, 30 Jun 2011 18:20:37 +0000]
video: tegra: update copyright and comments

added correct copyright comment.
removed funny block comments.

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

Rebase-Id: R50e415ae0c7d0f52ab7313a55ad757cec8910d9f

7 years agonvhost: Do not crash if wait syncpt > max
Terje Bergstrom [Thu, 9 Jun 2011 09:39:33 +0000]
nvhost: Do not crash if wait syncpt > max

If user space is waiting for a syncpt value higher than max,
nvhost_wait_timeout() panics the kernel. This panic is based on the
assumption that nobody should wait for sync points higher than indicated
by a submit from user space.

As the API has nothing to disallow waiting for future sync points not
indicated by any submit, this patch removes the panic and treats this as
a normal case.
Bug 843238

Original-Change-Id: I367c46e42bd683f1023e7fe04e523a99ab3d666b
Reviewed-on: http://git-master/r/36470
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R18a509f85dfd657c3dcbbd7db1fa95d71113cea0

7 years agoARM: tegra: clock: Set Tegra3 LPDDR2 minimum rate to 25MHz
Alex Frid [Fri, 15 Jul 2011 04:35:48 +0000]
ARM: tegra: clock: Set Tegra3 LPDDR2 minimum rate to 25MHz

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

Rebase-Id: R47886089e5b3b73c58372645ec7ea282a0cfa698

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

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

Bug 840255

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

Rebase-Id: R9a5f2bcfc1e6e0b5aee37cd700d75f9ef5cea30b

7 years agomisc: nct1008: extended mode first reading fix
Bitan Biswas [Mon, 18 Jul 2011 06:12:59 +0000]
misc: nct1008: extended mode first reading fix

nct1008 first temperature reading in extended mode is incorrect.
A valid temperature is available in next measurement cycle after
changing temperature range.
- using table with delay expected for supported conversion
  rate of nct1008.

bug 852754

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

Rebase-Id: R9fc8a721f1b25372324f7e38c3c477b9769d51bf

7 years agoARM: tegra: enterprise: Add front camera
Charlie Huang [Wed, 29 Jun 2011 17:40:07 +0000]
ARM: tegra: enterprise: Add front camera

modify enterprise board files to add support for ov9726

bug 829399

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

Rebase-Id: Rb444bad59ae0f7ce83b79c8326175fa15964d069

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

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

Bug 852481

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

Rebase-Id: R55db5712582df547e1786c2a1782491feb4ce3ec

7 years agomedia: video: tegra: enable ov9726 sensor
Charlie Huang [Wed, 29 Jun 2011 17:44:58 +0000]
media: video: tegra: enable ov9726 sensor

initial support for sensor ov9726

bug 829399

Original-Change-Id: I67315dfce7baf2c14f49bf526c10fe19cf32d1d3
Reviewed-on: http://git-master/r/40472
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Chonglei Huang <chahuang@nvidia.com>
Tested-by: Chonglei Huang <chahuang@nvidia.com>

Rebase-Id: R31312b2b0fda96348bb14461651ccb27aa30b0de

7 years agoARM: tegra: clock: Fix activity monitor resume
Alex Frid [Mon, 18 Jul 2011 23:20:54 +0000]
ARM: tegra: clock: Fix activity monitor resume

Move call to clock get rate API (can sleep) outside of activity
monitor resume section protected by spin lock.

Original-Change-Id: I78d5bb8728f3a728a6ff952b1f3cba19b9dec0a0
Reviewed-on: http://git-master/r/41626
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R1ab0bb59a88f078f85f125b968546c09aab9d176

7 years agoARM: tegra: Add GPIO_PEE3 for Tegra3
Harry Hong [Fri, 8 Jul 2011 06:18:35 +0000]
ARM: tegra: Add GPIO_PEE3 for Tegra3

Original-Change-Id: I9a02b7a79b4bbf0139b5f0a6ad26f7c2eaf9582d
Reviewed-on: http://git-master/r/40144
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R79516993533f5681445de76470cb90025e073474

7 years agovideo: tegra: dc: Fix no_vsync hang issue.
Gaurav Sarode [Tue, 12 Jul 2011 11:51:10 +0000]
video: tegra: dc: Fix no_vsync hang issue.

no_vsync was causing random hangs due to unwanted interrupts
were enabled on default.

Fix bug 801463

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

Rebase-Id: R2aeb2a584b04dd36317bbd405e907ab6f45c2a41

7 years agoARM: tegra: Remove write permission for sysfs attr
Sachin Nikam [Mon, 18 Jul 2011 09:00:34 +0000]
ARM: tegra: Remove write permission for sysfs attr

CTS File permission test expects there shoudn't be any writable
permission for Group and Others for any file in kernel.

Bug 840409

Original-Change-Id: I277e1e8d22f19899935336f2322f8bd4b46a9f85
Signed-off-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-on: http://git-master/r/41522
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>

Rebase-Id: R22e200ca6f17c9058a5739de28a9e47ca0391b40

7 years agomisc: nct1008: ext-temperature sysfs fix
Bitan Biswas [Fri, 15 Jul 2011 19:08:23 +0000]
misc: nct1008: ext-temperature sysfs fix

In extended temperature range ext-temperature reported
was incorrect. Fixing this.

bug 850512

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

Rebase-Id: R1ac2c365793129d20c76eace2ea2723d0c178a70

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

Bug 822468

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

Rebase-Id: R48dfe21d4cec9c74978a9800c078bd408f8d41fe

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

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

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

Rebase-Id: Rc7f949b56c0d12d63f313aa005c4e71cbd0a3215

7 years agotegra: video: dc: prevent division by zero
Jon Mayo [Fri, 15 Jul 2011 00:33:02 +0000]
tegra: video: dc: prevent division by zero

Do not pass 0 to PICOS2KHZ() macro, as it causes Division by zero in kernel.

Bug 850852

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

Rebase-Id: Rc77772df52dfd42db53be2c8cb4281a04262ad69

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

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

bug 833087

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

Rebase-Id: R15464c7d3bd221631075f97d350aed8f579dc1b2

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

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

bug 820536

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

Rebase-Id: Re1f3dd4f75ee05456899d9a67f74ae84f9572654

7 years agovideo: tegra: dsi: Power optimization for dc one-shot mode
Animesh Kishore [Thu, 14 Jul 2011 11:44:18 +0000]
video: tegra: dsi: Power optimization for dc one-shot mode

Disable TE signal from panel when display off for power saving.

Bug 851754

Original-Change-Id: If00f9bde9c358c7b49050a32f68d04881e6641da
Reviewed-on: http://git-master/r/41031
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: R6df302cd2af2105e2dd3384a222965f0b9180bd0

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

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

bug 820536

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

Rebase-Id: R14dcb8c7822b2bdc7e66807e292776b68d08d12d

7 years agovideo: tegra: dc: Fix wrong handling of dc enable.
Gaurav Sarode [Fri, 15 Jul 2011 10:21:57 +0000]
video: tegra: dc: Fix wrong handling of dc enable.

DC reset disables dc for sometime. If IOCTL_FLIP
occurs during that time then wrong status will be reported.

Add dc mutex around dc->enable to prevent wrong value read.

Fix bug 852345

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

Rebase-Id: R0d10fb5ff9dfc2ee2c9dcc7e65a2bfafb8a88d4d

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

Adding the TPS6591x gpio definition in tps6591x core header
files.

bug 849976

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

Rebase-Id: Rcaf75875841aab0b12f3876086245701eb754669

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

setting UART3 signal drive strength to maximum.

Bug 819411

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

Rebase-Id: R3ca41455889e1c5c8a5c5fe7bfc3ace0dd60da2a

7 years agoarm: tegra: config: Make LL UART DEBUG port depends on DEBUG_LL
Laxman Dewangan [Thu, 14 Jul 2011 08:17:19 +0000]
arm: tegra: config: Make LL UART DEBUG port depends on DEBUG_LL

Making the low level uart debugging port config variables depends
on CONFIG_DEBUG_LL so that the low level debugging config variable
only get visible when CONFIG_DEBUG_LL is selected.

The console debugging is not selected by this config variable.
Also removed unused config variable.

bug 833032

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

Rebase-Id: Rb7248ebf3e43441a0459031a528be6f9ca9b0782

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

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

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

bug 820536
bug 832273

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

Rebase-Id: R6d7bfb3f8f9152779f5138cbcd1b7a9e9a9545df

7 years agoarm: tegra: usb: Exclude incompatible device from CDC-ACM driver.
Michael Hsu [Thu, 14 Jul 2011 23:49:15 +0000]
arm: tegra: usb: Exclude incompatible device from CDC-ACM driver.

A certain flashless modem has a boot ROM which incorrectly reports
itself as being USB CDC-ACM class compliant. Prevent the CDC-ACM
driver from printing error message about "This device cannot do
calls on its own.  It is not a modem." when this device is present
on usb bus.

Original-Change-Id: If1ef27980b3cc454233309a5066070e6250dd24e
Reviewed-on: http://git-master/r/41105
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Ra7b68fb265acffe22a2de5d31bad82363607b87e

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

Removing config variable TEGRA_VERBIER_E1187 as this is no
longer used.

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

Rebase-Id: R5a97f9bd2235fbe5a2e1f12f18fd040b85362d1d

7 years agomfd: tps80031: Move rail definition to regulator header
Laxman Dewangan [Thu, 14 Jul 2011 10:01:49 +0000]
mfd: tps80031: Move rail definition to regulator header

Moving the definitions of regulator rail names into regulator
header from core header.

bug 849977

Original-Change-Id: Ia2e4e9394b6ee013e2e12355038e15609d5077ea
Reviewed-on: http://git-master/r/41023
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Rb37a8ce8264396ddb18708596cf7908df2fac3ff

7 years agomfd: tps6591x: Move rail definition to regulator header
Laxman Dewangan [Thu, 14 Jul 2011 09:35:33 +0000]
mfd: tps6591x: Move rail definition to regulator header

Moving the definitions of regulator rail names into regulator
header from core header.

bug 849977

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

Rebase-Id: R7962b8ffed55ffe9de23f37d66c549ec847996d0

7 years agoarm: tegra: enterprise: increasing UART3 drive strength
Pradeep Goudagunta [Fri, 15 Jul 2011 11:49:51 +0000]
arm: tegra: enterprise: increasing UART3 drive strength

setting UART3 signal drive strength to maximum.

Bug 847748
Bug 819411

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

Rebase-Id: R54a99cf40c169a6e100593780216feeebf95aaf0

7 years agoarm: tegra: usb: Add kernel config USB_EHCI_ONOFF_FEATURE.
Michael Hsu [Thu, 14 Jul 2011 00:52:26 +0000]
arm: tegra: usb: Add kernel config USB_EHCI_ONOFF_FEATURE.

Allow usb host to turn off / on usb device, usually after firmware
has been downloaded to usb device.

BUG 828389

Original-Change-Id: I2dc92e8c8950fff27a20e651ef7b3c5537e6c5ff
Reviewed-on: http://git-master/r/40944
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rb599f90846bcdf043fa988a53da50451e4c0ee39

7 years agoARM: tegra: clock: Update EMC parents after deep sleep
Alex Frid [Thu, 14 Jul 2011 01:55:44 +0000]
ARM: tegra: clock: Update EMC parents after deep sleep

On Tegra3 EMC parents may be changed underneath clock framework by low
level resume code. Updated parents ref-count respectively in such case.

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

Rebase-Id: R5401fcdf33ee2ef5886e8ddc70c65ae35b753f36

7 years agovideo: tegra: dc: apply latency allowance windows
Jon Mayo [Fri, 8 Jul 2011 05:05:15 +0000]
video: tegra: dc: apply latency allowance windows

Calculate per window bandwidth and apply latency allowance factors to
each active window. Reuses much of the emc bandwidth code.

Bug 820273

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

Rebase-Id: Rb7c7fb7813fbd61302e51e86e86cab4063e7050b

7 years agovideo: tegra: dc: remove emc clock worker
Jon Mayo [Fri, 8 Jul 2011 01:59:38 +0000]
video: tegra: dc: remove emc clock worker

remove the support to delay changing emc clock.

Bug 850852

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

Rebase-Id: Rc136721574d4337ce8538abcf852d4d64857cdbf

7 years agovideo: tegra: dc: only set supported filters
Jon Mayo [Fri, 8 Jul 2011 01:34:12 +0000]
video: tegra: dc: only set supported filters

Not all windows are created equal, only set vertical or horizontal
filters when the window supports them.

Bug 850852

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

Rebase-Id: R339412d8ca44cd3bbe69f4af8c9bdde32a6d56c7

7 years agovideo: tegra: dc: clean up dynamic emc code
Jon Mayo [Thu, 7 Jul 2011 23:29:57 +0000]
video: tegra: dc: clean up dynamic emc code

refactor emc code and centralize it in one place.

Bug 850852

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

Rebase-Id: R50b0fc763281d1ce1b0758caf5e42bfb2d4a3050

7 years agovideo: tegra: host: Balance 3D clock control in module init
Alex Frid [Wed, 13 Jul 2011 19:06:48 +0000]
video: tegra: host: Balance 3D clock control in module init

Remove extra 3D, 3D2 clock disable from module init. This calls were
necessary to compensate un-balanced clock enable done while powering
3D partition on. Power-gating control is balanced now, so the calls
in question do nothing except generating warnings.

Original-Change-Id: Ic46e8f80102cf9166ab37532b2b92b3e83f28107
Reviewed-on: http://git-master/r/40957
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R622ac19ee7fdcdf4b6bcfd9240dc85e8d7d69ba0

7 years agoarm: tegra: comms: Add baseband character driver.
Michael Hsu [Thu, 14 Jul 2011 00:11:25 +0000]
arm: tegra: comms: Add baseband character driver.

Add raw character device driver for baseband modems.  Suitable
for downloading modem software image to flashless modem, or sending
AT modem commands after modem software is running.

Original-Change-Id: I0de126c5eb8700db196e9d6838d65ccce1480c42
Reviewed-on: http://git-master/r/40936
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R76607c0d7b47938fa49d4ec57e9962f2d683a5cb

7 years agoARM: tegra: power: Add Tegra3 sysfs core cap interface
Alex Frid [Wed, 6 Jul 2011 03:24:36 +0000]
ARM: tegra: power: Add Tegra3 sysfs core cap interface

Added Tegra3 sysfs throttling interface for VDD_CORE domains:

/sys/kernel/tegra_cap/core_cap_level - common cap level for all core
shared buses: emc (memory), sbus (system clock), and cbus (graphics
clocks). Cap level is specified in millivolts, and maximum rate limits
from the respective dvfs tables are applied to all bus clocks. Note
that cap level affects only bus frequencies. Core voltage is not
necessarily set at the cap level, since CPU and/or fixed peripheral
clocks outside the buses may require higher voltages.

/sys/kernel/tegra_cap/core_cap_state - provides enable/disable control
of cap level throttling effect.

Updated system clock dvfs table (new data better matching cap levels).

Bug 837005

Original-Change-Id: I77b1d1c95ba623dcfb3f8290ec686e181558b84a
Reviewed-on: http://git-master/r/40778
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rfab75e46ceaf2f1ad29ec91d946b50f1fd8a58d7

7 years agoARM: remove unnecessary dcache_clean_area
Heechul Yun [Wed, 6 Jul 2011 02:03:55 +0000]
ARM: remove unnecessary dcache_clean_area

Cortex-A9 has PIPT D-cache which do not require clean the cache
on creating page table.

Original-Change-Id: I42d528be83ea8def96045c7e575c7b3ed95f5980
Reviewed-on: http://git-master/r/40505
Reviewed-by: Heechul Yun <hyun@nvidia.com>
Tested-by: Heechul Yun <hyun@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R214ce4b138abb18e1cfe79465087c39ead248d72

7 years agoarm: mm: Remove unnecessary cache flush on page table modification
Heechul Yun [Thu, 30 Jun 2011 22:40:43 +0000]
arm: mm: Remove unnecessary cache flush on page table modification

Since MMU of Cortex-A9 read from L1-D not from memory, there's no
need to flush the cache line of the modified page table entry.

Original-Change-Id: Ie5e6a027f633ed6060b8d2a9fdcd6a5399736d55
Reviewed-on: http://git-master/r/39697
Reviewed-by: Heechul Yun <hyun@nvidia.com>
Tested-by: Heechul Yun <hyun@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rb8fd18147f8eb30b7969a6eac490efe03b646f16

7 years agoarm: tegra: usb_phy: enable utmip phy
Rakesh Bodla [Thu, 14 Jul 2011 12:49:41 +0000]
arm: tegra: usb_phy: enable utmip phy

UTMIP_PHY_ENABLE bit should be set, otherwise
phy won't work. Also, modified the logic of
turning power ON of pad circuit.

Bug 846719

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

Rebase-Id: Rc43dcf5ffd2ba7d75ada1a9e3f72cfe4c6a1303d

7 years agoARM: tegra: power: Don't use suspended kernel time
Alex Frid [Wed, 13 Jul 2011 19:56:13 +0000]
ARM: tegra: power: Don't use suspended kernel time

Do not use kernel time to time-stamp Tegra3 CPU ULP/G mode switch in
late suspend/early resume when timekeeping is suspended.

Original-Change-Id: Idb6c8f8c2dd2cfc1e00cec53392de12131d6bbe1
Reviewed-on: http://git-master/r/40958
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R6ce7a5e7e06949f3536524ea675aa9c0fc2ab097

7 years agovideo: tegra: dc: Reduce usage count of nvmap client
Vandana Salve [Fri, 8 Jul 2011 08:02:48 +0000]
video: tegra: dc: Reduce usage count of nvmap client

Carveout memory leak occured in video playback on abnormal termination as the
tegra overlay driver didn't had the implementation to reduce the usage count of
nvmap client on device closure.

Hence on abnormal termination of mediaserver, the carveout memory remained
allocated causing memory leak.

The usage count of nvmap client for overlay driver is incremented on
ioctl TEGRA_OVERLAY_IOCTL_SET_NVMAP_FD.It should be decremented on
device closure.

Added the code to decrement the uage count of nvmap client on release, so that
the client and the carveout memory is free'd whenever the count reaches zero
on successful as well as abnormal termination of mediaserver process.

Similar implementation is done by NvHost channel driver,
The NvHost drivers takes care of nvmap client usage count.i.e. decrement the
uasge count of nvmap client which is incremented by
NVHOST_IOCTL_CHANNEL_SET_NVMAP_FD ioctl.

Bug 845676

Reviewed-on: http://git-master/r/40157
(cherry picked from commit c10173d70affb7117284b57fb0870c90823a5880)

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

Rebase-Id: Ra474156806eacf67c6de82480ded1580ddcdb93f

7 years agoARM: tegra: enterprise: add tps61050
Jihoon Bang [Tue, 12 Jul 2011 21:34:27 +0000]
ARM: tegra: enterprise: add tps61050

Add flash device to I2C bus 2.
Add power sequence for flash device.

Bug 844017

Original-Change-Id: Ieda304825ebbb87f61a11045f0b8be4272467588
Reviewed-on: http://git-master/r/40692
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R04353dd51b680715578f2c1594e0f474b37530a6

7 years agoarm: tegra: enterprise: support stereo sensor
Jihoon Bang [Fri, 24 Jun 2011 17:12:47 +0000]
arm: tegra: enterprise: support stereo sensor

Add separate power sequence and ID to rear sensors.
It will allow them to operate independently.

Bug 844021

Original-Change-Id: Iaf3399ea4c70999d1c8ea432f2df10c078e86004
Reviewed-on: http://git-master/r/40386
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>

Rebase-Id: R4bbc3008be78ea2fba63926fafedaea5b54cc4b3

7 years agomedia: video: tegra: support multiple cameras
Jihoon Bang [Fri, 24 Jun 2011 17:05:32 +0000]
media: video: tegra: support multiple cameras

Separate board specific sequence from ar0832 driver and add it to board
files. Add function that changes device slave address in real time to support
multiple devices in the same I2C bus.

Bug 844021

Original-Change-Id: I48641909eb531b4ba827096bc30fa4eccf83469e
Reviewed-on: http://git-master/r/40385
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>

Rebase-Id: R4b761bd3b09ed2b0101b03e8be737c25e5c3ee5f

7 years agoarm: tegra: net: Support multiple RAW-IP devices.
Michael Hsu [Fri, 1 Jul 2011 04:21:08 +0000]
arm: tegra: net: Support multiple RAW-IP devices.

Change RAW-IP network driver to support multiple instances.

Bug 818895, 847608

Original-Change-Id: I30d79a4af38611693c0cc4e045f6ec50a6baff7d
(cherry picked from commit 32bacea781788f43fdf16d1f9edc782e9d599c41)
Reviewed-on: http://git-master/r/39313
Tested-by: Wang-Kai (WK) Tsai <wtsai@nvidia.com>
Reviewed-by: Wang-Kai (WK) Tsai <wtsai@nvidia.com>
Reviewed-by: ChihMin Cheng <ccheng@nvidia.com>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rea54001cfbb6d0fe53c2e91695db9f023b9e2828

7 years agoarm: tegra: fuse: accept strings starting with 0x/x
Varun Wadekar [Thu, 14 Jul 2011 09:41:51 +0000]
arm: tegra: fuse: accept strings starting with 0x/x

some users might enter fuse data starting
with 0x/x. this will mess up the fuse programming.
do not consider 0x/x while programming the fuses.

also fix some compilation warnings

Reviewed-on: http://git-master/r/#change,38933

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

Rebase-Id: Rb6a134adfa8049865bb4154353763d43f743e052

7 years agomisc: tegra-crypto: enable prints for some errors
Varun Wadekar [Thu, 14 Jul 2011 09:23:47 +0000]
misc: tegra-crypto: enable prints for some errors

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

Rebase-Id: R67b8963788605425c044e68b082ecb1d622d7b33

7 years agoARM: tegra: clocks: Add shared sclk for statmon
Prashant Gaikwad [Fri, 10 Jun 2011 08:39:10 +0000]
ARM: tegra: clocks: Add shared sclk for statmon

H/W statistics monitor for AVP controls sclk depending on load.
Instead of overriding avp.sclk rate, separate sclk client added
for statmon so that busy hints from AVP can be handled.

Bug 831892

Reviewed-on: http://git-master/r/36057
(cherry picked from commit a19f85a8a7af722bcfd729297e682574dc22de7b)

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

Rebase-Id: Rbbc91472cf6dbadbe773fc72a9f1af4f96bd5af9

7 years agotegra: video: dc: Add sys interface to read display CRC.
Kevin Huang [Fri, 8 Jul 2011 21:01:43 +0000]
tegra: video: dc: Add sys interface to read display CRC.

- Add attribute in sys to read TEGRA_DC_CRC_CHECKSUM_LATCHED
- Fix some minor formatting issue of dc_sysfs.c

Bug 834332

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

Rebase-Id: Rde819259112b14ed1ae67b41d66b1785d68a2b7f

7 years agoarm: tegra: clock: keep pllc on after lp0
Luke Huang [Tue, 12 Jul 2011 20:05:47 +0000]
arm: tegra: clock: keep pllc on after lp0

pll_c is required to be on after lp0, otherwise there is a chance that
grhost will get stuck and the sync point won't be incremented.

bug 846944

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

Rebase-Id: Rc03579fa51ff041ab2c929c3e17fa0ab66f5b4e4

7 years agoARM: tegra2: mc: Fix the issue of counters not being reset
licheng [Fri, 8 Jul 2011 18:17:11 +0000]
ARM: tegra2: mc: Fix the issue of counters not being reset

EMC state control register is not programmed correctly as the value
is not reset after previous write is done.

Bug 829087

Reviewed-on: http://git-master/r/40230
(cherry picked from commit 51a190b49a347968c22c1ed8187568a7ed1fb1f1)

Original-Change-Id: Ic2c8d33ad241100939eb1d8fa026a1d5849c0fd8
Reviewed-on: http://git-master/r/40687
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R6fe4735e67c44d7b3cc26449342de6862aa92b36

7 years agoARM: tegra: clock: Clean tegra3_emc.c macro style
Alex Frid [Wed, 13 Jul 2011 02:34:35 +0000]
ARM: tegra: clock: Clean tegra3_emc.c macro style

Original-Change-Id: I472be800ad84b79783577264b51c6478aa4bb41b
Reviewed-on: http://git-master/r/40769
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R0b3b4124618ecafc6f83ff165634ebba664a24a1

7 years agoARM: tegra: clock: Support Tegra3 EMC DFS table revision
Alex Frid [Tue, 12 Jul 2011 05:55:04 +0000]
ARM: tegra: clock: Support Tegra3 EMC DFS table revision

Support Tegra3 EMC DFS table revision 3.1 that includes two additional
EMC shadow registers (reserved with previous table revision 3.0).

Bug 836260

Original-Change-Id: Ifea774ae862ea18aa6b81adda902714988a475fb
Reviewed-on: http://git-master/r/40749
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rafa10bed9b6d6cef71986bbc97289dc02b18d478

7 years agoARM: tegra: clock: Fix Tegra3 EMC clock change procedure
Alex Frid [Tue, 12 Jul 2011 04:43:45 +0000]
ARM: tegra: clock: Fix Tegra3 EMC clock change procedure

Fixed EMC clock change procedure to skip XM2CLKPADCTRL register during
shadow burst write, and set it within unshadowed section.

Bug 836260

Original-Change-Id: Ief92c7d3957c9685b8c528297da2e905159a530d
Reviewed-on: http://git-master/r/40748
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R5016ffd224db2b3eb6639a6b33063d1c27456b24

7 years agoarm: enterprise: Clean some of tps80031 definition
Laxman Dewangan [Fri, 8 Jul 2011 12:10:37 +0000]
arm: enterprise: Clean some of tps80031 definition

Adding public definition in the 80031 header so that client
can used directly in place of defining at client level.

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

Rebase-Id: R981610616a78797050538c2a4eb5160ea11384c8

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

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

Bug 827366

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

Rebase-Id: R9d59217c72ad42ef90bf062d50c4d872879cb8e1

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

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

bug 849973

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

Rebase-Id: Rf1826cc64c5b531e7827592dd78ea6ce967a6264

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

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

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

Rebase-Id: Rd7e2bfcf6780b6b73a8438b904b8a13b0297b59d

7 years agovideo: tegra: dc: fix hdmi mode filter
Donghan Ryu [Sun, 19 Jun 2011 15:39:57 +0000]
video: tegra: dc: fix hdmi mode filter

If there are more than one hdmi modes that have same xres,
yres, and vmode, tegra_dc_hdmi_mode_equal can return true even
though pixclocks are way different from each other.
Now, tegra_dc_hdmi_mode_equal will retun false if pixclock has
more than 1Hz of difference. Also, tegra_fb_set_par will use
fb_find_nearest_mode instead of fb_find_best_mode to take
refresh rate into the consideration.

Bug: 815409

(cherry picked from commit 8cf6e47dd3d4efaa3a1f0a15f1bd36ad34d3a951)

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

Rebase-Id: R4a93c72ba0a73c561864322014a8c9a33e86304b

7 years agotegra: clocks: Remove shared clocks from sku_limits
mchourasia [Wed, 22 Jun 2011 07:26:15 +0000]
tegra: clocks: Remove shared clocks from sku_limits

"avp.sclk" and "bsea.sclk" are shared clocks and should
be removed from sku_limits table as shared clocks are
registered later and not available at the time of putting
rate limits.

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

Rebase-Id: R6c4d95bbf32d713a3e78201f49bc612423e8b35c

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

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

bug 850674

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

Rebase-Id: R9ca33b8b4b489590f649160ae9e6df627391cbf0

7 years agoARM: tegra: add support for hardware statistic counter
Prashant Gaikwad [Tue, 12 Jul 2011 11:32:54 +0000]
ARM: tegra: add support for hardware statistic counter

Tegra2 chip has a hardware statistic counter for CPU/AVP/VDE/SYS
modules. This commit adds the support for AVP statistics gathering and
controlling avp clock during video playback.

Bug 831892

Reviewed-on: http://git-master/r/35647
(cherry picked from commit 145885b03cd9fc625f2ff3460c59ebbb3d93c98e)

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

Rebase-Id: R7271973f142f14fc8a11bdbc33ae6f76f6fd38b0

7 years agohwmon: tegra: tsensor: set STOP bit in suspend
Bitan Biswas [Tue, 12 Jul 2011 15:35:55 +0000]
hwmon: tegra: tsensor: set STOP bit in suspend

tsensor STOP bit is set before suspend. This disables the
counters and prevents OVERFLOW interrupt in LP1 mode

bug 850683

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

Rebase-Id: Rbdf02380a72c8f75449a0a3e52007e5883f62d4b

7 years agovideo: tegra: remove unused list.h from dc_priv.h
Robert Morell [Thu, 3 Mar 2011 20:56:45 +0000]
video: tegra: remove unused list.h from dc_priv.h

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

Rebase-Id: Ra44aa094ba19c367576af4e2cfa5e571e1e05ef9

7 years agovideo: tegra: dc: Remove tegrafb dependency
Robert Morell [Tue, 28 Jun 2011 22:55:27 +0000]
video: tegra: dc: Remove tegrafb dependency

The common dc.c code shouldn't include tegrafb.h; this breaks
modularity.  Fortunately, it was only being used to count windows, and
there's a non-FB-specific version of that.

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

Rebase-Id: Rf9ef44ad4e17af87126f017b014915a7b9ab8df2

7 years agovideo: tegra: Remove unused variable 'val'
Robert Morell [Tue, 28 Jun 2011 22:49:05 +0000]
video: tegra: Remove unused variable 'val'

This change removes the unused variable 'val' to fix the warning:
drivers/video/tegra/dc/dsi.c: In function 'tegra_dsi_host_trigger':
drivers/video/tegra/dc/dsi.c:1214: warning: unused variable 'val'

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

Rebase-Id: Rf2005859d27a4501c68a2139a7f23450707076b8

7 years agovideo: tegra: Conditionalize variable 'reg_addr'
Robert Morell [Tue, 28 Jun 2011 22:47:17 +0000]
video: tegra: Conditionalize variable 'reg_addr'

This change conditionalizes the declaration of variable 'reg_addr' with
the same condition that it's used to fix the warning:
drivers/video/tegra/dc/hdmi.c: In function 'tegra_dc_hdmi_setup_audio':
drivers/video/tegra/dc/hdmi.c:1129: warning: unused variable 'reg_addr'

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

Rebase-Id: Rca23cf803a6035704e22c5ce88b4f5e12e841b70

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

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

bug 849990

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

Rebase-Id: R3b1f22dc222f4ce000d2e84a48b7e2f379159750

7 years agovideo: tegra: fix the free sequence in tegra_fb_register.
Jubeom Kim [Wed, 22 Jun 2011 14:40:43 +0000]
video: tegra: fix the free sequence in tegra_fb_register.

Fix err_delete_wq and err_put_client of error handling.

Reviewed-on: http://git-master/r/37870
(cherry picked from commit 794cd34757fe7193b0e2f1847335d127840fd4a3)

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

Rebase-Id: R2a5f0f6e618d8d3a728f2ecb28eddb613280c99e

7 years agoarm: tegra: renaming tegra3_mc_stats to tegra3_mc
Donghan Ryu [Fri, 24 Jun 2011 12:06:28 +0000]
arm: tegra: renaming tegra3_mc_stats to tegra3_mc

tegra3_mc_stats is memory controller profiler for tegra3.
it is originated from tegra2_mc and having different file name
convention is pretty confusing. This change change the name
of the files for tegra3.

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

Rebase-Id: R191a5bd02e389ad2594a012bcfd82712ac5f3c76

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

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

Fixing this by calling gpio_request before changing direction

Bug 825559

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

Rebase-Id: R379f347f5a06cdee3fa7918c4ff0096d1500f793

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

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

Rebase-Id: R971bafc11deb9f5e5cfba4e537cdcea152d1de8f

7 years agoharmony: update tegra_harmony_gnu_linux_defconfig
mchourasia [Thu, 7 Jul 2011 11:18:34 +0000]
harmony: update tegra_harmony_gnu_linux_defconfig

Enable:
Network file system client support(v3, v4).
Network root file system.
Disable:
Low level printk. Not required by default.

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

Rebase-Id: Raf5f123aa778003648d0a500fdb2c40143375943

7 years agospi: tegra: fix uninitialized values and if statement
Jubeom Kim [Wed, 22 Jun 2011 14:29:32 +0000]
spi: tegra: fix uninitialized values and if statement

- Initialized the read_words value.
- (tspi->irq < 0) is not valid
  because tspi->irq is unsigned value.

Reviewed-on: http://git-master/r/37868
(cherry picked from commit 4c0d22c83294ca081e90f588fdcb67fdc54fff23)

Original-Change-Id: Ic37df9d29e305699abeda1f8b8aa48b7fcd9b394
Reviewed-on: http://git-master/r/39583
Tested-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8e088031295c334cf3026ee8a49738605b7fcf7f

7 years agortc : tps6586x: move NULL checking to the front.
Jubeom Kim [Wed, 22 Jun 2011 14:19:19 +0000]
rtc : tps6586x: move NULL checking to the front.

Reviewed-on: http://git-master/r/37866
(cherry picked from commit 4299db4686321fb3017f9118a36610898f172639)

Original-Change-Id: Icbfef4dc5604506d30592317c94a7d4fc1bcf16c
Reviewed-on: http://git-master/r/39582
Tested-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R7d8f5628cde155fe54d31f37eeacb4b5bb4962d1

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

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

Bug 850512

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

Rebase-Id: Rac49b9ba16d50e0db4adc4b70bfb397aee5fd81f

7 years agoARM: tegra: clock: Add Tegra3 emc high voltage bridge
Alex Frid [Wed, 29 Jun 2011 03:50:29 +0000]
ARM: tegra: clock: Add Tegra3 emc high voltage bridge

On Tegra3 platforms emc configurations for DDR3 rates below 300MHz
can not work at high core voltage; the intermediate step (bridge) is
mandatory when core voltage is crossing the 1.2V threshold (fixed for
Tegra3 arch). In addition emc must run above bridge rate if any other
than emc clock requires high voltage.

EMC bridge is implemented as a special emc shared user: its rate is set
once during emc dvfs table initialization; then, the bridge is enabled
or disabled when sbus and/or cbus voltage requirement is crossing the
threshold (sbus and cbus together include all clocks that may require
voltage above threshold - other peripherals can reach their maximum
rates below threshold).

Bug 846693

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

Rebase-Id: Re546be46958b6bf8e491553679b1637eaf3786ff

7 years agoarm: tegra: enterprise: init modem according to modem_id
Steve Lin [Mon, 11 Jul 2011 19:45:06 +0000]
arm: tegra: enterprise: init modem according to modem_id

Init baseband modems according to the modem_id passed from the bootloader.

Bug 842870

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

Rebase-Id: R12d2b58e46d8962858394ba0328d3d0c43fa8bc9

7 years agoARM: tegra: clock: Update Tegra3 PLLE spread settings
Alex Frid [Fri, 8 Jul 2011 01:36:50 +0000]
ARM: tegra: clock: Update Tegra3 PLLE spread settings

Bug 818305

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

Rebase-Id: Rec5fdd633170b8dba0ac4236618e503c8b1f761a

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

Bug 844025

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

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

Rebase-Id: Rb582312d40da8f1cc753666bdef6068138358cd0

7 years agoARM: tegra: usb: remove ULPI CLK tristate during phy init
Steve Lin [Mon, 11 Jul 2011 18:53:07 +0000]
ARM: tegra: usb: remove ULPI CLK tristate during phy init

Update the null phy init sequence:
1) remove ULPI CLK tristate
2) do pinmux bypass immediately after phy reset.
3) check preinit and postinit return value
4) enable disconnect detect

Bug 800318
Bug 845531

Original-Change-Id: I02e4c6e8f02608a57305cc9d6cc433bb44fcc696
Reviewed-on: http://git-master/r/39279
Tested-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R7fb99831c4e0dd0830f51ce97ccd3c8a372d10ff