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

Added get_trend to use dTemp/dTime in trend calculation.

Bug 1158323

Reviewed-on: http://git-master/r/188582
(cherry picked from commit 9ba550b5b5f318771f0404997b33ca04a4048ef2)

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

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

Enabled trip point change through sysFs during run-time.

Reviewed-on: http://git-master/r/188136
(cherry picked from commit 3920116218d977d19a03747066311061730d87f1)

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

6 years agoARM: tegra: thermal: enable skin throttle for new thermal framework
Hyungwoo Yang [Tue, 18 Dec 2012 22:15:58 +0000]
ARM: tegra: thermal: enable skin throttle for new thermal framework

Modified skin throttling to make it compatible with new thermal
framework from kernel 3.7

Bug 1158323

Reviewed-on: http://git-master/r/172481
(cherry picked from commit 4124414571f00a5bda49a1f61ff59ac0d16abe8c)

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

6 years agodrivers: misc: therm_est: support new thermal framework
Hyungwoo Yang [Mon, 17 Dec 2012 19:58:35 +0000]
drivers: misc: therm_est: support new thermal framework

Modified thermal estimator to make it compatible with new thermal framework
which is backported from kernel 3.7

Bug 1158323

Reviewed-on: http://git-master/r/172470
(cherry picked from commit 800bb106798f29987c43256f5094a94787ccedf1)

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

6 years agoaudio: update Eq and Volume Profiles.
Vinod Subbarayalu [Wed, 2 Jan 2013 00:06:50 +0000]
audio: update Eq and Volume Profiles.

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

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

Bug 1202277

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

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

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

Bug 1212563

Change-Id: I5c6d1bd918c620301462c62cb569ef5a32c2713b
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/189121
Reviewed-by: Mark Kuo <mkuo@nvidia.com>
Tested-by: Mark Kuo <mkuo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra11: Configure AIC3262 platform data
Vijay Mali [Sat, 22 Dec 2012 10:40:24 +0000]
ARM: tegra11: Configure AIC3262 platform data

Remove incorrect initilization in AIC3262 platorm data
Update AIC3262 platform data

For bug 1179798

Change-Id: Ieae3d1c319ec0e0d2b103fcb475651b6621242c2
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/189117
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

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

Enable Headphone detection for AIC3262
audio codec.

For bug 1179798

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

6 years agoARM: tegra11: Support AIC3262 Audio Codec
Vijay Mali [Mon, 26 Nov 2012 14:04:28 +0000]
ARM: tegra11: Support AIC3262 Audio Codec

Add platform data for AIC3262 Auio codec.
Add and register i2c client for this codec.

For bug 1179798

Change-Id: Ia7b7c4cfbd7827aaff320b745646ed8fcc28d801
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/189111
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoARM: config: tegra11: enable AIC3262 Audio codec
Vijay Mali [Sat, 22 Dec 2012 08:30:13 +0000]
ARM: config: tegra11: enable AIC3262 Audio codec

Enable AIC3262 audio codec.

For bug 1179798

Change-Id: I4f1555bdc7bfb499e944077d3bbe6d38cdb5efdf
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/189108
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc: tegra: AIC3262 codec support for Pluto
Vijay Mali [Tue, 18 Dec 2012 14:20:27 +0000]
asoc: tegra: AIC3262 codec support for Pluto

Add config for selecting AIC3262 codec on Pluto.
Update AIC3262 machine driver for Pluto.
Add DMIC support.
Add music and voice call connections.

For bug 1179798

Change-Id: Ia1901c45c93d93ceea7b37d6498ac8e90e537466
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/189107
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

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

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

Bug 1189926
Bug 1211686
Bug 1213817

Change-Id: I54356d2a8a8ae3a5253b9b2c216ada283955e585
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/189105
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Ankit Gupta (SW-TEGRA) <ankitgu@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

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

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

Bug 953885
Bug 1192878

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

6 years agoARM: defconfig: Enable CONFIG_NETFILTER_XT_MATCH_QUOTA2
bibhayr [Fri, 4 Jan 2013 06:13:56 +0000]
ARM: defconfig: Enable CONFIG_NETFILTER_XT_MATCH_QUOTA2

