linux.git
10 years agoarm: tegra: roth: Enable FAST init mode for smps9 daily-2013.07.26.0_rel-roth-mp-3-partner daily-2013.07.26.1_rel-roth-mp-3-partner daily-2013.07.29.0_rel-roth-mp-3-partner daily-2013.07.29.1_rel-roth-mp-3-partner daily-2013.07.29.2_rel-roth-mp-3-partner
Anshul Jain [Tue, 2 Jul 2013 04:20:53 +0000 (21:20 -0700)]
arm: tegra: roth: Enable FAST init mode for smps9

Bug 1315200

Change-Id: If1bfc2a17d302f10b4d5439fa5e1ba5914b2fcc5
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/244113
Reviewed-by: Tao Xie <txie@nvidia.com>
Tested-by: Tao Xie <txie@nvidia.com>
10 years agovideo: tegra: dc: hdmi: calling tegra_hotplug_signal to queue deferred work
sharath sarangpur [Tue, 25 Jun 2013 02:15:26 +0000 (19:15 -0700)]
video: tegra: dc: hdmi: calling tegra_hotplug_signal to queue deferred work

Call tegra_hotplug_signal to queue deferred work after a delay of 30ms and call gpio_get_value
in tegra_dc_hpd

bug 1310096
bug 1298680

Change-Id: Iab37af3258429b1e281705eb5b077be31b53b07f
Signed-off-by: sharath sarangpur <ssarangpur@nvidia.com>
Reviewed-on: http://git-master/r/241633
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
10 years agodrivers:misc:issp: Hold wakelock while recovery
Anshul Jain [Fri, 21 Jun 2013 21:44:53 +0000 (14:44 -0700)]
drivers:misc:issp: Hold wakelock while recovery

This change takes a wakelock before stating the recovery
mechanism of JS

Bug 1306389

Change-Id: I0109455647988248f1e37d5a000e1e34654e40e5
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/241103

10 years agomisc: issp: Add usb js recovery mechanism
Anshul Jain [Fri, 21 Jun 2013 01:49:06 +0000 (18:49 -0700)]
misc: issp: Add usb js recovery mechanism

This change recovery the JS uC after USB resume failure by
unloading USB, resetting uC from ISSP and then reloading USB

Bug 1306389

Change-Id: I086636d4b7b91e3a2874f584fa6efbfd2cae6014
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/240004

10 years agoinput: misc: inv: Add critical section protection for power on/off
Xiaohui Tao [Mon, 17 Jun 2013 22:25:52 +0000 (15:25 -0700)]
input: misc: inv: Add critical section protection for power on/off

Unbalanced irq_enable/disable will cause potential risk of the sensor
data not being sent out. Add critical section and flag to prevent
this situation.

Change-Id: I4a8b3ebfd07b3e4901ad807c8052c38e3f23315e
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/239385
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
10 years agoinput: misc: Change self test variation
Xiaohui Tao [Tue, 18 Jun 2013 18:33:11 +0000 (11:33 -0700)]
input: misc: Change self test variation

Change DEF_ACCEL_ST_SHIFT_DELTA and DEF_GYRO_CT_SHIFT_DELTA to
500.

Change-Id: Id4db11789d561dfc3899d8de592421f04dbf19db
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/239833
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
10 years agoARM: tegra: config: set panic timeout 5 secs
Jean Huang [Fri, 14 Jun 2013 20:42:17 +0000 (13:42 -0700)]
ARM: tegra: config: set panic timeout 5 secs

Change-Id: I342d1f1505caedabaefa0b2f0eb5dccdf5046bca
Signed-off-by: Jean Huang <jeanh@nvidia.com>
Reviewed-on: http://git-master/r/239022
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
10 years agodrivers:misc:issp: Reset Device on USB resume fail
Anshul Jain [Sat, 15 Jun 2013 01:10:31 +0000 (18:10 -0700)]
drivers:misc:issp: Reset Device on USB resume fail

This is a WAR to reset the USB device if the device
fails to resume. We assume that the resume failure is
because of the uC hang.

Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Change-Id: I6fc85cd0ce2fad7a7dbff5b6ddee0a96149a5d76
Reviewed-on: http://git-master/r/239086
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tao Xie <txie@nvidia.com>
Tested-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
10 years agofirmware: p2560-uc firmware update v59
Jun Yan [Sat, 15 Jun 2013 02:50:29 +0000 (19:50 -0700)]
firmware: p2560-uc firmware update v59

v58->v59:
- Keep uC USB buffer unchanged for about 1 second when exiting suspend
  mode, in order to fix false wakeup events issue

Change-Id: I175bb0328af1840cbfe8c70e0607d7d8023e0c26
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/239099
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
10 years agoarm: tegra: thor: fix wlan-bt power sequence
Michael Hsu [Fri, 7 Jun 2013 04:13:08 +0000 (21:13 -0700)]
arm: tegra: thor: fix wlan-bt power sequence

Use mutexes to prevent concurrent wifi / bluetooth turn
on sequence.

Bug 1302412

Change-Id: Icd086b616af2f5ccbff7968d613310c365ad549a
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/236533
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
10 years agovideo: tegra: host: Do not reset MC on powerup_reset
Matt Wagner [Tue, 4 Jun 2013 11:37:58 +0000 (04:37 -0700)]
video: tegra: host: Do not reset MC on powerup_reset

Change-Id: I2158918b6a22a4ceeadecdfa5a51fc87a624a105
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/235510
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
10 years agonet: wireless: bcmdhd: mask excessive wifi chip interrupts
Michael Hsu [Tue, 4 Jun 2013 07:49:14 +0000 (00:49 -0700)]
net: wireless: bcmdhd: mask excessive wifi chip interrupts

On P2560 hardware only, wifi chip generates excessive wifi
activity interrupts:
- on first boot after flashing image

WAR is to mask this specific wifi activity interrupt to
prevent it from keeping application processor awake.

Bug 1299635

Change-Id: Idf0fdaf817621e3ae5e0f63864c488366dbbcaba
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/235330
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
10 years agofirmware: p2560-uc firmware update
Jun Yan [Mon, 3 Jun 2013 22:08:14 +0000 (15:08 -0700)]
firmware: p2560-uc firmware update

v57->v58
-changed dead band to 38
-changed cal window to 80

Bug 1266521

Change-Id: I686ef709df77ad7d29e8cee6420683ee901a73cf
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/235156
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
10 years agofirmware: p2560-uc firmware update
Anshul Jain [Fri, 31 May 2013 07:07:50 +0000 (00:07 -0700)]
firmware: p2560-uc firmware update

v56->v57
  added changes to uC FW that will check to make sure if LED PWM timer0 == Started then check the timer0 start bit and if not set
  then set it to start running again.

