6 years agomedia:video:tegra: delete ov7695 debug message
kkim [Wed, 22 May 2013 11:44:06 +0000]
media:video:tegra: delete ov7695 debug message

Change-Id: Ib8a8426a4bad7d0f305a9f18052acbe83cb65748
Signed-off-by: kkim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/231589
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoarm: tegra: tegratab: Use maxim touch driver on P1640 DVT
Joshua Cha [Thu, 23 May 2013 04:41:49 +0000]
arm: tegra: tegratab: Use maxim touch driver on P1640 DVT

Maxim touch driver should be enabled only on P1640 DVT board.
There is no touch device on TegraTab ERS board.

Bug 1291015

Change-Id: Ide236d521c6abc6e4cc7a90f1fd19e6ed5c0f618
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/231933
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomedia: tegra: ad5823: add missed reglator_disable
Jake Park [Wed, 22 May 2013 10:30:44 +0000]
media: tegra: ad5823: add missed reglator_disable

Adding missed regulator_disable() into probe().
While probing ad5823 focuser, regulator vdd should be turned on
before i2c operations and should be turned off after i2c oeprations.

Bug 1293915

Change-Id: Ie9936e699ad3e3b08eb1dad55182e33dc89244a3
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/231547
Reviewed-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoarm: tegra: tegratab: Set PULL_DOWN for KB_COL4
Harry Hong [Wed, 22 May 2013 02:13:28 +0000]
arm: tegra: tegratab: Set PULL_DOWN for KB_COL4

TegraTab doesn't have WP pin connected.
and in case of T114, only using SFIO WP pin input.
So set sdmmc3_wp to pull_down to get always WP disabled.

bug 1287151
bug 1293752

Change-Id: Id9ea39f04921f19f7c63fe9d61defdcf47e88b46
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/231375
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Simon Je <sje@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>

6 years agoARM: tegra11: dvfs: Update CPU dvfs tables
Alex Frid [Sat, 18 May 2013 01:24:19 +0000]
ARM: tegra11: dvfs: Update CPU dvfs tables

Bug 1291764

Change-Id: I92c652e9ecbec366c017ab2eda0e51b1dd42cb17
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/230033
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: dvfs: Enable DFLL/PLL auto-switch by default
Alex Frid [Sat, 18 May 2013 00:55:38 +0000]
ARM: tegra: dvfs: Enable DFLL/PLL auto-switch by default

Bug 1291764

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

6 years agonet: wireless: bcm43241: enable P2P_DISCOVERY_WAR
bibhayr [Tue, 21 May 2013 10:32:36 +0000]
net: wireless: bcm43241: enable P2P_DISCOVERY_WAR

Add P2P_DISCOVERY_WAR in bcm43241/Makefile which
is used to compile driver for bcm43241

Bug 1282833
Bug 1282700

Change-Id: Ia975e4765038feeedd53580eb4275c5e34c50d38
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/231137
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agomedia: video: tegra: update focuser working range
Sudhir Vyas [Thu, 16 May 2013 08:58:09 +0000]
media: video: tegra: update focuser working range

Update ad5816 focuser calibrated working range.
Current settings do not give better results for
macro mode specifically.

Bug 1238213

Change-Id: Ic8b60081bda75ecf3158d98796c979528767dfcd
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/229267
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoi2c: tegra: do not suspend i2c interrupts
Laxman Dewangan [Thu, 18 Apr 2013 13:43:51 +0000]
i2c: tegra: do not suspend i2c interrupts

There is possibility of I2C transfer calls even after suspend of
drivers occur.

To have the I2C transfer properly in this case, it should not suspend
interrupt of I2C so that interrupt support should be available.

Bug 1278481

Change-Id: Ic37a19655fe200c2632279e00dbcf08ad00a9d73
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/220599
(cherry picked from commit fad2b7a813dd1a6628ad0918297ea22014b6d4e6)
Reviewed-on: http://git-master/r/228973
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: Tegra11: Enable hard shutdown in 8 seconds
Naveen Kumar S [Tue, 30 Apr 2013 20:16:01 +0000]
ARM: Tegra11: Enable hard shutdown in 8 seconds

Specifying value for Palmas LONG_PRESS_KEY (LPK) register to
enable hard shutdown upon holding onkey pressed for 8 second
sin non-android platforms. Retaining default of 12 seconds for
android platforms.

Bug 1241832

Change-Id: I7f076eb0fd7619ab192a2df362c938f2326427b5
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/224211
(cherry picked from commit 288d0caf7b0067b355fe927485c02e5f6214097b)
Reviewed-on: http://git-master/r/228800
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: Tegra: Programming Palmas LongPress register
Naveen Kumar S [Tue, 30 Apr 2013 18:12:40 +0000]
ARM: Tegra: Programming Palmas LongPress register

Programming the Palmas (TPS65913) LONG_PRESS_KEY
register (LPK) used for system hard shutdown.

Bug 1241832

Change-Id: Icb3fef877d3b9093572464725c672d2957566e4e
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/222465
(cherry picked from commit a2245c93317401a8c0ca1def6617448ea5cfc07b)
Reviewed-on: http://git-master/r/228797
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agommc: host: tegra: Remove runtime DPD support in SD
rrajk [Thu, 9 May 2013 12:27:21 +0000]
mmc: host: tegra: Remove runtime DPD support in SD

Removed runtime DPD configuration support from SD driver.

Bug 1191332

Change-Id: I389ca46a302e30556d2823709a46816a582c26e4
Reviewed-on: http://git-master/r/227045
(cherry picked from commit 9ab1ae335d969eeffe5fc6c7f57e4b0a383ce20c)
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/231644
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: usb: disable pmc after disabling vbus
Rohith Seelaboyina [Mon, 20 May 2013 04:22:05 +0000]
ARM: tegra: usb: disable pmc after disabling vbus

disable pmc after disabling vbus

Bug 1279228
Bug 1279501

Change-Id: Ib9e937d71806cd921d19da6667dee220df8c1603
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/228906
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agousb: host: tegra: disable pmc before going to LP0
Rohith Seelaboyina [Thu, 16 May 2013 06:43:49 +0000]
usb: host: tegra: disable pmc before going to LP0

