7 years agoasoc:codecs: aic326x: change alsa ctrls for headphone driver
Nikesh Oswal [Tue, 8 May 2012 11:16:06 +0000]
asoc:codecs: aic326x: change alsa ctrls for headphone driver

Use non-inverting type alsa control for headphones as same have
been used for spk and recv

Change-Id: I39d2613071063782dff8151b07ef46ca8e16db5c
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/101234
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agoasoc:codecs: tiaic326x: remove minidsp support
Nikesh Oswal [Tue, 8 May 2012 11:14:59 +0000]
asoc:codecs: tiaic326x: remove minidsp support

disable the flags for turning off the mini dsp support

Change-Id: Ieb0b18fc3cc1143cbd0a315c85688d2f1ae4efe1
Reviewed-on: http://git-master/r/101233
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agoArm: tegra: p1852: Avp clock frequency to 334
Mohit Kataria [Mon, 7 May 2012 08:02:00 +0000]
Arm: tegra: p1852: Avp clock frequency to 334

changed the max avp clock from 378MHz to 334MHz as per new POR changes

Bug 883565

Change-Id: I4e9dda0288f3f85c8b1705971bb8f389127cff28
Reviewed-on: http://git-master/r/97279
Signed-off-by: Mohit Kataria <mkataria@nvidia.com>
Reviewed-on: http://git-master/r/100870
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agovideo: tegra: host: Iterate devices without nb_channels
Terje Bergstrom [Thu, 26 Apr 2012 09:49:28 +0000]
video: tegra: host: Iterate devices without nb_channels

Do not use nb_channels to find out the number of client devices.
Instead, allocate devno regions when they are needed and find a
device by module id by iterating over nvhost bus.

Bug 871237

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

7 years agomfd: twl6025: resolve compilation time warnings
Sanjay Singh Rawat [Mon, 26 Mar 2012 12:16:55 +0000]
mfd: twl6025: resolve compilation time warnings

bug 949219

Change-Id: Ied38dc0ff7ade8b15561747cde6d552f2597e9e6
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/92307
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agosecurity: tf: resolve compilation time warnings
Sanjay Singh Rawat [Mon, 26 Mar 2012 10:15:23 +0000]
security: tf: resolve compilation time warnings

bug 949219

Change-Id: Ia7d23d3aab631e6a78c53518bc1f608d46e8f341
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/92260
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agovideo: tegra: fb: Call mode filter from check var
Shashank Sharma [Mon, 30 Apr 2012 13:53:57 +0000]
video: tegra: fb: Call mode filter from check var

Call dc_hdmi_mode_filter to validate a videomode. X prepares its
own modedb of supported HDMI modes, but all of them may not be
supported from the HDMI driver. This call makes sure a X-mode is
listed only if supported in DC driver.

Bug: 959676

Change-Id: I8aff65f4e08fcc4471af096150e3972b5913a95a
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/99650
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoinput: touch: enterprise: Increase i2c to 400Khz.
David Jung [Wed, 25 Apr 2012 00:35:27 +0000]
input: touch: enterprise:  Increase i2c to 400Khz.

Modified board file to increase the speed of I2C connection
for Atmel touch driver from 100KHz to 400KHz

Bug 962710

Change-Id: Ic692a4b610c5b952c1bdcfbb26e19714b1952a5f
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/98585
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ali Ekici <aekici@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agovideo: tegra: dc: Set default videomode
Shashank Sharma [Mon, 30 Apr 2012 12:06:24 +0000]
video: tegra: dc: Set default videomode

Set default videomode during the dc probe. This patch enables
HDMI during the probe only and fixes following issues:
1. Until Xinit there was no display on HDMI.
2. Framebuffer console on HDMI needs it to be enabled well before
   Xinit.
To avoide un-necessary powering on HDMI,Check HPD and enable HDMI
only if it's present.

Bug: 930136
Bug: 977705
Change-Id: Ifb71328e5df0ccbb5751669db71fd24719fe3738
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/100656
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agomfd: max77663: Add gpio irq masking in irq_sync_unlock
Jinyoung Park [Mon, 23 Apr 2012 09:49:33 +0000]
mfd: max77663: Add gpio irq masking in irq_sync_unlock

Add gpio irq masking in irq_sync_unlock.

Change-Id: I008caf58ae82d9ed888f4720f54675e9106f027d
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/98664
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agommc: host: loglevel of a message to KERN_INFO
Ramalingam C [Fri, 4 May 2012 06:27:55 +0000]
mmc: host: loglevel of a message to KERN_INFO

Some boards don't have a vddio regulator for few rails hence not getting
the regulator handle. And we assume that those rails are always powered.
Hence rephrased the error message and lowered the loglevel to KERN_INFO.

Bug 976177

Change-Id: I92b82f75934eaf7137584a625065e3389b6ae1b7
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/100490
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: Cardhu board file, 400K I2C touch drvr
Ali Ekici [Thu, 19 Apr 2012 22:39:17 +0000]
arm: tegra: Cardhu board file, 400K I2C touch drvr

Modified board file to increase the speed of I2C connection
for Atmel touch driver from 100KHz to 400KHz

Bug 962710
Bug 950422

Change-Id: Ib0f08af35d84cfc1f33cc3771d2aa422f79d98d0
Signed-off-by: Ali Ekici <aekici@nvidia.com>
Reviewed-on: http://git-master/r/97744
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Jung <djung@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoregulator: max77663: fix fps update condition
Jinyoung Park [Wed, 28 Mar 2012 03:32:41 +0000]
regulator: max77663: fix fps update condition

Fix fps update condition in max77663_regulator_set_fps().

Bug 930883

Change-Id: I2f57603320a91b2727932586fc3c66d9de347d64
signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/92707
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agomfd: max77663: Unmask EN0 rising interrupt
Jinyoung Park [Wed, 25 Apr 2012 06:21:42 +0000]
mfd: max77663: Unmask EN0 rising interrupt