v55->v56
- Bump revision to v0_56.
- Changed the following End Point 2 commands:
  LED_UC_DRIVE- This function now does Nothing. Left it in for backwards compatibility.
  (Previously this function setup the Port 1.1 pin to drive from tri-state. And also set the LED pin high (ON).)
  LED_BREATHE_ON- This function now sets up port 1.1 in a drive state from tri-state and starts timer0 for the SW PWM.
  LED_BREATHE_OFF- This function now sets up port 1.1 in a drive state from tri-state.
  Also keeps the same logic as before stopping the SW PWM timer0 and set P1.1 LED LOW (OFF).

Bug 1266521

Change-Id: I2ef12fe6c66e03d299b0135e749498d8154f3937
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/234431
Reviewed-by: Automatic_Commit_Validation_User
10 years agovideo: tegra: host: Disable Powergate for T114 3d
Matt Wagner [Fri, 31 May 2013 05:58:44 +0000 (22:58 -0700)]
video: tegra: host: Disable Powergate for T114 3d

Change-Id: Ib87ff58487c324124987a563fc0621d8f8482784
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/234417
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tao Xie <txie@nvidia.com>
Tested-by: Tao Xie <txie@nvidia.com>
10 years agofirmware: p2560-uc update v55
Anshul Jain [Wed, 29 May 2013 17:57:48 +0000 (10:57 -0700)]
firmware: p2560-uc update v55

- Bump revsion to v0_55.
- Center point calibration window (power on/reset) now 40 from 80
- power on defaults for Right/Left Joystick X,Y axes are now 250 from150.
  Note: doing this makes the scaling values less granular or smaller steps on power on.
  Thus helps with RS mouse drift being a larger value just outside the center dead band.
  Noticed that the RS mouse drift can go away after moving the joysticks to its max and min points.
- power on defaults for right/left analog triggers are now 600 and 300 max/min.
  The original version had this at 300 and 700 reversed. Hence, on the very first trigger pull,
  you only had to move a very small distance to hit max.
  NOTE: Center point stiction dead band is still set to 37. Same as v52.

Bug 1266521

Change-Id: I071c9b1ef2cb837787fd4f21f0e4a6bee9aafc01
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/233806
Reviewed-by: Automatic_Commit_Validation_User
10 years agoasoc: roth: Headphone detection improvement
Scott Peterson [Tue, 28 May 2013 00:27:58 +0000 (17:27 -0700)]
asoc: roth: Headphone detection improvement

Improve headphone jack detection in certain
scenarios.

Bug 1296602

Change-Id: I748f7649680ad60edbc450c09027cb3b76552f8c
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/233081
Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agopower: bq2419x: disable otg for 30s when fault happens
Syed Rafiuddin [Fri, 10 May 2013 15:12:51 +0000 (20:42 +0530)]
power: bq2419x: disable otg for 30s when fault happens

disable OTG mode when over temprature and over current
interrupt occurs and re-enable OTG mode after 30sec.

Bug 1285652

Change-Id: Ic7ee97a3b14cea03462d16b24f8de670e0e76904
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/226994
(cherry picked from commit 4e8d08beb0a8659862018eda355c845167adac9d)
Reviewed-on: http://git-master/r/231751
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
11 years agoARM: tegra: dvfs: Don't fail same level override request
Alex Frid [Thu, 2 May 2013 23:32:52 +0000 (16:32 -0700)]
ARM: tegra: dvfs: Don't fail same level override request

When new VDD_CORE override level is the same as the one already in
place do not return error from the override API.

Bug 1280293

Change-Id: Ic4393541308139c2ac9579acc8e2af47b144d521
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/225378
(cherry picked from commit cea34a24e79f8be40fa5aaf6a38992a0d54e705e)
Reviewed-on: http://git-master/r/231750
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
11 years agomisc: nct1008: talk to nct1008 only when powered
Sang-Hun Lee [Mon, 13 May 2013 17:06:00 +0000 (10:06 -0700)]
misc: nct1008: talk to nct1008 only when powered

Problem description:
 - nct1008_suspend powers off nct1008
 - nct1008_suspend does stop the workqueue and irq, but
   if there is a kernel thread which would trigger
   nct1008_read_reg or nct1008_write_reg, nct1008 would
   still be accessed after it is powered off

Fix description:
 - Rename the existing flag shutdown_complete to nct_disabled
 - Update the value of nct_disabled when powering nct1008 on and off

Bug 1288427

Change-Id: Id885794eb39a71025ad9f5c3615156c19039d13f
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/228011
(cherry picked from commit 08eed1ddbacece2f1c8b4fba633c01c0f87ba2cd)
Reviewed-on: http://git-master/r/232275
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agoinput: misc: inv: disable irq when powering off
Sang-Hun Lee [Mon, 13 May 2013 00:46:52 +0000 (17:46 -0700)]
input: misc: inv: disable irq when powering off

Problem descritpion:

 - Even after powering off the device through inv_set_power_state,
   inv_read_fifo can be running in paralell, still talking to the
   device

Fix description:

 - When powering off the device, also disable the irq to avoid
   talking to a powered off device
 - As a side effect, this change will also ensure interrupts from gyro
   do not result in a lock up of i2c bus during suspend even in case
   of an interrupt storm

Bug 1285239

Change-Id: I42dfa094b645944e22d600b64abc18b10b7fb38b
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/227781
(cherry picked from commit a2ce58ee6da12bbe3f9d18dfcef1e6a48a4572a9)
Reviewed-on: http://git-master/r/232274
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agoInput: touch: raydium: Update to Raydium v56.1 driver
Xiaohui Tao [Wed, 22 May 2013 15:53:16 +0000 (08:53 -0700)]
Input: touch: raydium: Update to Raydium v56.1 driver

1. CTS failure
2. Suspend/Resume time

Bug 1283362

Change-Id: I5cbd85bbab26f029dd7400cd17c9bb1358fc2ef8
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/231660
(cherry picked from commit 10c3573c922e79d81be2d2e0812b1945d4fab0f4)
Reviewed-on: http://git-master/r/232253
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Tao Xie <txie@nvidia.com>
Tested-by: Tao Xie <txie@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agoARM:Tegra:Roth: Update speaker settings
Scott Peterson [Mon, 20 May 2013 19:45:02 +0000 (12:45 -0700)]
ARM:Tegra:Roth: Update speaker settings

Update speaker model, EQ, and configs for
the NXP tfa8997 device.

Change-Id: Iabed2761aa6156eaac1ca3753d8c58599f885726
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/231741
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

11 years agoHDCP: Only Wait for Communication to stop if HDMI is Plugged
Matt Wagner [Wed, 22 May 2013 00:50:34 +0000 (17:50 -0700)]
HDCP: Only Wait for Communication to stop if HDMI is Plugged

Don't wait for communication to stop if HDMI isn't plugged

Bug 1275577

Change-Id: Ifb56bc8a4b36ac2cb40614811398920b7e293e04
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/231350
(cherry picked from commit fc774f94ffa54b1a6ce1771ac82b82c3a1eea39f)
Reviewed-on: http://git-master/r/231692
Reviewed-by: Automatic_Commit_Validation_User
11 years agoARM: tegra: board: disable the alignement fix
Suresh Mangipudi [Wed, 15 May 2013 04:47:47 +0000 (10:17 +0530)]
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-on: http://git-master/r/231096
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Zu <pzu@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Tested-by: Peter Zu <pzu@nvidia.com>
11 years agonet: wireless: bcmdhd: new driver version 1.28.28.2
bibhayr [Wed, 15 May 2013 06:47:19 +0000 (12:17 +0530)]
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 1282745

