5 years agoEDP: add sysedp_reactive_capping
Timo Alho [Sun, 22 Dec 2013 11:04:40 +0000]
EDP: add sysedp_reactive_capping

This patch adds a sysedp_reactive_capping component. This component
monitors the rate of over current (OC) interrupts from soc_therm
hardware. During frequent events, sysedp_reactive_capping increases
it's power state to reduce the budget available for AP+DRAM.

sysedp_reactive_capping hooks into interrupts provided by soc_therm.
Towards system EDP framework, sysedp_reactive_capping acts as sysedp
consumer.

Change-Id: I53918c7cf63cbfd689b78abd17a77d97f5ed985a
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/348416
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoedp: add DT support for sysedp battery monitor
Kerwin Wan [Thu, 5 Dec 2013 15:13:13 +0000]
edp: add DT support for sysedp battery monitor

Bug 1391872

Change-Id: I31bbe2b2fe18c8fd46b8d70980639511e21c9dd2
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/338795
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoarm: dts: loki: add MPU sensor configuration
Louis Li [Fri, 27 Dec 2013 09:56:17 +0000]
arm: dts: loki: add MPU sensor configuration

Bug 1429236
Bug 1429233

Change-Id: Ifce67135023832fed326e26f17597cbbd4809805
Signed-off-by: Louis Li <louli@nvidia.com>
Reviewed-on: http://git-master/r/350104
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoDoc: spi: tegra: Add spi client dt properties
Shardar Shariff Md [Tue, 17 Dec 2013 05:19:53 +0000]
Doc: spi: tegra: Add spi client dt properties

Add description of spi client device controller
dt properties.

Bug 1422369

Change-Id: Icb6d75b19d44c2151a153824b957cf6b9cbed209
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/346248
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agovideo: tegra: host: Fix pin error paths
Arto Merilainen [Mon, 30 Dec 2013 13:58:08 +0000]
video: tegra: host: Fix pin error paths

The code did not release the handle private data mutex correctly if it
failed to pin the handle. This lead to deadlock when we later tried to
pin/unpin the same handle.

Bug 1408131

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

5 years agovideo: tegra: host: gk20a: Drop ref on map error
Arto Merilainen [Mon, 30 Dec 2013 13:54:01 +0000]
video: tegra: host: gk20a: Drop ref on map error

gk20a memory management code did not correctly drop reference to
nvmap handle or nvmap client if we were unable to actually map
the memory to gk20a memory space. This leaded to memory leaks in
some use cases.

Bug 1408131

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

5 years agovideo: tegra: nvmap: Fix pin failure path
Arto Merilainen [Mon, 30 Dec 2013 13:50:37 +0000]
video: tegra: nvmap: Fix pin failure path

If pinning failed while getting sg table, the code did not drop
just-taken reference to nvmap handle or release mappings mutex.
This patch fixes the error path to correctly drop reference
and release the lock.

Bug 1408131

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

5 years agoEDP: remove old system EDP framework (documentation)
Timo Alho [Sun, 29 Dec 2013 12:25:12 +0000]
EDP: remove old system EDP framework (documentation)

Revised system edp software framework has been put in place. This
patch removes old system edp documentation (under Documentation/edp).

Bug 1431977

Change-Id: I4d4e64c6c086648ac3bda59d0d3783230a983e06
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/350415
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoEDP: remove old system EDP framework (framework code)
Timo Alho [Sun, 29 Dec 2013 11:58:09 +0000]
EDP: remove old system EDP framework (framework code)

Revised system edp software framework has been put in place. This
patch removes old framework code under drivers/edp.

Bug 1431977

Change-Id: Icde6ad7066e15172863a39388904309ce2c75c39
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/350414
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoEDP: remove old system EDP framework (pluto/macallan support)
Timo Alho [Sat, 28 Dec 2013 17:38:39 +0000]
EDP: remove old system EDP framework (pluto/macallan support)

Revised system edp software framework has been put in place. This
patch removes old system edp framework initialization from pluto and
macallan board files.

Bug 1431977

Change-Id: Id9ccb01f200fdeb9950600a4c5fa2b4967f77eaf
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/350413
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agomedia: platform: WAR - add delay to front sensor
Amey Asgaonkar [Fri, 27 Dec 2013 01:58:36 +0000]
media: platform: WAR - add delay to front sensor

*add delay in front sensor register write for tn8
 to temporary fix the syncpoint timeout issue which
 gets resolved with addition of the delay.
*camera sanity is completely blocked due to this sync
 point timeout issue

Bug 1406356

Change-Id: I226b5a1691c8ac5bc6487759f8d6fee884454dc8
Signed-off-by: Amey Asgaonkar <aasgaonkar@nvidia.com>
Reviewed-on: http://git-master/r/349941
Reviewed-by: Naveen Kumar Rai <nkumarrai@nvidia.com>
Tested-by: Naveen Kumar Rai <nkumarrai@nvidia.com>
Reviewed-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chien-Yu Chen <chichen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: misc_cryptodev: Dead code,null pointer
Sumit Singh [Wed, 18 Dec 2013 11:18:24 +0000]
ARM: tegra: misc_cryptodev: Dead code,null pointer

Coverity id : 25324
Coverity id : 25323

Bug 1416640