Android BandwidthController uses quota2

Bug 1043520

Change-Id: I7e597f7ec7efe3215902309da3d1ed16d5a082d9
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/188555
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoHDCP: export nvhdcp state using ioctl
James Zhao [Fri, 4 Jan 2013 01:02:01 +0000]
HDCP: export nvhdcp state using ioctl

Export nvhdcp state to user land to check hdcp
link is verified before doing anything else.

Change-Id: Ib647b311d58225aa52236bf73aabc0adf0e93776
Signed-off-by: James Zhao <jamesz@nvidia.com>
Reviewed-on: http://git-master/r/188466
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

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

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

Bug 1179366

Change-Id: I4f46aac5104ebb8e422eb7dd9c5660a6c2756e3c
Signed-off-by: Jun Su <juns@nvidia.com>
Reviewed-on: http://git-master/r/189060
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoARM: tegra11: clock: Fix XUSB clocks sources
Alex Frid [Fri, 9 Nov 2012 02:43:27 +0000]
ARM: tegra11: clock: Fix XUSB clocks sources

Specified PLLREFE VCO output as possible XUSB clocks parent (was
incorrectly set to PLLREFE post divider output).

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

6 years agoARM: tegra11: clock: Update UTIMP PLL configuartion
Alex Frid [Thu, 8 Nov 2012 07:53:48 +0000]
ARM: tegra11: clock: Update UTIMP PLL configuartion

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

6 years agoARM: tegra11: clock: Add PLLREFE and PLLE resume
Alex Frid [Tue, 6 Nov 2012 02:34:36 +0000]
ARM: tegra11: clock: Add PLLREFE and PLLE resume

Change-Id: I2ad87567b78aaf3e473c3f95b92c1b417fec63d8
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/188901
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Tested-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: clock: Put PLLE under h/w control
Alex Frid [Tue, 23 Oct 2012 05:57:27 +0000]
ARM: tegra11: clock: Put PLLE under h/w control

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

6 years agomisc: tegra-baseband: Add shutdown handler.
Raj Jayaraman [Sat, 5 Jan 2013 07:54:43 +0000]
misc: tegra-baseband: Add shutdown handler.

Bug 1195969

Change-Id: I11748880b7f70ec98be63af27201c2b9bd2465a4
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/188927
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

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

Bug 116126

Change-Id: If24091d54848bfa3f2c65d5bd1d34dd22c25fbc8
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/188920
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

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

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

Bug 1181222

Change-Id: I7cfab476136967f9f90b5ea958b8bd65297c2f36
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/188635
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

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

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

Bug 1180954

Change-Id: I2a6b34e0b13b57ba5b5bcba4c4d979778cc8a338
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/188634
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoaudio:Add support for tfa calibration
Vinod Subbarayalu [Sun, 30 Dec 2012 21:59:07 +0000]
audio:Add support for tfa calibration

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

6 years agovideo: tegra: host: Reset syncpts on module init
Arto Merilainen [Wed, 2 Jan 2013 08:56:32 +0000]
video: tegra: host: Reset syncpts on module init

In rare conditions the client module may have a pending
operation during module initialization. This causes an unexpected
syncpoint increment.

Bug 1211690

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

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

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

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

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

Bug 1168663

Change-Id: I128bb1dfb9b85aa41000e0a3d65bc1d1d455446b
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/174334
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Wei Chen <wechen@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

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

adjust configs for bcmdhd

Bug 1180883

Change-Id: I46c7b7ddbb156b8aae513fe906323b80c3ac4ce2
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/172526
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agobcmdhd: Selectively do not claim devices
Mursalin Akon [Mon, 3 Dec 2012 22:00:21 +0000]
bcmdhd: Selectively do not claim devices

Allow a way to selectively not claim devices
through Kconfig options.

Bug 1204883

Change-Id: I9fc92f33960ba0154d113a2748d45ca9aced7078
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/172873
Reviewed-by: Allen Martin <amartin@nvidia.com>