Unmasked EN0 rising interrupt to generate fast PMU_INT by
EN0(POWER_KEY).

Bug 930883

Change-Id: I9a3d8c4f564e83deea86fbd3d05f14933a0b0f65
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/98665
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agobluetooth: tibluesleep: clean up tibluesleep driver
Nagarjuna Kristam [Tue, 17 Apr 2012 06:44:35 +0000]
bluetooth: tibluesleep: clean up tibluesleep driver

Remove UART clock enable code, as UART clock gating is not
needed in tibluesleep driver.
Remove un-wanted tasklets, workqueues and wakelocks
Remove extra lines and spaces

Change-Id: I422e09ece2c736c4a98911a5bd84029ad654cb08
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/96944
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoARM: tegra: enterprise: register parent regulator before fuse regulator
Laxman Dewangan [Fri, 27 Apr 2012 18:10:12 +0000]
ARM: tegra: enterprise: register parent regulator before fuse regulator

bug 978829

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/99460
(cherry picked from commit b5531673e3da75f2406685ce377f39d76f494162)

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

7 years agoARM: tegra: cardhu: Wakup through GPIO-PV0 for E1291-A04
Laxman Dewangan [Wed, 2 May 2012 16:11:57 +0000]
ARM: tegra: cardhu: Wakup through GPIO-PV0 for E1291-A04

To have the proper LP0 exit power sequence, it is require to
wakeup system through tegra gpio rather than PMU-INT.

bug 957972

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/100107
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Cherry-picked commit ffe8e102d91c5eafc0b71b044b97fe9e8cef7463

Change-Id: I0518e46b43ec36ba6e076a946da2d395cd31777e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/100521
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: tegra: clock: Add locked version of round rate
Alex Frid [Sun, 18 Mar 2012 06:38:07 +0000]
ARM: tegra: clock: Add locked version of round rate

Add locked version of round rate API to be used by tegra arch
specific layer.

Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit 457627966b91f2141439812869adc4acf9242471)

Change-Id: Id68d0bb952d1e7d9e650341872d1b06b0b2d3cea
Reviewed-on: http://git-master/r/100474
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoarm: tegra: pl310: Enable dynamic clock gating and standy.
Krishna Reddy [Fri, 4 May 2012 02:16:24 +0000]
arm: tegra: pl310: Enable dynamic clock gating and standy.

Bug 947861

Change-Id: Ib4ce7bfa3624562a766678a2ef20ebdcd3055d89
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/100462
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoarm: tegra: scu: Enable IC and SCU standby
Krishna Reddy [Fri, 4 May 2012 02:02:04 +0000]
arm: tegra: scu: Enable IC and SCU standby

Bug 947861

Change-Id: I1ac97b5de5e7e79a418b3c38c70df4976616cdf3
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/100457
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agovideo: tegra: nvmap: config option to enable page pools.
Krishna Reddy [Thu, 3 May 2012 22:36:48 +0000]
video: tegra: nvmap: config option to enable page pools.

Add config option to enable/disable nvmap page pools.

Change-Id: I873e81a675fecd768534d4ce03c2f8fdd3c6a063
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/100424
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoarm: tegra: kai: set the pull up source GPIO_PCC7
Hunk Lin [Tue, 1 May 2012 03:04:18 +0000]
arm: tegra: kai: set the pull up source GPIO_PCC7

TEGRA_GPIO_PCC7(PEX_L2_CLKREQ) is used as the pull up source to pull up
other pins in schematic. So set it to high default.

bug 949026

Change-Id: I5a4d806ec4b54969514547472cd08018d285ced5
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/99778
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra2: clock: Enable PREINIT_CLOCKS
Jong Kim [Sat, 28 Apr 2012 01:11:26 +0000]
ARM: tegra2: clock: Enable PREINIT_CLOCKS

Enable CONFIG_PREINIT_CLOCKS.

bug 967065

Change-Id: Ib6675f9bff6729ffe7dfcd8b753c42b5d32240e4
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/99517
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agousb: otg: tegra: Change suspend resume logic
Rakesh Bodla [Fri, 4 May 2012 09:36:18 +0000]
usb: otg: tegra: Change suspend resume logic

Changed the suspend resume logic as per new
UDC driver. Also, added few debug prints.

Bug 887361

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

7 years agoarm: configs: tegra: enable tegra udc driver
Rakesh Bodla [Fri, 4 May 2012 09:24:04 +0000]
arm: configs: tegra: enable tegra udc driver

Enable tegra udc driver.

Bug 887361

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

7 years agoarm: tegra: update the udc driver name
Rakesh Bodla [Fri, 27 Apr 2012 17:13:47 +0000]
arm: tegra: update the udc driver name

Update the clocks structure to use new udc driver
name. Also, update the device structure.

Bug 887361

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

7 years agousb: tegra: add USB device controller driver for tegra chip
Rakesh Bodla [Fri, 27 Apr 2012 17:11:08 +0000]
usb: tegra: add USB device controller driver for tegra chip

Add High-speed USB device controller driver for tegra chips.
This can work in OTG device mode with tegra OTG driver.
Driver currently supports only UMTIP PHY.

Bug 887361

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

7 years agoARM: tegra: Export tegra_powergate_is_powered()
Antti P Miettinen [Thu, 19 Apr 2012 21:14:01 +0000]
ARM: tegra: Export tegra_powergate_is_powered()

Export tegra_powergate_is_powered() for use by modules.

Change-Id: I8cfbb8aeb95dca00cbf6ef0c8c2bd189afeb62b6
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/97724
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoarm: tegra: kai: Switch to external temperature sensor
Kerwin Wan [Wed, 14 Mar 2012 11:36:00 +0000]
arm: tegra: kai: Switch to external temperature sensor

