6 years agomisc: bluedroid_pm: add wake_lock support
Nagarjuna Kristam [Thu, 20 Dec 2012 16:21:27 +0000]
misc: bluedroid_pm: add wake_lock support

Use wake locks when bluetooth communication is on-going to dis-allow
system suspend

Bug 1205772

Change-Id: I57d4286ef6a7ae7d246bd0cbd53db68afa832827
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/173177
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoasoc: tegra: cs42l73: Add earpiece DAPM support
Rahul Mittal [Wed, 12 Dec 2012 14:27:03 +0000]
asoc: tegra: cs42l73: Add earpiece DAPM support

Add DAPM widget and audio map for earpiece
Bug 1179527

Change-Id: I27b588e21bb9beb0bf58966195ba94615c907f3e
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/170511
(cherry picked from commit 6a83f7effeebb9f43aa1deef10f79911ee36ca1c)
Reviewed-on: http://git-master/r/172829
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agommc: tegra: Enable emmc sleep mode support
Pavan Kunapuli [Tue, 18 Dec 2012 12:56:47 +0000]
mmc: tegra: Enable emmc sleep mode support

Enabling eMMC sleep mode support to reduce
suspend/resume latencies.

Bug 1182929

Change-Id: If7b0cc2cd8f12ccf66e441927930737a1b89f7fa
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/172315
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@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: Ibd548d55e6fb71cf09796c3d794c6e1ac9eeba99
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/172579
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra: phy:remove turning off PMC pad detector
Rakesh Bodla [Fri, 21 Dec 2012 10:40:57 +0000]
ARM: tegra: phy:remove turning off PMC pad detector

Remove the turning off the PMC pad detector
for USB port 3. This is not needed and it is
overriding the neccessary values which are
already programmed.

Bug 1181571

Change-Id: I20e86188319b71972905d699e43f80f1c3dff2c1
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/173612
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agonfc: correct indentation
Rakesh Goyal [Wed, 19 Dec 2012 11:59:22 +0000]
nfc: correct indentation

Bug 1190304

Change-Id: I2b2c8e9a86e661ccc68fade50904422da2b45b7e
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/172799
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

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

Change-Id: Ic9bf654c037715e71bcc916af5d941bec0f6d8c4
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/172575
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agonfc: add support for brcm2079x driver
Anita Kar [Wed, 12 Dec 2012 08:34:58 +0000]
nfc: add support for brcm2079x driver

we have received this driver from BRCM support
website. Pushing driver in original.

Bug 1190304

Change-Id: Icbc9e56cba00330c6fb38654816f67184d465add
Signed-off-by: Anita Kar <akar@nvidia.com>
Reviewed-on: http://git-master/r/172565
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Tested-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: roth: add leds-pwm
Hao Tang [Sat, 15 Dec 2012 23:35:07 +0000]
ARM: roth: add leds-pwm

Add leds-pwm on roth platform for notification feature

Bug 1198937

Change-Id: I859befd3ef4a8178668d84f2a539fcc25b776e8f
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/171671
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: config: enable leds-pwm and trigger
Hao Tang [Sat, 15 Dec 2012 23:38:24 +0000]
ARM: config: enable leds-pwm and trigger

Bug 1198937

Change-Id: I772a3c6cc6fee23a8d6b9a899e0379b72a2593d8
Signed-off-by: Hao Tang <htang@nvidia.com>
Reviewed-on: http://git-master/r/171672
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoRevert "ARM: tegra2: defconfig: make Atmel MXT touch a loadable module"
Varun Colbert [Sat, 22 Dec 2012 08:04:04 +0000]
Revert "ARM: tegra2: defconfig: make Atmel MXT touch a loadable module"

This reverts commit 6e936a208a4781ef0d1a87e636ae2912a3137c69

Change-Id: Icf161afe75876cd6b5d1649d4f782064b5c3fe68
Reviewed-on: http://git-master/r/173848
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoarm: tegra: isomgr: Init isomgr early.
Krishna Reddy [Thu, 13 Dec 2012 21:51:53 +0000]
arm: tegra: isomgr: Init isomgr early.

Init isomgr earlier than device drivers.

Reviewed-on: http://git-master/r/171166
(cherry picked from commit 50dccf843945e7b904dca748798c25729da8e717)

Change-Id: Ic8f50cef410cfcf6490d60193c4dd30eee10bfdd
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/173203
Reviewed-by: Automatic_Commit_Validation_User
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

Change-Id: I7829d0eed0e114854d3666a470fc500fc787e23d
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/170536
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agovideo: tegra: host: Idle before suspend
Arto Merilainen [Wed, 19 Dec 2012 10:24:27 +0000]
video: tegra: host: Idle before suspend

In certain cases the device may be deinitialized before calling
idle() for the last time which causes invalid memory accesses. This
patch reorders device suspend and device deinitialization sequences
to be performed after calling the idle function.

Bug 1195805

Change-Id: Iad553575fbea26fa325ca93d98c7278aacd7ae90
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/173590
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: roth: disable wake event for power key
Mallikarjun Kasoju [Fri, 21 Dec 2012 12:01:32 +0000]
ARM: tegra: roth: disable wake event for power key

Bug 1204048

Change-Id: I26834d4c306b1f9f90f13e5ba8bad30465867b48
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/173638
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: Dalmore: Shutdown SMPS
Prem Sasidharan [Tue, 27 Nov 2012 22:25:22 +0000]
arm: tegra: Dalmore: Shutdown SMPS

Shutdown SMPS8 in LP0

Bug 1176125

