7 years agoarm: tegra: cardhu: Correct pinmux configuration used for hsic
Seshendra Gadagottu [Wed, 27 Jul 2011 10:16:10 +0000]
arm: tegra: cardhu: Correct pinmux configuration used for hsic

Corrected the pinmux group for hsic power management gpios.
Also removed E1197 references from cardhu board files.

BUG 828389

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

Rebase-Id: Rd551075e1633406de4cdfbf3a05b1d6bff017666

7 years agoARM: tegra: enterprise: Add IO power detection consumers
Alex Frid [Sat, 23 Jul 2011 03:47:59 +0000]
ARM: tegra: enterprise: Add IO power detection consumers

Bug 853132

Original-Change-Id: Ib3f05a14060381bb8c39ac4920073976867226d4
Reviewed-on: http://git-master/r/42787
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Tested-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Chih-Lung Huang <lhuang@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Re36d5aa76c6001ba7f46822bcc20bd41bc781928

7 years agotegra: usb: Handling hsic resume issue with no device conenction
Seshendra Gadagottu [Wed, 13 Jul 2011 12:57:13 +0000]
tegra: usb: Handling hsic resume issue with no device conenction

During the resume, hsic interface check for device connection.
The number of retires is limited to 5, to avoid infinite loop
in case of no actual HSIC device presence.

BUG 841119

Original-Change-Id: I954ac31199a7fd64ec9553be734235480fda6f6c
Reviewed-on: http://git-master/r/40615
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R5baf98a3b42b5190a6cb79a111d1b2b29c92f67e

7 years agousb: ehci: tegra: Fixing the issues in hsic resume path
Seshendra Gadagottu [Wed, 13 Jul 2011 05:10:14 +0000]
usb: ehci: tegra: Fixing the issues in hsic resume  path

Removed unused legacy code related to "tegra_ehci_recover_rx_error"
Correting the sequencing of hsic resume steps.

BUG 793840

Original-Change-Id: I4dfbff122e10185b1863b77e24f8d1103b4855a7
Reviewed-on: http://git-master/r/40777
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R28a3d386c350bad007e0c38939cd4e9109a67caa

7 years agonvhost: Disable 3D power gating due to hangs
Terje Bergstrom [Wed, 27 Jul 2011 05:26:50 +0000]
nvhost: Disable 3D power gating due to hangs

After 3D power gating was enabled, the system has exhibited hanging sync
points. This patch disables 3D power gating for all systems.

Bug 855392,855889

Original-Change-Id: I35c933e31223aacbc2a088793e5c799f2f1ff0ec
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/43427
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rb12cb046a1b60fb33b267721b283caf828b26196

7 years agoarm: tegra: cardhu: Fix pinmux warning.
Laxman Dewangan [Tue, 26 Jul 2011 12:59:11 +0000]
arm: tegra: cardhu: Fix pinmux warning.

The pin PEX_L1_PRSNT_N is configured in wrong option and so
generating the warning.
Configuring this in correct option.

bug 855392

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

Rebase-Id: Re636ff84e9c3fd41afa147d91e454bca70f84581

7 years agoARM: tegra: cardhu: Backlight Correction
Matt Wagner [Fri, 22 Jul 2011 22:15:57 +0000]
ARM: tegra: cardhu: Backlight Correction

Corrected measured backlight linearization table.

Bug 827366
Bug 852481

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

Rebase-Id: Rba2085ed672b2b9c902a3702416f248670454a0f

7 years agotegra: video: dc: Fix no audio after res. change
Sumit Bhattacharya [Fri, 22 Jul 2011 11:09:37 +0000]
tegra: video: dc: Fix no audio after res. change

Avoid reseting eld_retrieved flag during tegra_dc_hdmi_disable(). It
will ensure if tegra_dc_hdmi_disable() is called due to resolution
change, cached eld data is used. It will be reset to zero if during
hotplug HDMI driver fails to get valid eld data.

Bug 854284

Original-Change-Id: I08c8f48eded0c6a469faf63d601f28627a71602f
Reviewed-on: http://git-master/r/42599
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: Rb9636052979360707443ecc151a758f574b03a21

7 years agovideo: tegra: dc: fix delay on hdmi modeset
Donghan Ryu [Tue, 26 Jul 2011 21:34:18 +0000]
video: tegra: dc: fix delay on hdmi modeset

wait_event_interruptible_timeout checks the condition before
it enters a sleep. Adding a real condition to the function
avoids an un-wanted aditional sleep.

Bug 833476

Original-Change-Id: I03072d1c3b6efb48e20ed42b55ee2d844a29fbbc
Reviewed-on: http://git-master/r/43225
Reviewed-on: http://git-master/r/43426
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Tested-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rcb4571b19c3c3499d7bfbfdfae040c6bf454a284

7 years agoarm: tegra: fuse: tsensor specific fuse public API added
Bitan Biswas [Thu, 21 Jul 2011 12:02:53 +0000]
arm: tegra: fuse: tsensor specific fuse public API added

Defined public fuse API to extract tegra3 tsensor configuration
parameters.

bug 851791

Original-Change-Id: Ia14e2d515ee1d695556492464e8ceaf4b0d13477
Reviewed-on: http://git-master/r/42367
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R1090e6ad78bcef23670ff647de86e695780f5b76

7 years agohwmon: tegra: tsensor: fix threshold configuration
Bitan Biswas [Thu, 14 Jul 2011 12:41:23 +0000]
hwmon: tegra: tsensor: fix threshold configuration

tsensor driver changed as follows:
1. conversion of temperature reading into tsensor counter was not
   working earlier. Fixed this.
2. supported tsensor0 usage for upcoming fuse revision 21
3. tsensor specific fuse data extracted using public fuse APIs

bug 851791
bug 855165

Original-Change-Id: I53247f3e029396d5fde479ea168eb279fcae6135
Reviewed-on: http://git-master/r/41037
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R8261421f7a6fd72b14488ac536b98c48e8329c58

7 years agomedia: tegra: nvavp: Fix for relocation offset
Gajanan Bhat [Fri, 22 Jul 2011 00:40:31 +0000]
media: tegra: nvavp: Fix for relocation offset

Fix for bug in relocation offset calculation,
causing wrong surface offset to be sent to AVP.

Original-Change-Id: I6fea7c27a339238d6514276e3316f38ecf8d7742
Reviewed-on: http://git-master/r/42495
Tested-by: Gajanan Bhat <gbhat@nvidia.com>
Reviewed-by: Isaac Richards <irichards@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Soumen Kumar Dey <sdey@nvidia.com>
Tested-by: Soumen Kumar Dey <sdey@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

Rebase-Id: Re0091d2e8a67c61a6ed4a35ac4b3f2da3a34e8b3

7 years agoARM: tegra: cardhu: Initialize gpio for lvds_shutdown properly.
Kevin Huang [Mon, 25 Jul 2011 19:28:02 +0000]
ARM: tegra: cardhu: Initialize gpio for lvds_shutdown properly.

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

Rebase-Id: R86bae22ba87898d11ec854d4326b7f7a50cb5fb8

7 years agoregulator: tps6591x: Clear external control setting in shutdown
Laxman Dewangan [Mon, 25 Jul 2011 12:38:15 +0000]
regulator: tps6591x: Clear external control setting in shutdown

Clearing the external control configuartion in shutdown on the
regulator.

bug 839572

Original-Change-Id: I2362c6decb7209aa5f5667de48315ef0bc8926a2
Reviewed-on: http://git-master/r/43048
Tested-by: Vivek Kumar <vivekk@nvidia.com>
Reviewed-by: Kaushik Sen <ksen@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R4aa455b1b3fd6007875f94ab31c61315fd61633b

7 years agoARM: tegra: power: Add package mask to IO pad control
Alex Frid [Sun, 24 Jul 2011 03:14:25 +0000]
ARM: tegra: power: Add package mask to IO pad control

Modified dynamic IO pad configuration control to support SoC package
dependencies: set into "no-io-power state" IO pads that are not bonded
out on the particular package. Updated IO power detect table to account
for differences in Tegra2 and Tegra3 architecture.

Bug 853132

Original-Change-Id: I5f0aedfa784173cc37251ccf4e1dfb4d919db96e
Reviewed-on: http://git-master/r/42785
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>

Rebase-Id: R46208845c32e25340de6b1cebfb6b617c6c7ce4d

7 years agoarm: tegra: enterprise: provide height and width for disp1 panel
Tom Cherry [Tue, 26 Jul 2011 00:02:28 +0000]
arm: tegra: enterprise: provide height and width for disp1 panel

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