6 years agoRevert "Revert "ARM: tegra3: config: bluesleep as module for L4T""
Mursalin Akon [Fri, 21 Dec 2012 23:10:36 +0000]
Revert "Revert "ARM: tegra3: config: bluesleep as module for L4T""

The original CL was merged without all dependent
CLs. Now, we can safely revert the revert.

This reverts commit 78d1e849fac14ed6d27da7fb3df495e3422361f5.

Change-Id: Ib27b20dac0be77f9a1563da808200f29a641c0a2
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/173777
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoarm: tegra: fix sd_settings initialization
Mitch Luban [Fri, 4 Jan 2013 00:13:44 +0000]
arm: tegra: fix sd_settings initialization

Since we started doing automatic panel detection, we were
not doing sd_settings initialization correctly. This change
fixes that issue.

Bug 1212968

Change-Id: I294c91759d3ff77fc4bc5a381c3c98fd92c91149
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/188451
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agotouch: clock: Boost CPU in touch IRQ via PM QoS
Li Li [Thu, 20 Dec 2012 03:48:20 +0000]
touch: clock: Boost CPU in touch IRQ via PM QoS

Export sysfs entries to set customized PM QoS parameters, including

1) cpus: the minimum active CPU cores (integer)
         0:  remain system default value
         >0: set the desired CPU cores
2) freq: the minimum CPU core frequencies (kHz)
         0:  remain system default value
         >0: set the desired CPU frequency
3) time: the effective duration of desired cpus & freq (us)

E.g. to boost at least CPU0 to 1.2G for 500ms once there's a touch IRQ, do

$ echo 1 > /sys/kernel/boost_cpu/cpus
$ echo 1224000 > /sys/kernel/boost_cpu/freq
$ echo 500000 > /sys/kernel/boost_cpu/time

Change-Id: I098445ad54c5d1444c15e058857e5523fa2d517d
Signed-off-by: Li Li <lli5@nvidia.com>
Reviewed-on: http://git-master/r/188807
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoARM: Tegra: Turn off SD phase in for T114
Mitch Luban [Fri, 16 Nov 2012 01:05:21 +0000]
ARM: Tegra: Turn off SD phase in for T114

Recently, on T114 we enabled SD updates on vpulse2 instead of
vblank. As a result, it no longer necessary to have
software or hardware phase in enabled.

Bug 1156207

Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/164163
(cherry picked from commit a6ba00121c61707d18132244b65da584896d6097)

Change-Id: Ib398284cb708ad212ea22772bc454092036bc329
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/188422
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoarm: tegra: soctherm: Register soctherm device as CPU zone
Diwakar Tundlam [Sun, 16 Dec 2012 20:13:37 +0000]
arm: tegra: soctherm: Register soctherm device as CPU zone

Add registration of soctherm device for CPU zone temperature
monitoring and bind it to the CPU-therm cooling device.

Also register the balanced throttling table for CPU frequency
throttling from the CPU-therm temperature monitoring zone.

Bug 1200075

Change-Id: I8df8c896b87a85a769e15b15f13e4b2c420d7662
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/172056
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

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

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

Bug 1177204

Change-Id: Ia9293141998587f53cb42d5284b42cea938e4248
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187372
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agovideo: tegra: fb: fix condition for screen panning
Rakesh Iyer [Fri, 21 Dec 2012 21:18:53 +0000]
video: tegra: fb: fix condition for screen panning

Check for screen panning by comparing with previously saved display parameters.

Bug 1046614

Change-Id: If08f2748ef366198edca1194c2c8f1cd1667127c
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
(cherry picked from commit b097592bea3ab2d2b8d7e4faecab4e30d540fb3d)
Reviewed-on: http://git-master/r/188775
Tested-by: Peter Zu <pzu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: pluto: Fix suspend/resume for 1080p Sharp
Animesh Kishore [Mon, 24 Dec 2012 11:20:46 +0000]
arm: tegra: pluto: Fix suspend/resume for 1080p Sharp