Change-Id: I78a67a74da12d3bb7e9ab375652e84f1a65491a3
Signed-off-by: Prem Sasidharan <psasidharan@nvidia.com>
Reviewed-on: http://git-master/r/166694
(cherry picked from commit ab7c246e9a608b34319c0ad2272be978653e8db7)
Reviewed-on: http://git-master/r/172566
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra2: defconfig: make Atmel MXT touch a loadable module
Jong Kim [Fri, 21 Dec 2012 19:35:23 +0000]
ARM: tegra2: defconfig: make Atmel MXT touch a loadable module

Make Atmel MXT driver a loader module.
Starting 3.4 upstream kernel, the Atmel MXT driver operates only as
a loadable module.

bug 1170148
bug 1163237

Change-Id: I26ed471cbeb14166ea63bd30d7a1f538d5505857
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/173712
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

6 years agoasoc:tegra: BT Call on Pluto
Nikesh Oswal [Wed, 5 Dec 2012 09:29:02 +0000]
asoc:tegra: BT Call on Pluto

1. Use a DAM in BT Codec path
2. Add T114 specific code for DAM programming
   in call related functions
3. Add T114 specific code for I2S programming
   in call related functions
4. Update the machine drivers to call DAM functions
   only if DAM is used in the concerned path

Bug 1171615

Change-Id: I3ba9f088117045f2465ee0485d8f1afb0ac9ec59
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/168684
(cherry picked from commit 39dca2c24579084c10644c018afbe3fe002bf422)
Reviewed-on: http://git-master/r/173584
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra11: dvfs: EDP freq granularity to follow CPU dvfs tables
Diwakar Tundlam [Fri, 21 Dec 2012 06:15:04 +0000]
ARM: tegra11: dvfs: EDP freq granularity to follow CPU dvfs tables

Bug 1170986
Bug 1161126

Change-Id: I8d83903a58d9099fec7b04fadc558244177ebbbb
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/173531
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Zu <pzu@nvidia.com>
Tested-by: Peter Zu <pzu@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agomisc: bluedroid_pm: set default state to is_blocked during probe
Nagarjuna Kristam [Tue, 11 Dec 2012 11:30:16 +0000]
misc: bluedroid_pm: set default state to is_blocked during probe

is_blocked parameter assigned to '0' during probe function call.
Value '0' is blocked state and default rfkill state is un-blocked.
This causes mis-match between software and hardware states.

Bug 1195747

Change-Id: I2313cd03f44a47b1da9a9f12d1375bd68f2ddb74
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/172998
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agovideo: tegra: host: Reset 2d unit on powerup
Arto Merilainen [Wed, 19 Dec 2012 08:39:00 +0000]
video: tegra: host: Reset 2d unit on powerup

2d unit may crash if it is not resetted after bootup. This patch sets
powerup_reset flag for resetting the unit.

Bug 1194664

Change-Id: I579d65db0c9069deac457b391e58a36dc2d19f57
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/172718
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agobcmdhd: do not use SET_NETDEV_DEV for p2p (HACK)
Mursalin Akon [Fri, 30 Nov 2012 18:43:06 +0000]
bcmdhd: do not use SET_NETDEV_DEV for p2p (HACK)

With SET_NETDEV_DEV, network manager starts
using all the p2p* interfaces. Without
SET_NETDEV_DEV, network manager is not aware
of these virtual interfaces.

Bug 1188451

Change-Id: I3e8be1d20d92cefc0d3debea09fdca445652571a
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/172440
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra: dalmore: update emc DVFS table
Ray Poudrier [Thu, 6 Dec 2012 02:33:31 +0000]
ARM: tegra: dalmore: update emc DVFS table

Bug 1189313

Change-Id: I17db9a8cfd896e2125d495d74f9fc61d4ce2729f
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/168927
(cherry picked from commit 66efdee160148f31a651a60659c64d380573c7af)
Reviewed-on: http://git-master/r/172013
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@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
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agovideo: tegra: clear fb2 unspecified by bootloader
Jong Kim [Thu, 13 Dec 2012 00:20:22 +0000]
video: tegra: clear fb2 unspecified by bootloader

Clear framebuffer2 if and only if framebuffer2 is not specified by the
bootloader. If the bootloader framebuffer2 is specified, then copy the
contents to kernel framebuffer2.

bug 1175957

Change-Id: I4ac4432c1dac6a6c634ab3e6ae31628f9c64ddb4
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/170663
Reviewed-on: http://git-master/r/172869
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoarm: tegra: display: handle fbmem2 cmdline parameter
Jong Kim [Thu, 13 Dec 2012 00:07:54 +0000]
arm: tegra: display: handle fbmem2 cmdline parameter

Parse and handle fbmem2 cmdline parameter.

bug 1175957

Change-Id: I0933825371bf13782e9f4364a4dba078929ae836
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/170662
Reviewed-on: http://git-master/r/172868
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoarm: tegra: display: provide framebuffer clear function
Jong Kim [Thu, 13 Dec 2012 00:01:39 +0000]
arm: tegra: display: provide framebuffer clear function

Add tegra_clear_framebuffer function.

bug 1175957

Change-Id: I12c249e011ecd839bbe9c5371b8be6e8a4b27bba
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/170661
Reviewed-on: http://git-master/r/172867
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agobluesleep: it should depend on Tegra HSUART
Mursalin Akon [Fri, 7 Dec 2012 22:56:51 +0000]
bluesleep: it should depend on Tegra HSUART

blueseep has code dependency on Tegra HSUART.
KConfig should reflect that dependency.

Bug 1193147

Change-Id: I66fe597f9554138c5387b2e070238cdf81b5cf32
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/169514
(cherry picked from commit 833d1fbdc19c28fe3d6ff3e409a1b53649a76b02)
Reviewed-on: http://git-master/r/172853
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agotty: serial: tegra: Export symbols for bluesleep
Mursalin Akon [Fri, 7 Dec 2012 21:33:26 +0000]
tty: serial: tegra: Export symbols for bluesleep

The bluesleep modules uses couple of symbols
which are not exported. As a result, bluesleep
cannot be built as module.

Bug 1193147

Change-Id: I47bc31cb6ff525e346df29264698031fd94032c7
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/169513
(cherry picked from commit b6b26f200cb4123b3542d49c59691f78ffa75a95)
Reviewed-on: http://git-master/r/172852
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agobcmdhd: use debug instead of error
Mursalin Akon [Sat, 1 Dec 2012 01:04:13 +0000]
bcmdhd: use debug instead of error

To print P2P MAC address use debug
(WL_DBG), instead of error (WL_ERR).

Bug 1179879

Change-Id: I5669c8054497c669105548232b522ae540121810
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/167892
(cherry picked from commit 30193205872e13fcb0b84cb0aac131e8ee8b2adc)
Reviewed-on: http://git-master/r/172851
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: usb_phy: Disable PMC when resume from LP0
Suresh Mangipudi [Wed, 19 Dec 2012 11:36:38 +0000]
ARM: tegra: usb_phy: Disable PMC when resume from LP0

Disable PMC during the resume of the device from LP0.

Bug 1201939

Change-Id: Idf76338d83b11aec5a56130af8bd795af339a8d1
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/172768
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agovideo: tegra: dsi: Fix mipi_cal sw init for ganged mode
Animesh Kishore [Tue, 11 Dec 2012 11:55:19 +0000]
video: tegra: dsi: Fix mipi_cal sw init for ganged mode

Move mipi calibration init code to region common
to both dsi controllers.

Change-Id: Ie7c37307c719e146f34034d2c993aca3a79ec99e
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/172758
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agovideo: tegra: dsi: ganged mode avdd_dsi_csi regulator handling
Rakesh Iyer [Fri, 7 Dec 2012 22:34:36 +0000]
video: tegra: dsi: ganged mode avdd_dsi_csi regulator handling

Modify avdd_dsi_csi regulator handling to work with dsi in ganged mode.

Change-Id: Idee91d35519bd1a1fdf0135fba57f654b37fa2bb
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/172757
Tested-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoarm: tegra: dalmore: Runtime panel detection
Vineel Kumar Reddy Kovvuri [Thu, 6 Dec 2012 12:31:33 +0000]
arm: tegra: dalmore: Runtime panel detection

Bug 1182416

Change-Id: I362f892c32e0f3e8e32e136b3595c71b696b2bae
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/172756
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agovideo: tegra: host: Turn host1x on when reading counters
Terje Bergstrom [Wed, 19 Dec 2012 07:31:14 +0000]
video: tegra: host: Turn host1x on when reading counters

Turn host1x on when initializing and accessing the tick counter
registers.

Change-Id: I1ee41746ce7e1c603772b8fc643e58d19908f889
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/172724
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: host: Init actmon with host1x on
Terje Bergstrom [Mon, 17 Dec 2012 14:02:11 +0000]
video: tegra: host: Init actmon with host1x on

Turn on host1x when initializing actmon. Also do not suspend host1x
before deinitializing actmon.

Bug 1195805

Change-Id: I1656634734da91400d8805dbe49fb5e7da3513d1
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/172723
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agonet: wireless: bcmdhd: do not allow race condition
Mursalin Akon [Thu, 6 Dec 2012 23:40:59 +0000]
net: wireless: bcmdhd: do not allow race condition

Module "init" turns off wifi chip after registering
the network interface. The chip is turned on at "open".
As "open" is allowed as soon as registration is
complete, the chip turning on and off becomaes a race
condition. We need to enforce a strict ordering between
these two operations.

Bug 1192094

Change-Id: I17e7da0252e1dd5c335722f98e9b54b0585b9690
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/172442
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agobcmdhd: Remove BCMDHD_CSCAN_ENABLE Kconfig
Mursalin Akon [Sat, 8 Dec 2012 00:30:56 +0000]
bcmdhd: Remove BCMDHD_CSCAN_ENABLE Kconfig

Reference to this Kconfig option does not exist
anywhere. Hence, remove it.

Bug 1188451
Bug 1180883
Bug 1192094

Change-Id: Icb9a34dfaf474b87ff0c491bb54f20770016087b
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/172441
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoARM: tegra: roth: set touch reset to GPIO_PK4
Vinod Subbarayalu [Tue, 18 Dec 2012 01:22:28 +0000]
ARM: tegra: roth: set touch reset to GPIO_PK4

Change-Id: Iaccdd8df4433ff9d23763eb2a505db89e6d26c63
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Reviewed-on: http://git-master/r/172079
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoRevert "ARM: Revert "ARM: 6878/1: fix personality flag propagation across an exec""
Aly Hirani [Thu, 6 Dec 2012 05:00:23 +0000]
Revert "ARM: Revert "ARM: 6878/1: fix personality flag propagation across an exec""

This reverts commit 25cd08cd1fb5888fe0d9bcc1e58b9d6b8378e1fd.
ADDR_COMPAT_LAYOUT is set on zygote to prevent Unity games from
crashing in K3.4. However, since the propagation of personality was
disabled, this flag never ended up being set on the fork()ed
processes.

Additionally, in order to prevent Bug 894472 to resurface with this
revert, mask out READ_IMPLIES_EXEC from being propagated to child
processes.

Bug 1023189

Change-Id: I01d5b7b3778b9e99815146bd2345bda1266e6309
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/168956
(cherry picked from commit 5598033218d268199f7c2ba336efb2c901441654)
Reviewed-on: http://git-master/r/171987
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: config: remove roth specific defconfig
Laxman Dewangan [Mon, 17 Dec 2012 09:17:22 +0000]
ARM: tegra: config: remove roth specific defconfig

The roth related configuration is also supported in
tegra11 generic defconfig and hence removing the
roth specific defconfig.

bug 1191859

Change-Id: I8c2a230273426918081cea2bd80ce0e50fe7d932
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/171861
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/173017
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: config: Align tegra11 defconfig with roth defconfig
Laxman Dewangan [Mon, 17 Dec 2012 09:14:33 +0000]
ARM: tegra: config: Align tegra11 defconfig with roth defconfig

Roth kernel build is the tegra11_roth_android_defconfig.
Moving the diffs from tegra11_roth_android_defconfig to
tegra11_android_defconfig to align the generic tegra11
android defconfig for roth.

bug 1191859

Change-Id: Ie562aac2ba786d9c074ed3f0c51f37e1bd8058b1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/171860
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Reviewed-on: http://git-master/r/173016
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: dalmore: Set TPS51632 ops mode to change control mode
Laxman Dewangan [Fri, 14 Dec 2012 06:32:42 +0000]
ARM: tegra: dalmore: Set TPS51632 ops mode to change control mode

Change-Id: I2a3106e1fa4674c8005245bbfd64f94ad38618f5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/171311
Reviewed-on: http://git-master/r/172702
Reviewed-by: Automatic_Commit_Validation_User

6 years agoregulator: tps51632: add support for change control mode
Laxman Dewangan [Fri, 14 Dec 2012 06:30:27 +0000]
regulator: tps51632: add support for change control mode

TPS51632 output can be control through register write via i2c or
through input pwm signal.
Adding support for switching the control mode to I2C or PWM
dynamically.

Change-Id: I57d72eff5c819a2b84f25ba82482bb9723c2c452
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/171310
Reviewed-on: http://git-master/r/172701

6 years agoregulator: add support for changing control mode of regulator
Laxman Dewangan [Fri, 14 Dec 2012 06:27:52 +0000]
regulator: add support for changing control mode of regulator

Some of device supports to control the regulator output to
be set either through register write via I2C or through PWM.
Add supports to switch the mode dynamically.

Change-Id: I3214a6ff89f85592b1ada8e64f0946693ef4f4cc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/171309
Reviewed-on: http://git-master/r/172700
Reviewed-by: Automatic_Commit_Validation_User

6 years agogpio: tegra: add tegra_is_gpio
aghuge [Tue, 4 Dec 2012 11:36:27 +0000]
gpio: tegra: add tegra_is_gpio

Added tegra_is_gpio function to
return true if pin is configured as gpio

Bug 1172972

Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/168285
(cherry picked from commit 312fc9fc203f77c2521a24991608511be0465695)

Change-Id: Ieac0af9a6ee000cbeb73e714395169799ae18e3b
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/172625
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoRevert "video: tegra: nvavp: Disable powergating of VDE"
Jaiprakash Khemkar [Fri, 14 Dec 2012 08:08:09 +0000]
Revert "video: tegra: nvavp: Disable powergating of VDE"

This reverts commit 09e38b074d327b2acadbd6c5ca5c745021efb3a9.

* Below changes takes care of enabling the clocks just before
  programming the key to VDE for widevine
  http://git-master/r/#change,169007
  http://git-master/r/#change,169008

  Bug 1190582

Change-Id: Ib127760375a5f073a927e80a7735f9455be69d18
Signed-off-by: Jaiprakash Khemkar <jkhemkar@nvidia.com>
Reviewed-on: http://git-master/r/171337
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoRevert "ARM: tegra3: config: bluesleep as module for L4T"
Rohan Somvanshi [Thu, 20 Dec 2012 18:47:20 +0000]
Revert "ARM: tegra3: config: bluesleep as module for L4T"

This reverts commit c7fae8fafb503d68403c992249fb2f636fdb36ef

Change-Id: I52054f6a44d15a51fb21b5a1077e95f97b135cb2
Reviewed-on: http://git-master/r/173188
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegar11: dvfs: Update vi and cbus dvfs tables
Alex Frid [Tue, 18 Dec 2012 06:15:15 +0000]
ARM: tegar11: dvfs: Update vi and cbus dvfs tables

Bug 1161126

Change-Id: Ie9b5a6a4530d057b0e2de322f72a174b7092a75b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172155
(cherry picked from commit 41eefe6a3823e9ce68c4ba315a8eacb10960e513)
Reviewed-on: http://git-master/r/172879
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra3: config: bluesleep as module for L4T
Mursalin Akon [Fri, 7 Dec 2012 22:51:49 +0000]
ARM: tegra3: config: bluesleep as module for L4T

Bug 1193147

Change-Id: I8caef4a95dc3277655f3043c0e939744a6586747
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/169515
(cherry picked from commit 1be4eb6f907c8bcb33beb2a69b682b85461a626e)
Reviewed-on: http://git-master/r/172854
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agosecurity: tf_driver: integrate latest TL release
Hyung Taek Ryoo [Wed, 19 Dec 2012 07:06:07 +0000]
security: tf_driver: integrate latest TL release

Tegra4 version: TF_TEGRA4_AC02.03.39731

1. Support GCC for Secure services and drivers
2. Enables hazard detection timeout at TF boot time on all cores

Bug 1186790

Change-Id: I95adbb9d978ae36dc7b3550f8b3e169b95575091
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/172650
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra11: roth: Add core edp initialization
Alex Frid [Wed, 19 Dec 2012 05:09:02 +0000]
ARM: tegra11: roth: Add core edp initialization

Change-Id: I9ec440bdd1b7279ba52b5d079a7ff389d7be562e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172604
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: pluto: Add core edp initialization
Alex Frid [Wed, 19 Dec 2012 05:07:45 +0000]
ARM: tegra11: pluto: Add core edp initialization

Change-Id: I7c51acc1c2ff9cc62f699b684b41e5060828f206
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172603
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra11: clock: Handle unreachable EMC maximum rate
Alex Frid [Wed, 19 Dec 2012 03:12:34 +0000]
ARM: tegra11: clock: Handle unreachable EMC maximum rate

Handled the case when reaching maximum EMC rate in the EMC scaling
table requires PLLM re-scaling, but backup rate is not included into
the table. Set PLLM boot rate as maximum limit in this case.

Bug 1193281

Change-Id: I77daa9ec7c136ba5737c1024891e332277706a39
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172597
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agovideo: tegra: host: change nvhost_clk_rate_args
Jihoon Bang [Thu, 13 Dec 2012 02:45:22 +0000]
video: tegra: host: change nvhost_clk_rate_args

Add attr bit field to moduleid of nvhost_clk_rate_args
to be able to set memory bandwidth instead of memory
clock frequency in user space. If memory bandwidth is set,
then corresponding memory clock frequency is calculated and
set based on type of memory controller.

Bug 1197543

Change-Id: Iba7e9bddbd26db5c3cb34916106378ce09143deb
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/170838
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

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

Change-Id: I68237d0af75c13008cdc44fb55bc516980ebeaae
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/170837
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra11: config: Select PLLM scaling option
Alex Frid [Tue, 18 Dec 2012 21:48:41 +0000]
ARM: tegra11: config: Select PLLM scaling option

Bug 1188643

Change-Id: Ide5a67aaaa6b179a75c4e2edd61a03a52a1b1715
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172494
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: clock: Change SCLK high rate clock source
Alex Frid [Tue, 11 Dec 2012 22:36:35 +0000]
ARM: tegra11: clock: Change SCLK high rate clock source

Changed SCLK high rate clock source from secondary PLLM output
(pll_m_out1) to secondary PLLC output (pll_c_out1), when PLLM
scaling option is selected. Updated pll_c_out1 flags.

Bug 1188643

Change-Id: I899cf5b6d04cc27f63de7f01fb7aa78636e61ea6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172468
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: clock: Change default VI clock parent
Alex Frid [Tue, 11 Dec 2012 21:21:24 +0000]
ARM: tegra11: clock: Change default VI clock parent

Changed default VI clock parent to PLLP when PLLM scaling option
is selected (boot-loader leaves VI on PLLM, which is not allowed
in this case).

Bug 1188643

Change-Id: Ia2018855b05c9751c136211203325f5c0698aa91
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172467
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: clock: Initialize PLLC rate to 624MHz
Alex Frid [Tue, 18 Dec 2012 08:06:52 +0000]
ARM: tegra11: clock: Initialize PLLC rate to 624MHz

Bug 1188643

Change-Id: I7992aa198b66efb9c4c1bd28272857284c7fcf06
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172466
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: clock: Allow EMC rates above PLLM boot rate
Alex Frid [Sat, 15 Dec 2012 02:57:57 +0000]
ARM: tegra11: clock: Allow EMC rates above PLLM boot rate

Added kernel command line parameter "emc_max_dvfs". If this parameter
is set, and PLLM scaling is enabled, then EMC rate may exceed boot
PLLM frequency and reach maximum accepted rate in the EMC DVFS table.

Otherwise, EMC scaling rates are limited by boot PLLM rate (this is
backward compatible with current EMC maximum rate limitations).

Bug 1193281

Change-Id: I0c8b11b8866fe8b2c82dec5a344c04e7feee3c46
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172465
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: clock: Verify clock parents
Alex Frid [Tue, 11 Dec 2012 01:05:13 +0000]
ARM: tegra11: clock: Verify clock parents

Updated Tegra11 clock parents allowed policy, and verified that all
clocks are compliant with the policy after board clock initialization
is completed. Generated WARN() for any non-compliant clock.

Bug 1188643

Change-Id: Ie2258336b9ea960d4cd5fa9c27bb4d663ce993db
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/172464
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: tegra11: clock: Add memory PLLM scaling option
Alex Frid [Sat, 8 Dec 2012 02:29:49 +0000]
ARM: tegra11: clock: Add memory PLLM scaling option

Added an option to scale memory PLLM using PLLC as a fixed rate
backup pll, as an alternative to current policy that keeps PLLM
at fixed rate and scales PLLC. By default this new option is not
selected, and PLLC scaling is still used.

Bug 1188643

Change-Id: I35736a477bea6537d237a4c70f097bac09eaf7e5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/171524
(cherry picked from commit 46d4248584b9b1cd35dddad14d730a2bd88cbcb7)
Reviewed-on: http://git-master/r/172463
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: dvfs: Update CL-DVFS debug interface
Alex Frid [Fri, 14 Dec 2012 05:39:32 +0000]
ARM: tegra11: dvfs: Update CL-DVFS debug interface

- Added Vmin read-only entry to CL_DVFS debugfs interface:
/d/clock/dfll_cpu/cl_dvfs/vmin_mv

- Updated rate monitor to account for output scaler at low rates.

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

6 years agoARM: tegra11: dvfs: Add CL-DVFS cooling device
Alex Frid [Fri, 7 Dec 2012 02:44:06 +0000]
ARM: tegra11: dvfs: Add CL-DVFS cooling device

Added CL-DVFS cooling device to keep operational voltage at cold
temperature above specified minimum threshold.

Bug 1177204

Change-Id: I31240ef7be6a28f18b401b89a90d4c38e3dad103
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/169925
(cherry picked from commit 92ff1509ef92f62e7e2a26324f0b6631e25b5183)
Reviewed-on: http://git-master/r/172453
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agommc: core: enable ext_csd raw fields for eMMC4.5
Naveen Kumar Arepalli [Tue, 18 Dec 2012 09:10:58 +0000]
mmc: core: enable ext_csd raw fields for eMMC4.5

ext_csd raw filds(erase, trim, sec feature) are used for
only comparison. eMMC 4.5 will run in 1 bit mode if this
check is not removed.

Bug 1199265

Change-Id: I0d3d3e457dd48f7e2ba7aa3e95c68a4afe0dd2b1
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/172225
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: usb_phy: Fix T11x OverCurrent selection bit
Suresh Mangipudi [Mon, 17 Dec 2012 10:49:11 +0000]
ARM: tegra: usb_phy: Fix T11x OverCurrent selection bit

The OCA bit in PORTSC is being set by default, this results in PORTSC
register reporting false status for over current.
Update the programming sequence such that the over_current bit is
cleared.

Bug 1199299

Change-Id: I17b2e6c48719986a87683da9ff52ff8874d7671d
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/171886
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoMerge remote-tracking branch 'origin/dev/bcmdhd_update_rel-17' into HEAD
varun colbert [Wed, 19 Dec 2012 21:21:50 +0000]
Merge remote-tracking branch 'origin/dev/bcmdhd_update_rel-17' into HEAD

6 years agoARM: tegra11: dvfs: Add 1.2V core voltage entry
Alex Frid [Thu, 13 Dec 2012 04:54:05 +0000]
ARM: tegra11: dvfs: Add 1.2V core voltage entry

Bug 1161126

Change-Id: I95703e50adff2a75e89802de31af4969fd34cba3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/170866
(cherry picked from commit c68987d01c5588bd27ce0831dfc32c628afec70a)
Reviewed-on: http://git-master/r/172191
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra11: dvfs: Update LP CPU tables and bins
Alex Frid [Thu, 13 Dec 2012 04:32:10 +0000]
ARM: tegra11: dvfs: Update LP CPU tables and bins

Bug 1161126

Change-Id: I994cb995b9f39f5e315ed04dde722bbb31364139
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/170865
(cherry picked from commit b62edb65a0a2e2df4642d21f500e85a980116c72)
Reviewed-on: http://git-master/r/172190
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra11: dvfs: Update SCLK, VI, Host1x tables and bins
Alex Frid [Thu, 13 Dec 2012 04:06:35 +0000]
ARM: tegra11: dvfs: Update SCLK, VI, Host1x tables and bins

Bug 1161126

Change-Id: I24793b8c8c6f1fcdc4947a24e96b1550b7963abf
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/170864
(cherry picked from commit 989b4fe0341292aed608db95ffc29e1a11b234b9)
Reviewed-on: http://git-master/r/172189
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra11: dvfs: Update cbus modules tables and bins
Alex Frid [Thu, 13 Dec 2012 02:52:20 +0000]
ARM: tegra11: dvfs: Update cbus modules tables and bins

Bug 1161126

Change-Id: I5a34a7c1513728d487195ec3090bd20882e6c4f0
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/170863
(cherry picked from commit ed058db45a4019e472bc34fd502a70205f9049ca)
Reviewed-on: http://git-master/r/172178
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agonet: wireless: bcmdhd: Increase PNO wakelock to 7 sec
Dmitry Shmidt [Mon, 19 Nov 2012 19:32:32 +0000]
net: wireless: bcmdhd: Increase PNO wakelock to 7 sec

Change-Id: Ib4d51cb3ee1c117c645dda663e08a1ee5954c81c
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agonet: wireless: bcmdhd: Fix dhd_txcomplete() dead lock
Franky (Zhenhui) Lin [Thu, 15 Nov 2012 18:42:47 +0000]
net: wireless: bcmdhd: Fix dhd_txcomplete() dead lock

For TX packet dhd_prot_hdrpull does nothing other than pull the prot
header from the skb. Use a NULL ifdix pointer to indicate a handling
of tx packet and skip most of the header parsing routine - we don't
need it for TX packet and we can skip extra unnecessary PROP_TXSTATUS
parsing. It will resloved dead lock case because we just exit
dhd_prot_hdrpull for TX path.

Change-Id: Ic41e1c549036baeb0fabfb0be4b8331a4bf60682
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agonet: wireless: bcmdhd: Update wireless stack pm mode
Dmitry Shmidt [Tue, 6 Nov 2012 18:53:03 +0000]
net: wireless: bcmdhd: Update wireless stack pm mode

Change-Id: Iadf400f113884001894dca7cf098f971190765d1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agonet: wireless: bcmdhd: Avoid suspend on watchdog
Dmitry Shmidt [Fri, 2 Nov 2012 16:38:42 +0000]
net: wireless: bcmdhd: Avoid suspend on watchdog

Change-Id: Ic41a8f369a2ee8b2a0084e6a1cbf6b454ff53353
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agonet: wireless: bcmdhd: Fix host reodering and CRC error handling
Dmitry Shmidt [Tue, 30 Oct 2012 22:48:43 +0000]
net: wireless: bcmdhd: Fix host reodering and CRC error handling

Bug: 7389187

Change-Id: I3c4ed28a20de527b91fd1ef9ae51c59bab276b85
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agoARM: tegra11: dvfs: Set speedo ID in core dvfs table
Alex Frid [Thu, 13 Dec 2012 01:13:33 +0000]
ARM: tegra11: dvfs: Set speedo ID in core dvfs table

Allow to set speedo id for each core dvfs table entry, instead
of common default -1 (don't care) setting. For now it is still
set to -1 for all entries.

Bug 1170986
Bug 1161126

Change-Id: I10d34266429f54605506ac1ee5d72666ee5e02d5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/170862
(cherry picked from commit fde47f651afa86d35ee1576b45286c68cfd4ab60)
Reviewed-on: http://git-master/r/172177
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agonet: wireless: bcmdhd: Fix compilation without SUPPORT_PM2_ONLY
Dmitry Shmidt [Wed, 24 Oct 2012 17:05:23 +0000]
net: wireless: bcmdhd: Fix compilation without SUPPORT_PM2_ONLY

Change-Id: I9a95a81ec713824b3d6bfba86f62e420523ce0e4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agonet: wireless: bcmdhd: Turn ON SUPPORT_PM2_ONLY
Dmitry Shmidt [Tue, 23 Oct 2012 20:35:15 +0000]
net: wireless: bcmdhd: Turn ON SUPPORT_PM2_ONLY

Bug: 7386287

Change-Id: I21e6c1b2691dca27434b1a77e64ca0d1314c6515
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agoThermal: Add passive_delay sysfs attribute in thermal zone
Jinyoung Park [Fri, 30 Nov 2012 10:47:20 +0000]
Thermal: Add passive_delay sysfs attribute in thermal zone

Added passive_delay sysfs attribute to show and store passive_delay
in thermal zone.

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

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

6 years agoThermal: Add available_policies sysfs attribute
Jinyoung Park [Fri, 30 Nov 2012 10:33:51 +0000]
Thermal: Add available_policies sysfs attribute

Added available_policies sysfs attribute to show thermal governors
on the system.

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

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

6 years agonet: wireless: bcmdhd: Fix WD wakelock behavior
Dmitry Shmidt [Tue, 23 Oct 2012 18:39:40 +0000]
net: wireless: bcmdhd: Fix WD wakelock behavior

Change-Id: I7ebae2be248cbb4bc98e2b448641f65b77a320f4
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agonet: wireless: bcmdhd: Reduce keep-alive period to 28 sec
Dmitry Shmidt [Mon, 22 Oct 2012 21:18:27 +0000]
net: wireless: bcmdhd: Reduce keep-alive period to 28 sec

Bug: 7386287

Change-Id: I115135e1d2cba0135c5201b95a2599dcabac0247
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agoHACK: net: wireless: bcmdhd: Skip freeing skb in case of FW hang
Dmitry Shmidt [Mon, 22 Oct 2012 20:07:29 +0000]
HACK: net: wireless: bcmdhd: Skip freeing skb in case of FW hang

Bug: 7392211

Change-Id: I724ee4d4932ccda7cfd259a18b8a99f67cb0e937
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agonet: wireless: bcmdhd: Add sync for wlfc data access
Dmitry Shmidt [Thu, 18 Oct 2012 21:54:51 +0000]
net: wireless: bcmdhd: Add sync for wlfc data access

Change-Id: I2269eb3c26f0a14c1e01f067ac724fbfa6a4fb7b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agoThermal: Remove dangling newline character in buf on policy_store()
Jinyoung Park [Fri, 30 Nov 2012 09:55:51 +0000]
Thermal: Remove dangling newline character in buf on policy_store()

Can't find governor by name string comparison due to dangling newline
character in buf on policy_store().

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

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

6 years agoARM: tegra11: clock: Fix system bus clock rounding
Alex Frid [Wed, 12 Dec 2012 01:24:16 +0000]
ARM: tegra11: clock: Fix system bus clock rounding

Made sure system bus clock (SCLK) round rate operation follows the
same policy on fractional divisors as set rate operation - either both
operations allow fractions, or both does not support them (otherwise,
clock rate stats are confused).

Change-Id: I3814d66905c01f2ff84b0402be9b9a3d0b113fd6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/171213
(cherry picked from commit 4c5f6f2a6a9055d58017f619cfcf4b72fe843a48)
Reviewed-on: http://git-master/r/172163
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agoARM: tegra11: clock: Fix XUSB HS clock initialization
Alex Frid [Fri, 14 Dec 2012 03:19:13 +0000]
ARM: tegra11: clock: Fix XUSB HS clock initialization

XUSB HS clock initialization overwrote XUSB SS clock source settings
(both clocks share the source register). This is fixed now.

Change-Id: I722e55933534a954fde1012d88907ab7340dc81d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/171272
(cherry picked from commit fa7522b7a87124e969e5e57602aa1ca5a452f26e)
Reviewed-on: http://git-master/r/172162
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agonet: wireless: bcmdhd: Skip turning chip off if not responding
Dmitry Shmidt [Tue, 16 Oct 2012 22:00:04 +0000]
net: wireless: bcmdhd: Skip turning chip off if not responding

Bug: 7324935

Change-Id: I7ae2baea80c66a39b9fc9f3a640f3a999cd193eb
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agonet: wireless: bcmdhd: Propagate FW failure to upper layer
Greg Goldman [Tue, 16 Oct 2012 18:11:59 +0000]
net: wireless: bcmdhd: Propagate FW failure to upper layer

Bug: 7324935

Change-Id: I944a6da8a008ec3bcaf2f5a606e15e46eebac537
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>

6 years agoasoc:tegra: Support setting bit clock
ScottPeterson [Tue, 18 Sep 2012 22:01:54 +0000]
asoc:tegra: Support setting bit clock

Support for setting I2S bit clock from information
in the pdata structure.

Correctly supported DSPA and DSPB modes of I2S
during voice call.

Change-Id: I50e20ed66d2d0a01050d1d3902d179133f767f87
Signed-off-by: ScottPeterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/133669
Reviewed-on: http://git-master/r/146605
(cherry picked from commit 46e174b418c2e1b39260fae7e8113786545219d7)
Reviewed-on: http://git-master/r/172070
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

6 years agotegra: kernel: voice call debug
ScottPeterson [Mon, 10 Dec 2012 16:27:37 +0000]
tegra: kernel: voice call debug

Changed KB_ROW7 gpio to PULL_UP for better headset
detection.

Added vdd_sys_audio regulator for speaker amp

Debugging voice call UL/DL loss during stress testing.

Change-Id: Ib1930ff693306621aef269f0e0ff27aee2ab450f
Signed-off-by: ScottPeterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/171212

6 years agovideo: tegra: host: TSEC KFUSE load
Terje Bergstrom [Wed, 5 Dec 2012 11:56:09 +0000]
video: tegra: host: TSEC KFUSE load

Load KFUSE value to TSEC on boot.

Bug 1179007

Change-Id: If5128f059987fcd80d1d2dd4b76929e1f3f422ab
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/171934
Reviewed-by: Automatic_Commit_Validation_User

6 years agoinput: touch: atmel: Update Ftrace logging.
Vikas Jain [Fri, 14 Dec 2012 10:33:51 +0000]
input: touch: atmel: Update Ftrace logging.

With recent changes in driver, tracing was bypassed.
Update tracing point to reflect correct data.

Bug 1170830

Change-Id: I0c3ae5d42268ac8560759c0f2fd2a7aaabb3c2ce
Signed-off-by: Vikas Jain <vjain@nvidia.com>
Reviewed-on: http://git-master/r/171387
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: usb_phy: Fix race condition in resume
Abhishek Shukla [Sun, 9 Dec 2012 02:50:35 +0000]
arm: tegra: usb_phy: Fix race condition in resume

Resume could fail if remote wake is detected
by  PMC after controller has been put in suspend
during resume code. Restart bringing up host
controller as in case of remote wake if this hapens.

Bug 1179329

Change-Id: I7df4fcb73c565aedc4b22ff9cf229d3b50b99d15
Signed-off-by: Abhishek Shukla <abhisheks@nvidia.com>
Reviewed-on: http://git-master/r/169602
(cherry picked from commit c80deaefbf4c3b1e93dba6546e52bcd9fc72d0f0)
Reviewed-on: http://git-master/r/171255
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agoARM: Tegra: Common: Add Roth Related Board Types
Matt Wagner [Wed, 12 Dec 2012 05:03:10 +0000]
ARM: Tegra: Common: Add Roth Related Board Types

Add commandline board_info parsing for boards
present on Roth

Bug 1186719

Change-Id: I6743798c615dae6f66461cc39bd666daa7a2f6f9
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/170345
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: enterprise: Add oneshot mode pclk vals
Rakesh Iyer [Thu, 13 Dec 2012 00:58:13 +0000]
arm: tegra: enterprise: Add oneshot mode pclk vals

Upper layers depend on correct values of mode's pixel clock.
Add the correct values for one-shot mode.

Bug 1183265.

Reviewed-on: http://git-master/r/170673
(cherry picked from commit 440c7cef119226ffb950d775b79b9b32ec88532d)

Change-Id: I635ab50a6cb077893fa3c5bfe6efbc3c76324b77
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/172002
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Michael I Gold <gold@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agocdc_ncm: fix bind failures for Icera devices
Neil Patel [Wed, 12 Dec 2012 20:00:48 +0000]
cdc_ncm: fix bind failures for Icera devices

The Icera 5AN, 5AN BSD, and Nemo devices are composite devices that
include a NCM interface. Therefore, the NCM match flags should have
the VID, PID, Class, Subclass, and Protocol set to avoid bind()
failures for non-NCM interfaces.

Bug 1197415

Change-Id: If68a6ffaa4e1871c6a22ec8839806949804f502c
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/170576
(cherry picked from commit 4688623777e523eacd29fdca8357c608963d26b6)
Reviewed-on: http://git-master/r/171965
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>

6 years agommc: tegra: Add post resume support
Pavan Kunapuli [Mon, 17 Dec 2012 14:27:05 +0000]
mmc: tegra: Add post resume support

Adding post resume support to take care
of any platform specific requirements like
turning OFF clocks when device not present etc.

Reading card detect gpio value in resume to
get the proper card present status.

Bug 1188788
Bug 1161783

Change-Id: Ida5a7af031aafd3956198cede9ce12da03fa137b
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/171959
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>