Rebase-Id: R3abb622925f9b0bdaf4bcd8da5aa7219b22fc211

7 years agoARM: tegra: enterprise: Revert Backlight Change
Matt Wagner [Fri, 22 Jul 2011 01:45:02 +0000]
ARM: tegra: enterprise: Revert Backlight Change

Removed all gpio references to the pwm pin for the backlight.

Setting these makes the backlight unchangeable.

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

Rebase-Id: R2f72bd77a2b3145cb23369912a5945c5c6dd01f7

7 years agoARM: tegra: add 504MHz entries to pll_d table
Joseph Lehrer [Wed, 22 Jun 2011 20:54:15 +0000]
ARM: tegra: add 504MHz entries to pll_d table

bug 837571

(cherry picked from commit bf2187ca9ebd53a4fdc33135cf2e491361c51f15)

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

Rebase-Id: R065f0cba23ebe1b6be2a8595d4e71e90ae0e14f2

7 years agovideo: tegra: dc: fix tiled memory efficiency
Xin Xie [Thu, 7 Jul 2011 21:05:04 +0000]
video: tegra: dc: fix tiled memory efficiency

Tegra3 also supports LPDDR2 which has no tiled memory inefficiency as in DDR3.
This patch adds one memory controller API to retrive tiled memory efficiency.

BUG 847731

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

Rebase-Id: R5675398d3066d01d3d46f26267eddbba1accc815

7 years agoArm: Tegra: Power: Set throttling ext-sensor temp correctly
Diwakar Tundlam [Fri, 22 Jul 2011 23:22:34 +0000]
Arm: Tegra: Power: Set throttling ext-sensor temp correctly

Bug ID: 844882

- Set throttling temperature in ext temp sensor nct1008 for cardhu to 75C
- Fix bug in nct1008 temp sensor driver in disable throttling logic

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

Rebase-Id: Rf31aea08df5ebd2d2895cc40f9d8c591f6a0fae8

7 years agovideo: tegra: dsi: Fix DC & DSI clock issue.
Kevin Huang [Fri, 15 Jul 2011 09:31:19 +0000]
video: tegra: dsi: Fix DC & DSI clock issue.

- Balance the clock disable/enable in DSI module to fix the issue that
DC can't be disabled in suspend.

Bug 847254

Original-Change-Id: I1beaab6d0ba96e9b886526c1f07107b8d27bcf94
Reviewed-on: http://git-master/r/41180
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
Tested-by: Kevin Huang <kevinh@nvidia.com>
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: Rfa9c3d7db30920baaea79bc7d05f3a92404e18ec

7 years agoarm:tegra:pinmux: Set DAP2 to default drive
ScottPeterson [Mon, 25 Jul 2011 17:34:55 +0000]
arm:tegra:pinmux: Set DAP2 to default drive

Removed the setting of the DAP2 pingroup to maximum
driver strength. This was a WAR for audio noise issues
on Verbier and should not be set on Enterprise.

Bug 853161

Original-Change-Id: Ia9bc4021ee1713f0be14e77c984d2266efb06b12
Reviewed-on: http://git-master/r/43084
Tested-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

Rebase-Id: R7e2f0d70770e53188a783d0ca90476e5b1287714

7 years agotegra: video: dc: disp1 and overlay at 204MHz
Vinayak Pane [Thu, 21 Jul 2011 02:10:39 +0000]
tegra: video: dc: disp1 and overlay at 204MHz

Overlay was requesting emc 400MHz always during video playback.
Playback happens in overlay which was calculated incorrectly.
Reducing it to match accurate requirement.
Calculate overlay EMC bandwidth requirement same as DC.

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

Rebase-Id: Rc82d603742d5f9b5769b3f18a84ef8e718782b3b

7 years agoarm: tegra: cardhu: Add support for hsic baseband power management
Seshendra Gadagottu [Wed, 20 Jul 2011 11:34:38 +0000]
arm: tegra: cardhu: Add support for hsic baseband power management

Added required Cardu specific changes for hsic baseband
xmm modem power management.

BUG 828389

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

Rebase-Id: R1a257f5c0a78f8936de4c740026c60378e12fcf2