Change-Id: Ie55a05c51e95941e09e5c582c4936909f490575e
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/#change,228838
(cherry picked from commit 6147573414026a4ff978885f38e4842de55fb4fe)
Reviewed-on: http://git-master/r/230104
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Tested-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
11 years agoarch: arm: tegra11: Disable wifi prepower
Nitin Bindal [Fri, 17 May 2013 09:50:31 +0000 (15:20 +0530)]
arch: arm: tegra11: Disable wifi prepower

Wifi prepower logic is needed to support
multiple wifi chip vendors so that we can
load different wifi driver at run-time.
Disable this flag for rel_roth as it uses
only bcm43241 wifi chip.

Bug 1280309

Change-Id: Ia1399c3fe003c6704a868f7646c011d0899e8ddf
Signed-off-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-on: http://git-master/r/230826
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoinput: touch: raydium: Update to Raydium v55.9 driver
Xiaohui Tao [Fri, 17 May 2013 17:17:33 +0000 (10:17 -0700)]
input: touch: raydium: Update to Raydium v55.9 driver

Code drop from raydium

1. RESET signal correction during suspend/resume
2. The LP0 touch not work issue fix
3. The old functionality such as environment variable and calibration should remain the same.

Change-Id: Ibb71c2ddb4a7b6760baa991a737fa6c3580b893a
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
(cherry picked from commit 7df8f34a4b4a26305afac8aff42eeaa528655d33)
Reviewed-on: http://git-master/r/230050
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agoARM: tegra: roth: Mask HS200 mode support
Pavan Kunapuli [Sun, 12 May 2013 11:26:28 +0000 (16:56 +0530)]
ARM: tegra: roth: Mask HS200 mode support

Mask HS200 mode support for sdmmc4.

In DDR50 mode for eMMC can support max clock of 52MHz. For Tegra sdmmc
controllers, the host clock in ddr mode should be double that of the
eMMC device. Taking into consideration the dvfs tables, limiting ddr
mode clock to 51MHz to allow for lower core voltages to set even when
sdmmc4 clock is ON.

Bug 1287739

Change-Id: Ib04dce91d771ab5505dd67ea3a8d5c704d0b499e
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
(cherry picked from commit 3db4b21d8d5eb5a99dbcd3d660478a3a89ced104)
Reviewed-on: http://git-master/r/230048
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agommc: Limit MMC speed to 52MHz if not HS200
Al Cooper [Fri, 30 Nov 2012 15:53:35 +0000 (10:53 -0500)]
mmc: Limit MMC speed to 52MHz if not HS200

If "caps2" host capabilities does not indicate support for MMC
HS200, don't allow clock speeds >52MHz. Currently, for MMC, the
clock speed is set to the lesser of the max speed the eMMC module
supports (card->ext_csd.hs_max_dtr) or the max base clock of the
host controller (host->f_max based on BASE_CLK_FREQ in the host
CAPS register). This means that a host controller that doesn't
support HS200 mode but has a base clock of 100MHz and an eMMC module
that supports HS200 speeds will end up using a 100MHz clock.

Change-Id: I2967fcc733b7178bdf54d6f75f65bdff253fc1cc
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Al Cooper <alcooperx@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Reviewed-on: http://git-master/r/227758
(cherry picked from commit ed5cc4ef1e8bcdae292b6f234dbb7054cf5542cb)
Reviewed-on: http://git-master/r/230047
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
11 years agommc: core: fix the decision of HS200/DDR card-type
Seungwon Jeon [Wed, 25 Apr 2012 07:17:37 +0000 (16:17 +0900)]
mmc: core: fix the decision of HS200/DDR card-type

Current implementation decides the card type exclusively. Even though
eMMC device can support both HS200 and DDR mode, card type will be
set only for HS200. If the host doesn't support HS200 but has DDR
capability, then DDR mode can't be selected.

Change-Id: Id2b9095f8ffe59c520850acd40681a9ef15c3ff9
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Reviewed-on: http://git-master/r/227757
(cherry picked from commit 084aa8cc074b0e95883934f82f5521d0cc5e0941)
Reviewed-on: http://git-master/r/230046
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
11 years agoARM: Tegra: Roth: Increase Drive Strength for 4K
Matt Wagner [Fri, 17 May 2013 17:45:18 +0000 (10:45 -0700)]
ARM: Tegra: Roth: Increase Drive Strength for 4K

Increase by 30mV

Bug 1278943

Change-Id: I554c281ca1f12cb7494516844f4fd72e1d4b03b1
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
(cherry picked from commit e61f283f9966358e68c7cdcd9ea26bbc7bbc18c3)
Reviewed-on: http://git-master/r/230045
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

11 years agobcmdhd: Clear dhd driver hang event
Michael Hsu [Fri, 17 May 2013 23:22:55 +0000 (16:22 -0700)]
bcmdhd: Clear dhd driver hang event

Clear dhd driver hang event upon device close, so that next open
will not be blocked.

Prevents condition where wifi cannot be turned off / on because
of a previous hang event flag being set.

Bug 1280309

Change-Id: I6569cd39c8866682c7a19fa840b32162c2a4dd5b
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/229999
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agovideo: tegra: dsi: Enable MIPI auto calibration
Vineel Kumar Reddy Kovvuri [Tue, 23 Apr 2013 10:03:34 +0000 (15:33 +0530)]
video: tegra: dsi: Enable MIPI auto calibration

Updated the auto calibration values.
Fixed call to register access function.

Bug 1166307
Bug 1283871

Change-Id: I39976bd3cbdcc09df682589c418b06281d7eec97
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/229915
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agovideo: tegra: dsi: Enable MIPI auto calibration
Vineel Kumar Reddy Kovvuri [Fri, 15 Mar 2013 06:13:56 +0000 (11:43 +0530)]
video: tegra: dsi: Enable MIPI auto calibration

Implementation of DSI MIPI auto calibration

Bug 1166307

Change-Id: Id4be420978b56d662d77c6d145f9e51dc881d159
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/229914
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agoARM: tegra: roth: Add force update to P2560
Anshul Jain [Wed, 15 May 2013 01:29:43 +0000 (18:29 -0700)]
ARM: tegra: roth: Add force update to P2560

This change will force update firmware on P2560, this is
done to help with downgrading versions as required.

Bug 1266521

Change-Id: I9121a75c108d8a79f496ed7686a34e7fce66a3ad
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
(cherry picked from commit 428c5acf8cabde6d72a9eee98f98b2bdefc52f60)
Reviewed-on: http://git-master/r/229466
Reviewed-by: Automatic_Commit_Validation_User
11 years agofirmware: p2560-uc update v52
Anshul Jain [Wed, 15 May 2013 01:32:50 +0000 (18:32 -0700)]
firmware: p2560-uc update v52