disable pmc before going to LP0

Bug 1279228
Bug 1279501

Change-Id: Ib59cff3f164262a80aa35a6ab58af792783cc5fb
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/228905
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Harry Hong <hhong@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoarm: tegra: sata: Fix LP0 resume problem
Yen Lin [Thu, 3 Jan 2013 23:01:56 +0000]
arm: tegra: sata: Fix LP0 resume problem

- Fix a bug in ahci-tegra.c when checking if SATA is on when resuming
- Add codes to support PM315 which uses LDO1 regulator for SATA rails

bug 1206518

Change-Id: Iaa910b1948fbcf5e45491977fd8ed0b313d2e0ae
Signed-off-by: Yen Lin <yelin@nvidia.com>
Reviewed-on: http://git-master/r/188441
(cherry picked from commit c319d0e904e6bff6e6c89d3c8cf651949c379925)

Signed-off-by: Bryan Wu <pengw@nvidia.com>
Change-Id: Ib1ec166c1140a5162e0bca163c1e2857c734d587
Reviewed-on: http://git-master/r/226765
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Eric Brower <ebrower@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoARM: tegra11: clock: Re-init PLLM when resume from LP0
Renn Wu [Mon, 20 May 2013 06:26:55 +0000]
ARM: tegra11: clock: Re-init PLLM when resume from LP0

PLLM is kept the same as on entry to LP0, need S/W re-init when resume.

Bug 1288643

Change-Id: I211fd758b1fb38c11a3ef901dfd79a698bcc8cfb
Signed-off-by: Renn Wu <rewu@nvidia.com>
Reviewed-on: http://git-master/r/231287
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>

6 years agoARM: tegra: usb: powerdown OTG circuit if not needed
Ajay Gupta [Tue, 21 May 2013 16:31:42 +0000]
ARM: tegra: usb: powerdown OTG circuit if not needed

Bug 1275290

Change-Id: I03e1a38d69adcd6b20e82aec84fdce0874254bca
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/231226
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoarm: tegra: tegra3_defconfig: Add WFD support
Sameer Gumaste [Mon, 4 Feb 2013 10:03:37 +0000]
arm: tegra: tegra3_defconfig: Add WFD support

Adding config flags for Wi-fi Direct T30 support
for bcmdhd 4330. For example support for 80211,P2P scan
This is needed for wifi direct sink use case on cardhu.

Bug 1220912
Signed-off-by: Sameer Gumaste <sgumaste@nvidia.com>
Change-Id: I40c545750d11bf5e787ad0d00d7c2661beb3421f
Reviewed-on: http://git-master/r/231121
Tested-by: Jitendra Kumar <jitendrak@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mursalin Akon <makon@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agousb: gadget: tegra: set cpu normal in work context
Rakesh Bodla [Tue, 21 May 2013 06:54:41 +0000]
usb: gadget: tegra: set cpu normal in work context

Once USB transfers are completed, set cpu frequency
to normal in work context.

Bug 1292315

Change-Id: I34e6f6d85f3be8be31e5d87a742894d0ca10f8bc
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/231064
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra: xusb: set PD_CHRP and PD_DISC always zero
Ajay Gupta [Tue, 21 May 2013 15:54:04 +0000]
ARM: tegra: xusb: set PD_CHRP and PD_DISC always zero

This is needed to save 4mW power.

Bug 1275290

Change-Id: Id96916c1a9d85f915284369942a59e454becc1d8
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/231016
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

6 years agousb: xhci: tegra: process set bandwidth fw message
Ajay Gupta [Mon, 20 May 2013 21:46:22 +0000]
usb: xhci: tegra: process set bandwidth fw message

Bug 1266234

Change-Id: I0c89373913391bd8b04f2245d178eae44a9bded5
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/231004
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

6 years agomedia: video: tegra: apply ov7695 quality tune
Jake Park [Mon, 20 May 2013 07:01:18 +0000]
media: video: tegra: apply ov7695 quality tune

Bug 1278482

Change-Id: Ib74a3a8d018a5082f3098fa058609d634bfb2010
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/230186
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Karl Kim <kkim@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: John Sasinowski <jsasinowski@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agomisc: nct1008: change names of zone devices
Hyungwoo Yang [Mon, 13 May 2013 21:22:21 +0000]
misc: nct1008: change names of zone devices

Changed names of zone devices this driver creates.
New names are based on where the device probe.

nct_ext -> Tdiode
nct_int -> Tboard

Bug 1261182

Change-Id: I92101299b1998925f00e8ce379bbd0aea1c3764b
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/228129
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Edward Riegelsberger <eriegels@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: dt: tegra: tegratab: apply P1640 compass orientation
David Yu [Mon, 6 May 2013 08:36:51 +0000]
arm: dt: tegra: tegratab: apply P1640 compass orientation

Bug 1278403
Bug 1281967

Change-Id: Ie97c29c158590e9d6feca71a05feaed6c79b87e5
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/225601
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoMerge branch dev_17 into rel17
sivasubramaniam venkataraman [Wed, 22 May 2013 19:46:27 +0000]
Merge branch dev_17 into rel17

This change adds the camera supoorted changes to bring AOHDR feature in
to rel-17.

Signed-off-by: sivasubramaniam venkataraman <svenkatarama@nvidia.com>

6 years agoasoc: codecs: enable DVT(P1640) of tegratab to use ALC5639
Simon Je [Mon, 20 May 2013 21:19:57 +0000]
asoc: codecs: enable DVT(P1640) of tegratab to use ALC5639

Bug 1227518
Bug 1287224

Change-Id: Icdd3de929f9d6d9e6fec4a3aab0142d6d8250324
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/230940
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoasoc: codecs: Add vendor supplied v8.5 files for ALC5639 codec
Bard Liao [Mon, 20 May 2013 20:30:53 +0000]
asoc: codecs: Add vendor supplied v8.5 files for ALC5639 codec

This version enables Rt_reg_ctrl app which is able to read/write
codec register.

Bug 1227518
Bug 1287224