Disable internal temperature sensor and enable external temperature
sensor.

This is a modified version of change
74db6e22d316a95630d3059644fbc55e2620cb9b

Bug 954134

Change-Id: Id64bb93a09e1701165ad1f82e08bb92e61425873
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/96285
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra: cardhu: pm299: system wake through tegra gpio
Laxman Dewangan [Thu, 3 May 2012 15:03:52 +0000]
ARM: tegra: cardhu: pm299: system wake through tegra gpio

Waking up system through the tegra gpio inplace of ricoh onkey
when using the ricoh based pmu.

bug 978922

Change-Id: If9c5baffa42aca5fcc7d6238c5cf122a136e7760
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/100351
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agovideo: early exit from update_cdma
Pranav Chaturvedi [Mon, 16 Apr 2012 03:39:44 +0000]
video: early exit from update_cdma

when update_cdma_locked() is invoked, CDMA is not running
implies that the queue is cleared and we can return immediately.

Bug 960487

Change-Id: I599027906dc405f4490590443d4f4d5a3202b5b0
Reviewed-on: http://git-master/r/96650
(cherry picked from commit f297b4812d15540f4b14c87178662a7ca6575ce9)
Reviewed-on: http://git-master/r/99994
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agovideo: tegra: host: Clean up includes
Terje Bergstrom [Thu, 26 Apr 2012 09:26:30 +0000]
video: tegra: host: Clean up includes

Clean up #includes. Replace #includes with forward declarations where
possible, and remove extraneous #includes.

Bug 871237

Change-Id: I6942e0c632b42ad7009589ebdd78def88ae4baa4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/99046
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoARM: tegra: enterprise: Limit holdoff set for 533MHz
Ray Poudrier [Sun, 26 Feb 2012 22:59:13 +0000]
ARM: tegra: enterprise: Limit holdoff set for 533MHz

Bug 935079

Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/86009
(cherry picked from commit 83eb3734f76e598d570dd9624e7e06f8b3e05afe)

Change-Id: I5911670e7c1e8dd5fc4e89d4be21b9dcbc4c9085
Reviewed-on: http://git-master/r/98535
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>

7 years agomedia: video: tegra: ov5650: read sensor fuse id
Charlie Huang [Tue, 24 Apr 2012 02:09:15 +0000]
media: video: tegra: ov5650: read sensor fuse id

The sequence of read fuse id is:

1. write to OTP index register 0x3d00.
2. read out byte from ox3d04.
3. repeat step 1 to the next byte with its index respectively.

also fixed ov5650_read_reg always fail issue.

bug 957657

Change-Id: I649a7765320d0d4be8111a7f523d8487b872b620
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/98330
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Wei Chen <wechen@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agoARM: tegra: Enable ARM errata 716044 for Tegra2.
Krishna Reddy [Wed, 11 Apr 2012 18:23:25 +0000]
ARM: tegra: Enable ARM errata 716044 for Tegra2.

Change-Id: Id71da6f6371f337f913d981f6d121c3fb2561a41
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/95915
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: errata: 716044: an uncacheable load multiple can cause a deadlock.
Krishna Reddy [Wed, 11 Apr 2012 18:20:20 +0000]
ARM: errata: 716044: an uncacheable load multiple can cause a deadlock.

Under some rare circumstances, an uncacheable load multiple
instruction (LDRD, LDM, VLDM, VLD1, VLD2, VLD3, VLD4) can cause
a processor deadlock.

Change-Id: Ibd79aa8182dce37d0be9892f2310735e1123618a
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/95914
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoarm: tegra: Implement safe option for T30 pinmux
Ashwini Ghuge [Wed, 25 Apr 2012 03:47:11 +0000]
arm: tegra: Implement safe option for T30 pinmux

Bug 950086

Change-Id: I2eb129566bfea83b9a73d29f0c6443bdab087b65
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/95518
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andy Park <andyp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agodmaengine/dma_slave: fix merge issue.
Linqiang Pu [Wed, 2 May 2012 13:37:27 +0000]
dmaengine/dma_slave: fix merge issue.

Change-Id: I0931f4ef7a5464dd32d8c703288a137fc77857ce
Signed-off-by: Linqiang Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/100090
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agoARM: tegra2: clock: Put Tegra2 clocks to known states
Jong Kim [Sat, 28 Apr 2012 00:53:02 +0000]
ARM: tegra2: clock: Put Tegra2 clocks to known states

Add TEGRA_PREINIT_CLOCKS option to put host1x, disp1, and video clocks
into known state, so that L4T Ventana/Harmony works on u-boot.

bug 967065

Change-Id: If7637b13e0daf1823fa0fe694a87870f4601e4df
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/95734
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agomfd: tps80031: fix missed irq issue
Steve Kuo [Fri, 30 Mar 2012 07:00:38 +0000]
mfd: tps80031: fix missed irq issue

We found missed irq could be happened if clear all INT_STS_x register in one time.
Shadow register pushes the irq status after the first byte of INT_STS_x was cleared
The proposed way to clear interrupt is to write only one INT_STS_x register.
It will also clear the other two ones.

Bug 952476

Reviewed-on: http://git-master/r/93453
Signed-off-by: Steve Kuo <stevek@nvidia.com>

(cherry picked from commit 0c92f32e9e03defaeac991518b26134e59ef4db6)

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

7 years agoARM: tegra: enterprise: register supply regulator before child regulator
Laxman Dewangan [Fri, 27 Apr 2012 17:15:38 +0000]
ARM: tegra: enterprise: register supply regulator before child regulator

LDO3 has the input from the VIO output and hence VIO should be
register before LDO3 for regulator registration.

bug 976254

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/99446

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