v51->v52
- Bump revsion to v0_52.
- All Joystick Wakeup out of Suspend Tuning changes:
-   Added a ADC Channel Synchronizer so as to make the Left and right joystick axes has a higher suspend mid point value.
      This helps the sensitivity when moving the POT towards the GND node.
-   Because of the ADC channels Sychronizer the Left and Right Analog triggers needed more Threshold tuning:
        now Left Analog Trigger threshold is < 100 (was 150) and Right Analog Trigger Threshold is > 350 (was 375)
        This helped move the wakeup trigger point more away from the ends.
- For the Left and Right Joysticks; we added two Thresholds wakeup methods:
      1) the original dADC/dt with a delta threshold of 80. same as v46.
      2) a "Measured" suspend MID-point min and max threshold.
            This helps wake up when user move joystick slowly to one side or the other.
              Measured absolute Thresholds are set to suspend mid point- 150 and + 150.
              If suspend mid-point is too low then we will default to a low threhold of 85.

v46->v51
- Bump revsion to v0_51. This has everything that v46 has.
- Has joystick wakeup and Left and Right Analog trigger wake up.
- Analog triggers use a fixed absolute threshold: Left is set to < 150 and Right is set to > 375
- The Left and Right Joysticks still are using dADC/dt methodolgy with a threshold of 80.
    However, it can be a little difficult to wake up using these. Especally if the using moves towards GND side of the POT.

Bug 1266521

Change-Id: I2322d0265fac69314368d025656e3fef8d3be414
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
(cherry picked from commit 9d0f6ae86de61f3360932b1598e8da18b0fe7404)
Reviewed-on: http://git-master/r/229465
Reviewed-by: Automatic_Commit_Validation_User
11 years agopower: bq2419x: Update charger type
Pradeep Goudagunta [Fri, 3 May 2013 10:48:10 +0000 (16:18 +0530)]
power: bq2419x: Update charger type

Update charger type up on connection.

Bug 1281945

Change-Id: Iea2bf0323636ae54e2e911705fd795c273de50f7
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/225208
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
11 years agoperf: Treat attr.config as u64 in perf_swevent_init()
Tommi Rantala [Sat, 13 Apr 2013 19:49:14 +0000 (22:49 +0300)]
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: I5ecfb388007fba52435b49ac38855d1873ca63db
Signed-off-by: Bo Yan <byan@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/228787
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

11 years agoARM: Tegra: Roth: Update DSI Settings
Matt Wagner [Tue, 14 May 2013 23:09:04 +0000 (16:09 -0700)]
ARM: Tegra: Roth: Update DSI Settings

Fix v_front_porch, v_back_porch and pwr_ctrl settings

Bug 1283232

Change-Id: Ic5f7fcd49977157bfe64e47a4b9fbcee42fa79d3
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/228540
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

11 years agoarm: roth: Add regulator for fuse
Shardar Shariff Md [Mon, 13 May 2013 09:13:05 +0000 (14:43 +0530)]
arm: roth: Add regulator for fuse

Add vpp_fuse entry into ldo4 of palmas

Bug 1286520

Change-Id: I2caad9d715f1ea8fc40335c93dc36f8c7107289b
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/227900
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
11 years agofirmware: p2560-uc update
Anshul Jain [Thu, 9 May 2013 19:57:52 +0000 (12:57 -0700)]
firmware: p2560-uc update

v40->v46

- Removed Debug GPIO P3.0
- No wakeup pulse sent in OS Idle/Display Off (aka Active/LED Breathing ON)
- If LED Breathing remains ON when Display is ON, will turn off LED
  Breathing with button press or Joystick Motion  (no Analog Triggers).
  LED breathing on in this state is a DON’T care because Tegra is
  overriding the LED control.
- Added back Joystick wakeup during USB Suspend.  Only Left
  and Right Analog sticks and NO Analog Triggers.
- Suspend Joystick wakeup Threshold is set to 80.
- Added a usb activity check before the LED control logic in the suspend loop. If usb activity detected; we will bail out of the loop.
  This change more matches v31 suspend loop that seems to be running LP0 suspend/resume cycles just fine.
  Noticed on the scope that the timing delta relationship from Resume to T-setup requests were varying quite a lot. The LED control logic
  just seems to be the reason for the large timing jitter.
- Added Port 3.0 debug toggle in the following functions:
          * uC Waiting for USB enumeration packets from the Host.
          * While loop LED timer0 in the beginning of Suspend; Will toggle P3.0.
- While LED timer0 ISR timeouts are still implemented.
- LED flicker fix

Bug 1276644
Bug 1285468
Bug 1266521
Bug 1283114

Change-Id: I609742ea3aae5b84a90a929bb19db0b2edd4c576
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/227147
Reviewed-on: http://git-master/r/228579
Reviewed-by: Automatic_Commit_Validation_User
11 years agotegra: dc: don't call tegra_dc_hpd in atomic context
Ray Poudrier [Wed, 8 May 2013 05:08:13 +0000 (22:08 -0700)]
tegra: dc: don't call tegra_dc_hpd in atomic context

tegra_dc_hpd(), which uses gpio_get_value_cansleep(),
is called from tegra_dc_hdmi_irq() in atomic context.
Move this call outside of the atomic context to avoid
potential lockup.

Change-Id: If62a3d257ab29eae34fd0999e6d182906a568846
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/226531
(cherry picked from commit e0a5c3a078138b9db103aa428a6667efb3e3a1d0)
Reviewed-on: http://git-master/r/228493
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agoARM: Tegra: Roth: Update HDMI Settings
Matt Wagner [Thu, 2 May 2013 23:17:36 +0000 (16:17 -0700)]
ARM: Tegra: Roth: Update HDMI Settings

Update drive strengths to fix compliance issues

Bug 1278943

Change-Id: I83f9340f4031b2a675ed748307f0abd0455f1e3c
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/225026
(cherry picked from commit 45a7dd54a9565efd63537a16c2cfc6f2e9194c43)
Reviewed-on: http://git-master/r/228126
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

11 years agoHDCP: finish hdmi access before turning nvhdcp off
Rakesh Iyer [Fri, 10 May 2013 00:42:11 +0000 (17:42 -0700)]
HDCP: finish hdmi access before turning nvhdcp off

Wait for hdmi accesses to finish before turning nvhdcp off.

Bug 1275577.

Change-Id: Ieef8635b66cfdddece7b2e1140b776b91350d272
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/227243
(cherry picked from commit ac6205a26fbf52d8439524543321012ed95c9d78)
Reviewed-on: http://git-master/r/228104
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoinput: misc: MPU sensor disable LPA
Erik Lilliebjerg [Thu, 2 May 2013 13:21:40 +0000 (06:21 -0700)]
input: misc: MPU sensor disable LPA

Low Power Accelerometer is disabled due to known HW bug.