Fix power off/on sequence for 1080p Sharp panel.

Bug 1201597

Change-Id: Iad16c22df0bf8fdb4f38a1d7ca29b75b49c381b7
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/174115
(cherry picked from commit 3a6bf4c25ef6c2a2a5bc6809d267b19f43fdb21f)
Reviewed-on: http://git-master/r/188297
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>

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

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

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

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

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

Bug 1211962

Change-Id: If55ab4e5ab2025725b6b0858fea30b809dbfeec6
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/188551
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

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

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

Bug 1207043

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

6 years agoARM: tegra: fix out-of-bounds write
Deepak Nibade [Fri, 7 Dec 2012 12:39:11 +0000]
ARM: tegra: fix out-of-bounds write

Fix Coverity issue
Coverity id : 21342
Coverity id : 21343
Coverity id : 21344

Bug 1046331

Change-Id: I7a990f4cf36020a416f5cf029a8874fe07dbf389
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/169387
(cherry picked from commit 5a9fcd2218f7751b77e73246aaa9e5840c4ae2b5)
Reviewed-on: http://git-master/r/188449
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agoasoc:tegra: fix dam cif programming
Dara Ramesh [Thu, 13 Dec 2012 09:48:24 +0000]
asoc:tegra: fix dam cif programming

as per dam spec file chout is fixed to 32bits
so accept chout and ch1 input as 32bit always.

Reviewed-on: http://git-master/r/170931
(cherry picked from commit dd07f40144f763be77ce4e2aea5e7d4d22e6a134)

Change-Id: Ie423bb62e88ca2800b8a9180381685b5e085379f
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/188287
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

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

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

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

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

Update the TX_RTUNE value to 1100 for HSIC.

Bug 1211875

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

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

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

bug 1207093

Change-Id: I775e4cae70745ee5ef9ae29888a95b4b770df0db
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/187746
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: soctherm: change precision setting handling
Diwakar Tundlam [Fri, 14 Dec 2012 00:43:29 +0000]
ARM: tegra: soctherm: change precision setting handling

Bug 1169070

Change-Id: Ifec53b3ead28df3e8e8778d49588c073d32c90d0
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/172055
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>

6 years agoARM: tegra: pluto: add support for E1577
Tom Cherry [Thu, 3 Jan 2013 22:05:06 +0000]
ARM: tegra: pluto: add support for E1577

Change-Id: I320e1420167b5ced2f24f4b4ef8cd999c436738a
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/188415
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

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

Bug 1161126

Change-Id: Ic0d2062be165b74bd5ff10e709cdaf2cd9d2e24c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/187565
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

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

Added governor data in thermal_zone_device structure.

Bug 1200111

Change-Id: Id56f0f44d80aa06efd237a325c70e33776906f3d
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/188034
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoThermal: Fix wrong condition checking in policy_store
Jinyoung Park [Tue, 1 Jan 2013 02:26:01 +0000]
Thermal: Fix wrong condition checking in policy_store

Fixed wrong condition checking in policy_store.

Bug 1200111

Change-Id: I8832ae20cc06b0480614599e1850b2a32d2835dc
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/188033
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

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

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

Bug 1198671

Change-Id: I54aa60220c76542ebb1eca774cc48983a73711b8
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/187963
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

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

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

Bug 1161126

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

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

Aggregated core cap level for all enabled balanced throttling.

Bug 1200202

Change-Id: I68db648154b94e0d3794c28bb2eaf6a309f2a222
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/174179
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

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

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

Bug 1200202

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

6 years agoi2c: tegra: Use IMMEDIATE option for I2C Bus Clear
Chaitanya Bandi [Mon, 31 Dec 2012 11:11:22 +0000]
i2c: tegra: Use IMMEDIATE option for I2C Bus Clear

Use Immediate option instead of Threshold in case of
I2C bus clear logic.

Bug 1210176

Change-Id: Idc1bd977cd0ac79092117ace5f3283d9219b1eb1
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/188220
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoasoc: tegra: Roth headphone detection
Scott Peterson [Fri, 28 Dec 2012 03:11:42 +0000]
asoc: tegra: Roth headphone detection

Fixed clocking issues when doing headphone detection
on roth. The NXP device requires an active I2S interface
in order to supply clocks for programming.

Bug 1210696

Change-Id: I6e18daa349448d14e7ea2c98df2917213d24d82a
Signed-off-by: Scott Peterson <speterson@nvidia.com>
(cherry picked from commit 5d386c3275f38c84686f9b7f2181b5ecb08e0391)
Reviewed-on: http://git-master/r/188063
Tested-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>

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

Bug 1205034

Change-Id: If5df510d2b2e683f8a6b6c7b431343c1c4b4223e
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/187785
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

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

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

Bug 1211188

Change-Id: I113a1e7dc3eb6c211dab58596090c6c508364e25
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/187946
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

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

Bug 1193281

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

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

Bug 1161126

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

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

Bug 1170010

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

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

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

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

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

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

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

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

Remove unused power name to avoid confusion.

Bug 1168663

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

6 years agodrivers: misc: nct: add userspace event
Amit Kamath [Fri, 30 Nov 2012 08:39:02 +0000]
drivers: misc: nct: add userspace event

Use thermal interface to notify of thermal changes for all
thermal trip points using netlink sockets.

bug 1042409

Change-Id: Ia8ec1891f74aacbd4eb2692dee89c5b4457a5cf8
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/170984
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

6 years agonet: usb: raw_ip: max_intfs to be non-writable
JC Kuo [Tue, 13 Nov 2012 06:36:03 +0000]
net: usb: raw_ip: max_intfs to be non-writable

max_intfs is a varible which determines loop counts in driver
functions at runtime. Userspace could modify its default value at
module load time but it shouldn't be changed at runtime.

Bug 1175543

Change-Id: Id8e8055711288f900e5cffb704a2cf823dd97a34
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/187794
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoaudio:Update NXP configurations.
Vinod Subbarayalu [Sun, 30 Dec 2012 01:29:44 +0000]
audio:Update NXP configurations.

Change-Id: I089ac10a1bc0e922379a0046d17adcf3d04c880f
Signed-off-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
(cherry picked from commit a9c85f3c9302f8a20d4b5ff3da1e5f5205a82712)
Reviewed-on: http://git-master/r/187663
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agommc: host: Add SD/SDIO error stats support
rrajk [Mon, 31 Dec 2012 07:45:03 +0000]
mmc: host: Add SD/SDIO error stats support

Adding Debugfs support for SD/SDIO error stats
reports to debug the system.

Bug 1170517

Change-Id: I4f0d6659cdbeb6ce8360bd0cf5d69584e7830fdc
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/171813
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

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

Bug 1170010

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

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

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

Bug 1198457

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

6 years agopower: max17042: added shutdown functionality
Gaurav Batra [Tue, 20 Nov 2012 00:24:29 +0000]
power: max17042: added shutdown functionality

Change-Id: Ie0ec4e2970c645decde1c50e9858c9d4b2c41fd8
Signed-off-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-on: http://git-master/r/164812
(cherry picked from commit 6f3442a52e5ff28e5de217342035c510943d118c)
Reviewed-on: http://git-master/r/173782
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agonetlink: remove return value check for netlink_broadcast()
Amit Kamath [Fri, 14 Dec 2012 12:19:26 +0000]
netlink: remove return value check for netlink_broadcast()

Based on commit to change return value for netlink_broadcast
commit ff491a7334acfd74e515c896632e37e401f52676
Author: Pablo Neira Ayuso <pablo@netfilter.org>
Date:   Thu Feb 5 23:56:36 2009 -0800

Change-Id: I2adcfcb9f877effa2b04db74c8e90af36604e885
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/171416
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoARM: tegra: power: Add voltage to freq convertion interface.
Amit Kamath [Mon, 17 Dec 2012 07:22:30 +0000]
ARM: tegra: power: Add voltage to freq convertion interface.

Use EDP generated tables to calculate the frequency supported at
a specified voltage

bug 1042409