Change-Id: I4ea574e42f8ba97dd8adcbfe4c3aaa423b8b3f56
Signed-off-by: Bard Liao <bardliao@realtek.com>
Reviewed-on: http://git-master/r/230936
GVS: Gerrit_Virtual_Submit
Reviewed-by: Simon Je <sje@nvidia.com>
Tested-by: Simon Je <sje@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agovideo: tegra: fb: Update and synchronise dc window
pdabade [Thu, 16 May 2013 06:38:16 +0000]
video: tegra: fb: Update and synchronise dc window

Update and synchronise DC window after enabling DC while unblanking.

Bug 1284137

Change-Id: I2edeac44185b0aedfe1d538e38e319754443ff1d
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/229227
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>

6 years agoARM: tegra: thermal: change names of zone devices for Tskin
Hyungwoo Yang [Mon, 13 May 2013 22:47:46 +0000]
ARM: tegra: thermal: change names of zone devices for Tskin

Changed names of zone devices which are being used for Tskin estimation.
New names are measuring device independent.

nct_ext -> Tdiode
nct_int -> Tboard

Bug 1261182

Change-Id: I7c47ceec242659f8b62267c0c350fce70d9ce221
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/228134
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoArm: tegra: pmc: Fix typo
Krishna Yarlagadda [Tue, 14 May 2013 10:59:59 +0000]
Arm: tegra: pmc: Fix typo

Use pmc override for TCTRL/RCTRL when xusb is in use.
Fixed typo which does just opposite.

Change-Id: I96ea5197e67fedf0357f4d37c75d1d49790c0a47
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/228365
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoMerge branch dev_17 into rel17
sivasubramaniam venkataraman [Tue, 21 May 2013 21:33:33 +0000]
Merge branch dev_17 into rel17

This change adds the camera supoorted changes to bring AOHDR feature in
to rel-17.

Change-Id: I39929e0644ce0d3e63c8a6960e2a8c3ebd3596ee
Signed-off-by: sivasubramaniam venkataraman <svenkatarama@nvidia.com>

6 years agoarm: tegra: macallan: set hpa02149 to support oc alert
Tony Liu [Fri, 10 May 2013 10:12:32 +0000]
arm: tegra: macallan: set hpa02149 to support oc alert

-set min_core_online to support oc alert when cpus_online is over this value
-set current_threshold to generate oc alert when current is over this value

Bug 1255452

Change-Id: I9cf760d029e63f5df84222fc01ab5544e5d26086
Signed-off-by: Tony Liu <tonliu@nvidia.com>
Reviewed-on: http://git-master/r/227413
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: sdhci: Pass min,max vcore overrides
Pavan Kunapuli [Wed, 8 May 2013 04:31:42 +0000]
ARM: tegra: sdhci: Pass min,max vcore overrides

Pass minimum and maximum vcore override voltages to be used
during auto tuning.

Bug 1246712

Change-Id: I9d038dcec32fc3592103ab459aa99591ea4a7106
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/212683
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agommc: tegra: Set override voltages with dvfs APIs
Pavan Kunapuli [Fri, 17 May 2013 14:18:53 +0000]
mmc: tegra: Set override voltages with dvfs APIs

Set tuning override voltages using dvfs APIs rather than regulators.
During boot, if the minimum override voltage cannot be set, schedule
for retuning.

Bug 1246712

Change-Id: Ie467b4250107c9745d34859ec2a405aa42024186
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/212682
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoarm: tegra: panel-lgd-wxga-7-0: Set low brightness when charger-mode boot.
Hyongbin Kim [Thu, 9 May 2013 02:21:15 +0000]
arm: tegra: panel-lgd-wxga-7-0: Set low brightness when charger-mode boot.

Bug 1242042

Change-Id: Idb4824e04e030fb88ce356572f946f95dc260d11
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/226884
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra: common: add parsing function of charger mode.
Hyongbin Kim [Thu, 9 May 2013 02:05:49 +0000]
arm: tegra: common: add parsing function of charger mode.

Common fuction used for recognition whether kernel is booted with
charger-mode or not.

Bug 1242042
Bug 1274995

Change-Id: I1a414db726633c7a7c7e282079b89dce9861f5db
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/226883
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: dt: tegra: tegratab: apply E1569 compass orientation
David Yu [Fri, 10 May 2013 08:11:12 +0000]
arm: dt: tegra: tegratab: apply E1569 compass orientation

Change orientation of ERS board according to panel orientation.

Bug 1275247

Change-Id: I6048c78939fdb1540ee78f446d854b83f1cb9cdf
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/227352
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agoARM: tegra: mcerr: Use special VPR and SEC registers
Alex Waterman [Mon, 13 May 2013 23:12:58 +0000]
ARM: tegra: mcerr: Use special VPR and SEC registers

When a SEC or VPR error is handled use the correct special registers
for getting client and other info. The regular status register holds
garbage values in these two cases.

Bug 1275219

Change-Id: I6deae41f95bf488696523d9d41f84b63fcaccd92
Reviewed-on: http://git-master/r/228148
(cherry picked from commit 0172c95c1b62193b576658bc25e18c725ce64c6c)
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/230883
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agoARM: tegra: dvfs: Add CL-DVFS regulator undershoot guard-band
Alex Frid [Sat, 11 May 2013 03:57:23 +0000]
ARM: tegra: dvfs: Add CL-DVFS regulator undershoot guard-band

Added mechanism to enforce regulator undershoot guard-band when
requesting new CL-DVFS frequency. It is based on already in use
CL-DVFS force mode. The forced voltage value is now limited from
below by (Vmin plus guard-band).

The value of guard-band is specified by Cl-DVFS platform data.
The minimum forced voltage is calculated by applying guard-band to
voltage floors in CL-DVFS Vmin thermal profile (need also to make
sure that forced and safe voltages are not equal to avoid filtering
on entry to close loop mode).

Depending on regulator and board design this guard-band may not be
needed. In this case guard-band value is set to zero.

Bug 1285525

Change-Id: I74d1da9c38d84301fe22738a6b9de0cd74f61022
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/227721
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: dvfs: Separate CL-DVFS force mode enable
Alex Frid [Fri, 10 May 2013 03:39:30 +0000]
ARM: tegra: dvfs: Separate CL-DVFS force mode enable