7 years agoARM: tegra: whistler: Set I2c pin drive strength to max
Laxman Dewangan [Thu, 22 Mar 2012 13:31:45 +0000]
ARM: tegra: whistler: Set I2c pin drive strength to max

Setting i2c drive strenth to maximum and pulling all pins
to high.
bug 951052
bug 958415
bug 927583

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/91805

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

7 years agoARM: tegra: ventana: Set drive strength to max for all i2c pins
Laxman Dewangan [Fri, 23 Mar 2012 09:02:24 +0000]
ARM: tegra: ventana: Set drive strength to max for all i2c pins

Setting drive strength to maiximum for all i2c pins.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/91952

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

7 years agoARM: tegra: whistler: Add slave address for i2c driver
Laxman Dewangan [Fri, 23 Mar 2012 09:00:33 +0000]
ARM: tegra: whistler: Add slave address for i2c driver

Configuring all i2c controller to have slave addresss to 0xFC
(unused slave address) to avoid responding the slave with general
call address.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/91951

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

7 years agoRevert "video: tegra: dc: Set default videomode"
Hunk Lin [Wed, 2 May 2012 21:35:47 +0000]
Revert "video: tegra: dc: Set default videomode"

This reverts commit 9349cedf17f9b3c10760c8d48f831473f87a3a15.

It is reviewed on http://git-master/r/99635
It will cause HDMI power ON and emc clock bump up to 667Mhz
after resume from LP0.

bug 930136

Change-Id: I130494fdb381b3d322ac0e3fc8be2e44f2c2d7a7
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/100202
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

7 years agoARM: tegra: power: Enforce CPU rate range in min cpu notifier
Alex Frid [Fri, 20 Apr 2012 06:04:28 +0000]
ARM: tegra: power: Enforce CPU rate range in min cpu notifier

On Tegra3 make sure cpu rate is within G-mode range before LP to G
mode switch triggered by minimum CPUs notifier.

Bug 964208

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

7 years agoarm: tegra: enterprise: Set gpio LCD_D8 to tristate
Karthik Ramakrishnan [Mon, 28 Nov 2011 19:27:18 +0000]
arm: tegra: enterprise: Set gpio LCD_D8 to tristate

LCD_D8 used for BAT_REMOVAL staus from PMU to be
programmed as input/tristate to in line with hardware
schematics. It is connected VIO_IN

Bug 955519
(Cherry picked from I692d8d805c54da3996c33b9837b197a6995689c8)
Change-Id: I68e6566249675cd5fce8aa954983478e4fc29a4c
Reviewed-On: http://git-master/r/#change,91589
Signed-off-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Reviewed-on: http://git-master/r/99742
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agogpio: tegra: implement gpio_request and gpio_free.
Laxman Dewangan [Tue, 24 Apr 2012 13:33:26 +0000]
gpio: tegra: implement gpio_request and gpio_free.

Recent pinctrl discussions concluded that gpiolib APIs
should in fact do whatever is required to mux a GPIO onto
pins.
This change is based on the work done by Stephen Warren in mainline
kernel.
-----
commit 3e215d0a19c2a0c389bd9117573b6dd8e46f96a8

    gpio: tegra: Hide tegra_gpio_enable/disable()

    Recent pinctrl discussions concluded that gpiolib APIs should in fact do
    whatever is required to mux a GPIO onto pins, by calling pinctrl APIs if
    required. This change implements this for the Tegra GPIO driver, and removes
    calls to the Tegra-specific APIs from drivers and board files.
----

Change-Id: I482ea5c177cf2ee6fa06ddac48b556f1508efacb
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/98466
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

7 years agovideo: tegra: dsi: Ref-count pllp_out3 clock in DSI.
Kevin Huang [Mon, 23 Apr 2012 20:59:55 +0000]
video: tegra: dsi: Ref-count pllp_out3 clock in DSI.

Bug 933653

Change-Id: If7ce4dc5129782a7e3487028d2dba01c9380ba90
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/98256
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agoARM: tegra: clock: Add DSI implicit dependency on PLLP
Alex Frid [Sun, 22 Apr 2012 03:08:40 +0000]
ARM: tegra: clock: Add DSI implicit dependency on PLLP

Added dsi fixed clock entry derived from PLLP_OUT3. This would allow
DC driver to properly ref-count implicit dependency of DSI operations
on PLLP_OUT3 clock.

Bug 933653

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

7 years agoarm: tegra: Update pinmux setting for nct alert
Ashwini Ghuge [Fri, 27 Apr 2012 07:26:32 +0000]
arm: tegra: Update pinmux setting for nct alert

Set KB_ROW11 pin to default PULL_UP to fix
the excessive interrupts from nct alert.

Bug 973536

Change-Id: Idab3769f3fe1945f5e0f487f7bd23a7c0b58d5d1
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/99339
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoRevert "arm: tegra3: change min_rate for clocks"
Amit Kamath [Thu, 26 Apr 2012 04:17:35 +0000]
Revert "arm: tegra3: change min_rate for clocks"

This reverts commit 5dc206986103aaa443fa6b0ef6fef20bcb35d299 because
it causes noisy audio playback on Tegra3 platforms with secure-os.

Bug 939415

Change-Id: Ib19962dd57a2560945d1c0ed49b3eade2c751446
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/98986
Reviewed-by: Automatic_Commit_Validation_User

7 years agonet: wireless: sd8797: change wlan interface to wlan0
Narayan Reddy [Thu, 26 Apr 2012 05:04:33 +0000]
net: wireless: sd8797: change wlan interface to wlan0

Change wlan interface from mlan to wlan.

Bug 954218

Change-Id: I5b2b2840a4830eda908a47cc0fc59d0479a1df34
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/98997
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>

7 years agoarm: tegra3: configs:marvel driver as a module
Narayan Reddy [Tue, 24 Apr 2012 12:39:11 +0000]
arm: tegra3: configs:marvel driver as a module