Change-Id: Id2aa6ac61023b9c9de1810fe6a46e4a1bc70eed0
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/171819
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

6 years agoinput: misc: cm3218: add shutdown functionality
Sri Krishna chowdary [Thu, 20 Dec 2012 14:23:35 +0000]
input: misc: cm3218: add shutdown functionality

Bug 1203781

Change-Id: Ibfa339ef801b1cb730409bd4657c16e4d669c558
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/173151
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

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

Bug 1055552

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

6 years agoroth: kbc: make A01 fab as default setting
Laxman Dewangan [Fri, 28 Dec 2012 06:16:55 +0000]
roth: kbc: make A01 fab as default setting

If board-id is properly program and if it is A00 then only
configure key for A00 otherwise configure it for A01 and more.

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

6 years agoThermal: Allow first cooling device update
Alex Frid [Fri, 28 Dec 2012 02:17:29 +0000]
Thermal: Allow first cooling device update

To allow first update of cooling device state during registration,
initialized "updated" device field as "false" (instead of "true").

Change-Id: Ie52f2c544f9351b2977578ca6a1af69e8affaea3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174576
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

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

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

Bug 1177204

Change-Id: Icfc4144f6124ca2a471bd0637106262be46fce9a
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174549
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

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

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

Bug 1177204

Change-Id: I15235c9bc1a4184f0ddbde256e47080c359a0566
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/174548
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoarm: tegra: pluto: Add MAX8331 backlight EDP platform data
Chaitanya Bandi [Wed, 26 Dec 2012 09:01:22 +0000]
arm: tegra: pluto: Add MAX8331 backlight EDP platform data

Added plaform data for MAX8831 backlight EDP

Bug 1159966

Change-Id: I8f8ebf4f969521cec1f5f1f3c49e0f96cff7395b
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174235
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agobacklight: max8831: Add support for EDP
Chaitanya Bandi [Wed, 26 Dec 2012 08:59:08 +0000]
backlight: max8831: Add support for EDP

Added EDP support for MAX8831 backlight chip

Bug 1159966

Change-Id: Ie4553c054caeac6e7ff58ca7ac4cca9ed0f3eced
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174234
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoi2c: tegra: Queue a write and read together
Chaitanya Bandi [Fri, 23 Nov 2012 11:07:28 +0000]
i2c: tegra: Queue a write and read together

A write transaction followed by a read transaction
can be programmed at one go if the write size is less
than 8 bytes. This way clock stretching at such a write
transaction done otherwise (programming one after the other)
can be reduced significantly.

Bug 1178302

Change-Id: I5ded49a55b5a2e224ed17d07850ee660d280bed2
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/165908
(cherry picked from commit 2eee450bfb2ca792dca72310dc5bafd044d6ed2e)
Reviewed-on: http://git-master/r/173605
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

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

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

Bug 1202277

Change-Id: I043b6c66e6113008756425a68b0e8ffbe95d0cab
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/172516
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

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

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

Bug 1166544

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

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

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

Bug 1166544

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

6 years agomisc: apds9802als: Use dev_pm_ops for suspend/resume
Chaitanya Bandi [Wed, 26 Dec 2012 11:27:58 +0000]
misc: apds9802als: Use dev_pm_ops for suspend/resume

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

Bug 1166544

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

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

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

Bug 1166544

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

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

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

Bug 1166544

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

6 years agoARM: tegra: KBC: support long press power key 1001SKU
aghuge [Wed, 19 Dec 2012 11:57:53 +0000]
ARM: tegra: KBC: support long press power key 1001SKU

Added support for long press power key functonality

Reviewed-on: http://git-master/r/172776
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 15d63caf7a656fb56ae9790f243c4b37c80b25b0)

Change-Id: I71be76eea1d6572c84447fd626f490fdc08da027
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/173314
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: tegra: cpu: Add interface for voltage limiting
Amit Kamath [Thu, 13 Dec 2012 11:54:15 +0000]
arm: tegra: cpu: Add interface for voltage limiting

Interface to limit the frequency as per need to limit the voltage. This
will maintain the sanity of device over extended period.