Separated enabling CL-DVFS force mode from setting force value: first
update force value, and then, after delay, set force mode enable bit.

Note that in closed loop operations force mode is always enabled, so
this separation affects only transition to closed loop.

Bug 1285525

Change-Id: I647168da21663732f2f0bc12ef665abea31da78f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/227720
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agomedia:video:tegra:ov5693: Fix wrong setting value
kkim [Tue, 14 May 2013 08:04:10 +0000]
media:video:tegra:ov5693: Fix wrong setting value

LensShading was shown different result in the both
1296x972 and 2592x1944 due to wrong initial setting
value.

Bug 1237002

Change-Id: Ic4b7fba8639358b1031be47deb21ab0c4a9089bd
Signed-off-by: kkim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/228305
Reviewed-by: Peter Kim <pekim@nvidia.com>
Reviewed-by: Alvin Park <apark@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com>

6 years agoarm: tegra: Add power off sequence for 25x16 panel
Vick Yu [Thu, 16 May 2013 08:22:30 +0000]
arm: tegra: Add power off sequence for 25x16 panel

Bug 1287967

Change-Id: I30f13a5f48c0dad0054165d1a7e905aae098e3d5
Signed-off-by: Vick Yu <vyu@nvidia.com>
Reviewed-on: http://git-master/r/229260
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegra: tegratab: Increase GMA drive up strength
Naveen Kumar Arepalli [Fri, 17 May 2013 09:27:09 +0000]
ARM: tegra: tegratab: Increase GMA drive up strength

Set eMMC pull up drive strength value to 2 on tegratab

Bug 1289113

Change-Id: Id7e74f22e62aa8ea75b2d7415511cadab643ead0
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/229741
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoarm: tegra: tegratab: support P1640 gyro/compass orientation
David Yu [Tue, 30 Apr 2013 08:25:49 +0000]
arm: tegra: tegratab: support P1640 gyro/compass orientation

Bug 1278403
Bug 1281967
Bug 1275247

Change-Id: Ic8a190db2356ce63e49635503de0a78fe2528515
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/224157
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: change permission of pinmux debugfs
Andy Park [Mon, 6 May 2013 23:11:19 +0000]
ARM: tegra: change permission of pinmux debugfs

Change the permission of tegra_pinmux debug node to be able to write
to it so that the functionality of changing pinmux configuration is
useful. Also added some instruction for the usages.

Bug 1213934

Change-Id: Iada4f345d95e12ab21e175aae768c146082774b7
Signed-off-by: Andy Park <andyp@nvidia.com>
(cherry picked from commit 1491f7a3bfe4748b3cb96e3f85b2844786f8e917)
Reviewed-on: http://git-master/r/226391
Reviewed-by: Simon Je <sje@nvidia.com>
Tested-by: Simon Je <sje@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>

6 years agoARM: Tegra: pinmux: Allow changing setting at runtime
Simon,Je [Mon, 14 Jan 2013 07:55:45 +0000]
ARM: Tegra: pinmux: Allow changing setting at runtime

Through debug fs, changing pimux setting can be done.
ex)
 #echo "HDMI_CEC CEC OUTPUT NORMAL TRISTATE" > /d/tegra_pinmux

Bug 1213934

Change-Id: Ie1f7146ee5e5e7a9194cf140c6e4d75c2c5143b2
Signed-off-by: Simon,Je <sje@nvidia.com>
(cherry picked from commit 71c8ae1dc2b1f0f0afe902077a109a20c3d8f6f8)
Reviewed-on: http://git-master/r/226390
Reviewed-by: Andy Park <andyp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>

6 years agonet: wireless: bcmdhd: new driver version 1.28.28.2
bibhayr [Wed, 15 May 2013 06:47:19 +0000]
net: wireless: bcmdhd: new driver version 1.28.28.2

- Fixed Miracast discovery issue after P2P disconnection.
- Fixed P2P action frame issue when multiple P2P IEs are in the probe response.
- BW allocation for VSDB
- Support offset for RSSI report

Bug 1282833
Bug 1282700

Change-Id: Ia45f496711f3775858de38e1c7e3c762d2f58828
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/228683
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agostaging: iio: light: cm3217: fix compile warnings
Sri Krishna chowdary [Thu, 16 May 2013 10:05:26 +0000]
staging: iio: light: cm3217: fix compile warnings

1. Remove unused variable 'lpi'
2. Initialise uninitialised variable i to 0
3. queue_work needs type 'struct work_struct' not type 'struct delayed_work*',
Hence, replace report_work with report_work.work

Bug 949219

Change-Id: Ic623235210d1ca3d2c548ab9f0766d0c60d17efd
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/229291
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoarm: tegra: tegratab: Consider host1x register by device tree
Min-wuk Lee [Thu, 16 May 2013 07:05:50 +0000]
arm: tegra: tegratab: Consider host1x register by device tree

When host1x and its clients are registered by device tree,
need to skip platform_device_register way.

Bug 1240921

Change-Id: I6fe4e86cbaeeb3eef8c1d0688d97927dadd95d31
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/229239
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: dts: tegratab: DT node enable for host1x and its clients.
Min-wuk Lee [Thu, 16 May 2013 06:58:03 +0000]
ARM: dts: tegratab: DT node enable for host1x and its clients.

Bug 1240921

Change-Id: I0666d38a829e4a06a231dbd8e71a7289c4137eac
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/229235
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: add DT support
Min-wuk Lee [Wed, 24 Apr 2013 02:31:07 +0000]
video: tegra: host: add DT support

- this commit adds the infrastructure to parse and
allocate device from DT
- it also adds support to parse and add resources from DT
into the newly allocated device
- it also matches the device and drivers using .compatible
property
- of_platform_populate() assigns platform_bus as host1x parent, so
condition in nvhost_get_parent() was modified

bug 1041377
bug 1240921