enable marvel driver as module to load at boot time

Bug 954218

Change-Id: I7dc6385dcbad7b7a7960b688c6d74bd6bc35cad9
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/98454
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agommc: host: Disable SDIO card clock when idle for Tegra 3 only
Mursalin Akon [Fri, 27 Apr 2012 22:21:05 +0000]
mmc: host: Disable SDIO card clock when idle for Tegra 3 only

The CL disables SDIO card clock when idle for Tegra 3 only.

Bonus: conditional build for some tegra 3 functionalities.

Bug 975541

Change-Id: I097c4771f3565bf9137d7854ada10c1fe8535056
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/99707
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Peer Chen <pchen@nvidia.com>

7 years agovideo: tegra: fb: Enable window state while pan
Shashank Sharma [Fri, 27 Apr 2012 11:24:04 +0000]
video: tegra: fb: Enable window state while pan

Set window enabled flag in pan display. This fixes a blank
window display while switching console from dc_ext device to
framebuffer device, and allows dc_ext and fbdev to co-exist.

Removed previous work around to unblank fb from
tegra_dc_blank function.

Bug: 970263
Bug: 963480

Change-Id: I9853da211f78815246965d240d1717345c5ab391
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/99422
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

7 years agoasoc: codecs: spdif: Add support for setting bias level
Manoj Gangwal [Mon, 30 Apr 2012 15:47:24 +0000]
asoc: codecs: spdif: Add support for setting bias level

Allow setting bias level to turn off clock extern1 on KAI when
codec is idle. Added a dummy widgets to make the target_bias_level
to BIAS_OFF as per required by the new ALSA kernel.

Bug 964287

Change-Id: I628744040866a9879eedc41ed4ee25af38ed86fb
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/99667
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agoasoc: tegra: pcm: Add support for setting bias level
Manoj Gangwal [Mon, 30 Apr 2012 15:36:45 +0000]
asoc: tegra: pcm: Add support for setting bias level

Allow setting bias level to turn off clock extern1 when codec
is idle.

Bug 964287

Change-Id: I48056b86a9fdaea70202bee9326debaaddf69c0c
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/99665
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoasoc: tegra: ALC5640 machine: Add support for setting bias level
Manoj Gangwal [Mon, 30 Apr 2012 15:29:19 +0000]
asoc: tegra: ALC5640 machine: Add support for setting bias level

Allow setting bias level to turn off clock extern1 when codec
is idle.

Bug 964287

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

Change-Id: Icc11e8bfb359b432f0bfd9ba214877259188de2b
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/99659
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agovideo: tegra: dc: Set default videomode
Shashank Sharma [Mon, 30 Apr 2012 12:06:24 +0000]
video: tegra: dc: Set default videomode

Set default videomode during the dc probe. This patch enables
HDMI during the probe only and fixes following issues:
1. Until Xinit there was no display on HDMI.
2. Framebuffer console on HDMI needs it to be enabled well before
   Xinit.

Bug: 930136
Change-Id: Ieaf5c69eefa4a6584893425ad4fd772bcd91ea11
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Reviewed-on: http://git-master/r/99635
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: kai: do not enable wakeup for interrupt keys
Johnny Qiu [Sat, 28 Apr 2012 08:07:44 +0000]
arm: tegra: kai: do not enable wakeup for interrupt keys

Bug 975433

MAX77663 driver hasn't implemented irq_set_wake(). Actually its
interrupt always wakes up AP. Set wakeup = false to reduce warning
messages in kernel.

Change-Id: Id4f43d7d2ba879c92846091e2062765de7ea477e
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/99536
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agoarm: tegra: kai: disable the always-on flag of modem regulator
Hunk Lin [Sat, 28 Apr 2012 01:21:20 +0000]
arm: tegra: kai: disable the always-on flag of modem regulator

Disable the always-on flag of modem regulator so the regulator is possilbe
to be powered off.

bug 966960

Change-Id: Ibe88e6a5554c7fde27b9142b35d26d252aa40334
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/99494
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoARM: tegra: add powergating trace event
Peter De Schrijver [Fri, 27 Apr 2012 13:52:16 +0000]
ARM: tegra: add powergating trace event

Add a trace event for powergating. The existing power_domain_target is used.
state 0 is used for off and state 1 is used for on. This patch only traces
non CPU domains. The powerstate of CPU domains is already traced using
power_start events.

bug 976845

Change-Id: Ic9503f7b42b35c0bf70c7b64a7f15c4960637200
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/99416
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agoASoC: tegra: Fix bit-format checking
Jubeom Kim [Fri, 27 Apr 2012 07:19:30 +0000]
ASoC: tegra: Fix bit-format checking

condition to check bit-format is always false
because TEGRA20_I2S_CTRL_BIT_FORMAT_I2S is zero.

Bug 947429

Change-Id: Ieb92f0732b092100dc1bf323ad60aff4439d5b3d
Signed-off-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-on: http://git-master/r/99341
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>

7 years agoRevert "video: tegra: dc: Clear window option before window update."
Kevin Huang [Thu, 26 Apr 2012 23:45:05 +0000]
Revert "video: tegra: dc: Clear window option before window update."

This reverts commit 90b79e5712300baab889772a5af348559ac95836.

Bug 955393

Change-Id: I0e2a15b7d0898dbbb62f09d8bd3502ec93366664
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/99261
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Nirav Patel <nipatel@nvidia.com>
Reviewed-by: Adam Cheney <acheney@nvidia.com>
Tested-by: Adam Cheney <acheney@nvidia.com>

7 years agoregulator: add sysfs for rail enable/disable
Laxman Dewangan [Thu, 26 Apr 2012 18:49:43 +0000]
regulator: add sysfs for rail enable/disable

Added support for enable/disable rails from user space.

bug 966960

Change-Id: Iae660699c60f537296f90508a78bd40959c46535
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/99186
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hunk Lin <hulin@nvidia.com>
Tested-by: Hunk Lin <hulin@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agoasoc: tegra: Add PCM driver for TDM mode
Nitin Pai [Thu, 26 Apr 2012 13:34:54 +0000]
asoc: tegra: Add PCM driver for TDM mode

Modified existing pcm driver to take dma mode/ hw structure.
Exported the functions needed for other pcm mode driver.
Added new TDM mode hw param structure.
Added pass SINGLE/DOUBLE buffered dma mode params.

Bug 948478

Change-Id: I58309d52748f813b3303a8d6a052fbb6cc7ca87a
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/99146
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: change function declaration to static
Rahul Mittal [Thu, 26 Apr 2012 11:09:23 +0000]
arm: tegra: change function declaration to static

Change-Id: Ib16ea10bf1acc2c7171935429635502aee80f3f4
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/99072
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agopower: smb349: update correct charger status
Syed Rafiuddin [Wed, 25 Apr 2012 11:49:00 +0000]
power: smb349: update correct charger status

Update correct status to fuel-gauge driver
when charger cable is disconnected.

Bug 960318

Change-Id: I4c3ad2030ada7c06825e80a3eb4697b669fe7cb6
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/98719
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agomfd: max77663: Add FPWM and FSRADE clearing when initialization
Jinyoung Park [Wed, 25 Apr 2012 11:07:16 +0000]
mfd: max77663: Add FPWM and FSRADE clearing when initialization

If sd power rail is not configured to FORCED_PWM_MODE or
FSRADE_DISABLE, clear corresponding bits(FPWM and FSRADE)
when initialization.

Change-Id: I4e08329a430c6ccf7179b77cc7a283460ffaedd1
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/98715
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agopower: smb349: fix NULL pointer issue.
Syed Rafiuddin [Wed, 25 Apr 2012 10:13:26 +0000]
power: smb349: fix NULL pointer issue.

Configure i2c client structure in update charger structure
only when the charger driver is in use.

If charger driver is not used return -ENODEV

Change-Id: Ib1bc99145ee75bea819f69157920f9096e5d40ba
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/98712
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agopower: max17048: correcting vcell calcualtion
Syed Rafiuddin [Wed, 11 Apr 2012 10:15:46 +0000]
power: max17048: correcting vcell calcualtion

Vcell is calculated based on upper 12msb's of ADC result.

Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/95830
(cherry picked from commit e550636d9b03207b9d4fecf078168175964d85fd)

Change-Id: Ic2834d8c8576b938e9d7d400c2beeb459ddeb5fc
Reviewed-on: http://git-master/r/98669
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agovideo: tegra: host: t30: use max 2d clock
Donghan Ryu [Wed, 25 Apr 2012 06:43:09 +0000]
video: tegra: host: t30: use max 2d clock

setting max 2d clock can make noticeable performance difference
in 2d limited usecase such as buffer clearing

Change-Id: I40ef999e7eeebff45b657f00293608561cae831d
Signed-off-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-on: http://git-master/r/98644
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agomedia: video: tegra: sh532u focus driver
Erik Lilliebjerg [Mon, 26 Mar 2012 16:40:58 +0000]
media: video: tegra: sh532u focus driver

- Abort initialization if an I2C error to avoid excessive load on the I2C bus
since it is heavily used during initialization.
- Updated to the latest NVC framework.
- Added feature that allows for the key focus points to be set at runtime
and the relative positions recalculated.

Bug 929133
Bug 938934

Change-Id: Ida4ab885bf35057ae6df131e3ec3587a891a7dc9
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/93944
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoarm: tegra: sh532u focuser board support
Erik Lilliebjerg [Mon, 26 Mar 2012 15:45:01 +0000]
arm: tegra: sh532u focuser board support

Enabling the sh532u driver feature to not register itself
if it does not identify the sh532u device during probe.
This is for the case where the platform does not populate
the device.

Bug 929133

Change-Id: Ic5ac7fa0ae4c05e4978fe7aebc3fc630ef1c2fd3
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/92340
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agousb: host: tegra: configure hotplug in usb phy driver
ahcheng [Mon, 20 Feb 2012 12:01:16 +0000]
usb: host: tegra: configure hotplug in usb phy driver

Properly configure USB_PHY_CLK_VALID_INT_ENB.

Bug 926787

Change-Id: I9c70ce4e35e5c3b841c6240cbb4ce1c9b9f2a8ff
Signed-off-by: ahcheng <ahcheng@nvidia.com>
Reviewed-on: http://git-master/r/84800
(cherry picked from commit 2eba70e75f6baa9e76bea309927b9841dd32bb9e)
Reviewed-on: http://git-master/r/98798
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarch: arm: tegra: Add support for marvell 8797
Nitin Bindal [Thu, 26 Apr 2012 09:48:59 +0000]
arch: arm: tegra: Add support for marvell 8797

If bootloader specify that marvell wifi chip is
present on the board, then create marvell wifi device,
else create broadcom wifi device.

Bug 954218

Change-Id: Ia0515e70b6d4b239a165b8d8629e3b90c19666b6
Signed-off-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-on: http://git-master/r/98490
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agonet: wireless: sd8797: Add Kconfig to marvel sd8797
Narayan Reddy [Thu, 26 Apr 2012 06:40:32 +0000]
net: wireless: sd8797: Add Kconfig to marvel sd8797

add Konfig to marvel 8797 and some tailing
space corrections.

Bug 954218

Change-Id: I2885f2a74dea14ffeeb5dad65e03e217c77c5013
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/98436
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoarm: tegra: kai: code cleanup
naveenk [Fri, 20 Apr 2012 10:31:34 +0000]
arm: tegra: kai: code cleanup

For kai we are not using embedded_sdio
this patch removes embedded_sdio_data

Bug 932086

Change-Id: Id787803094b6baa39c02bb65bead04d819d04b23
Reviewed-on: http://git-master/r/97884
Tested-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agonet: wireless: sd8797: Marvell sd8797 Wi-Fi driver
Mohan T [Thu, 26 Apr 2012 05:23:57 +0000]
net: wireless: sd8797: Marvell sd8797 Wi-Fi driver

Initial commit for Marvell sd8797 Wi-Fi driver
Package Ver: T3T-14.69.11.p111-M2614303_A0B0-MGPL

Bug 954218

Change-Id: I76fcadb5cda054d1e489c4cff77a3c461bdac742
Signed-off-by: Mohan T <mohant@nvidia.com>
Reviewed-on: http://git-master/r/97305
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoarm: tegra: disable built_in support for sdio
naveenk [Thu, 12 Apr 2012 09:04:55 +0000]
arm: tegra: disable built_in support for sdio

disable built_in support for sdio devices on cardhu,ventana
whistler and kai

Bug 956238
Bug 932086

Change-Id: I090174f6119729d25736a7704c6a458eeeb230c5
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/96079
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agotegra: usb: phy: fix the struct name of hsic
Jubeom Kim [Mon, 5 Mar 2012 06:00:45 +0000]
tegra: usb: phy: fix the struct name of hsic

Change-Id: I54a46230ee743ac9c740048cdb38328947d52c3c
Signed-off-by: Jubeom Kim <jubeomk@nvidia.com>
Reviewed-on: http://git-master/r/96133
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agosecurity: tf_driver: update with latest TL drop
Chris Johnson [Fri, 27 Apr 2012 01:39:55 +0000]
security: tf_driver: update with latest TL drop

Tegra 2 version: TF_TEGRA2_AA01.07.34078
Tegra 3 version: TF_TEGRA3_AB01.06.34049

Bug 950169

Signed-off-by: Chris Johnson <cwj@nvidia.com>
Reviewed-on: http://git-master/r/89927
(cherry picked from commit 28fc4a5b80a0f6db3e6dc50efd8c0412e2ae11bf)

Change-Id: I41413b4f00d243e3bb56d44fb32eea29d0291401
Reviewed-on: http://git-master/r/90445
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chris Johnson <cwj@nvidia.com>
Tested-by: Chris Johnson <cwj@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agomedia: video: tegra: ar0832: adjust frame rate
Jihoon Bang [Tue, 14 Feb 2012 02:00:13 +0000]
media: video: tegra: ar0832: adjust frame rate

Change line_length for 1080p mode in order to change
frame rate from 31.30 to 29.50 fps.
The reason that new fps is not 30 is because flicker
detection requires fps not to be multiples of 60/50Hz.

This change helps save power and lower the chance of frame
drop.

Bug 928296

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

7 years agoarm: tegra: baseband: Discard modem remote wakeup in L3 transition
Steve Lin [Tue, 3 Apr 2012 23:50:21 +0000]
arm: tegra: baseband: Discard modem remote wakeup in L3 transition

There is race between USB autopm and system PM. The device's upstream
port may not be ready if USB autopm is triggered by modem remote wakeup
GPIO during the L3 to L0 or L0/L2 to L3 transition.

Bug 955162

Reviewed-on: http://git-master/r/91369
(cherry picked from commit b668f74e93a4ae33b380744a8ac28c098456b459)

Change-Id: I1a9c2dadb530144aa8741370247272b6962fe777
Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/96593
Reviewed-by: Automatic_Commit_Validation_User

7 years agoALSA: HDA: set max_channel only based on LPCM capability
Sumit Bhattacharya [Thu, 5 Apr 2012 12:31:40 +0000]
ALSA: HDA: set max_channel only based on LPCM capability

Set maximum supported channels of HDA driver based on the LPCM channel
capability of the HDMI device. This is needed because user space
decides number of PCM channels to be sent to kernel based on this
information.

Bug 960940

Change-Id: I59ae3b7d47dcf26f697bfb0877ca24556f0ab1fa
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/94831
Reviewed-on: http://git-master/r/98783
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>

7 years agoasoc: tegra: ALC5640 machine:Add support to detect HP in LP0
Manoj Gangwal [Wed, 25 Apr 2012 12:52:01 +0000]
asoc: tegra: ALC5640 machine:Add support to detect HP in LP0

Add Support to detect the HP insertion or removal during
LP0 state.

Bug 969405

Change-Id: Ibedf1769338e16877240ea9cc82fa7469eb7ff9e
Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-on: http://git-master/r/98745
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: clock: Move SCLK shared users initialization
Alex Frid [Sun, 22 Apr 2012 03:26:19 +0000]
ARM: tegra: clock: Move SCLK shared users initialization

Moved SCLK shared users initialization from silicon only section
of init table to common silicon/emulation section - there is no
reason to limit this settings to silicon only.

Change-Id: Ib1aa1bd3f98008b6584222e6c49f0825d635b8bd
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/98104
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoASoC: Tegra: Make dma_req count easily configurable
Sumit Bhattacharya [Fri, 20 Apr 2012 11:56:35 +0000]
ASoC: Tegra: Make dma_req count easily configurable

Instead of always using 2 dma_req count pass max dma_req_count
through a macro. Ensure dma_req_count does not cross
period_count.

Bug 968814

Change-Id: Iddfbd77017992ccb8c90441213e191133dadb347
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/97915
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agoASoC: Tegra: Pass snd_soc_card handle in tegra_asoc_utils_init
Sumit Bhattacharya [Fri, 20 Apr 2012 09:40:59 +0000]
ASoC: Tegra: Pass snd_soc_card handle in tegra_asoc_utils_init

Change prototype of tegra_asoc_utils_init to pass snd_soc_card handle.
It is needed to move common tegra machine driver codes to
tegra_asoc_utils interface.