Change-Id: Idf3568b429c4ef9c1dbce8f06b0d76d57a257aa7
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/347024
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra: pcie: Fix rootport 1 detection
Jay Agarwal [Mon, 30 Dec 2013 12:33:25 +0000]
ARM: tegra: pcie: Fix rootport 1 detection

Bug 1333935

Change-Id: I39137ed64e75745c330f064a2e373b4e7f27c98c
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/350582
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: add cldvfs clock requirement for I2C5 dt node
Laxman Dewangan [Fri, 27 Dec 2013 10:06:22 +0000]
ARM: tegra: add cldvfs clock requirement for I2C5 dt node

I2C5 (power i2c) bus shared between cldvfs and I2C5 controller.
For bus arbitration, the cldvfs clock need to be enable.

Pass this information through DT node so driver can enable this
clock.

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

5 years agoi2c: tegra: add dt parsing for cldvfs clock requirements
Laxman Dewangan [Fri, 27 Dec 2013 10:02:17 +0000]
i2c: tegra: add dt parsing for cldvfs clock requirements

I2C5 (power i2c) bus shared between cldvfs and I2C5 controller.
For bus arbitration, the cldvfs clock need to be enable.

Parse this information from DT node and enable clock accordingly.

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

5 years agoARM: tegra: move OF_DEV_AUXDATA of I2C to header file
Laxman Dewangan [Thu, 26 Dec 2013 14:16:05 +0000]
ARM: tegra: move OF_DEV_AUXDATA of I2C to header file

To avoid duplication for OF_DEV_AUXDATA of I2C, move it to
header file and referred it from different board files.

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

5 years agoARM: clock: fix driver name for clk-duplicate of i2c
Laxman Dewangan [Mon, 30 Dec 2013 09:51:11 +0000]
ARM: clock: fix driver name for clk-duplicate of i2c

Change teh driver name of i2c for clock duplicate from
tegra14-i2c to tegra12-i2c as the driver name is tegar12-i2c.x.

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

5 years agoPM / QoS: cleanup FLAGS notifiers during removing
Bryan Wu [Fri, 20 Dec 2013 02:24:12 +0000]
PM / QoS: cleanup FLAGS notifiers during removing

DEV_PM_QOS_FLAGS was introduced in commit
c92b96f94cdc26e33ea490a9a0e02c16988a6dd6, but it was forgot to remove
in dev_pm_qos_remove_notifier().

So without this patch, kernel will enter an endless loop in
notifier_chain_register() when reloading a module multiple times.

Bug 1421146

Change-Id: I6b98fe57a70f172d110cc5f257ce4f853a447802
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/347823
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra12: vcm30t124: Set clocks at POR
Ashwin Joshi [Mon, 23 Dec 2013 09:45:04 +0000]
ARM: tegra12: vcm30t124: Set clocks at POR

Set the clocks for vcm30t124 at POR value.

Bug 1410210

Change-Id: I44fa2b7c1ea300b6f79356e624f49e34c5f2444e
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/345716
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agofbmem: add logs in FBIOBLANK
Sumit Singh [Mon, 30 Dec 2013 06:42:55 +0000]
fbmem: add logs in FBIOBLANK

These logs are added to provide additional information
while running boot and suspend stress tests.

Bug 1412045

Change-Id: I17b6c3501ae09f2807ee8710aa4b37d4a0ec6301
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/350517

5 years agoARM: tegra: dt: creating dts for foster
Vinayak Pane [Thu, 19 Dec 2013 01:03:58 +0000]
ARM: tegra: dt: creating dts for foster

Loki dts is not applicable to Foster.

Bug 1427366

Change-Id: I3d976c426e0f305c223d2fc465f9e797fe18c767
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/347251
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>

5 years agoRevert "arm: tegra: tn8-ffd: add thermal sensor support"
Robert Shih [Mon, 30 Dec 2013 23:40:42 +0000]
Revert "arm: tegra: tn8-ffd: add thermal sensor support"

This reverts commit a43b9e07d6c64f7e3c125ae06e9ee7fb82070b84.

Bug 1429331

Change-Id: I739e57c282880061bb713fddaa7f3d99072f220d
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/350766
Reviewed-by: Eric Chuang <echuang@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: tn8-ffd: add thermal sensor support
Robert Shih [Fri, 27 Dec 2013 23:18:27 +0000]
arm: tegra: tn8-ffd: add thermal sensor support

Register I2C device TMP451 (0x4c) on GEN1_I2C.
Initialize VDD regulator on 1.8V AON rail.

Bug 1429331

Change-Id: Id89a030962a4c610906f523c4976da97ecf45e3a
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/350269
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agodrivers: misc: gps: correct power sequence
Rakesh Goyal [Sat, 28 Dec 2013 11:05:25 +0000]
drivers: misc: gps: correct power sequence

Bug 1430167

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

5 years agoARM: tegra: loki: correct direction for GPIO_PH4
Rakesh Goyal [Sat, 28 Dec 2013 06:13:00 +0000]
ARM: tegra: loki: correct direction for GPIO_PH4

Bug 1430167

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

5 years agoARM: tegra: tn8: add power monitor devices for P1761
Timo Alho [Mon, 23 Dec 2013 12:18:55 +0000]
ARM: tegra: tn8: add power monitor devices for P1761