bug 1042409

Change-Id: I89ed829a8435ce34370508b9d4b21a4492826504
Signed-off-by: Amit Kamath <akamath@nvidia.com>
Reviewed-on: http://git-master/r/170974
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: roth: power key connected to KBC-COL0 on A01 rev board
Laxman Dewangan [Thu, 6 Dec 2012 09:52:34 +0000]
ARM: tegra: roth: power key connected to KBC-COL0 on A01 rev board

The Power key is connected to the KBC-COL0  from roth board
revision A01 onwards.

bug 1186701

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

Change-Id: I218fb10d0e89471f3d2e2db1b37bf15832bb1a03
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/173644
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

6 years agostaging: iio: light: isl29028: implement shutdown functionality
Sri Krishna chowdary [Fri, 21 Dec 2012 07:02:31 +0000]
staging: iio: light: isl29028: implement shutdown functionality

Bug 1203781

Change-Id: I95cc4b2431a11dcb7dce8f982296b1f9a39e4b62
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/173149
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agostaging: iio: light: isl29028: add suspend/resume functionality
Sri Krishna chowdary [Mon, 24 Dec 2012 12:19:56 +0000]
staging: iio: light: isl29028: add suspend/resume functionality

Change-Id: Ib6c352174833860b21d9ae5aa89469b68688c9ab
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/174130
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoinput: misc: cm3218: ensure device's initial state
Sri Krishna chowdary [Sat, 22 Dec 2012 06:23:02 +0000]
input: misc: cm3218: ensure device's initial state

Bug 1198671

Change-Id: Id1a9180c31d0e44b2476fc43d2fd650a90683c5b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/173844
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prem Sasidharan <psasidharan@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agostaging: iio: light: isl29028: enable regulator
Sri Krishna chowdary [Wed, 26 Dec 2012 08:23:33 +0000]
staging: iio: light: isl29028: enable regulator

Bug 1181726

Change-Id: I65639ec6d246aa6b9162dd7f54a9ca7357256e88
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/173075
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: pluto: fix the pinmux setting of SPDIF_OUT
Hunk Lin [Wed, 19 Dec 2012 13:25:08 +0000]
ARM: tegra: pluto: fix the pinmux setting of SPDIF_OUT

SPDIF_OUT is used as regulator enable GPIO so it should be configured as
output.

Bug 1192480

Change-Id: I3302e39fad89145372b20466d06f5747cb35706e
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/172809
(cherry picked from commit 28a61a8362d584f985af49d52beedc936e721658)
Reviewed-on: http://git-master/r/173850
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agocpufreq:interactive:idle time excludes iowait.
Satya Popuri [Wed, 19 Dec 2012 23:20:38 +0000]
cpufreq:interactive:idle time excludes iowait.

The CPU idle time reported by scheduler stats does not include time
spent waiting on I/O anymore. This has flipped the semantics of the
io_is_busy flag in current code and causes any usecases that do file I/O
to run at higher than normal frequencies. E.g, video playback.

Bug 1205531

Change-Id: Iee0f14597272ea59a879d4bfce3ea93cf90fe57a
Signed-off-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-on: http://git-master/r/172931
(cherry picked from commit a7a099eeccc8b6cf0f8f7e53a877e0e6b1a020e3)
Reviewed-on: http://git-master/r/173723
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: only do clusterswitching in 1 CPU mode
Peter De Schrijver [Tue, 18 Dec 2012 14:04:36 +0000]
ARM: tegra: only do clusterswitching in 1 CPU mode

Only consider clusterswitching when there is a single CPU online.
This is done by ignoring frequency changes when there are more cores
online and registering a notifier to immediately switch to the slow
cluster if there is only 1 CPU online and the frequency is below
idle_bottom_freq.

bug 1178947
bug 1202877

Change-Id: I1244f866de1d32c268d36c835cd90d9c6cba1481
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/172346
(cherry picked from commit 309a2860fa6784d7e35ee114cf061599b19c4d91)
Reviewed-on: http://git-master/r/173718
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>