Bug 1279237

Change-Id: I8477fb84bbca7f8d139f5495ab7f584df528f44d
Reviewed-on: http://git-master/r/224897
(cherry picked from commit e0a3ba3b906cda0c54242c37e1fb5e03af5ba562)
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/227973
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoRevert "mmc: core: Retries WAR for SDIO RW CMD"
Pavan Kunapuli [Thu, 9 May 2013 12:10:32 +0000 (17:40 +0530)]
Revert "mmc: core: Retries WAR for SDIO RW CMD"

This reverts commit 1c48c746ea721f95c594c08f5f1320ba78de40e4.

Bug 1281367

Change-Id: I78ad0f9886d4834b2a19542331bfd2b2e0f823af
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/227044
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
11 years agoARM: tegra: roth: Remove pm_flags settings
Pavan Kunapuli [Thu, 9 May 2013 12:05:56 +0000 (17:35 +0530)]
ARM: tegra: roth: Remove pm_flags settings

pm_flags should be set by the core/client driver if the card needs to
be powered ON during suspend and full enumeration is not required in
resume. These flags should not be set by default through platform data

Bug 1281367

Change-Id: I2b3301e92ca25e5db93809fc2a727182ede7c92a
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/227043
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
11 years agonet: wireless: bcmdhd: removed duplicated defines
Narayan Reddy [Thu, 25 Apr 2013 05:49:28 +0000 (22:49 -0700)]
net: wireless: bcmdhd: removed duplicated defines

Change-Id: I9df90c7774a30f5e512d492b3dce85d3f689cfff
Signed-off-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-on: http://git-master/r/222776
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>
11 years agomisc: Remove debugfs warning on tfa9887
Scott Peterson [Tue, 7 May 2013 20:27:19 +0000 (13:27 -0700)]
misc: Remove debugfs warning on tfa9887

Remove warning about creation of debugfs
nodes for the NXP tfa9887 devices.

Bug 1284011

Change-Id: Iaf67b5e0e50a803d2d934370165c7887809f0685
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/226353
Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agoRevert "Revert "bcmdhd: enable mpc during p2p search/listen""
Nitin Bindal [Thu, 25 Apr 2013 06:58:24 +0000 (12:28 +0530)]
Revert "Revert "bcmdhd: enable mpc during p2p search/listen""

This change is needed since we are moving to the new firmware
version which has disconnect and RSSI issue fix

Bug 1264805

This reverts commit c635cc0776dd095c805d22c882a4d92eb82454c8.

Change-Id: I54263803e75329f610541880d5a01eb047359def
Signed-off-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-on: http://git-master/r/222741
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Tested-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agommc: core: Retries WAR for SDIO RW CMD
Pavan Kunapuli [Thu, 2 May 2013 16:42:24 +0000 (22:12 +0530)]
mmc: core: Retries WAR for SDIO RW CMD

Adding WAR to have 3 retries for SDIO RW CMD52.

Bug 1281367

Change-Id: I1167126d46021f6725f5fe91ebdf8e9d85a106e6
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/224935
Reviewed-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
11 years agoarm: Reduce tfa9887 speaker pops
Scott Peterson [Fri, 26 Apr 2013 20:07:32 +0000 (13:07 -0700)]
arm: Reduce tfa9887 speaker pops

Reduce speakers pops when enabling/disabling
the NXP speaker protection device. Add an alsa
mixer control to mute the device from the audio
HAL prior to disabling the device.

Bug 1268519

Change-Id: I2d16c0443bd833b65d07ec2fabc36102443cc8ad
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/224002
Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agomisc: nct1008: prevent irq revival
Sang-Hun Lee [Mon, 29 Apr 2013 16:07:03 +0000 (09:07 -0700)]
misc: nct1008: prevent irq revival

Problem description:
 - nct1008_shutdown and nct1008_suspend disable nct1008_irq
 - If nct1008_irq triggers during shutdown or suspend, the irq handler will
   schedule nct1008_work_func, which will re-enable nct1008_irq
 - This work could trigger after disabling the power rail as well, causing
   an access of nct1008 after disabling its power rail

Fix description:
 - Add a new flag stop_workqueue
 - While the flag is set, nct1008_work_func will return without doing anything
 - After setting the flag to effectively disable nct1008_work_func, wait for
   running nct1008_work_func to complete then disable nct1008_irq

Bug 1280843

Change-Id: I69176ad466f4c49e62932425fdf7a8583b2cf8bf
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/223906
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gaurav Batra <gbatra@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
11 years agosched: remove redundant update_runtime notifier
Neil Zhang [Fri, 28 Dec 2012 10:00:26 +0000 (10:00 +0000)]
sched: remove redundant update_runtime notifier

migration_call() will do all the things that update_runtime() does.
So it seems update_runtime() is a redundant notifier, remove it.

Furthermore, there is potential risk that the current code will catch
BUG_ON at line 687 of rt.c when do cpu hotplug while there are realtime
threads running because of enable runtime twice.

Change-Id: I0fdad8d5a1cebb845d3f308b205dbd6517c3e4de
Cc: bitbucket@online.de
Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Reviewed-on: http://git-master/r/215596
(cherry picked from commit 8f646de983f24361814d9a6ca679845fb2265807)
Reviewed-on: http://git-master/r/223067
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Paul Walmsley <pwalmsley@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
11 years agommc: tegra: Use full win for nominal vcore tuning
Pavan Kunapuli [Thu, 2 May 2013 12:12:57 +0000 (17:42 +0530)]
mmc: tegra: Use full win for nominal vcore tuning

If minimum override voltage tuning is not done or if the nominal core
voltage details are not specified, find full window using tuning and
set the best tap value as 50% of the full window.

Printing tuning window and tap value details.

Bug 1280293

Change-Id: I5d77f5b03e0543cb33ac97420a92ca08cb4f21a8
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/224224
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agoarch: arm: roth: reduce didim aggressiveness for roth
Mitch Luban [Wed, 1 May 2013 01:41:18 +0000 (18:41 -0700)]
arch: arm: roth: reduce didim aggressiveness for roth

Set aggressiveness to 1 and do faster backlight phase in.

Bug 1276704

Change-Id: Ie9a17b5a42862a0804c4217ca0992514371b1d50
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/224321
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agofirmware: p2560-uc update
Anshul Jain [Fri, 3 May 2013 09:22:04 +0000 (02:22 -0700)]
firmware: p2560-uc update

v39->v40
Updates the guard band to 37

Bug 1282562

Change-Id: Ifd2e2c9803a2af0311a4017bec878f94522085b7
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/225341
Reviewed-by: Automatic_Commit_Validation_User
11 years agoinput: touch: raydium: Update to Raydium v55.3 driver
Xiaohui Tao [Sat, 27 Apr 2013 04:39:37 +0000 (21:39 -0700)]
input: touch: raydium: Update to Raydium v55.3 driver

Raydium code drop for v55.3 driver

(1) Does not let the suspend/resume fail if there is no internal clock
It will allow external clock to pass suspend/resume.