7 years agonvhost: Set gr2d clocks to minimum and set timeout=0
Mandar Potdar [Thu, 7 Jul 2011 09:38:32 +0000]
nvhost: Set gr2d clocks to minimum and set timeout=0

Set gr2d and related clocks (epp, emc) to minimum.
Set Timeout for 2D only to 0.

bug: 845598
bug: 843716

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

Rebase-Id: R5436a0af9c1ef813d06e4201e18d853488fb85ef

7 years agoARM: tegra: ventana: support power sequence timing
Ken Chang [Tue, 19 Jul 2011 02:29:33 +0000]
ARM: tegra: ventana: support power sequence timing

below variables should be defined according to power sequence
specifications of panels.

 - timing between panel power on to lvds singal enable
 - timing between lvds signal enable to backlight enable

bug 818959

(cherry picked from commit 38c3b4bc7fcda70df84bd4a10112cc1468f0a856)
(reviewed on http://git-master/r/41669)

Original-Change-Id: I4844baf2cb680e3e898bcf0907be57f29e0c71da
Reviewed-on: http://git-master/r/42967
Tested-by: Ken Chang <kenc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: ChihJen Hsu <chhsu@nvidia.com>

Rebase-Id: R09cc1fef411f47de9431aeb1e750d47309b79e89

7 years agoarm: tegra: whistler: add tca6416 device
Varun Wadekar [Thu, 21 Jul 2011 06:45:26 +0000]
arm: tegra: whistler: add tca6416 device

the gpio used for vdd_fuse is powered on
by the i2c expander (GPIO_P02) present on
the pmu board.

Bug 836963

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

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

Rebase-Id: R832f0dc5a3b300de59452c608812782c428e7231

7 years agoarm: tegra: fuse: declare tegra_fuse_regulator_en() as extern
Varun Wadekar [Tue, 19 Jul 2011 09:26:23 +0000]
arm: tegra: fuse: declare tegra_fuse_regulator_en() as extern

platforms need to implement their fuse power on
functions if they do not use regulators to power
on the fuse block

Bug 836963

Reviewed-on: http://git-master/r/#change,41737
(cherry picked from commit 02747e1ddd8391dbb73ee04493417846508ebfbc)

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

Rebase-Id: Rf223f5756750cd010c55c69d68628107d46c5fa0

7 years agoARM: Tegra: Cardhu: Adding SDMMC drive strengths
Pavan Kunapuli [Fri, 22 Jul 2011 13:25:38 +0000]
ARM: Tegra: Cardhu: Adding SDMMC drive strengths

Configuring the drive strengths for SDMMC1, SDMMC3
and SDMMC4.

Bug 799568
Bug 826694

Original-Change-Id: Ib18c002993eddaf622f48faa0b4e4c9deb0f8e3c
Reviewed-on: http://git-master/r/42608
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Raf1d57275c48839cdb4913c3b028b4c2ad176952

7 years agotegra: nand: Added features in the driver
Bhavesh Parekh [Fri, 22 Jul 2011 07:36:12 +0000]
tegra: nand: Added features in the driver

Added 4K page support.
Added 16-bit support
Added sys interfaces for various operations.
Added support for un-aligned page read.
Added setting timing values based on vendor-id/device-id.
Moved support for setting clock to platform from the driver.
Fixed OOB-Read/Write issues.

Original-Change-Id: Idf920c1cb0352dcda0282fa399d6c1f57a20736c
Reviewed-on: http://git-master/r/42347
Tested-by: Bhavesh Parekh <bparekh@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Refa8b8aa651f824a27513bfe663c57237dde2beb

7 years agousbnet: Adding power management for raw ip driver
Seshendra Gadagottu [Wed, 20 Jul 2011 13:20:37 +0000]
usbnet: Adding power management for raw ip driver

Added PM calls for raw usbnet ipc drivers.
This is basic version and needs to be extented
for complete power management.

BUG 828389

Original-Change-Id: I77fbf3bf6badfb624f805f68b73fdb5ba617e30c
Reviewed-on: http://git-master/r/40790
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rc0f0ac64afd3c36d2178ed011e345bf36958229c

7 years agoarm: tegra: usb_phy: Separating ulpi and uhsic phy configuration
Seshendra Gadagottu [Wed, 13 Jul 2011 03:59:58 +0000]
arm: tegra: usb_phy: Separating ulpi and uhsic phy configuration

Avoided mixing of ulpi and uhsic configuration in usb_phy code.
Added postsuspend function for uhsic.

BUG 793840

Original-Change-Id: If24fe1d9f13db53bfe51a7f9a2728bd042ea1912
Reviewed-on: http://git-master/r/40771
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rc23e2617ffff6fe925e6bb8b59753e2a1ae90adb

7 years agoarm: tegra: Implement HSIC power management for baseband devices.
Seshendra Gadagottu [Wed, 20 Jul 2011 11:22:03 +0000]
arm: tegra: Implement HSIC power management for baseband devices.

Add power management for HSIC baseband power module.
Currently the power module implemented state handling for
L0->L3 and L3->L0 state transitions.

BUG 828389

Original-Change-Id: I46b7da66bfa85fac57261ec68668435855739981
Reviewed-on: http://git-master/r/33065
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: R2d04847c5dc12db17b49ec62a4e12f061bca29fe

7 years agovideo: tegra: dc: disable underflows for fpga
Jon Mayo [Thu, 21 Jul 2011 02:09:59 +0000]
video: tegra: dc: disable underflows for fpga

For non-silicon platforms(fpga and simulation) disable all underflow
interrupts.

Original-Change-Id: Idda78cd5a8e1fda7fac672a259ed05c95876752b
Reviewed-on: http://git-master/r/42286
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rd37cc00d1ad527fae58834be3b225238d1ec8c49

7 years agoarm: tegra: cardhu: Provide list of clock source to spi driver
Laxman Dewangan [Fri, 15 Jul 2011 16:44:29 +0000]
arm: tegra: cardhu: Provide list of clock source to spi driver

Providing list of clock source to the spi driver so that driver can
select best clock source which gives minimum error for desired speed.

bug 851642

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

Rebase-Id: R534fda0233310be9cb61ae63a02acad4cbe13f12

7 years agospi: tegra: Select best clock source for required rate
Laxman Dewangan [Mon, 18 Jul 2011 08:03:41 +0000]
spi: tegra: Select best clock source for required rate

Providing the different clock source option through platform data
to select best clock source based on required interface frequency.

bug 851642

Original-Change-Id: I18bf817b63cf1afac7db3969f266cc5fcaeee81e
Reviewed-on: http://git-master/r/41226
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

Rebase-Id: Ra4e4573414ef2c4e72cdcb4cd5625e242cfb4ec6

7 years agomedia: video: tegra: disable ov2710 AWB
Charlie Huang [Fri, 22 Jul 2011 23:33:33 +0000]
media: video: tegra: disable ov2710 AWB

set manual white balance otherwise it will conflict with isp

bug 829281

Original-Change-Id: Id89ae1dd7e607beb35b43db5991742d3b8dcc345
Reviewed-on: http://git-master/r/42709
Reviewed-by: Chonglei Huang <chahuang@nvidia.com>
Reviewed-by: Andrei Denissov <adenissov@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Tested-by: Chonglei Huang <chahuang@nvidia.com>

Rebase-Id: R9db77cef2efc133d03b637488e647d4cb0ab98fe

7 years agousb: ehci: tegra: Enable/disable usb clock
Suresh Mangipudi [Fri, 22 Jul 2011 06:45:18 +0000]
usb: ehci: tegra: Enable/disable usb clock

Disable usb clock when no cable is connected.

Bug 829628, 849248

Reviewed-on: http://git-master/r/39353
(cherry picked from commit 6a78f2d2e72a2a5f20b784c0efc4917ece4776c5)

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

Rebase-Id: R285481d5be43ad74ec209e18bcfa8dded6ee9401

7 years agoARM: tegra: enterprise: Updating EMC table
Tom Cherry [Wed, 20 Jul 2011 00:13:44 +0000]
ARM: tegra: enterprise: Updating EMC table

Bug 842373

Original-Change-Id: I769d084a6086d6ec7f263f6886a3e4a49075eb3d
Reviewed-on: http://git-master/r/41975
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R1a185294d8c369d176dacd1ccf5e76a7ef0528a7

7 years agoARM: tegra: baseband: modem flashless boot and remote wakeup
Steve Lin [Tue, 5 Jul 2011 22:22:25 +0000]
ARM: tegra: baseband: modem flashless boot and remote wakeup

Support modem reboot and re-enumeration.
Support modem remote wakeup.

Bug 814261
Bug 814271
Bug 846135

Original-Change-Id: I103722d0248bcb1565d5f5799a2e4317c2579a95
Reviewed-on: http://git-master/r/31441
Tested-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>

Rebase-Id: Rd1a0b91d4708fc039648df0cd491c9a382b5fcb2

7 years agousb: otg: tegra: disable usbd clock at end of probe
Prashant Gaikwad [Fri, 1 Jul 2011 09:04:07 +0000]
usb: otg: tegra: disable usbd clock at end of probe

In the function tegra_otg_probe(), usbd clock is kept on
after probe function completes. Fix this by disabling the clock
before exiting the probe function if usb hotplug is not enabled.

Bug 829628, 849248

Reviewed-on: http://git-master/r/39354
(cherry picked from commit 5115ea5375912d9c35487d3d3b6e51c3c81be25c)

Original-Change-Id: I9786a7eaa6c5ffc6bb7cd2fd792b0831a7ed788c
Reviewed-on: http://git-master/r/42375
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>

Rebase-Id: Rb5a33439a4a2c0a2ccf45cf46b4b9c64788cdb2e

7 years agousb: host: tegra: transaction based clock enable
Suresh Mangipudi [Fri, 15 Jul 2011 11:51:02 +0000]
usb: host: tegra: transaction based clock enable

enable the emc and sys clock when a transfer is requested and disabled
after a timeout of 2 sec after the last transfer request.

Bug 817794

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

Rebase-Id: R1cbcc4dd752e1f02610a17390a3bb4713d254d4d

7 years agoARM: tegra: cardhu: Add IO power detection consumers
Alex Frid [Wed, 20 Jul 2011 23:46:13 +0000]
ARM: tegra: cardhu: Add IO power detection consumers

Bug 853132

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

Rebase-Id: Rbd0d325e54141db2187dff6b11d5c0b20ff046d9

7 years agoARM: tegra: power: Control IO pad configuration dynamically
Alex Frid [Wed, 20 Jul 2011 23:15:25 +0000]
ARM: tegra: power: Control IO pad configuration dynamically

Tegra IO pads are automatically re-configured when IO power level is
changed. Current code keeps auto-detection cells in default, active
state all the time. This change will allow turning off cells when IO
power is stable, and activate them only during power transitions.

In addition IO pads will be set into "no-io-power" state after the
respective regulator is disabled, and re-configured back for regular
operations before regulator is re-enabled.

Dynamic IO pad control introduced in this commit is still disabled
by default on all tegra platforms.

Bug 853132

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

Rebase-Id: R8b7c7863c1580816a2f3b28bdb3c228a97a18736

7 years agoarm: tegra: ahci/sata: enable sata rails/partition at init
Yen Lin [Sun, 10 Jul 2011 23:07:39 +0000]
arm: tegra: ahci/sata: enable sata rails/partition at init

Enable sata rails and sata partition when driver initializes
- add sata_oob and cml1 clocks to sata powergate partition.
- set sata and sata_oob clock source using clk_set_parent API.
- fix a bug in while(timeout) loop

Bug 836589

Original-Change-Id: Iddc08bf851ffc83d45bd6aed4df85cde3b13f0e4
Reviewed-on: http://git-master/r/41314
Tested-by: Yen Lin <yelin@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: R500e99ac50d1e3c0851958b1c83316dded00d617

7 years agoregulator: Expand regulator notifier events
Alex Frid [Wed, 20 Jul 2011 22:04:06 +0000]
regulator: Expand regulator notifier events

Add regulator enable notifications (not sent by the current code).
Add voltage notifications sent only if regulator output is actually
changed (keep intact existing voltage change notification that is
sent unconditionally - even if voltage change was not allowed by
constraints, or no actual change since regulator is disabled):

PRE_ENABLE     Regulator is to be enabled
POST_ENABLE    Regulator was enabled
OUT_PRECHANGE  Regulator is enabled and its voltage is to be changed
OUT_POSTCHANGE Regulator is enabled and its voltage was changed

Bug 853132

Original-Change-Id: I2759ada1c5d1e43f746f6c866f9b3c203b68aed6
Reviewed-on: http://git-master/r/42262
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

Rebase-Id: Rdac9b19d1f999e889aae8e2eb72f9b60057dd05a

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