Change-Id: I6d5cf5977cd5497e24f541f539ee3eaa843d890c
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/349016
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoEDP: remove old system EDP framework (emmc support)
Timo Alho [Sat, 28 Dec 2013 09:51:51 +0000]
EDP: remove old system EDP framework (emmc support)

This reverts commit 32609d0a9896ec47c522fd4cd0ca11ff0d27f046.

Revised system edp software framework has been put in place. This
patch removes old system edp client support from emmc/microsd driver
code.

Bug 1431977

Change-Id: I419f3f243af54579a12417e3a12f841c8d925410
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/350404
GVS: Gerrit_Virtual_Submit
Reviewed-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoarm: tegra12: Enable MC holdoff state
Terry Wang [Mon, 25 Nov 2013 11:44:34 +0000]
arm: tegra12: Enable MC holdoff state

Enable MC holdoff state in EMC init for tegra12.

bug 1407116

Change-Id: I76474c3ef9b1e7dc8c1dbaadc93bf9c94c574b88
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/335066
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ryane Luo <ryanel@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra12: Adding MC Holdof related definition
Terry Wang [Fri, 29 Nov 2013 05:29:23 +0000]
arm: tegra12: Adding MC Holdof related definition

Add definitions of MC Holdoff state related registers/function
for T124

Bug 1407116

Change-Id: Ifad5a01e8d6f6433bc459e014304a9510c535d8c
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/335065
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ryane Luo <ryanel@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoarm: tegra12: Enable MC holdoff state in resume
Terry Wang [Mon, 25 Nov 2013 11:25:46 +0000]
arm: tegra12: Enable MC holdoff state in resume

Enable MC holdoff state when system resume from LP0

bug 1407116

Change-Id: Idf3853606fbfb248d0623fc14abeb7c72af72682
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/335069
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ryane Luo <ryanel@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: move pinmux to DT for pluto
Laxman Dewangan [Thu, 26 Dec 2013 12:57:47 +0000]
ARM: tegra: move pinmux to DT for pluto

Move the pinmux table of Pluto to DT.

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

5 years agovideo: tegra: avp: Add "break" after an ioctl case
Mandar Potdar [Wed, 25 Dec 2013 10:18:12 +0000]
video: tegra: avp: Add "break" after an ioctl case

One "break" was removed in a switch-case code.
Add it back.

bug 1371298
bug 1430690

Change-Id: Iabcb796dc2c8435f391f8396ac10f10d7e0d6136
Reviewed-on: http://git-master/r/349597
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Mandar Potdar <mpotdar@nvidia.com>
Reviewed-by: Mohan Nimaje <mnimaje@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agomedia: platform: tegra: dw9718: ioctl param power
Gary Fitzer [Thu, 19 Dec 2013 22:19:48 +0000]
media: platform: tegra: dw9718: ioctl param power

Remove power toggles associated with non-power related
ioctl calls.

Bug 1424277.

Change-Id: I61918fc075ef2ceae208c14e3e55312b482594a5
Signed-off-by: Gary Fitzer <gfitzer@nvidia.com>
Reviewed-on: http://git-master/r/347706
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: tegra: pcie: Remove dock detect variable
Jay Agarwal [Thu, 26 Dec 2013 14:03:25 +0000]
ARM: tegra: pcie: Remove dock detect variable

Removing unnecessary dock detect variable which
was appropriate for T30 using PM293 dock. T124
does not use any such dock

Bug 1406265

Change-Id: I29078472b269f73a8b4a60ea98c5c3a7d8c907ed
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/349765
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoARM: tegra: pcie: Remove unfair arbitration WAR
Jay Agarwal [Fri, 27 Dec 2013 10:09:20 +0000]
ARM: tegra: pcie: Remove unfair arbitration WAR

T124 does not need this WAR as required registers
are already initialized properly for it.

Bug 1412769

Change-Id: I949cc79b6c37d5ed227eead3c7f72de094eaaad2
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/350108
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoarm: tegra: update e1922 dvfs table in DT
Ryane Luo [Fri, 27 Dec 2013 08:53:23 +0000]
arm: tegra: update e1922 dvfs table in DT

update dvfs table to 5.0.12 E1922.

Change-Id: I62a33afddd669c2727f99a75d814bafa21df0bf8
Signed-off-by: Ryane Luo <ryanel@nvidia.com>
Reviewed-on: http://git-master/r/350068
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: tn8: ffd switch pinmux settings to DT
Robert Shih [Sat, 14 Dec 2013 00:59:28 +0000]
arm: tegra: tn8: ffd switch pinmux settings to DT

Bug 1412441

ldewangan: Change added on Makefile

Change-Id: Ie44e7fd0bcc9130ee7f3f5c4a94c85908ea333f6
Signed-off-by: Robert Shih <rshih@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/345524
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: loki: Correct pinmux for IR Rx
Jun Yan [Thu, 19 Dec 2013 00:32:27 +0000]
arm: tegra: loki: Correct pinmux for IR Rx

Set IR Rx pin to input GPIO.

Bug 1353511

Change-Id: Id6f80e0ff683843d9e960841df3919e50353e308
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/347817
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>

5 years agoARM: Tegra: Fixed vi power regulator issue.
Prafull Suryawanshi [Fri, 27 Dec 2013 00:44:26 +0000]
ARM: Tegra: Fixed vi power regulator issue.

As power regulator is not registered, it fails to open
channel resulting in failure of launching camera.

Bug 1412441

Change-Id: I86340d60f692edb036c21085a681d649e8f364ec
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/349913
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: loki: Add DT support for bq2419x
Aaron Huang [Wed, 25 Dec 2013 07:26:21 +0000]
ARM: tegra: loki: Add DT support for bq2419x

Move bq2419x platform data to device tree.

Bug 1429362

Change-Id: I96d33274ffab3da3ee5b932292047d53cbd064db
Signed-off-by: Aaron Huang <aaronh@nvidia.com>
Reviewed-on: http://git-master/r/349568
Reviewed-by: Chun Xu <chunx@nvidia.com>
Reviewed-by: Yunfan Zhang <yunfanz@nvidia.com>
Reviewed-by: Louis Li <louli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoEDP: add pthrot field to AP+DRAM sysedp tables
Timo Alho [Mon, 23 Dec 2013 09:13:06 +0000]
EDP: add pthrot field to AP+DRAM sysedp tables

This patch adds a pthrot data field to AP+DRAM sysedp capping
tables. Pthrot denotes the amount of power that is reduced when CPU
and GPU are fully throttled (100%).

Change-Id: I1822d2608aca2d8b23763992ba72276db3ae9cbd
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/348919
Reviewed-by: Steve Rogers <srogers@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoarm: tegra: spi: add controller data dt support
Shardar Shariff Md [Fri, 13 Dec 2013 13:33:59 +0000]
arm: tegra: spi: add controller data dt support

Add DT support for spi controller data.
spi client dt node should add cdata entries
as below. Ex:
<spi-client>@<bus_num> {
...
nvidia,enable-hw-based-cs;
nvidia,cs-setup-clk-count = <10>;
nvidia,cs-hold-clk-count = <10>;
nvidia,rx-clk-tap-delay = <0>;
nvidia,tx-clk-tap-delay = <16>;
...
};

Bug 1422369

Change-Id: I8255643ef00fed486baf707edbf77b1b91586579
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/345354
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: ardbeg: enable OC interrupt support from soc_therm
Timo Alho [Sun, 22 Dec 2013 10:30:15 +0000]
ARM: tegra: ardbeg: enable OC interrupt support from soc_therm

Bug 1413373

Change-Id: I471f7a5dcea8ec86f5651e59bf97ad9ed1cd3e90
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/348415
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra12: dvfs: Update GPU DVFS tables
Alex Frid [Wed, 18 Dec 2013 23:51:30 +0000]
ARM: tegra12: dvfs: Update GPU DVFS tables

Bug 1342499

Change-Id: Ibc2a14c6e3dacaf1276353f1beeff91c83416c05
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/347306
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agovideo: tegra: gk20a: Split GPCPLL bypass jump in halfs
Alex Frid [Sat, 14 Dec 2013 00:48:17 +0000]
video: tegra: gk20a: Split GPCPLL bypass jump in halfs

Bug 1423693

Change-Id: I6e8572fbf8a1d211b509abe528f7ba19f5299823
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/346191
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agovideo: tegra: gk20a: Update GPCPLL PDIV selection
Alex Frid [Fri, 13 Dec 2013 01:59:03 +0000]
video: tegra: gk20a: Update GPCPLL PDIV selection

Changed search order in GPCPLL post-divider selection: from
high-to-low to low-to-high (i.e., select lowest possible VCO)

Change-Id: I4ed440ceb38c8b2414b892f20e355bc3c911ad5f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/346185
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoRevert "video: tegra: host: enable host1x powergate"
Shridhar Rasal [Fri, 27 Dec 2013 03:04:24 +0000]
Revert "video: tegra: host: enable host1x powergate"

This reverts commit
12b495271dbd53496884f4c93357516c19af0420.

Bug 1430021

Change-Id: I752c0ad11e07267005ef077c1264e3a738a2dbf5
Reviewed-on: http://git-master/r/349974
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Tested-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoarm: tegra: update e1780 dvfs table in DT
Ryane Luo [Fri, 27 Dec 2013 08:54:36 +0000]
arm: tegra: update e1780 dvfs table in DT

update dvfs table to 5.0.12 (E1780) 2G.

Change-Id: Ib6ddb5bec1d7591acb3cd95eb1810ebd64671c96
Signed-off-by: Ryane Luo <ryanel@nvidia.com>
Reviewed-on: http://git-master/r/350069
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: touch: add VENDOR_NONE type
Andrew Tran [Wed, 18 Dec 2013 22:05:50 +0000]
arm: tegra: touch: add VENDOR_NONE type

need a VENDOR_NONE type to use on system with no touch

Bug 1421643

Change-Id: Ib2100c3f10d5497503a7aa5a4b7827b233de48d0
Reviewed-on: http://git-master/r/347172
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Tested-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: update dvfs table to 5.0.12 (PM358)
Vladislav Sahnovich [Mon, 16 Dec 2013 02:06:57 +0000]
arm: tegra: update dvfs table to 5.0.12 (PM358)

Change-Id: I1c8c11f793c3577b4cbf93c52ea46cc1659a25f8
Signed-off-by: Vladislav Sahnovich <vsahnovich@nvidia.com>
Reviewed-on: http://git-master/r/345626
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: update dvfs table to 5.0.12 (E1792) 2G
Vladislav Sahnovich [Mon, 16 Dec 2013 03:00:01 +0000]
arm: tegra: update dvfs table to 5.0.12 (E1792) 2G

Change-Id: I5880df9df3687253e226065a60442863e1039234
Signed-off-by: Vladislav Sahnovich <vsahnovich@nvidia.com>
Reviewed-on: http://git-master/r/345642
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: update dvfs table to 5.0.12 (E1780) 4G
Vladislav Sahnovich [Mon, 16 Dec 2013 02:52:39 +0000]
arm: tegra: update dvfs table to 5.0.12 (E1780) 4G

Change-Id: I7afb4b877ce069d9ed579866bb757c9f1cec89d4
Signed-off-by: Vladislav Sahnovich <vsahnovich@nvidia.com>
Reviewed-on: http://git-master/r/345640
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm: tegra: update dvfs table to 5.0.12 (E1780) 2G
Vladislav Sahnovich [Mon, 16 Dec 2013 02:47:31 +0000]
arm: tegra: update dvfs table to 5.0.12 (E1780) 2G

Change-Id: I710e6f04758a4dcd8c62dbb9c2dd79bf73e8e63a
Signed-off-by: Vladislav Sahnovich <vsahnovich@nvidia.com>
Reviewed-on: http://git-master/r/345638
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoARM: tegra12: loki: Pull KB_ROW12 to turn on fan
Anshul Jain [Sat, 21 Dec 2013 07:57:21 +0000]
ARM: tegra12: loki: Pull KB_ROW12 to turn on fan

Bug 1351957
Bug 1364451

Change-Id: I5e3f99fc7aa91a315449eb1f7a309cb276186cd4
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/348344
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>

5 years agoarch: arm: tegra: loki: Add Loki FFD SKU100 table
Sang-Hun Lee [Sat, 14 Dec 2013 22:19:37 +0000]
arch: arm: tegra: loki: Add Loki FFD SKU100 table

Bug 1393328

Change-Id: Ic65582280807dcc96949dbd93d190701488a0606
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/345593
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>

5 years agoarm: tegra: Set GPU EDP limit to 8 A for P1761
Steve Rogers [Mon, 23 Dec 2013 21:02:16 +0000]
arm: tegra: Set GPU EDP limit to 8 A for P1761

Change-Id: I5b84cf7d8e4b6c9bd1707968a510856be517581f
Reviewed-on: http://git-master/r/349104
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agonet: wireless: bcmdhd: prior cleanup power on
Bitan Biswas [Fri, 15 Nov 2013 09:29:08 +0000]
net: wireless: bcmdhd: prior cleanup power on

Before low level access ensure power is restored
if in power save mode.

bug 1397397

Change-Id: Ib99b6cf32344b40b75dc57d4eca1233e7b963c57
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/331574

5 years agoARM: tegra: dvfs: Dereference after null check
Sumit Singh [Tue, 10 Dec 2013 11:32:21 +0000]
ARM: tegra: dvfs: Dereference after null check

Coverity id : 25069

Bug 1416640

Change-Id: I9fabafea8f6a00a9ec6f9f8d3e2ae2f6553d448d
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/343648
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>

5 years agodt-binding: add generic macro for enable/disable pins configuration
Laxman Dewangan [Tue, 24 Dec 2013 13:19:26 +0000]
dt-binding: add generic macro for enable/disable pins configuration

Add generic macro as TEGRA_PIN_{DISABLE/ENABLE} to disable/enable
the input, tristate, open-drain, lock, rcv-sel, high-speed mode,
schmitt etc.

Also add macro for pull up/down/none as per mainline.

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

5 years agoARM: tegra: add dts file for dalmore sku 1000 and 1001
Laxman Dewangan [Tue, 24 Dec 2013 13:23:33 +0000]
ARM: tegra: add dts file for dalmore sku 1000 and 1001

Add DB varient dts file for Dalmore to support SKU 1000 and 1001.

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

5 years agoPM/ runtime : Add WARN_ON for usage_cnt dec
Shridhar Rasal [Tue, 19 Nov 2013 07:15:45 +0000]
PM/ runtime : Add WARN_ON for usage_cnt dec

- Added WARN_ON for usage count decrement when it is already zero.

bug 1410313

Change-Id: I6ea8a1760d188b09c295eac6d8a63f74e2132ed8
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/332797
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agovideo: tegra: host: Clear new args before filling it
Terje Bergstrom [Wed, 25 Dec 2013 09:45:16 +0000]
video: tegra: host: Clear new args before filling it

Before copying old submit args to new struct, clear the area for new
struct. This prevents leaving garbage in fields that are not
explicitly filled.

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

5 years agovideo: tegra: host: Implement gk20a sync object
Terje Bergstrom [Tue, 10 Sep 2013 09:27:22 +0000]
video: tegra: host: Implement gk20a sync object

Implement support for sync fd fences in gk20a submit interface.

Bug 1356557

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

5 years agovideo: tegra: host: Return a sync fd as fence
Terje Bergstrom [Tue, 10 Sep 2013 07:35:00 +0000]
video: tegra: host: Return a sync fd as fence

Add a flag to submit interface to get the fence as sync fd instead of
a pair of sync point id and value.

Bug 1356557

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

5 years agovideo: tegra: host: Add sync wait to submit
Terje Bergstrom [Tue, 10 Sep 2013 06:18:06 +0000]
video: tegra: host: Add sync wait to submit

Add sync fd wait to submit interface. This allows adding a wait in
form of sync fd.

Bug 1356557

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

5 years agovideo: tegra: host: Add no-op sync functions
Terje Bergstrom [Tue, 10 Dec 2013 05:54:38 +0000]
video: tegra: host: Add no-op sync functions

Add stub sync functions that return an error if SYNC is not
supported.

Bug 1356557

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

5 years agoARM: tegra: loki: turn off vbus while entering lp0
Louis Li [Fri, 20 Dec 2013 08:20:03 +0000]
ARM: tegra: loki: turn off vbus while entering lp0

Turn off usb vbus while entering lp0 as Loki uses bq2419x charger

Bug 1426934

Change-Id: I7dd8931382fbaa79e7d117df8d5fce5e9715a028
Signed-off-by: Louis Li <louli@nvidia.com>
Reviewed-on: http://git-master/r/347977
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agovideo: tegra: dtv: enable clock in sysfs read
Mallikarjun Kasoju [Fri, 20 Dec 2013 08:45:02 +0000]
video: tegra: dtv: enable clock in sysfs read

enable dtv clock before reading registers

Bug 1414732

Change-Id: I180b006d0c4b6b95c51e7fd1fa6fbc8e3d563212
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/347962
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoARM: mach-tegra: change in license header
Tejas Sonchhatra [Wed, 18 Dec 2013 06:25:59 +0000]
ARM: mach-tegra: change in license header

This change is for adding GPLv2 license header for few files.

Bug 1415426

Change-Id: I1c0b7e9a0fc5dc4e19ac644e4a2c43ceb99088fd
Signed-off-by: Tejas Sonchhatra <tmanoj@nvidia.com>
Reviewed-on: http://git-master/r/348944
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agovideo: tegra: dsi: error flags from panel sanity
Tejas Sonchhatra [Sat, 30 Nov 2013 09:39:13 +0000]
video: tegra: dsi: error flags from panel sanity

This change adds the printing of error info for the
respective flag set by panel in panel sanity check.

Bug 1414521

Change-Id: I765ff2b7772e17b96aa1623fe3aaf70d6b87cadb
Signed-off-by: Tejas Sonchhatra <tmanoj@nvidia.com>
Reviewed-on: http://git-master/r/337005
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoARM: tegra12: Enable PLLM scaling for vcm30t124.
Ashwin Joshi [Mon, 23 Dec 2013 07:39:22 +0000]
ARM: tegra12: Enable PLLM scaling for vcm30t124.

Enable CONFIG_TEGRA_PLLM_SCALED for vcm30t124. This is required to
select pllc_out1 as parent of sclk. This won't do actual memory scaling
since EMC scaling is disabled and no table of frequencies is passed for
the board.

Bug 1410210

Change-Id: I52158fe0dfbaf4a80b8a10160df2ceefbf056267
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/348939
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoata:Remove write permission of tegra_ahci_idle_ms
Liangcai Li [Thu, 19 Dec 2013 02:26:57 +0000]
ata:Remove write permission of tegra_ahci_idle_ms

To pass CTS, which guarantees that all
files under /sys are not writable for others.
Change the flag when creating tegra_ahci_idle_ms.

Bug 1389582

Change-Id: I76f14841e4640cdb963566b5bdb232acbe2e8909
Signed-off-by: Liangcai Li <liangcail@nvidia.com>
Reviewed-on: http://git-master/r/347298
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: pcie: Correct init sequence
Jay Agarwal [Mon, 16 Dec 2013 15:04:31 +0000]
ARM: tegra: pcie: Correct init sequence

1. Move pads programming before AFI/RP programming
2. Move deassert PEX reset at end of AFI program
3. Removed unnecessary xclk & plle clock enable
4. Disable PADS by putting them in IDDQ while LP0

Bug 1415344

Change-Id: I9c6857366c4f0872aba3fb530ff60bfa81dd3832
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/345875
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoRevert "video: tegra: dc: Improve CMU updating and caching"
Sridhar Lavu [Mon, 23 Dec 2013 21:15:48 +0000]
Revert "video: tegra: dc: Improve CMU updating and caching"

This reverts commit 952349ebf78d5b2f2fa2fb060b804da1f46ebf55
since it seems to cause a regeression on L4T.

Bug 1424622 : regression bug
Bug 1159449 : original bug

Change-Id: I9cd256c22c2392629ed740f43756949a9bb293c0
Signed-off-by: Sridhar Lavu <slavu@nvidia.com>
Reverts-what-was-Reviewed-on: http://git-master/r/344221
Reviewed-on: http://git-master/r/349114
Tested-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoARM: Tegra: Fixed the Modem transaction failure.
gaurav singh [Thu, 19 Dec 2013 18:52:59 +0000]
ARM: Tegra: Fixed the Modem transaction failure.

Registration of USB ehci is not required for p1761 boards,
which is used by modem for its communication with AP.

Also adding support for E1922 and E1784.

Bug 1427261

Change-Id: I528548b70bcdc8a9ed911eeef60b2324c1aa6b6b
Signed-off-by: gaurav singh <gauravsingh@nvidia.com>
Reviewed-on: http://git-master/r/347644
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agosound: soc: fix codec refcount issue
Mohan Kumar [Thu, 28 Nov 2013 07:48:59 +0000]
sound: soc: fix codec refcount issue

warn_on message is shown for rt5639 dev when usage count for it goes
negative, so if any case the refcount count goes negative we will see
the warn_on message on particular dev, this change will increment the
usage count when the dev changes from SND_SOC_BIAS_OFF to
SND_SOC_BIAS_STANDBY or during LP0 were the resume will set the bias
to SND_SOC_BIAS_STANDBY, so need to increment refcount based on it.

Bug 1410313

Change-Id: Ie2326cffe406d1a3d61905ecba1437445cd350ad
Signed-off-by: Mohan Kumar <mkumard@nvidia.com>
Reviewed-on: http://git-master/r/336540
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: Fix debug output routine
Arto Merilainen [Mon, 23 Dec 2013 13:36:01 +0000]
video: tegra: host: Fix debug output routine

Debug output routine assumed that dma_addr_t is 32bit. This is
incorrect and hence our debug data is wrong. This patch modifies
the string to expect 64bit address.

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

5 years agoserial: tegra: Fix RX DMA
Pradeep Goudagunta [Mon, 23 Dec 2013 06:44:38 +0000]
serial: tegra: Fix RX DMA

Acknowledge dma after aborting the RX dma request.

Bug 1423050
Bug 1415632

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

5 years agoARM: tegra: corrected vddio rail entry for emmc
Mallikarjun Kasoju [Sun, 22 Dec 2013 13:01:03 +0000]
ARM: tegra: corrected vddio rail entry for emmc

vddio rail for emmc was wronlgy added. Corrected this

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

5 years agoarm: tegra: vcm30t124: cleanup defconfig for pci
Ashwin Joshi [Fri, 20 Dec 2013 12:52:08 +0000]
arm: tegra: vcm30t124: cleanup defconfig for pci

PCI config option was moved, so update defconfig with the new option and
delete old one.

Bug 1400987
Bug 1319925

Change-Id: I4d37b61f7ef86d851f1bf4937c0d3333280a485f
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/348020
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bhavesh Parekh <bparekh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: host: gk20a: Fix pbus interrupt
Arto Merilainen [Sat, 21 Dec 2013 08:55:06 +0000]
video: tegra: host: gk20a: Fix pbus interrupt

Interrupts are cleared by writing one back to the interrupt register.
The code wrote zero and hence we never cleared the interrupts.

Change-Id: I049600ccb8789ba581a041bdbdbf32bb87b45294
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/348348
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: Support non-stalling interrupt
Terje Bergstrom [Mon, 2 Dec 2013 09:05:54 +0000]
video: tegra: host: Support non-stalling interrupt

Add support for non-stalling interrupt, and enable it. Also adds some
new interrupt debug prints for gr and fifo interrupts and handles FE
exception and device interrupt.

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

5 years agovideo: tegra: host: Make ioctls 64bit compatible
Arto Merilainen [Thu, 19 Dec 2013 07:36:03 +0000]
video: tegra: host: Make ioctls 64bit compatible

This patch updates ioctls so that they are 64-bit compatible.

In cases where the only issue is with padding, this patch adds
__packed to ensure that the compiler does not do any tricks. In
cases where there are more fundamental issues in the structure,
this patch adds a new 64bit compatible ioctl.

32-bit systems should work correctly with all these changes.

Bug 1426482

Change-Id: Ice8752b08bc390e11f57e979641b386346ee29d8
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/347423
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra: pcie: Cleanup host structures
Jay Agarwal [Fri, 20 Dec 2013 12:39:41 +0000]
ARM: tegra: pcie: Cleanup host structures

Removed unused members from host structures

Bug 1415344

Change-Id: I5c8fd3f2dedef69aba2bcfbe4b04b538c95f6a9c
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/348016
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agoxhci: tegra: remove fw from bootloader support
Henry Lin [Mon, 16 Dec 2013 03:52:32 +0000]
xhci: tegra: remove fw from bootloader support

The mechanism of getting xusb firmware from bootloader is not supported
now. All of its implementation are removed.

Bug 1419667

Change-Id: I1227e01d08f936617c75e2817e6b2a4adfef2c34
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: http://git-master/r/345665
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Joy Wang <joyw@nvidia.com>
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoxhci: tegra: load xusb firmware from file
Henry Lin [Thu, 5 Dec 2013 09:17:43 +0000]
xhci: tegra: load xusb firmware from file

Change to load xusb firmware from file and also remove unused kernel
options related to xusb firmware loading.

Bug 1419667

Change-Id: I393384eb238fd743fb51b61eda081e2f3103c8de
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: http://git-master/r/338653
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Joy Wang <joyw@nvidia.com>
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoARM: tegra12: clock: Allow PLL_C_OUT1 fractional divisors
Alex Frid [Mon, 16 Dec 2013 23:51:36 +0000]
ARM: tegra12: clock: Allow PLL_C_OUT1 fractional divisors

Bug 1342499

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

5 years agoarm: tegra: tn8: ffd support Battery charger.
steven [Fri, 13 Dec 2013 02:45:52 +0000]
arm: tegra: tn8: ffd support Battery charger.

Bug 1419596
Bug 1419593

Add both fuel gauge and charger I2C nodes.

Change-Id: I733a9cfc97bc9977012f4c90900fd4e1c09b69e4
Signed-off-by: Andrew Tran <atran@nvidia.com>
Reviewed-on: http://git-master/r/345121
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agomedia: tegra_camera: fix module loading issues
Bryan Wu [Sat, 7 Dec 2013 00:38:52 +0000]
media: tegra_camera: fix module loading issues

nvhost_module_init() should be called before
nvhost_client_device_init(), since nvhost_module_deinit() will be
called during module unloading

Remove pm_runtime operations, since they are handled by nvhost core.

Bug 1421146

Change-Id: I3f8876dd76b6366c7641f0a087f61e13a6d664ee
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/339528
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

5 years agovideo: tegra: dc: Adjust SOR enable sequence
Chao Xu [Thu, 19 Dec 2013 19:26:22 +0000]
video: tegra: dc: Adjust SOR enable sequence

Set SOR_ENABLE after dc starts to work around HW issue.

Bug 1428181

Change-Id: I46f53e677cfe1a2a711164c26adefc2148e9e43d
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/347647
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Xue Dong <xdong@nvidia.com>

5 years agoarm: tegra: add missing break in emc dvfs switch
Mitch Luban [Fri, 20 Dec 2013 18:17:03 +0000]
arm: tegra: add missing break in emc dvfs switch

Change-Id: Iaee1f380644460e8ac71a8651a7af5373d402879
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/348110

5 years agoArm: Tegra: E1922: Add emc dt
Graziano Misuraca [Thu, 19 Dec 2013 22:34:50 +0000]
Arm: Tegra: E1922: Add emc dt

Bug 1417585

Change-Id: Ib82e3ef2d3b27685313688e8642c2cf4ce3a19a1
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/347754
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoARM: tegra: tn8: ffd Enable EN_AVDD_HDMI_PLL
wahsu [Fri, 20 Dec 2013 07:36:05 +0000]
ARM: tegra: tn8: ffd Enable EN_AVDD_HDMI_PLL

Make AVDD_HDMI_PLL as fixed regualtor with input to LDO1

Change-Id: Ic386336e252d0847ee717fcd7ba46f11537e8c68
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/347939
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoconfigs: add imx179 in defconfig
Ming Wong [Fri, 20 Dec 2013 01:45:58 +0000]
configs: add imx179 in defconfig

bug 1415077

Change-Id: I64f83466971a21b73fccd91062fc5c23ad2ce616
Reviewed-on: http://git-master/r/347796
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>

5 years agomedia: add imx179 driver support
Ming Wong [Mon, 9 Dec 2013 02:45:40 +0000]
media: add imx179 driver support

Bug 1415077

Change-Id: I34f8969a726e9c069fbf239352c952a8e68fb2ff
Signed-off-by: Ming Wong <miwong@nvidia.com>
Reviewed-on: http://git-master/r/347764
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agovideo: tegra: host: Add VI/ISP isomgr support
Sudhir Vyas [Mon, 16 Dec 2013 06:15:44 +0000]
video: tegra: host: Add VI/ISP isomgr support

Bug 1421936

Change-Id: I0f69a5a712bc17aadbf70a008f3557bb90a72936
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/345659
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoRevert "video: tegra: host: gk20a: reduce gr delays"
Prashant Malani [Wed, 18 Dec 2013 23:59:25 +0000]
Revert "video: tegra: host: gk20a: reduce gr delays"

This reverts commit 49bb8436a534496c70e6238d3bc20ed280d5b654.

Change-Id: I12f56bcae255520e428711a9794e1ef108c7a1ad
Reviewed-on: http://git-master/r/347233
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoARM: tegra: Add VI/ISP iso client IDs
Sudhir Vyas [Thu, 14 Nov 2013 15:27:37 +0000]
ARM: tegra: Add VI/ISP iso client IDs

Bug 1162232

Change-Id: Id47dce03583dc2185b957ac7899b28cb14592033
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/331149
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: add suspend state of pins for laguna
venkatajagadish [Wed, 18 Dec 2013 09:58:29 +0000]
ARM: tegra: add suspend state of pins for laguna

Set DAP_MCLK1_REQ to pull-up during suspend for Laguna platform

bug 1419765

Change-Id: Id53789fe1f5b5755fe95d812a1c17cb0e6b96255
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/346979
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agonet: wireless: Update SD8797/8897 WLAN/BT driver
Marc Yang [Sat, 7 Dec 2013 02:46:47 +0000]
net: wireless: Update SD8797/8897 WLAN/BT driver

Signed-off-by: Marc Yang <yangyang@marvell.com>

Update SD8797/8897 WLAN/BT driver to 457

Bug 1424794

Change-Id: Ib6484ce69ecbb385748cf1a045e67695005f7d8e
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>
Reviewed-on: http://git-master/r/345281
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>