(2) Turn touch off when display off

Bug 1280093

Change-Id: Ie1e46727531cad3314ae39c0e9a90b275880ea57
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/223624
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoinput: touch: raydium: Update to Raydium v55.2 driver.
Xiaohui Tao [Fri, 26 Apr 2013 17:16:32 +0000 (10:16 -0700)]
input: touch: raydium: Update to Raydium v55.2 driver.

Code drop from raydium to update kernel to v55.2

Change-Id: I3562e487cdbf55b45428139f093aa245cd8e0b90
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/223425
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoARM:tegra: Change touch_panel_id to tp_id
Xiaohui Tao [Fri, 26 Apr 2013 22:53:43 +0000 (15:53 -0700)]
ARM:tegra: Change touch_panel_id to tp_id

touch_panel_id is too long for command line. Change it to tp_id

Change-Id: I1fd359e4092aa4befd1589042ffbe4844345a80f
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/223549
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoARM: Tegra: Roth: Update DVFS for P2560
Sang-Hun Lee [Mon, 29 Apr 2013 17:59:26 +0000 (10:59 -0700)]
ARM: Tegra: Roth: Update DVFS for P2560

Bug 1181038

Change-Id: I1bb349448106dcc30e7d7fd6d62bbe9dfd2f9f7f
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/223940
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
11 years agoARM: tegra: roth: Enable power_off_rail
rrajk [Wed, 24 Apr 2013 06:55:06 +0000 (12:25 +0530)]
ARM: tegra: roth: Enable power_off_rail

Turn off sdhci rails for SD card before rebooting the device.

Bug 1222606
Bug 1242658

Change-Id: Iabff0e1ba54460365765bb64fc15fc35a941f8fe
Signed-off-by: rrajk <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/224122
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
11 years agommc: tegra: Release lock before dvfs override call
Pavan Kunapuli [Thu, 25 Apr 2013 14:01:59 +0000 (19:31 +0530)]
mmc: tegra: Release lock before dvfs override call

Release the spinlock before calling the dvfs override API
to set/unset tuning override voltages.

Bug 1259286

Change-Id: Ib247ca3e6f7d7e86c52c8f762b4331adddb95dfe
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/222944
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
11 years agofirmware: p2454-uc and p2560-uc update
Anshul Jain [Mon, 29 Apr 2013 17:06:25 +0000 (10:06 -0700)]
firmware: p2454-uc and p2560-uc update

P2560 v0_38->v0_39
- Bump revsion to v0_39.
- Changed LED feed-forward table for optimal breathing cycle.
- LED Flicker fix when plugging and unplugging USB power. (aka Tegra goes into LP0 and into Idle/screen off.)
- Clear NAK counter and state when going from Suspend to active with LED_UC_DRIVE set.
- Make sure Suspend state if fully clear out of suspend; so we can respond to USB packets from tegra.
- Mure sure wakeup Puluse gets cleared when going from Suspend to active/LED_UC_DRIVE. flag was not getting cleared in active state.
- USB Descriptor name change "NVIDIA Corporation" "NVIDIA Controller v01.01"
- NAK 1 second code is still activiated.

P2454 v0_30->v0_31
- Same as v0_30 expect USB decriptor name change "NVIDIA Corporation" "NVIDIA Controller v01.01"

Bug 1266521

Change-Id: Ibc8b3bfbbc1c8f676ec4cb0e7c399346797ce653
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/223927
Reviewed-by: Automatic_Commit_Validation_User
11 years agoARM: Misc: More volume curve tuning
Scott Peterson [Wed, 27 Mar 2013 18:53:56 +0000 (11:53 -0700)]
ARM: Misc: More volume curve tuning

Additional adjustments to the curves used
on the NXP tfa9887 device.

Change-Id: I5b311d6c499c36f440c865f4fa8b909588b689be
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/223498
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Tested-by: Rajat Aggarwal <raggarwal@nvidia.com>
11 years agoARM: Tegra: Roth: Use Tegra11 Pinmux Header
Matt Wagner [Sat, 27 Apr 2013 23:23:58 +0000 (16:23 -0700)]
ARM: Tegra: Roth: Use Tegra11 Pinmux Header

We mistakenly used tegra30 instead of tegra11 pinmux header

Bug 1277823

Change-Id: I7950127d2dc3110f2e2ea5684f2e79630b9df6a0
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/223684
Reviewed-by: Automatic_Commit_Validation_User
11 years agoarm: increase command line size to 2048 bytes
Alexandre Courbot [Sun, 28 Apr 2013 11:17:55 +0000 (20:17 +0900)]
arm: increase command line size to 2048 bytes

Bug 1280123

Change-Id: I21ae0ee8c261f438e9428778674b2cee283bb913
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/223696
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
Tested-by: Ankit Pashiney <apashiney@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
11 years agoARM: tegra11: clock: Fix boot over-clocking warnings
Alex Frid [Sun, 17 Feb 2013 08:39:45 +0000 (00:39 -0800)]
ARM: tegra11: clock: Fix boot over-clocking warnings

- Increase maximum rate for secondary PLLM output to the main PLLM
output limit
- Removed non supported sata clocks from the clock tree

Change-Id: I208df494a41ed620937086feb0271cd1dc85a5b6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/201537
(cherry picked from commit c70f6b86b9f46226cc8fed5fa76ef1e05d315dd8)
Reviewed-on: http://git-master/r/221417
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
11 years agoARM: Tegra: Roth: Remove Invalid Device Init
Matt Wagner [Thu, 25 Apr 2013 18:33:16 +0000 (11:33 -0700)]
ARM: Tegra: Roth: Remove Invalid Device Init

Bug 1169149

Change-Id: Ib3367d9c7f45bb714bfab8015a0516f4c4b5da87
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/223020
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

11 years agofirmware: p2454-uc and p2560-uc update
Anshul Jain [Thu, 25 Apr 2013 01:10:00 +0000 (18:10 -0700)]
firmware: p2454-uc and p2560-uc update

P2454
v30 change to make revision readable

P2560
v37->v38
- Bump revsion to v0_38.
- Change PID o 7203.
- change minimum PWM% to 4%.
- improve LED breathing jitter when sending wakeup pulse in active and suspend
  mode.
- add LED control Feed Forward Table method to adjust the LED smoothness and
  cycling time.
- adjust LED breathing behavior according to POR
- NAK 1 second code is still activiated.

Bug 1266521

Change-Id: I3514da906d1baf9d7ed159f92d1fc82c0e1796f1
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/222692
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

11 years agoarm: tegra: fan: defer fan resume for 3 secs
Jean Huang [Wed, 24 Apr 2013 18:00:22 +0000 (11:00 -0700)]
arm: tegra: fan: defer fan resume for 3 secs

Bug 1267612

Change-Id: Ibaaa09491776e45b85f8850b3c2c1faa4ca3375a
Signed-off-by: Jean Huang <jeanh@nvidia.com>
Reviewed-on: http://git-master/r/222626
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
11 years agoARM: tegra: roth: ISSP configs and FW change
Anshul Jain [Thu, 25 Apr 2013 02:16:03 +0000 (19:16 -0700)]
ARM: tegra: roth: ISSP configs and FW change