Bug 968814

Change-Id: I98490ffdda51cf7d0b89adadb23c31892183bc0e
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/97914
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agousb: otg: tegra: change logic for enable clock
Andy Carman [Wed, 7 Mar 2012 05:25:18 +0000]
usb: otg: tegra: change logic for enable clock

When there is PMU interrupt we need to enable controller
clock. For this currently, work is being schedule, removing
this as clock can be enabled directly without scheduling
any work.

bug 925958
bug 941899

Signed-off-by: Andy Carman <acarman@nvidia.com>
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/88777
(cherry picked from commit fc31c04b7124f30970e862dd1b21a97d18dca38e)

Change-Id: I8f6e7325771219488440226ddde97a32da228608
Reviewed-on: http://git-master/r/97882
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agommc: tegra: enable MMC_PM_IGNORE_PM_NOTIFY
naveenk [Thu, 12 Apr 2012 08:22:32 +0000]
mmc: tegra: enable MMC_PM_IGNORE_PM_NOTIFY

enable MMC_PM_IGNORE_PM_NOTIFY for all sd instances

Bug 956238
Bug 932086

Change-Id: I4d455e480eabace403719f1813d97abfa4d01924
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/96071
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agoARM: tegra: fuse: Remove overriding chipid and rev
Juha Tukkinen [Wed, 11 Apr 2012 12:50:30 +0000]
ARM: tegra: fuse: Remove overriding chipid and rev

Remove overriding chipid and revision from command line as this is
not used anywhere.

Change-Id: I41789534c51c14b5194ba84be4b312b99b25c281
Signed-off-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-on: http://git-master/r/95871
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agovideo: tegra: host: Reset 3D after power on
Terje Bergstrom [Mon, 5 Mar 2012 07:02:30 +0000]
video: tegra: host: Reset 3D after power on

Sometimes 3D unit comes up with incorrect scissor configuration.
Earlier patch added the scissor registers to the context save list,
but that did not solve the problem. Remove the extra registers, and
reset 3D after powering it up.

Bug 939307

Change-Id: Id795f2d99ec3c6b907da2785b1816ce753af7a3f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/87654
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Graziano Misuraca <gmisuraca@nvidia.com>
Tested-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>

7 years agovideo: tegra: dsi: Add DSI register dump in debugfs.
Kevin Huang [Tue, 24 Apr 2012 18:48:39 +0000]
video: tegra: dsi: Add DSI register dump in debugfs.

Bug 951349

Change-Id: I79fb2e49fa38b83af78323b5f5cf6dbca8fd83c2
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/98512
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoARM: vfp: Prevent process migration
Hyungwoo Yang [Fri, 20 Apr 2012 17:10:57 +0000]
ARM: vfp: Prevent process migration

System crashes if there is process migration during vfp_init() call.

During vfp_init(), if a process which called vfp_enable() is migrated just
after the call, then the process executing the rest of code will access
a VFP unit which is not ENABLED and also smp_call_function() will not work
as it is expected.

This patch prevents process migration during vfp_init().

Bug 968524
Bug 961609
Bug 957974
Bug 958581
Bug 959838
Bug 946739

Change-Id: I18c0ff3af490578afd5add7a1d64cab8c8ebf487
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/98029
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agonet: usb: raw-ip: Fix autopm / system suspend issues.
Michael Hsu [Fri, 24 Feb 2012 05:18:10 +0000]
net: usb: raw-ip: Fix autopm / system suspend issues.

Add system suspend count and avoid urb activity during
system suspend.  Use async autopm to avoid deadlock with
system suspend.  Do not allocate rx urb's constantly -
allocate once upon init, free rx urb upon exit.

Bug 929408, 952748, 957354

Change-Id: I4ea050fc881528cf44d2039d42891e21c9df8c4e
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
(cherry picked from commit 8bd7322127ccf6727d949f4bc1b2a4eac4b6814e)
Reviewed-on: http://git-master/r/95166
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoarm: oprofile: backtracing support for Android
Oleg Strikov [Mon, 28 Feb 2011 19:19:48 +0000]
arm: oprofile: backtracing support for Android

The stack frame for Android is slightly different than that used
for vanilla Linux.
Bug 935536

Signed-off-by: Ryan V. Bissell <rbissell@nvidia.com>
Reviewed-on: http://git-master/r/82600
(cherry picked from commit bb6d1e211bdb41c129ee17489814327d7d8d2fb8)

Change-Id: Ie0e924d45398c7def58e3722035911d905614b6f
Reviewed-on: http://git-master/r/89507
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Oleg Strikov <ostrikov@nvidia.com>
Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
Tested-by: Ryan Bissell <rbissell@nvidia.com>

7 years agohdmi: Set INJECT_NULL_SAMPLE only for stereo streams
Sayak Ghosh Choudhury [Tue, 24 Apr 2012 14:39:09 +0000]
hdmi: Set INJECT_NULL_SAMPLE only for stereo streams

Bug 953210

Change-Id: Id40b3fe90174a2a8c9a6faf3f35f61d9f7eeb642
Signed-off-by: Sayak Ghosh Choudhury <sayakc@nvidia.com>
Reviewed-on: http://git-master/r/98477
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoasoc: tegra: Add TDM mode support
Nitin Pai [Tue, 24 Apr 2012 10:27:51 +0000]
asoc: tegra: Add TDM mode support

Added TDM mode support in I2S driver.
Added support functions in AHUB to pass audio/client bits.
Added support functions in AHUB to pass audio/client channels.
Fixed the stopping of I2S/TDM by clearing the fifo.

Bug 948478

Change-Id: I246942b3a07ffcfbcfafbc820208190bd3acc5d4
Signed-off-by: Nitin Pai <npai@nvidia.com>
Reviewed-on: http://git-master/r/98456
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>