Change-Id: I3373b5fb48e417e14f819d15e33f94ea1efb6194

Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/145937
(cherry picked from commit 83de44b147fd9582f73fb3f1aec105c6bcebbd3e)
Change-Id: Id53db1638ea02e7d19bee3c020c43051c74e4365
Reviewed-on: http://git-master/r/229228
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: Fix nvhost_device_data parse in case of DT
Min-wuk Lee [Thu, 16 May 2013 06:32:04 +0000]
video: tegra: host: Fix nvhost_device_data parse in case of DT

If host1x and its client are registered by device tree,
fix of parsing nvhost_device_data in vi module is needed.
Both DT and non-DT can utilize general platform_get_drvdata

Bug 1240921

Change-Id: I2ac2105091b864f8c5bf83f24cb747998f4f0be9
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/229222
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agokernel: power: qos: export qos routine
David Jung [Sat, 11 May 2013 02:26:26 +0000]
kernel: power: qos: export qos routine

Maxim code drop to export pm_qos_update_request_timeout. The maxim touch driver needs this if it's compiled as a module.

Bug 1270691

Change-Id: I1fbc5fc045a6892d8eeb7e810b806793589b7273
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/227705
Reviewed-by: Paul Walmsley <pwalmsley@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: introduce reset reason retrieval sysfs
Andy Park [Wed, 17 Apr 2013 00:25:46 +0000]
ARM: tegra: introduce reset reason retrieval sysfs

add tegra_rst_reason under kernel sysfs in order to track reset
related information from PMC and PMIC. Although this change only
produce sysfs, the mechanism used in this change can be employed for
other usages of reset reason thus it introduces an API for reaching
out reset reasons. PMIC reset data is retrieved from ATAG since
bootloader acquires the information.

Bug 1239765

Change-Id: I32e2a3865a2c436e18c57fa6b775254b738b4d48
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/223517
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: dvfs: Increase number of rail stats bins
Alex Frid [Tue, 14 May 2013 21:55:14 +0000]
ARM: tegra: dvfs: Increase number of rail stats bins

Change-Id: Ia18237f06e407f14b9ab10758fc9eb16fb483cb9
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/228510
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: Tegra: tegratab: Update max cpu current
Yong Goo Yi [Mon, 13 May 2013 08:20:41 +0000]
ARM: Tegra: tegratab: Update max cpu current

Update max cpu current supported by palmas revision 0xB2B6.
It is changed from 12A(0xB2B5) to 9A(0xB2B6).
There will be no change even though installing revision 0xB2B5
for mass production. We will set this to 9A even for revision 0xB2B5.

Bug 1272601

Change-Id: I89e425852d151cfca7dc761c07c832fa9dfaf41b
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/227861
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agousb: gadget: mtp: increase MTP buffers
Rakesh Bodla [Fri, 8 Mar 2013 12:49:59 +0000]
usb: gadget: mtp: increase MTP buffers

Increase the buffer size to 32KB to improve MTP throughput and
keep the first packet size to 16KB for files greater than 4GB

Bug 1168348
Bug 1216779

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

6 years agoARM: config: tegra11:Increase GADGET_BOOST_CPU_FREQ
Rakesh Bodla [Mon, 13 May 2013 10:26:46 +0000]
ARM: config: tegra11:Increase GADGET_BOOST_CPU_FREQ

Increase TEGRA_GADGET_BOOST_CPU_FREQ for improving
USB throughput.

Bug 1216779

Change-Id: I0b94f1d20090468b4c88832aef82ea55ec9947ba
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/207588
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoextcon: palmas: disable comparator for usb id
Harry Hong [Wed, 15 May 2013 06:53:32 +0000]
extcon: palmas: disable comparator for usb id

Added shutdown pm api and disabled comparator
of usb id detection in USB_WAKEUP reg.
Because, We're seeing that the system wakeup
by usb id status change in power off state.

bug 1288901

Change-Id: I794868cdc8ad0da29f062aa217415a9becb6f7ae
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/228707
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agousb: gadget: tegra:Change cpu frequency boost logic
Rakesh Bodla [Mon, 13 May 2013 09:56:36 +0000]
usb: gadget: tegra:Change cpu frequency boost logic

Changing the logic for boosting and unboosting
CPU frequency during USB device transfers for
performance.

Bug 1216779

Change-Id: I8b5378ee9e95c890d2cdc4a614f95e378ffb016f
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/227913
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoinput: touch: maxim: Add routine to support reinit the chip post-resume
Jinyoung Park [Fri, 10 May 2013 18:12:00 +0000]
input: touch: maxim: Add routine to support reinit the chip post-resume

Added routine to support reinit the chip post-resume.

Bug 1270691

Change-Id: I35a14daf6cbbad4628aa3de3552d57fa7648b632
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/227549
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Jung <djung@nvidia.com>
Tested-by: David Jung <djung@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra11: clock modify plld setting
Hayden Du [Tue, 14 May 2013 08:24:52 +0000]
arm: tegra11: clock modify plld setting

bug 1259764
bug 1286177

Change-Id: Id548c46179030a682722eefb15a2cf55507c8042
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/228312
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: Maxim board files Direct Touch
David Jung [Sun, 12 May 2013 05:14:42 +0000]
ARM: tegra: Maxim board files Direct Touch

Maxim Integrated code drop for touch board files.

Bug 1270691

Change-Id: I994777ee534a6ee6a054f1ccebf8452aeb42eec4
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/227750
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoinput: touch: maxim: Add Maxim touch updates
David Jung [Fri, 3 May 2013 16:37:42 +0000]
input: touch: maxim: Add Maxim touch updates

Maxim Integrated code drop, v1.1.0.

Bug 1279288

Change-Id: Ib49e57ac8f05c22121d99b94453eaa500a9f9dfb
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/225301
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoinput: touch: maxim: Add Maxim Direct Touch driver
Robert Collins [Mon, 15 Apr 2013 22:43:05 +0000]
input: touch: maxim: Add Maxim Direct Touch driver

Maxim Integrated code drop to add touch driver.

Bug 1270691

Change-Id: I46b18424174624a3d312320dc3f816cea5cb949a
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/224376
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoARM: tegra: tegratab: board files for Maxim Direct Touch
Bo Kim [Thu, 2 May 2013 02:52:27 +0000]
ARM: tegra: tegratab: board files for Maxim Direct Touch

Bug 1270691

Change-Id: Ifc371b3724a42f520aadf7713b352f08ddf3bed6
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/224701
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agodefconfig: tegratab: Add Maxim Direct Touch driver
Bo Kim [Thu, 2 May 2013 02:53:33 +0000]
defconfig: tegratab: Add Maxim Direct Touch driver

Bug 1270691

Change-Id: Ief8158c6dbd5ce363f78f584b8ffb4e47d8a50e8
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/224700
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: board: disable the alignement fix
Suresh Mangipudi [Wed, 15 May 2013 04:47:47 +0000]
ARM: tegra: board: disable the alignement fix

Disable the h/w alignment fix for T114 A02.

Bug 1289107

Change-Id: I6d64e2de23d0358a2edbf3730e4f1b6a70f6903b
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/228649
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agotegra: allow tegratab support to be compiled with other platforms
Alexandre Courbot [Thu, 2 May 2013 07:51:23 +0000]
tegra: allow tegratab support to be compiled with other platforms

Also enable TegraTab in the default configuration file.

Change-Id: I66dbc97afe40db81f23d03322e95fdc0372069d1
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/224768
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: tegratab: init ina219 and ina230
Yong Goo Yi [Mon, 13 May 2013 07:00:27 +0000]
ARM: tegra: tegratab: init ina219 and ina230

Init ina219 and ina230(HPA02149AIYFFR) for power measurement.
E1569 has both ina219 and ina230.
P1640 has only ina230.

Bug 1240043

Change-Id: Id1c2e94ff3fae2535acb0dc9b221688d6817101d
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/227827
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agommc: sdhci: Issue sdhci RTPM put() after tuning
rrajk [Thu, 2 May 2013 15:32:44 +0000]
mmc: sdhci: Issue sdhci RTPM put() after tuning

sdhci RTPM get() is calling before tuning, so corresponding
sdhci RTPM put() should be issued after tuning as well.

Bug 1249832

Change-Id: I47fb448968db7ba889229e51366ace2f60ac1874
Reviewed-on: http://git-master/r/224915
(cherry picked from commit fdb087557256667e4303ae2d0f29b3d2dede1970)

Signed-off-by: rrajk <rrajk@nvidia.com>
Change-Id: Ifa0cc5b98a17177d11f17c6b7ead85ecd611edf8
Reviewed-on: http://git-master/r/228212
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agovideo: tegra: dtv: Add DTV_STATUS into debugfs
Adam Jiang [Wed, 10 Oct 2012 09:04:51 +0000]
video: tegra: dtv: Add DTV_STATUS into debugfs

Expose DTV_STATUS register in debugfs which could be read by user land
applications.

Removed read operation over DTV_FIFO registers which may cause data
loss.

Bug 1061456
Bug 1258577

Reviewed-on: http://git-master/r/144430
(cherry picked from commit a7668922b555aca4ca0f5ca0569e4aa45383cb81)
(cherry picked from commit d14000d021e65b34735a167b2f313695b984e54c)

Change-Id: If4b5bd94fe8cc62f8a9695ec114345bd7cdd90a0
Signed-off-by: Adam Jiang <chaoj@nvidia.com>
Reviewed-on: http://git-master/r/224678
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

6 years agovideo: tegra: host: re-org #include files
Mayuresh Kulkarni [Fri, 21 Dec 2012 13:24:07 +0000]
video: tegra: host: re-org #include files

- this commit ensures that nvhost_device_data is
populated from single source file (txxx.c)
- to do this, change some header files to include
the driver specific function pointers and include
them in txxx.c.
- extern the nvhost_device_data of each
device per SOC so that it is accessible from
individual driver files when device-tree support
is added. this way each driver will match the
compatible property and get its platform_data via
match->data. no-device-tree path is untouched

this is in preparation for adding device tree support

bug 1041377

Change-Id: Ie80914cbc8fe41e08f1797ad4fee840261b04999
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/173024
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
(cherry picked from commit e3c92587b81c720e3a23df92d6af33894349a156)
Reviewed-on: http://git-master/r/221885
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agovideo: tegra: dc: log suspend enter time
Andy Park [Fri, 10 May 2013 23:59:35 +0000]
video: tegra: dc: log suspend enter time

log suspend enter time using uS timer

Bug 1279339
Bug 1252226

Change-Id: I7e29d177df78a286d3e3ee905b020f95575175ac
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/227688
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Rakity <prakity@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>

6 years agoARM: tegra: add a sysfs to time to go suspend
Andy Park [Fri, 10 May 2013 23:49:40 +0000]
ARM: tegra: add a sysfs to time to go suspend

measure the time from display control disabled to suspending core and
open an access to the data through sysfs. tegra_log_suspend_time
must be called from display control driver when disabled.

Bug 1279339
Bug 1252226

Change-Id: If70135639b2e1eea72d1189f8c5cd32ba7d11bf1
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/227681
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Rakity <prakity@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>

6 years agoperf: Treat attr.config as u64 in perf_swevent_init()
Tommi Rantala [Sat, 13 Apr 2013 19:49:14 +0000]
perf: Treat attr.config as u64 in perf_swevent_init()

Trinity discovered that we fail to check all 64 bits of
attr.config passed by user space, resulting to out-of-bounds
access of the perf_swevent_enabled array in
sw_perf_event_destroy().

Introduced in commit b0a873ebb ("perf: Register PMU
implementations").

Signed-off-by: Tommi Rantala <tt.rantala@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: davej@redhat.com
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Link: http://lkml.kernel.org/r/1365882554-30259-1-git-send-email-tt.rantala@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
(cherry picked from commit 8176cced706b5e5d15887584150764894e94e02f)

Change-Id: Ie1dd9b0d40980fbbf8499528964c01cc71efd46c
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/228455
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: power: Re-factor core voltage capping
Alex Frid [Tue, 2 Apr 2013 00:21:16 +0000]
ARM: tegra: power: Re-factor core voltage capping

Re-factored core voltage capping APIs:

- Collapsed set level and enable APIs into one set level interface;
non-zero level automatically enables capping, and zero level disables
capping. Attempt to apply new non-zero level before the previous one
is disabled is rejected.
- Added error reporting and propagation through api layers
- Allowed to set cap voltage at nominal vdd core level even if voltage
to frequency mapping is not ready (no clock rates are capped at nominal
voltage, anyway).

Core voltage capping APIs are not used by any kernel client (designated
to vdd core override mechanism, yet to be added). Hence, function names
and signatures changes are transparent, for now. User space vdd core
capping sysfs nodes are not affected and kept backward compatible.

Bug 1246712

Change-Id: If0391529bb9a2f0c5ed096b51e19a222d96effeb
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/215334
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: dvfs: Add VDD_CORE override mechanism
Alex Frid [Tue, 12 Mar 2013 04:58:05 +0000]
ARM: tegra: dvfs: Add VDD_CORE override mechanism

Added mechanism to fix and lock (override) VDD_CORE rail voltage at
particular level. When override mode is entered, all scalable shared
buses and bus users (memory, graphics cbus clocks, system bus clocks)
are throttled to/below the rate safe at override voltage. Other clocks,
however, continue to run at rates set by the respective drivers. Hence
override voltage must be high enough to allow maximum rates of all core
clocks outside shared buses.

The lowest possible override level is determined by core dvfs tables,
and the supported override range is defined accordingly. Attempt to
set override voltage outside the range will fail, with the exception of
level 0 that is interpreted as request to exit override mode.

Override voltage cannot be changed if VDD_CORE is already locked: first
override mode has to be exited via zero level request, and then a new
override voltage can be set. No other override arbitration is provided.

Bug 1246712

Change-Id: I56e0dd250364c87b4036a07e6cdca750f556d008
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/209395
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agopower: bq2419x: udpate charge complete status
Syed Rafiuddin [Tue, 9 Apr 2013 15:24:51 +0000]
power: bq2419x: udpate charge complete status

update charge complete status to fuel-gauge driver

Change-Id: Icf6a40bea201c54bb60f7cd9dafd14c0c01a991e
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/217877
(cherry picked from commit 9a997ce6ad0a4a7b3ba05ffa3e36d2586df91990)
Reviewed-on: http://git-master/r/228393
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agopower: bq2419x: Update charging status
Pradeep Goudagunta [Wed, 3 Apr 2013 04:10:17 +0000]
power: bq2419x: Update charging status

-Check and update charging status when we encounter charging faults.
-Restart charging after certain timeout in case of charging
termination INT.

Bug 1261623

Conflicts:

drivers/power/bq2419x-charger.c

Change-Id: Ia43b598c79b85aa20f70a49312c370b384302333
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/215971
(cherry picked from commit d04051ca119842ec8a3e4bee04a1a90f40c135c9)
Reviewed-on: http://git-master/r/228392
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agopower: bq2419x: Smooth charging ramp-up
Syed Rafiuddin [Thu, 18 Apr 2013 05:05:24 +0000]
power: bq2419x: Smooth charging ramp-up

Add support to have a smooth charging current ramp-up.

Bug 1262682

Change-Id: Ia1987172d416d17fde39ec2d428ca7b28f4a28c4
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/219614
(cherry picked from commit 54bcefe32147b03ff2ba69a386339867b4eafa03)
Reviewed-on: http://git-master/r/228391
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agopower: bq2419x: Update current limit to 2.25A
Pradeep Goudagunta [Thu, 4 Apr 2013 19:03:00 +0000]
power: bq2419x: Update current limit to 2.25A

Bug 1224377

Conflicts:
drivers/power/bq2419x-charger.c

Change-Id: I19c942cfb86eead8e6bc2d40f9f3b909cd22d9f2
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/216611
(cherry picked from commit daee67693dc847feadb4f96d995db78f679faebd)
Reviewed-on: http://git-master/r/228314
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: kprobes: Fix kprobes build
Igor Nabirushkin [Thu, 31 Jan 2013 23:05:24 +0000]
ARM: kprobes: Fix kprobes build

Fix incorrect changes in the arch_arm_kprobe
function (commit 3b3f4d24917c97fa75aa4fba2b09797ef94cea38)

Bug 1228659

Change-Id: I679a3cfa7b8b7803984230d71e51f0952c2069bb
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/196423
(cherry picked from commit f948d0a3cbbf7578b1935c02d0da8c54313bc0d5)
Reviewed-on: http://git-master/r/219367
Tested-by: Byungkuk Seo <bseo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agobcmdhd: use kthread_run instead of kernel_thread
bibhayr [Thu, 9 May 2013 11:57:05 +0000]
bcmdhd: use kthread_run instead of kernel_thread

kernel_thread is deprecated and sometimes it fails.

Bug 1242544

Change-Id: I1472cfdbcfa85684380463e5c5ea268a0b2cbdbc
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/227039
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agousb: gadget: tegra: enable sw_vbus before setting run bit
Rohith Seelaboyina [Mon, 13 May 2013 08:49:55 +0000]
usb: gadget: tegra: enable sw_vbus before setting run bit

sw_vbus must be enabled before setting run bit as vbus
line goes to pmc.

Bug 1285915

Change-Id: I8299b4d3e9d0af3e406b2c618d8884c2f8eb6d68
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/227455
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agousb: host: tegra: wait for devices to disconnect
Preetham Chandru R [Mon, 18 Mar 2013 14:55:00 +0000]
usb: host: tegra: wait for devices to disconnect

wait for usb devices to disconnect before un-registering ehci.

Bug 1229443
Bug 1238342

Change-Id: Icb302d4e0012c7df12c5c7e67dd6d13a6f7aba01
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/212970
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: add NAND_GMI_CLK_LB entry to table
Andy Park [Mon, 6 May 2013 22:57:29 +0000]
ARM: tegra: add NAND_GMI_CLK_LB entry to table

tegra_soc_pingroups is missing an entry which could cause a
segmentation fault when careful operation is not provided. Filling
the missing entry to remove the hazardous possibility.

Bug 1284788

Change-Id: Ic9e7078c05b5cbff781be869893265ceda590fb7
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/226360
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra11: clock: Complete host1x bus update algorithm
Alex Frid [Fri, 10 May 2013 06:04:31 +0000]
ARM: tegra11: clock: Complete host1x bus update algorithm

Finalized 1x bus rate update algorithm. It now guarantees to switch to
the target parent/rate without violation of max clock limits for any
combination of pll rates and max limits (not just for current Tegra11
settings). It would also attempt to switch without dip in bus rate if
it is possible, but this cannot be guaranteed (example: switch from
408 MHz : 1 to 624 MHz : 2 with maximum 1x bus limit 408 MHz will be
executed as 408 => 204 => 312 MHz, and there is no way to avoid rate
dip in this case).

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

6 years agoARM: tegra: gizmo: sdmmc4 prefetch,gizmo settings
Pavan Kunapuli [Fri, 10 May 2013 10:22:56 +0000]
ARM: tegra: gizmo: sdmmc4 prefetch,gizmo settings

Removing IMMEDIATE and high priority settings for SDMMC4.
For the prefetcher configured for sdmmc4, using reset values of addr
boundary and inactivity timeout settings.

Bug 1280452

Change-Id: I7fdbe9e430f71f2c0aba44f7a57fd7f737825b8f
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/227417
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoarm: tegra: macallan: set the LDO5 to 2.8V
Hunk Lin [Sat, 11 May 2013 07:47:36 +0000]
arm: tegra: macallan: set the LDO5 to 2.8V

This rail is used for avdd of CAM2. Checked the datasheet of OV9772,
the avdd's typical value is 2.8V.

Bug 1287854

Change-Id: I9d38554f79d02cf1177c4a44c77b8b14d371e08a
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/227723
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoconfig: tegra[3,11]: mount devtmpfs before init
Mursalin Akon [Thu, 9 May 2013 16:00:34 +0000]
config: tegra[3,11]: mount devtmpfs before init

Without enabling mounting devtmpfs before init
from RFS, there is around 20 sec extra delay.

Bug 1286851

Change-Id: I7157ef59c2181dd639b7c1b52dd38ca18b0f6d52
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/227094
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoregulator: palmas: add config flags to configure regulator behavior
Laxman Dewangan [Thu, 9 May 2013 15:12:54 +0000]
regulator: palmas: add config flags to configure regulator behavior

Add the config variable on regulator init data to configure the rails
behavior like force off on suspend etc.

bug 1278567

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

6 years agonet: wireless: bcm4335: increase delay to avoid cmdTimeout
Om Prakash Singh [Mon, 29 Apr 2013 16:23:57 +0000]
net: wireless: bcm4335: increase delay to avoid cmdTimeout

increase delay before reading SBSDIO_FUNC1_SLEEPCSR
to wake sdio bus

Bug 1274359

Change-Id: I54c1bf199e2fe309d55ae52f0156c497b0c90144
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/226260
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agobrcmfmac: fix kthread_stop crash issue
Wei Ni [Thu, 22 Nov 2012 09:15:17 +0000]
brcmfmac: fix kthread_stop crash issue

When remove this module, there will call kthread_stop() to stop the
kernel thread. But sometimes, the thread will be exited by itself befor
calling kthread_stop, this will cause the crash.
I add a completion to fix this issue. If the kernel thread is exited by
itself, there will not call the ktherad_stop.

bug 1174020
bug 1179865

Change-Id: Iaea97cd57d63b0b64790017943860252b4080d75
Signed-off-by: Wei Ni <wni@nvidia.com>
Reviewed-on: http://git-master/r/165659
(cherry picked from commit c54aba042c92de7faaec7243c40ebb44b5117b00)
Reviewed-on: http://git-master/r/223009
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mursalin Akon <makon@nvidia.com>
Tested-by: Mursalin Akon <makon@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoARM: tegra: dvfs: Add CL-DVFS platform flags
Alex Frid [Fri, 10 May 2013 02:28:32 +0000]
ARM: tegra: dvfs: Add CL-DVFS platform flags

Added flags entry to CL-DVFS platform data, and convert boolean I2C
output configuration entry into flag.

Change-Id: I22057e8e46d9c7db8737b78b6e2d3182ed9a9f15
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/227277
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: always use usec timer for persistent clock
Bo Yan [Sat, 27 Apr 2013 21:05:52 +0000]
ARM: tegra: always use usec timer for persistent clock

The 32K to 12M conversion is imprecise, this causes timer drift across
LP0 cycles. Use usec timer as persistent clock

Change-Id: Ib780eaf5661fcd12cbba2593bab8dd3f2f950641
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/223680
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Zilo Zhao <zzhao@nvidia.com>
Tested-by: Zilo Zhao <zzhao@nvidia.com>

6 years agousb: otg: tegra: no state change until otg resumes
Krishna Yarlagadda [Thu, 9 May 2013 11:17:48 +0000]
usb: otg: tegra: no state change until otg resumes

USB state change might involve removing ehci device which
should not be handled before drivers are resumed.
No state change while otg driver is still in suspend

Change-Id: Ib92c75ee3397a79b6e7770935f2004a9ad94fec1
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/227032
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Tested-by: Hayden Du <haydend@nvidia.com>

6 years agoARM: tegra11: dvfs: Set maximum CPU voltage to 1.32V
Alex Frid [Thu, 9 May 2013 03:57:45 +0000]
ARM: tegra11: dvfs: Set maximum CPU voltage to 1.32V

Bug 1161126

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

6 years agovideo: tegra: host: Export actmon avg in sysfs
Arto Merilainen [Wed, 8 May 2013 05:52:18 +0000]
video: tegra: host: Export actmon avg in sysfs

This patch modifies 3d scaling profile to export actmon avg in
sysfs. The modification allows userspace governor to get the load
information without trusting debugfs.

Bug 1282779

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

6 years agoarm: tegra: macallan: only register fuel gauge when using battery
Kerwin Wan [Tue, 7 May 2013 02:31:22 +0000]
arm: tegra: macallan: only register fuel gauge when using battery

Bug 1284421

Change-Id: I77051124f88ddc417bb99b994d0784c5d40d5411
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/225988
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>