This change separates issp device configuration for p2454 and
p2560 boards.

This change also downgrades the JS firmware P2454 from v37 to
v30. Also, it creates a node for p2560 with v37.

Bug 1266521
Bug 1270341
Bug 1276644

Change-Id: Ibb4b59d48146b71a8dec83c2460716299f38a0fc
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/222599
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
11 years agomisc: issp: add support for force update
Anshul Jain [Thu, 25 Apr 2013 02:14:33 +0000 (19:14 -0700)]
misc: issp: add support for force update

This change adds support for the firmware to be
force updated. This flag can be used to downgrade the
firmware.

Bug 1270341

Change-Id: I2c7eee9029cce38fdb902b211fb2800071579ff9
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/222598
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

11 years agoarm: tegra: fan: clear next fan state before suspend
Jean Huang [Tue, 23 Apr 2013 19:28:59 +0000 (12:28 -0700)]
arm: tegra: fan: clear next fan state before suspend

Original design was to restore fan to the state before suspend,
but fan-thermal detection should work itself to decide fan state after resume.

Bug 1273984

Change-Id: Ieac7688ed2ccf3dca3427c61e3d51a209cda79a3
Signed-off-by: Jean Huang <jeanh@nvidia.com>
Reviewed-on: http://git-master/r/222157
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
11 years agotegra: dc: don't call tegra_dc_hpd in atomic context
Alexandre Courbot [Thu, 4 Apr 2013 18:37:16 +0000 (11:37 -0700)]
tegra: dc: don't call tegra_dc_hpd in atomic context

tegra_dc_hpd(), which uses gpio_get_value_cansleep(), is called from
tegra_dc_hdmi_resume() in atomic context. Move this call outside of the
atomic context to avoid potential lockup.

Change-Id: I983e58724727803c67a4145e11630746aff86a52
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/216593
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
11 years agosdhci-tegra: move kzalloc out of interrupt context
Alexandre Courbot [Thu, 4 Apr 2013 18:35:49 +0000 (11:35 -0700)]
sdhci-tegra: move kzalloc out of interrupt context

sdhci_tegra_sd_error_stats can be called from sdhci_irq. Move memory
allocation to the probe() function so we don't perform it in interrupt
context.

Change-Id: Ic4278526f72ebeb11d59bfe8a7d3e112172035a8
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/216591
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
11 years agonet: wireless: bcmdhd: Enable flag QUEUE_BW for RBE
Nitin Bindal [Mon, 8 Apr 2013 10:31:35 +0000 (16:01 +0530)]
net: wireless: bcmdhd: Enable flag QUEUE_BW for RBE

Enable QUEUE_BW to support Realtime Bandwidth
estimation for user applications.

Bug 1190552

Change-Id: I8af0befffb34da0bbd22d3a36ec0df377d1f3c50
Signed-off-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-on: http://git-master/r/217323
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

11 years agoinput: touch: raydium: fix regulator, enable external clock
Xiaohui Tao [Tue, 23 Apr 2013 21:17:31 +0000 (14:17 -0700)]
input: touch: raydium: fix regulator, enable external clock

Raydium does not support external clock and the regulator functions
are not balanced. Modify the code to support that.

Change-Id: I59c1d6018c666d87a697c19c29b9ab78484cf7dc
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/222163
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoARM:tegra: Add support to parse touch panel id
Xiaohui Tao [Mon, 22 Apr 2013 17:22:59 +0000 (10:22 -0700)]
ARM:tegra: Add support to parse touch panel id

Support to parse touch panel id for kernel

Bug 1253012

Change-Id: I902a1a63efc030cb4b4e82e7301c00027c8e950c
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/221647
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoARM:tegra: Modify to detect panel id and choose clk
Xiaohui Tao [Fri, 12 Apr 2013 00:22:17 +0000 (17:22 -0700)]
ARM:tegra: Modify to detect panel id and choose clk

TPK panel uses the external clock. Modify code to
choose clock source based on the panel id.

Bug 1253012

Change-Id: Ife85c2173693d339ef1f94cc4285009408975c44
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/218964
Reviewed-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
11 years agoARM: tegra: add volt-temp constraint mode control and api
Diwakar Tundlam [Sat, 13 Apr 2013 01:19:18 +0000 (18:19 -0700)]
ARM: tegra: add volt-temp constraint mode control and api

Bug 1270003
Bug 1270570

Change-Id: I3840a6655ec5f84411146c168e40981b60e2add1
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/219169
Reviewed-by: Automatic_Commit_Validation_User
11 years agohwmon: ina3221: Add suspend and resume
Anshul Jain [Thu, 4 Apr 2013 00:15:57 +0000 (17:15 -0700)]
hwmon: ina3221: Add suspend and resume

Change-Id: I882038b2dee419daf7c402a9c03aad06a0a25807
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/216315
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chaitanya Bandi <bandik@nvidia.com>
Tested-by: Jun Yan <juyan@nvidia.com>
Reviewed-by: Tao Xie <txie@nvidia.com>
11 years agoRevert "ARM: tegra: roth: Mask SDR50,SDR104 modes for SD"
Pavan Kunapuli [Tue, 23 Apr 2013 11:02:09 +0000 (16:32 +0530)]
Revert "ARM: tegra: roth: Mask SDR50,SDR104 modes for SD"

This reverts commit 48e77540489b412eef56efb9782957bc34adb1e5.

Bug 1259286

Change-Id: I274dcfd4b728c2fcbb33afb40b0625296a51bb38
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/222049
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
11 years agousb: gadget: tegra: Increase DCP current limit
Pradeep Goudagunta [Mon, 22 Apr 2013 08:18:51 +0000 (13:48 +0530)]
usb: gadget: tegra: Increase DCP current limit

Increase DCP current limit to 2A.

Bug 1274950

Change-Id: Ic5f24f1c400f965f2989a54b0cc941dedae081fd
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/220803
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
11 years agoARM: tegra: power: Re-factor core voltage capping
Pavan Kunapuli [Mon, 22 Apr 2013 09:24:05 +0000 (14:54 +0530)]
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

Signed-off-by: Alex Frid <afrid@nvidia.com>
Change-Id: I66343c77e1bae337b8c829d98fb98dc75fc9a971
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/221526
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tao Xie <txie@nvidia.com>
Tested-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoARM: tegra: dvfs: Add VDD_CORE override mechanism
Alex Frid [Tue, 12 Mar 2013 04:58:05 +0000 (21:58 -0700)]
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

