6 years agochromeos: config: tegra11x: Disable USE_OF
Andrew Chew [Wed, 9 Jan 2013 22:36:48 +0000]
chromeos: config: tegra11x: Disable USE_OF

This kernel isn't ready for device tree with ChromeOS builds yet.  Recent
changes to GPIOs expects to get GPIO information from the DTB, which
isn't present, causing boot to fail.  Disabling USE_OF allows boot to
complete by following legacy init paths.

Change-Id: I479d11009436057d0c8b004f90314b325538ab4e
Signed-off-by: Andrew Chew <achew@nvidia.com>
Reviewed-on: http://git-master/r/190125
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoarm: tegra: Removed write to FUSE_PRIV2INTFC_START_0
Sumit Sharma [Wed, 9 Jan 2013 09:25:39 +0000]
arm: tegra: Removed write to FUSE_PRIV2INTFC_START_0

Removed write to FUSE_PRIV2INTFC_START_0 after burning fuses for T11x & T14x

Bug 1211367

Change-Id: I0a9efffa31b8a651d9b92d4ce8e9c832480cec08
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/190187
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoARM: tegra: usb_phy: Set OC_CONTROLLER properly
Suresh Mangipudi [Mon, 7 Jan 2013 09:44:42 +0000]
ARM: tegra: usb_phy: Set OC_CONTROLLER properly

The OC_CONTROLLER should be programmed first before any of the phy
registers are programmed. Updating the OC_CONTROLLER in the later
part of the phy_on is causing a glitch which results in the hsic
devices to be disconnected.

Bug 1212563

Change-Id: I5c6d1bd918c620301462c62cb569ef5a32c2713b
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/189121
(cherry picked from commit e4a1ac3c9cd83dc904f34d842500340f5a5e7512)
Reviewed-on: http://git-master/r/189912
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agonet: rfkill: moving to clk prepare APIs
Sivaram Nair [Mon, 17 Dec 2012 16:25:55 +0000]
net: rfkill: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: I9ccd2a3390f262099ed2059a4ff7d49143a73d99
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/172217
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra11: dvfs: Fix CL-DVFS dependency on CONFG_THERMAL
Alex Frid [Fri, 28 Dec 2012 04:00:26 +0000]
ARM: tegra11: dvfs: Fix CL-DVFS dependency on CONFG_THERMAL

Change-Id: I1a3efad09f735b11e1a306a405f15144f9259007
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187373
(cherry picked from commit 0dbaf27c5b8011a40f7d8774648fa81865effa85)
Reviewed-on: http://git-master/r/189868
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Add CPU rail cooling device
Alex Frid [Fri, 28 Dec 2012 06:30:20 +0000]
ARM: tegra11: dvfs: Add CPU rail cooling device

Added CPU rail trip-points and cooling device to limit minimum CPU
voltage at cold temperature in pll mode.

Bug 1177204

Change-Id: Ia9293141998587f53cb42d5284b42cea938e4248
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187372
(cherry picked from commit 62a951a69f6a6683ff5e43e85b9c8b8432fcf1dc)
Reviewed-on: http://git-master/r/189867
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra11: dvfs: Update LP CPU dvfs table
Alex Frid [Sat, 5 Jan 2013 06:55:10 +0000]
ARM: tegra11: dvfs: Update LP CPU dvfs table

Bug 116126

Change-Id: If24091d54848bfa3f2c65d5bd1d34dd22c25fbc8
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/188920
(cherry picked from commit 0e5df9cbb73a7cd1891640b5d6b353744fe6965b)
Reviewed-on: http://git-master/r/189866
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegar11: dvfs: Update SCLK and pll outputs dvfs tables
Alex Frid [Sat, 29 Dec 2012 02:23:55 +0000]
ARM: tegar11: dvfs: Update SCLK and pll outputs dvfs tables

Bug 1161126

Change-Id: Ic0d2062be165b74bd5ff10e709cdaf2cd9d2e24c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187565
(cherry picked from commit 75675fa94d6f4e7a1734bacb8208765c41df6f5d)
Reviewed-on: http://git-master/r/189865
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: Change IRAM size to 192KB for T148
Kaz Fukuoka [Tue, 8 Jan 2013 23:18:49 +0000]
ARM: tegra: Change IRAM size to 192KB for T148

bug 1213495

Change-Id: I6c9ce89d61cdcd8d43695a83f84127edb3c0ca72
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/189686
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>

6 years agoARM: tegra: Correct chip specic paths
Antti P Miettinen [Tue, 8 Jan 2013 07:50:52 +0000]
ARM: tegra: Correct chip specic paths

Names of some modules are chip version specific.

Bug 1198566

Change-Id: I0b8fd329bb96e277a49337815d07b94a02d1dcf9
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/189461
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agousb: host: tegra: remove dma buffer sync
Suresh Mangipudi [Fri, 4 Jan 2013 06:19:05 +0000]
usb: host: tegra: remove dma buffer sync

Remove the dma_sync_* functions for usb transfer when DMA is used.

Bug 953885
Bug 1192878

Change-Id: I12455ef3390799921db6efc2ae901515089fa45d
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/189052
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra: enable deferred cache maintenance
Seshendra Gadagottu [Thu, 3 Jan 2013 22:52:07 +0000]
arm: tegra: enable deferred cache maintenance

Enable deferred cache maintenance optimization for T14X.

Change-Id: I4e8fdd185f8dbc232f2ad22fb5071d1b4047cd0e
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/188423
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: config: enable bcm2079x nfc
Rakesh Goyal [Wed, 19 Dec 2012 02:25:09 +0000]
ARM: config: enable bcm2079x nfc

Bug 1190304

Change-Id: I0f802590067187aff95abbb66da89d614b2bb2e7
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/187416
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: pluto: add support for bcm2079x nfc
Rakesh Goyal [Wed, 19 Dec 2012 02:11:29 +0000]
ARM: tegra: pluto: add support for bcm2079x nfc

wifi don't use GPIO_PX7, this GPIO is used by NFC.
correction in GPIO assignment.

Bug 1190304

Reviewed-on: http://git-master/r/172575

Change-Id: I8c7c7a06172a665905f203b213452f31a81364ae
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/187414
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra11: clock: change emc mode for mpe and msenc
Jihoon Bang [Thu, 13 Dec 2012 02:32:16 +0000]
ARM: tegra11: clock: change emc mode for mpe and msenc

Change msenc.emc and mpe.emc to have SHARED_BW
for mode. msenc or mpe client in user space will set
required memory bandwidth for module instead of emc clock
frequency because emc clock frequency can be affected
by many other clients and therefore it's impossible
for mpe or msenc to predict emc clock frequency as
SHARED_FLOOR.

Bug 1197543

Reviewed-on: http://git-master/r/170837
(cherry picked from commit e19fe03c9ed61149225622721ac25cb3a0e48e48)

Change-Id: Ife13cfa44906cd82d89c1280768552d8578f0231
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/174308
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoaudio:Add support to configure NXP based on In-hand/On-desk mode and Volume Control
Vinod Subbarayalu [Fri, 21 Dec 2012 01:25:29 +0000]
audio:Add support to configure NXP based on In-hand/On-desk mode and Volume Control

Change-Id: I7f0630a8fa35687714d9f5bf2fbb0976c6b969a4
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
(cherry picked from commit 067dc903681d0647f1435cb3e0d3555814d1784f)
Reviewed-on: http://git-master/r/189749
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoThermal: Add governor data in thermal_zone_device structure
Jinyoung Park [Tue, 1 Jan 2013 04:03:22 +0000]
Thermal: Add governor data in thermal_zone_device structure

Added governor data in thermal_zone_device structure.

Bug 1200111

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/188034
(cherry picked from commit 57091f648412448b44a992c0df147ea40531bf12)

Change-Id: Id5df164987d01488f8a60bd73a7d2ef8d841c2a5
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/189518
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: throttle: Aggregate core cap level
Jinyoung Park [Tue, 25 Dec 2012 19:42:09 +0000]
ARM: tegra: throttle: Aggregate core cap level

Aggregated core cap level for all enabled balanced throttling.

Bug 1200202

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/174179
(cherry picked from commit ed3bce21e55904fbc875ad1c8e50069fb19bfcc6)

Change-Id: I05a4090b5b09ccfac678149519996ab947519dc0
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/189516
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agomisc: nct1008: Update thermal zone device for all events.
Jinyoung Park [Tue, 25 Dec 2012 19:14:55 +0000]
misc: nct1008: Update thermal zone device for all events.

Previously, the driver updates thermal zone device only when passive
is enabled. But sometimes this can be missing a therm interrupt, if it
happens therm interrupt when passive is enabled. So update thermal zone
device for all events.

Bug 1200202

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/174178
(cherry picked from commit 36d63746a65e5405e53053072cc6be066038efe0)

Change-Id: I06c0476a543328297d44ebb920b86bcb94b11642
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/189515
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: dalmore: read board-id before using it
Laxman Dewangan [Fri, 4 Jan 2013 06:24:00 +0000]
ARM: tegra: dalmore: read board-id before using it

During kbc initialisation, the board id is used but it was not initialized.
Initializing it properly.

Change-Id: If77f3e8d82d390395f32d08b9c6573ee8ad5ccaf
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/188557
Reviewed-on: http://git-master/r/189156

6 years agodrivers: misc: therm_est: enable sysFs nodes for tc1&tc2
Hyungwoo Yang [Fri, 4 Jan 2013 22:13:46 +0000]
drivers: misc: therm_est: enable sysFs nodes for tc1&tc2

Enabled sysFs nodes to change tc1&tc2 values during run-time.

Bug 1158323

Change-Id: I07084481fc6eb0726e03a94f6d386abba6389182
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/188800
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: dalmore: remove unused names
Jihoon Bang [Wed, 26 Dec 2012 22:02:44 +0000]
ARM: tegra: dalmore: remove unused names

Remove unused power name to avoid confusion.

Bug 1168663

Change-Id: I9b002626df21475b41311c1e5feca53e6031f983
Reviewed-on: http://git-master/r/174333
(cherry picked from commit a77658ad9de1654e959d69f1852e091da0a13f10)

Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Change-Id: Id49a71b9662ea2d5af3f5e6047d354fa2de271ff
Reviewed-on: http://git-master/r/189585
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agomedia: video: tegra: imx091: fix power off sequence
Jihoon Bang [Wed, 26 Dec 2012 22:05:39 +0000]
media: video: tegra: imx091: fix power off sequence

Fix power-down sequence.
regulator_enable/regulator_disable wasn't paired.

Bug 1168663

Change-Id: I128bb1dfb9b85aa41000e0a3d65bc1d1d455446b
Reviewed-on: http://git-master/r/174334
(cherry picked from commit ed1b9938b59a499c427526a5590375e5821c03a2)

Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Change-Id: Ieb4da343a31d584fab874f9bf9fde2d2bb9543a8
Reviewed-on: http://git-master/r/189584
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoinput: misc: cm3218: call shutdown only when sensor is enabled
Sri Krishna chowdary [Fri, 4 Jan 2013 06:00:58 +0000]
input: misc: cm3218: call shutdown only when sensor is enabled

During the first boot after flash, shutdown is called during
boot time and trying to cancel a workqueue that is not scheduled
yet. This leaves the system in an inconsistant state.

Bug 1211962

Change-Id: If55ab4e5ab2025725b6b0858fea30b809dbfeec6
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
(cherry picked from commit 550e9dfcf9cb5103dddc3b9c0fb41797921b6b0d)
Reviewed-on: http://git-master/r/189552
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra11x: Save & restore coresight debug state
Bo Yan [Tue, 8 Jan 2013 06:09:49 +0000]
ARM: tegra11x: Save & restore coresight debug state

This preserves debug setup across power gating/ungating sequence.

Change-Id: Ic58383c92a0182f28887c55f3d297ebd9d39c416
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/189441
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>

6 years agoARM: tegra: clock: Clean up tegra11 and tegra14
Kaz Fukuoka [Tue, 8 Jan 2013 00:31:14 +0000]
ARM: tegra: clock: Clean up tegra11 and tegra14

Now that tegra14_clocks.c is forked out from tegra11_clocks.c,
clean up unnecessary conditionals.

Change-Id: Ic5ffa73f00684b69fdb0d51f26717d433db9ce1e
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/189346
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra14: clock: Initial clock tree support
Kaz Fukuoka [Tue, 8 Jan 2013 00:14:02 +0000]
ARM: tegra14: clock: Initial clock tree support

Change-Id: Id303fe9a39a1cb1dcdaa7595639956751ba5f02d
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/189341
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoconfig: tegra11: adjust configs for bcmdhd
Mursalin Akon [Tue, 18 Dec 2012 23:36:20 +0000]
config: tegra11: adjust configs for bcmdhd

adjust configs for bcmdhd

Bug 1180883

Change-Id: I46c7b7ddbb156b8aae513fe906323b80c3ac4ce2
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/172526
(cherry picked from commit 2d92d53e7a8bf5b284b8428edfb683fbecd9f879)
Reviewed-on: http://git-master/r/189250
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agochromeos: config: tegra11x: disable CACHE_L2X0
Rhyland Klein [Mon, 7 Jan 2013 17:53:28 +0000]
chromeos: config: tegra11x: disable CACHE_L2X0

Turns out T114 doesn't support CACHE_L2X0, so we shouldn't be
enabling it. It causes a build break if we do currently, so
disabling it (and by extension PL310 configs).

Renormalize configs after updating.

Change-Id: I060b8335705f3b1c069451b361261a5d192f6d4b
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-on: http://git-master/r/189232
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoregulator: max77660: Fix FPS settings
Pradeep Goudagunta [Mon, 7 Jan 2013 14:40:43 +0000]
regulator: max77660: Fix FPS settings

FPS_SRC is NONE then don't configure FPS for corresponding
regulator.

Bug 1211771

Change-Id: Iad9dcfcc0dcd7b6eccd511b4777d5c47bc82d21f
signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/189211
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoinput: touch: raydium: fix panic when touch panel not attached
Mark Kuo [Fri, 21 Dec 2012 11:21:31 +0000]
input: touch: raydium: fix panic when touch panel not attached

Use rm31080_spi_checking() to check if the hardware is present,
and move the checking to the front of the driver init function
so as to avoid registering suspend/resume function which later
causes kernel panic when system suspends.

bug 1207093

Change-Id: I775e4cae70745ee5ef9ae29888a95b4b770df0db
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/187746
(cherry picked from commit 41f0d55dcf8ea7b6dd47b6ea7c19eff319128784)
Reviewed-on: http://git-master/r/189030
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarm: tegra: ahb_gizmo_writel: removing inline
Rhyland Klein [Tue, 8 Jan 2013 18:04:47 +0000]
arm: tegra: ahb_gizmo_writel: removing inline

There doesn't seem to be a way to make ahb_gizmo_writel inline
as there doesn't seem to be a clean way of moving it around
to keep it inline.

This fixes a warning treated as error found when compiling with
gcc 4.7, namely:

error: inlining failed in call to always_inline 'ahb_gizmo_writel':
function body not available

Change-Id: I5f785656cc63fb6811a27c9a90e62b16e44f0d83
Signed-off-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-on: http://git-master/r/188753
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra11x: start L2 clock before enabling SMP
Bo Yan [Fri, 28 Dec 2012 19:35:52 +0000]
ARM: tegra11x: start L2 clock before enabling SMP

Do an external device read to start L2 clock, then change
SMP bit in ACTLR. The ACTLR change needs to be done immediately
after the device read is done since there are only 256 clock cycles
maximum available before the L2 clock can be gated again.

bug 1208654
bug 1195192

Change-Id: Ide1c0476d629cbea07f585013ed3b7e79a67c86e
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/187521
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bobby Meeker <bmeeker@nvidia.com>

6 years agoarm: tegra: calibrate cmu for sharp 25x16 panel
Mitch Luban [Fri, 21 Dec 2012 03:48:40 +0000]
arm: tegra: calibrate cmu for sharp 25x16 panel

Calibrate color management unit for sharp 25x16 panel.

Bug 1040841

Change-Id: I5473a4c5f8b248f0befb4d600bb806c719e707ce
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/173315
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra11: config: Enable PLATFORM_ENABLE_IOMMU for L4T
Hiroshi Doyu [Wed, 19 Dec 2012 09:56:56 +0000]
arm: tegra11: config: Enable PLATFORM_ENABLE_IOMMU for L4T

Enable PLATFORM_ENABLE_IOMMU for L4T

Bug 1182882
Bug 1024594

Change-Id: I175fb445e427cca0466f3bc84cd3cabe2c5405eb
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/172793
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarm: tegra: dalmore: improve CMU settings for 19x12 panel
Mitch Luban [Tue, 18 Dec 2012 05:56:09 +0000]
arm: tegra: dalmore: improve CMU settings for 19x12 panel

These settings improve color correction for the 19x12
panel to more closely match D69 colors.

Bug 1040841

Change-Id: I5481cebde7f58880741bad583a7ca491ae6c090b
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/172149
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: dalmore: remove pinmux warning
Bibek Basu [Wed, 26 Dec 2012 04:28:37 +0000]
arm: tegra: dalmore: remove pinmux warning

Below 5 pins are used as GPIO, so no need to
reconfigure it in dalmore_pinmux_common
GMI_AD12, DAP3_DIN, DAP3_SCLK,GPIO_PV0,
KB_ROW7

Bug 1181222

Change-Id: I7cfab476136967f9f90b5ea958b8bd65297c2f36
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/188635
(cherry picked from commit 3f0f7a413e9f70a063dcdd4f34cc0cc1e769d11e)
Reviewed-on: http://git-master/r/189483
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: Dalmore: ldo9 warm boot state fix
Bibek Basu [Fri, 28 Dec 2012 11:04:41 +0000]
arm: tegra: Dalmore: ldo9 warm boot state fix

Palmas regulator ldo9 is not in correct state
needed to power on sdmmc3 after a soft reboot.
As a result card is not detected after a soft
reboot. fix is to mantain the last software
set value to the ldo and not the OTP value
after a soft reset.

Bug 1180954

Change-Id: I2a6b34e0b13b57ba5b5bcba4c4d979778cc8a338
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/188634
(cherry picked from commit 717a91a526addbc9ce951cb33fb8a0e8ff089630)
Reviewed-on: http://git-master/r/189482
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoPM / QoS: export pm_qos_update_request_timeout()
Li Li [Mon, 7 Jan 2013 22:30:09 +0000]
PM / QoS: export pm_qos_update_request_timeout()

This pm_qos_update_request_timeout() was introduced without being exported.
Should export it as all of the other PM QoS APIs so those drivers compiled as
modules can use it.

Change-Id: Ie51ce52db4ca633117fe18441c42b562220399e8
Signed-off-by: Li Li <lli5@nvidia.com>
Reviewed-on: http://git-master/r/189306
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Miao <emiao@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agortc: max77660: Correct slave for updating GLBCFG2
Pradeep Goudagunta [Mon, 7 Jan 2013 14:44:10 +0000]
rtc: max77660: Correct slave for updating GLBCFG2

Bug 1211771

Change-Id: I78130cf2008f0d05449ce8f1b642bb3b5427b689
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/189212
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agomfd: max77660: Fix set bits and power regmap
Pradeep Goudagunta [Mon, 7 Jan 2013 14:33:03 +0000]
mfd: max77660: Fix set bits and power regmap

-Correct maximum register that can be accessed in pmic regmap config.
-Fix get driver data in set bits.

Bug 1211771

Change-Id: I470ad68713af1e433e03e660116480d3c0d9075a
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/189210
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agomedia: video: tegra: fix Coverity issues
Deepak Nibade [Mon, 7 Jan 2013 13:19:31 +0000]
media: video: tegra: fix Coverity issues

as364x.c : handle dereference after null check
Coverity id : 22153
imx091.c : handle out-of-bounds read
Coverity id : 22166
Coverity id : 22167

Bug 1046331

Change-Id: Ic04d314978d25244f6cbefc81150541d9267f63e
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/189170
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Wei Chen <wechen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agohwmon: ina230: power down ina devices after init
Deepak Nibade [Wed, 2 Jan 2013 08:29:26 +0000]
hwmon: ina230: power down ina devices after init

-power down ina devices by setting register values
-earlier power down method was a conditional one
and left ina devices ON after init

Bug 1211188

Change-Id: I113a1e7dc3eb6c211dab58596090c6c508364e25
Reviewed-on: http://git-master/r/187946
(cherry picked from commit b3e24f202060e97e6d58562171e5341fe4833224)
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/189097
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: usb_phy: Update RTUNE value
Suresh Mangipudi [Wed, 2 Jan 2013 06:35:04 +0000]
arm: tegra: usb_phy: Update RTUNE value

Update the TX_RTUNE value to 1100 for HSIC.

Bug 1211875

Change-Id: I03fc9510adc6e26257df28cd78fcd167d458ff98
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/187907
(cherry picked from commit 30cf08449e0cceacedda2bca26975ade2d60fee5)
Reviewed-on: http://git-master/r/189075
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoasoc: tegra: i2s: fix DSP mode frame sync width
Dara Ramesh [Thu, 3 Jan 2013 11:50:23 +0000]
asoc: tegra: i2s: fix DSP mode frame sync width

set default fsync width (i.e short fsync) for
both DSP_A and DSP_B modes.

Reviewed-on: http://git-master/r/188278
(cherry picked from commit b1682c1befae19107ed88d298f71c9bee9ea1e2b)

Change-Id: I519743d4332220b7f686b09da87a096508827990
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/189050
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agousb: gadget: tegra: default charger port as CDP
Rakesh Bodla [Thu, 27 Dec 2012 17:51:21 +0000]
usb: gadget: tegra: default charger port as CDP

Based on LS status we are detecting CDP or DCP
port. In other case, it is also safe to assume
as DCP and no need to suspect any presence
of bug.

Bug 1207043

Reviewed-on: http://git-master/r/188539
(cherry picked from commit 1da8e50007de74bdf7af7f1a14028b11ccfe7c7e)

Change-Id: I3f2e308d4821e9629b43eb558e7838b832661bf4
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/189046
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: Only check for LP switch on CPU_POST_DEAD
Peter De Schrijver [Fri, 4 Jan 2013 12:06:09 +0000]
ARM: tegra: Only check for LP switch on CPU_POST_DEAD

Apparently the cpu hotplug notifier can be called when the kernel can't sleep.
In those cases blocking operations can cause a kernel panic. Solve this by
only doing potentially blocking operations when a CPU has been removed. This
shouldn't cause any power regressions as we can only switch to the slow
cluster when only CPU0 is online.

Bug 1189926
Bug 1211686
Bug 1213817

Change-Id: I54356d2a8a8ae3a5253b9b2c216ada283955e585
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/188688
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>

6 years agoarm: tegra: fuse: Added more fuse fields & fixed some errors
Sumit Sharma [Tue, 8 Jan 2013 04:37:20 +0000]
arm: tegra: fuse: Added more fuse fields & fixed some errors

-Added public_key, pkc_disable, vp8_enable & odm_lock fuse files for t11x
-Fixed fuse start offsets in tegra11x_fuse_offsets.h
-Removed odm_reserved fuse from odm_production write protection

Bug 1183863

Change-Id: I368f4197d3c646b548b25670490b2103787e0086
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/187452
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agodriver: nor: tegra: Tegra Nor mapping driver.
Nitin Sehgal [Wed, 19 Dec 2012 10:14:10 +0000]
driver: nor: tegra: Tegra Nor mapping driver.

Embedded entertainment platform's based on tegra soc from Nvidia
support large Nor flash parts ie 8GB.
This driver provides support for address & cs expansion needed to support
8GB NOR part.

bug 1046135
bug 1213008

Change-Id: Id405c4551dfd0faba1e9d80fd13b31082cc9acea
Signed-off-by: Nitin Sehgal <nsehgal@nvidia.com>
Reviewed-on: http://git-master/r/172748
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoedp: fix potential null pointer de-referrence
Sivaram Nair [Fri, 4 Jan 2013 15:46:14 +0000]
edp: fix potential null pointer de-referrence

Fixing a bug found by coverity

Change-Id: I3304adf38a80652acf7f279c6bb7246c092eda81
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/188734
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agomedia: video: tegra: fix build error
Seshendra Gadagottu [Thu, 3 Jan 2013 21:04:13 +0000]
media: video: tegra: fix build error

Fix build error related to unused variable for T148.

Change-Id: I0886063bab4c0500cf0c945f685d73698507b61a
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/188396
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoinput: touch : raydium : Node user not writable
Jun Su [Thu, 3 Jan 2013 23:58:02 +0000]
input: touch : raydium : Node user not writable

The file node in under system folder should not be userable.
Change the permission value.

Bug 1179366

Change-Id: I4f46aac5104ebb8e422eb7dd9c5660a6c2756e3c
Signed-off-by: Jun Su <juns@nvidia.com>
Reviewed-on: http://git-master/r/171874
Reviewed-by: Peter Zu <pzu@nvidia.com>
Tested-by: Peter Zu <pzu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: dalmore: support higher frequency HDMI
Rakesh Iyer [Mon, 17 Dec 2012 19:36:17 +0000]
arm: tegra: dalmore: support higher frequency HDMI

Support up to 4K HDMI on this board.

Bug 1167856
Bug 1185882

Change-Id: Ie8766bb51f11d23524684bd3efb73dab5eef1be2
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/188767
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agomisc: nct1008: added shutdown functionality
Gaurav Batra [Fri, 14 Dec 2012 19:47:39 +0000]
misc: nct1008: added shutdown functionality

Bug 1202277

Change-Id: I37c3190df483c25c0a45b4d814a7e309cdaad446
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/171552
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: Add MIPI_BIF resources and platform device
Chaitanya Bandi [Fri, 5 Oct 2012 09:21:14 +0000]
ARM: tegra: Add MIPI_BIF resources and platform device

Bug 1022139

Change-Id: Ie4ee6c6bac666ee3d917e636fb745971cd176132
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/187719
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agomipi_bif: tegra: Add Tegra MIPIBIF Driver support
Chaitanya Bandi [Mon, 3 Dec 2012 04:05:30 +0000]
mipi_bif: tegra: Add Tegra MIPIBIF Driver support

Bug 1022139

Change-Id: Ic76596ba288cadc76691be42284e5ac3c43603ad
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/187718
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomipi_bif: Add mipi_bif core driver
Chaitanya Bandi [Wed, 17 Oct 2012 09:28:30 +0000]
mipi_bif: Add mipi_bif core driver

Bug 1022139

Change-Id: I8627ae0f3412b22136f27faf70018d8ebaf04172
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174393
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: Add clock entry for mipibif
Chaitanya Bandi [Fri, 5 Oct 2012 09:39:45 +0000]
ARM: tegra: Add clock entry for mipibif

Bug 1022139

Change-Id: Ia6fbf67cad5a763f57e8568d44c29ab8b6375e7d
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174392
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra11: power: Add CPU EDP safety limits
Alex Frid [Sat, 29 Dec 2012 05:18:47 +0000]
ARM: tegra11: power: Add CPU EDP safety limits

Added fixed absolute CPU EDP safety limits that are applied on top
of calculated EDP limits across all temperatures and process corners.

Bug 1161126

Change-Id: I9cb33a0a94115a83220d9b70950823fcbbf96427
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187570
(cherry picked from commit 356cec5d26b07603e2014aedaf197354b52ee1d6)
Reviewed-on: http://git-master/r/188919
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: clock: Fix parsing emc_max_dvfs parameter
Alex Frid [Sun, 30 Dec 2012 04:19:39 +0000]
ARM: tegra: clock: Fix parsing emc_max_dvfs parameter

Bug 1193281

Change-Id: Ib8d4ef400fa9693460cf7b3ec681a98c8852f046
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187622
(cherry picked from commit 4337e7e386c4f080bc9b2aab2c7c9f100555139e)
Reviewed-on: http://git-master/r/188918
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegar11: dvfs: Update cbus dvfs tables
Alex Frid [Sat, 29 Dec 2012 02:13:42 +0000]
ARM: tegar11: dvfs: Update cbus dvfs tables

Bug 1161126

Change-Id: I4956044c6d55faf3a1dda898c34385177e6c9439
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187564
(cherry picked from commit 7ee5ded2640565e2eba7c8f5678b280476b6cac3)
Reviewed-on: http://git-master/r/188917
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: clock: Update PLLC2/3 filter settings
Alex Frid [Fri, 28 Dec 2012 21:23:13 +0000]
ARM: tegra11: clock: Update PLLC2/3 filter settings

Bug 1170010

Change-Id: I374e39fe30a7326105aca9012857e5783b2949ff
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187529
(cherry picked from commit 17e366c7c1a9c742920b26b2eebb9843939cb8d0)
Reviewed-on: http://git-master/r/188916
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: dalmore: add device tree support for sdhci
Pritesh Raithatha [Wed, 19 Dec 2012 06:00:17 +0000]
arm: tegra: dalmore: add device tree support for sdhci

Bug 1173098

Change-Id: I7c4918eb0909bd311ceeb0d754acad61c22d1b73
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173053
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoarm: dts: tegra114: add sdhci support for dalmore
Pritesh Raithatha [Wed, 19 Dec 2012 05:33:32 +0000]
arm: dts: tegra114: add sdhci support for dalmore

Bug 1173098

Change-Id: Ieb565abbb2d575ea5de1ed695589762a4a862d71
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173052
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: pluto: add device tree support for sdhci
Pritesh Raithatha [Wed, 19 Dec 2012 05:23:52 +0000]
arm: tegra: pluto: add device tree support for sdhci

Bug 1173098

Change-Id: If11214a589c89d14a5cadbb68f643820f0d8f744
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173051
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoarm: dts: tegra114: add sdhci support for pluto
Pritesh Raithatha [Tue, 18 Dec 2012 12:28:45 +0000]
arm: dts: tegra114: add sdhci support for pluto

Bug 1173098

Change-Id: I7af677251530036353b907b15a4c8457e75eebcd
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173050
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: dts: tegra114: add sdhci nodes with common properties
Pritesh Raithatha [Tue, 18 Dec 2012 12:23:25 +0000]
arm: dts: tegra114: add sdhci nodes with common properties

Bug 1173098

Change-Id: I479c77aea2da5247a2ef57a23010d4fc1cb42c0d
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173049
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: dalmore: add coefficient for trend calculation.
Hyungwoo Yang [Fri, 4 Jan 2013 00:35:00 +0000]
ARM: tegra: dalmore: add coefficient for trend calculation.

Added tc1 and tc2 which are used for trend calculation in thermal zone.

Bug 1158323

Change-Id: Ib6c3f81a868e14675e15f228957242766f79e288
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/188592
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agodrivers: misc: therm_est: add get_trend using dT/dt
Hyungwoo Yang [Fri, 4 Jan 2013 00:33:36 +0000]
drivers: misc: therm_est: add get_trend using dT/dt

Added get_trend to use dTemp/dTime in trend calculation.

Bug 1158323

Change-Id: I7a3e80a768e3ebd72f657222eb0d3b546a3fabba
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/188582
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: Fix cluster switch issue for T14X
Seshendra Gadagottu [Fri, 4 Jan 2013 02:35:39 +0000]
ARM: tegra: Fix cluster switch issue for T14X

Getting cluster ID by reading MPIDR register is
not working for T14x. For this issue, HW bug 1212957
is submitted. SW will use FLOWCONTROLLER_CLUSTER_CONTROL
register to know the active clusterID.

Change-Id: Ib1c02e27b39fba10d4d8027f6a90bae7c3024d31
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/188498
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoarm: tegra: isomgr: init isomgr earlier than display.
Krishna Reddy [Thu, 3 Jan 2013 21:47:40 +0000]
arm: tegra: isomgr: init isomgr earlier than display.

Change-Id: I3b870a9aad9b57d7247457de5aacfe9c95c25ea0
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/188412
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoarm: tegra: dalmore: remove incorrect dpd code
Pritesh Raithatha [Wed, 19 Dec 2012 05:38:32 +0000]
arm: tegra: dalmore: remove incorrect dpd code

Wifi is on SDMMC1(sdhci-tegra.0) and upon wifi power on it is
disabling dpd of SDMMC3(sdhci-tegra.2) which is connected to
external sdcard. That is incorrect so removing this dpd control
code from wifi power on.

Change-Id: Ida2295d56cdcd6c89bcdfd2b603327140deb4c30
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173047
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: pluto: remove incorrect dpd code
Pritesh Raithatha [Tue, 18 Dec 2012 13:27:56 +0000]
arm: tegra: pluto: remove incorrect dpd code

Wifi is on SDMMC1(sdhci-tegra.0) and upon wifi power on it is
disabling dpd of SDMMC3(sdhci-tegra.2) which is connected to
external sdcard. That is incorrect so removing this dpd control
code from wifi power on.

Change-Id: Ia88df5bbcfc546d701a15f050bb3f3a50068d3a2
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/173046
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomisc: nct: add delay when regulator enables
Sri Krishna chowdary [Mon, 31 Dec 2012 12:59:48 +0000]
misc: nct: add delay when regulator enables

Bug 1205034

Change-Id: If5df510d2b2e683f8a6b6c7b431343c1c4b4223e
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/187785
(cherry picked from commit 2be11457a857263ee83263484af6294542230076)
Reviewed-on: http://git-master/r/188494
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoinput: misc: cm3218: ensure device is put to low power mode
Sri Krishna chowdary [Wed, 2 Jan 2013 10:03:43 +0000]
input: misc: cm3218: ensure device is put to low power mode

During resume some other device may enable the regulator
and cm3218 although not enabled, is kept in active state.
Ensure device is put into low power state.

Bug 1198671

Change-Id: I54aa60220c76542ebb1eca774cc48983a73711b8
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/187963
(cherry picked from commit 087d166f752c409967246649f1e00cea70e8d3d1)
Reviewed-on: http://git-master/r/188493
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: system_serial_high is initialized properly
Sumit Sharma [Thu, 3 Jan 2013 11:25:16 +0000]
arm: tegra: system_serial_high is initialized properly

Since many tests in kernel_submit are using system_serial_high,
it is initialized properly, so that tests can function properly

Change-Id: I013f04f32843e5dd6aae4b3305b3ad369f549218
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/188268
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: dalmore: Turn off DCDC1/2/3 in case system shuts down
Ahung Cheng [Thu, 3 Jan 2013 08:25:40 +0000]
ARM: tegra: dalmore: Turn off DCDC1/2/3 in case system shuts down

Enable DCDC1/2/3 external control to get TPS65913 signal, then these
three rails can be turned off when system shuts down.

Bug 1212493

Change-Id: I098192859529b53182d91c7e2110c051289c2926
Signed-off-by: Ahung Cheng <ahcheng@nvidia.com>
Reviewed-on: http://git-master/r/188218
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra11: dvfs: Add core rail cooling device
Alex Frid [Thu, 27 Dec 2012 22:40:03 +0000]
ARM: tegra11: dvfs: Add core rail cooling device

Implemented core rail cooling device to limit minimum core voltage
at cold temperature.

Bug 1177204

Change-Id: Icfc4144f6124ca2a471bd0637106262be46fce9a
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174549
(cherry picked from commit c8cc7f327723a1d34648af4d4f70e7292fa799f7)
Reviewed-on: http://git-master/r/188209
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Add core rail thermal trip-point
Alex Frid [Thu, 27 Dec 2012 20:42:33 +0000]
ARM: tegra11: dvfs: Add core rail thermal trip-point

Added core rail thermal trip-point necessary to limit minimum core
voltage at cold temperature. The respective cooling device has not
been implemented, yet.

Bug 1177204

Change-Id: I15235c9bc1a4184f0ddbde256e47080c359a0566
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174548
(cherry picked from commit 5b1fe9e58f283e64f153a33dfa6e727d9eba06cc)
Reviewed-on: http://git-master/r/188208
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: clock: Update PLLD/D2 cpcon settings
Alex Frid [Fri, 28 Dec 2012 22:21:46 +0000]
ARM: tegra11: clock: Update PLLD/D2 cpcon settings

Bug 1170010

Change-Id: I5b24b0375f8e756d44cd64220ac4655bc0624d2d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187528
(cherry picked from commit 66c1ce82c08b9b0f43a07ad166b1c63291ecd463)
Reviewed-on: http://git-master/r/188213
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agomisc: nct1008: Fix nct1008 reading negative on suspend resume
Diwakar Tundlam [Tue, 18 Dec 2012 23:43:32 +0000]
misc: nct1008: Fix nct1008 reading negative on suspend resume

Do not save standby state in saved config to avoid some unknown race
condition that corrupts it on suspend and resume leading to improper
range setting and negative temperature readings.

Bug 1202277

Change-Id: I043b6c66e6113008756425a68b0e8ffbe95d0cab
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/172516
(cherry picked from commit d9e2cdf83d4e2242197b5b7154391031b3ac63be)
Reviewed-on: http://git-master/r/188442
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agovideo: tegra: dc: report correct device id in traces
Jon Mayo [Thu, 3 Jan 2013 18:09:52 +0000]
video: tegra: dc: report correct device id in traces

Display traces were reporting everything as dc0. This fixes that issue.

Change-Id: If1378a8777dbd83484b62f44c6138068ff06bd66
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/188357
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>

6 years agodrivers: misc: therm_est: enable run-time trip point change
Hyungwoo Yang [Thu, 3 Jan 2013 00:51:53 +0000]
drivers: misc: therm_est: enable run-time trip point change

Enabled trip point change through sysFs during run-time.

Change-Id: Ibbdd8759cf24033575eda1d5f49b4d736060dab5
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/188136
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: clock: Reset pll lock detect circuit
Alex Frid [Thu, 20 Dec 2012 04:50:38 +0000]
ARM: tegra: clock: Reset pll lock detect circuit

On Tegra30 and Tegra11 platforms reset pll lock detect circuit
as part of PLL enable sequence.

Bug 1198457

Change-Id: If7239e34791746543e17a1d1b534860ea86e20c4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187387
(cherry picked from commit 62bf29fd79d26f364cfa0d59703b200b91758585)
Reviewed-on: http://git-master/r/188212
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra14x: secondary cpu booting sequence
Seshendra Gadagottu [Wed, 12 Dec 2012 00:25:53 +0000]
ARM: tegra14x: secondary cpu booting sequence

Secondary cpu boot sequence corrected for first time
booting and hot-plug booting. For first time booting
partition power un-gating needs to be done. For hot-plug
booting flow controller needs to be programmed for
SCLK event trigger.

Also fixed the merge issue in tegar11 code, so that
tegra11 hotplug code can be re-used.

Change-Id: I65673fb221b47eb24169d8c8cd7a8ebb1db5dd15
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/174363
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra11x: Fix the timer init sequence
Bo Yan [Wed, 2 Jan 2013 19:14:58 +0000]
ARM: tegra11x: Fix the timer init sequence

The commit b164d4ef breaks T114 because we do need to call
tegra_cpu_timer_init for t114 when ARCH timer is used.

Change-Id: I3f51079ff5f5f0532fc0424381ee44cf5e21a429
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/188060
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Tested-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra11: clock: Update PLLC2/3 VCO limits
Alex Frid [Thu, 20 Dec 2012 04:07:36 +0000]
ARM: tegra11: clock: Update PLLC2/3 VCO limits

Bug 1055552

Change-Id: I4d676172f7a93bedd70d82482d051a1af133e27f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187386
(cherry picked from commit b4379e3cd24726f3c0362d815f10a81705e85940)
Reviewed-on: http://git-master/r/188211
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: roth: Add check for roth machine in initcall
Tom Cherry [Wed, 2 Jan 2013 23:29:44 +0000]
ARM: tegra: roth: Add check for roth machine in initcall

Change-Id: I8e6fd455105e6dde97a6e73a5ccf64bf751277b3
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/188120
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomfd: max8907c: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:45:40 +0000]
mfd: max8907c: Use dev_pm_ops for suspend/resume

Modified suspend/resume of max8907c to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: Idb562b4ffc909690f219c1ac9cfc7d45201de629
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174281
(cherry picked from commit 7b8337803bca6cf52232754209d8eb1432c17ca8)
Reviewed-on: http://git-master/r/187671
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomisc: nct1008: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:29:32 +0000]
misc: nct1008: Use dev_pm_ops for suspend/resume

Modified suspend/resume of nct1008 to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: Ic96630b3eafc6056ded9fdf43c8283a7e1617cb0
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174275
(cherry picked from commit 8512c57959ee09769863587a0299acb7d090c62c)
Reviewed-on: http://git-master/r/187670
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomfd: ricoh583: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:27:16 +0000]
mfd: ricoh583: Use dev_pm_ops for suspend/resume

Modified suspend/resume of ricoh583 to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: I5b7659fc4c061df58607841a7c249d0dec98aecd
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174273
(cherry picked from commit 01e012288b66e3387a28a4e698e064064cb31cef)
Reviewed-on: http://git-master/r/187668
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomfd: tps6591x: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:24:08 +0000]
mfd: tps6591x: Use dev_pm_ops for suspend/resume

Modified suspend/resume of tps6591x to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: Ibf548c4cbe35ff318e8cb8719f6f289434c04a5c
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174272
(cherry picked from commit da257c5ca7e9e3b28bbfaeb80e496ff278c28e1b)
Reviewed-on: http://git-master/r/187667
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra11: Configure Headset Detection GPIO
Vijay Mali [Sat, 22 Dec 2012 10:40:24 +0000]
ARM: tegra11: Configure Headset Detection GPIO

Use GPIO KB_ROW7 for headset detection on AIC3262
Configure this gpio as pull_up
Update AIC3262 platform data

For bug 1179798

Change-Id: Ieae3d1c319ec0e0d2b103fcb475651b6621242c2
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/173851
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agotegra: asoc: Enable AIC3262 HP detect
ScottPeterson [Thu, 6 Dec 2012 00:21:44 +0000]
tegra: asoc: Enable AIC3262 HP detect

Enable Headphone detection for AIC3262
audio codec.

For bug 1179798

Change-Id: I4107c02d4463ea1d1ac71add7519a946af34ddc6
Signed-off-by: ScottPeterson <speterson@nvidia.com>
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/168880
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: fuse: Registered tegra-fuse device in T114 board files
Sumit Sharma [Mon, 19 Nov 2012 05:48:28 +0000]
arm: tegra: fuse: Registered tegra-fuse device in T114 board files

Registered tegra-fuse platform device in pluto & dalmore board file

Bug 1016464

Change-Id: Ia679f5c34194ccc1f5ca93ec4e3f75e6fab58f89
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/162062
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoarm: tegra: Added fuse device register common function
Sumit Sharma [Thu, 8 Nov 2012 09:47:45 +0000]
arm: tegra: Added fuse device register common function

Added fuse platform device registration function

Bug 1016464

Change-Id: I37ea96a1b1030ce1d4bfb25225457865f04fe39e
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/162343
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoarm: tegra: fuse: Converted fuse driver into platform driver
Sumit Sharma [Thu, 13 Dec 2012 11:03:48 +0000]
arm: tegra: fuse: Converted fuse driver into platform driver

Converted fuse driver into platform driver
Added fuse device and Makefile changes

Bug 1016464

Change-Id: I041c6741fb7a64b43378f8042bb9970d73b85c76
Signed-off-by: Sumit Sharma <sumsharma@nvidia.com>
Reviewed-on: http://git-master/r/162061
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: mcerr: fix build error
Seshendra Gadagottu [Wed, 2 Jan 2013 19:46:49 +0000]
arm: tegra: mcerr: fix build error

Fix T148 build error related to mcerr.

Change-Id: I83f9302689b1612313d82e7bf8d475fdda3947e2
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/188066
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agomedia: video: tegra: add isomgr apis
Jihoon Bang [Sat, 1 Dec 2012 03:12:48 +0000]
media: video: tegra: add isomgr apis

Add isomgr apis to request memory bandwidth to
iso manager.

Bug 1169267

Reviewed-on: http://git-master/r/170536
(cherry picked from commit 6438e4298b4edd122d18ddddd007e7d26ecc161a)

Change-Id: I50a0b6c7309a9190eb9ca72a678c5c069491d84c
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/174310
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra11: power: Integrate core EDP 6A limit table
Alex Frid [Wed, 19 Dec 2012 23:31:33 +0000]
ARM: tegra11: power: Integrate core EDP 6A limit table

Bug 1165638

Change-Id: I3a47c9be9998918bae68b1d73b6baf729ef65fc2
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172972
(cherry picked from commit e3851170ef45fa77c8b985fb5af0cedc45a3788e)
Reviewed-on: http://git-master/r/187614
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>