Signed-off-by: Alex Frid <afrid@nvidia.com>
Change-Id: I34975774fbf05025e06d9db2a0de74da7f31a73f
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/221525
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
11 years agoARM: tegra: sdhci: Pass min,max vcore overrides
Pavan Kunapuli [Mon, 22 Apr 2013 12:31:01 +0000 (18:01 +0530)]
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: If7a7cde14524645f06d8a762df721aa0543de59b
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/221395
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
11 years agommc: tegra: Set override voltages with dvfs APIs
Pavan Kunapuli [Mon, 22 Apr 2013 12:27:57 +0000 (17:57 +0530)]
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: I91acd10b748a9d828b172420999f3cceda26d218
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/221394
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tao Xie <txie@nvidia.com>
Tested-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoinput: touch: raydium: Raydium driver v55, NVDA customizations.
David Jung [Thu, 11 Apr 2013 18:57:26 +0000 (11:57 -0700)]
input: touch: raydium: Raydium driver v55, NVDA customizations.

Raydium code drop to use partition for storing calibration data.
Correct delay of touch after resume.

Bug 1257642
Bug 1245549
Bug 1245404

Change-Id: Idb3677e7c369b577bd89fbba039c2c6ffff88bf4
Signed-off-by: David Jung <djung@nvidia.com>
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/218646
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Tested-by: Xiaohui Tao <xtao@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoinput: touch: raydium: Update to Raydium v55 driver.
Robert Collins [Thu, 11 Apr 2013 20:54:11 +0000 (13:54 -0700)]
input: touch: raydium: Update to Raydium v55 driver.

Bug 1257642
Bug 1245549
Bug 1245404

Change-Id: I83614e33307cb2545c3a85be4a44c86e2afc1005
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/218645
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Tested-by: Xiaohui Tao <xtao@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agoARM errata: Writing ACTLR.SMP when the L2 cache has been idle for an extended period...
Bo Yan [Mon, 25 Mar 2013 20:27:41 +0000 (13:27 -0700)]
ARM errata: Writing ACTLR.SMP when the L2 cache has been idle for an extended period may not work correctly

This workaround is for ARM errata 799270 which is applicable to
Cortex-A15 up to revision R2P4. The workaround is to read from
a device register and create a data dependency between this read
and the modification of ACTLR.

Change-Id: I26813f17a8a9c6a90446ddeb943ef318e3c69770
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/212770
(cherry picked from commit 2340401e2dec7228bcc5d9074c310d0146454736)
Reviewed-on: http://git-master/r/221144
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
11 years agoARM: tegra114: Enable ARM errata 799270
Bo Yan [Mon, 25 Mar 2013 20:20:55 +0000 (13:20 -0700)]
ARM: tegra114: Enable ARM errata 799270

bug 1195192

Change-Id: Ib5b0c73f42f73610ec78464dcf789e38d8cab927
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/212769
(cherry picked from commit b2fa463444ecde860549e3ef01a1b70087eba775)
Reviewed-on: http://git-master/r/221143
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
11 years agoARM: tegra114: Implement ARM errata 799270 properly
Bo Yan [Thu, 21 Mar 2013 22:15:32 +0000 (15:15 -0700)]
ARM: tegra114: Implement ARM errata 799270 properly

The ARM errata 799270 requires a data dependency between the returning
device load data and MCR instruction that sets ACTLR.SMP bit. Fix the
current workaround so it confirms to errata document.

bug 1195192

Change-Id: Ideeb3dd3d865323d59ae4bc7a2d40889acfe379d
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/211812
(cherry picked from commit 6b738d1059962d80857b09d70a8878915f17c39e)
Reviewed-on: http://git-master/r/221142
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
11 years agosecurity: tf_driver: integrate latest TL release
Hyung Taek Ryoo [Tue, 2 Apr 2013 00:20:25 +0000 (17:20 -0700)]
security: tf_driver: integrate latest TL release

Tegra4 version: TF_TEGRA4_AC02.08.40475

1. This version improves TF time to go to sleep for secure cores (~20%)
and wake up time both for secure (~25%) and non-secure (~50%) cores.
2. Apply missing arm errata for A15.

Bug 1198125

Change-Id: I9bd6ebb9b15c53a7bce1d3cd2209a3cee0cea4da
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/215285
(cherry picked from commit d2d7ad718c3203928bd39f4d7cbabe4e5b3e366f)
Reviewed-on: http://git-master/r/221141
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
11 years agosecurity: tf_driver: integrate latest TL release
Hyung Taek Ryoo [Tue, 19 Feb 2013 21:45:53 +0000 (13:45 -0800)]
security: tf_driver: integrate latest TL release

Tegra4 version: TF_TEGRA4_AC02.06.40323

Added support of secure interrupts in the custom drivers.

Bug 969938

Change-Id: Ic08d0a9c73cf6ab2f147bf89377c306fbe58fd2a
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/202154
(cherry picked from commit fd6034d233f615f0a442ddc2cde1f0363e4571c6)
Reviewed-on: http://git-master/r/221140
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Ankit Pashiney <apashiney@nvidia.com>
11 years agoARM: tegra: roth: Mask SDR50,SDR104 modes for SD
Pavan Kunapuli [Sat, 20 Apr 2013 20:51:46 +0000 (02:21 +0530)]
ARM: tegra: roth: Mask SDR50,SDR104 modes for SD

Mask SDR50 and SDR104 modes support for SD card.

Bug 1258286

Change-Id: I7fb35bf73aa7428e4f479d689d1712a04b2b4fae
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/221340
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agofirmware: p2454-uc: update to P2560_v0_37_7202_LED_LowPWMjittefix_wakeupinactive.hex
Richard Zhao [Thu, 18 Apr 2013 01:21:32 +0000 (09:21 +0800)]
firmware: p2454-uc: update to P2560_v0_37_7202_LED_LowPWMjittefix_wakeupinactive.hex

- Bump revsion to v0_37
- LED Breathing Jitter at LOW PWM% in Active state( Tegra in Idle with
  Screen OFF, Sends LED_UC_DRIVE command to uC)
- Wakeup Pulse is now being sent (ISSP_DAT) to GMI_IORDY (WAKE23) when
  uC is in active state with Tegra in idle screen OFF.
    Joystick sensitivity may need to tuned some more. Kept the sensitivity
    LOW (100) for now because of the Polyshine Joysticks.
- LED Breathing Cycle timing tweaks.
     Still needs further timing tuning.  Vic says we are still a little
     unsmooth. We are 85% to 90% perfect.
- NAK 1 second code is still activiated.

Bug 1266521

Change-Id: I9b2629a2dfc1e12276e753bf6a17da3ebd9298dd
Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Reviewed-on: http://git-master/r/220434
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
11 years agopower: max17048: Fix SOC update
Pradeep Goudagunta [Wed, 17 Apr 2013 21:06:54 +0000 (14:06 -0700)]
power: max17048: Fix SOC update

Never post SOC >100% to framework.

Bug 1273927

Change-Id: I9a44fb493d89b645c68ad95890175e8c309c3060
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/220335
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
GVS: Gerrit_Virtual_Submit

11 years agopower: bq2419x: Smooth charging ramp-up
Syed Rafiuddin [Thu, 18 Apr 2013 05:05:24 +0000 (10:35 +0530)]
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
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit