5 years agoARM: tegra: Do not expose kernel-space IPs rel-roth-ota-1 daily-2013.09.09.0_rel-roth-ota-1-partner
Andrey Trachenko [Thu, 15 Aug 2013 19:02:23 +0000]
ARM: tegra: Do not expose kernel-space IPs

In Tegra Profiler misc driver, do not expose kernel-space IPs
for security purposes.

Bug 1312406
Bug 1349673

Change-Id: I07f1ee2036b62dbf7195f3fac4f9632f07933616
Signed-off-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-on: http://git-master/r/262013
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Daniel Horowitz <dhorowitz@nvidia.com>
Tested-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agomisc: tegra-profiler: fix backtracing
Igor Nabirushkin [Mon, 5 Aug 2013 15:16:27 +0000]
misc: tegra-profiler: fix backtracing

check_vma_address function:
sometimes (rarely): address value may be overflowed.

Bug 1312406

Change-Id: I2073c264e78013591ddb343763f60ba920e04b90
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/258228
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>

5 years agoinput: touch: raydium: re-enable cpu boosting code
Yogish Kulkarni [Wed, 12 Jun 2013 13:06:02 +0000]
input: touch: raydium: re-enable cpu boosting code

NV_ENABLE_CPU_BOOST was enabled based on ENABLE_AUTO_SCAN. Raydium
v55 drop removed ENABLE_AUTO_SCAN macro, that caused cpu boosting
logic to be always disabled. Re-enable cpu boosting code.

Bug 1306792

Change-Id: Ic4dcbaa515b1c09b46fc095fb651984e37b80785
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: http://git-master/r/238403
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agobcmdhd: Add support for channel 165
bibhayr [Fri, 21 Jun 2013 07:40:36 +0000]
bcmdhd: Add support for channel 165

channel 165 is not the side band of 40MHz 5G channel

Bug 1298751

Change-Id: I9f29d11d30b1394ab097c82f97b177acd98149a2
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/240198
(cherry picked from commit 95e0bfd5949e8bcfb2513a06bd0467d94fe84a92)
Reviewed-on: http://git-master/r/257889
GVS: Gerrit_Virtual_Submit
Tested-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Thomas J. Meier <tmeier@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>

5 years agoARM: tegra: Add Tegra Profiler
Igor Nabirushkin [Wed, 26 Jun 2013 11:21:17 +0000]
ARM: tegra: Add Tegra Profiler

Add Tegra Profiler kernel misc driver

Bug 1312406

Change-Id: I40950c0c82a22d3a7abd99e10cb7793644c6293e
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/255723
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Maria Bornski <mbornski@nvidia.com>

5 years agoARM: defconfigs: Enable Tegra profiler
Igor Nabirushkin [Tue, 30 Jul 2013 21:44:39 +0000]
ARM: defconfigs: Enable Tegra profiler

Enable Tegra profiler for Tegra platforms

Bug 1312406

Change-Id: I01785a321ebf1be1c998eea6ebd0e255dad5e1a7
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/255729
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Maria Bornski <mbornski@nvidia.com>

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

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

Bug 1228659

Change-Id: Iff49cdf0529d42d391f911f614f54af93eb25c76
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/255718
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Tested-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Maria Bornski <mbornski@nvidia.com>

5 years agodriver: led: Avoid calling pwm_disable and pwm_enable daily-2013.07.31.1_rel-roth-ota-1-partner
Jun Yan [Thu, 25 Jul 2013 20:35:27 +0000]
driver: led: Avoid calling pwm_disable and pwm_enable

These two routines use semaphore to protect pwm resource.
However they can be called via led timer ISR, thus causing
linux BUG. Remove the call to these two functions and use
pwm_config instead

Bug 1333079

Change-Id: I6db788218f74c030956272ee0fcb9c7ec8a0652f
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/253619
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>

5 years agosecurity: tf_driver: update with latest TL drop
Hyung Taek Ryoo [Thu, 25 Jul 2013 17:09:01 +0000]
security: tf_driver: update with latest TL drop

This change fixes abnormal signal handling in tf driver.
Tf_daemon(user thread) is waiting for the signal when coming out of LP0,
but tf_daemon never gets the signal because tf driver can't handle the
signal properly. If there's a pending signal when coming out of LP0,
this fix clears the pending signal.

Bug 1244750
Bug 1309812

Change-Id: I7849866c7993af8716c17f6b7a06692271334664
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/253586
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jun Yan <juyan@nvidia.com>
Tested-by: Jun Yan <juyan@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>

5 years agoRevert "Revert "security: tf_driver: update with latest TL drop""
Jun Yan [Thu, 25 Jul 2013 18:35:06 +0000]
Revert "Revert "security: tf_driver: update with latest TL drop""

This reverts commit 8067f19868040be42e53bb05778138502c899632.

Change-Id: I6bf285be6a0ff3657d33bc3ecc99544cd4f83344
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/253585
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>

5 years agonet: wireless: bcmdhd: Ensure OOB interrupt is registered
Michael Hsu [Wed, 24 Jul 2013 19:34:54 +0000]
net: wireless: bcmdhd: Ensure OOB interrupt is registered

Ensure OOB interrupt is always registered when bus is active.

Fixes this bug:
If there was an SDIO error during the initial firmware download,
the OOB interrupt will not get registered. Then, on subsequent
device resets, the code for registering OOB interrupt did not
get called again - causing a persistent wifi failure.

Bug 1327983

Change-Id: Ie0bca0a1ae757074140cc78e9b7c44175eec8581
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/253016
Reviewed-by: Kyeong Kim <kyeongk@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agoRevert "security: tf_driver: update with latest TL drop"
Jun Yan [Wed, 24 Jul 2013 23:57:30 +0000]
Revert "security: tf_driver: update with latest TL drop"

This reverts commit ac475a8eef3acc44297d4853fde82b87c31dda2b.

Change-Id: I07d9672f3eadbdeebd85829480597661ce5259f5
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/253114
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agommc: tegra: 1.39V Tuning during device enumeration
Pavan Kunapuli [Tue, 23 Jul 2013 19:42:53 +0000]
mmc: tegra: 1.39V Tuning during device enumeration

Tuning at 1.39V to find a valid tap value that works at all core
voltages.
Boosting emc clock to 900MHz before setting 1.39V and releasing the
frequency after 1.39V setting is removed.

Bug 1331018

Change-Id: Icbf009a90ba9d0bd88a5991aab2fad8f1783b823
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/252471
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra: roth: Limit SD card clock to 82MHz
Pavan Kunapuli [Tue, 23 Jul 2013 10:45:24 +0000]
ARM: tegra: roth: Limit SD card clock to 82MHz

Limiting SD card clock to 82MHz to ensure that the tap values
obtained through tuning work with the full core voltage range
even with boost mode enabled

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

5 years agommc: tegra: Don't skip tuning for 2nd core voltage
Naveen Kumar Arepalli [Mon, 22 Jul 2013 10:50:09 +0000]
mmc: tegra: Don't skip tuning for 2nd core voltage

Even if nominal_vcore_tun_done, override_vcore_tun_done are set
don't skip tuning for 2nd core voltage.

Bug 1330031

Reviewed-on: http://git-master/r/242764
(cherry picked from commit 57b7008d0ad3cfdea888416e8b1db3ebb0c7cda7)
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Change-Id: I0a90a9d317bd46558eaa9112391c33cc867b247e
Reviewed-on: http://git-master/r/251897
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agosecurity: tf_driver: update with latest TL drop
Hyung Taek Ryoo [Thu, 18 Jul 2013 02:02:10 +0000]
security: tf_driver: update with latest TL drop

K3.4 does not need this code maintain to PF_KTHREAD

Bug 1244750

Change-Id: Iec2fdf2cf4646ea3415f370a45376b1757498854
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/251113
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Tested-by: Peter Zu <pzu@nvidia.com>

5 years agoregulator:palmas: Sysfs node to change smps45 mode
Anshul Jain [Fri, 19 Jul 2013 00:11:36 +0000]
regulator:palmas: Sysfs node to change smps45 mode

This change creates a sysfs node
/sys/bus/platform/devices/palmas-pmic/auto_smps45_ctrl

echo 1 : force multi phase mode
echo 0: auto phase selection

Bug 1323712

Change-Id: Ibbac78cf841b1cda3444ad388426a0da4a67c38a
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/251057
GVS: Gerrit_Virtual_Submit
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>

5 years agoARM: tegra11: dvfs: Update T40T frequency limits
Alex Frid [Thu, 18 Jul 2013 19:18:21 +0000]
ARM: tegra11: dvfs: Update T40T frequency limits

Change-Id: I25851ce78f034ac592a0bd39ded1444f0a7e230d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251056
GVS: Gerrit_Virtual_Submit
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>

5 years agommc: tegra: Sysfs for changing tap value
Naveen Kumar Arepalli [Thu, 18 Jul 2013 11:21:23 +0000]
mmc: tegra: Sysfs for changing tap value

Sysfs for changing tap value for wifi

Change-Id: I08e0971c562cf1e491373173d5b3b7e5af1da6ba
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/250897
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: tegra11: clock: Add c2bus floor sysfs
Xiao Bo Zhao [Thu, 18 Jul 2013 19:43:13 +0000]
ARM: tegra11: clock: Add c2bus floor sysfs

Change-Id: Ia3f1f5d1eb13944ec66db335abc29350a22da3df
Signed-off-by: Xiao Bo Zhao <xiaoboz@nvidia.com>
Reviewed-on: http://git-master/r/250896
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>

5 years agoARM: tegra11: clock: Add emc and host1x sysfs floors
Alex Frid [Wed, 17 Jul 2013 21:23:25 +0000]
ARM: tegra11: clock: Add emc and host1x sysfs floors

Change-Id: Ia8bf319da85914e748c4a88877433e6c45667ef1
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250565
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>

5 years agoARM: tegra: clock: Add sysfs interface for bus floors
Alex Frid [Wed, 17 Jul 2013 05:47:55 +0000]
ARM: tegra: clock: Add sysfs interface for bus floors

Added mechanism to install sysfs objects for tegra shared bus floors.
Currently no floor objects are installed.

Change-Id: I20e1a1448ee799a5ec59087f3214b77a80c05408
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250564
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>

5 years agoARM: tegra11: clock: Expand host1x shared bus
Alex Frid [Sat, 8 Jun 2013 07:09:21 +0000]
ARM: tegra11: clock: Expand host1x shared bus

Add cap, floor, and override shared users to host1x bus. Attached cap
user to core cap interface.

Change-Id: I20bf5f346f422d7f2cbd97a445f00847e8761ac8
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250563
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>

5 years agoARM: tegra11: clock: Re-factor host1x bus
Alex Frid [Sat, 8 Jun 2013 06:42:11 +0000]
ARM: tegra11: clock: Re-factor host1x bus

- Set host1x dev_id = "host1x" and con_id = NULL (these definitions
were used before conversion of host1x to shared bus; during conversion
ids were inadvertently swapped - restored now)
- Renamed host1x bus shared users to be consistent with other shared
buses

Change-Id: Iecf1f27681658c69fc63ed71c99d62ae86d9f30b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250562
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>

5 years agoARM: tegra11: clock: Add host1x shared bus
Alex Frid [Sat, 4 May 2013 03:08:12 +0000]
ARM: tegra11: clock: Add host1x shared bus

Change-Id: Ie63f856727f9ba9f93e6c75b7bd5fb80357448a4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250561
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>

5 years agoARM: tegra: clock: Update emc monitor preset mechanism
Alex Frid [Tue, 9 Apr 2013 05:07:24 +0000]
ARM: tegra: clock: Update emc monitor preset mechanism

- Allowed per-SoC code to select emc monitor preset rate.
For now, rounded down boot rate is used as monitor preset rate
(round down to not over-clock on boot).

- Skipped emc clock update when monitor preset rate is set, but not
yet enabled (to avoid temporary dip in EMC rate). EMC rate is updated
only when monitor preset is enabled.

- Preset EMC monitor rate after iso usage table is initialized.

Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/219504
(cherry picked from commit 9279fd450cba7c8012a405755d483dfc9b502941)

Change-Id: I2b724df9dc95231d6a5760171aa18bd10bdb409a
Signed-off-by: Xiao Bo Zhao <xiaoboz@nvidia.com>
Reviewed-on: http://git-master/r/250525
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>

5 years agoARM: tegra11: clock: Preset EMC monitor rate
Alex Frid [Sun, 3 Mar 2013 03:37:42 +0000]
ARM: tegra11: clock: Preset EMC monitor rate

Use EMC boot rate as EMC monitor output reading during initialization
until actual monitoring starts.

Bug 1239168

Change-Id: I64d397623eeafe459769db106d0bfe80223f654f
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250524
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>

5 years agoARM: tegra: clock: Record boot rates for all clocks
Alex Frid [Sun, 17 Feb 2013 08:46:46 +0000]
ARM: tegra: clock: Record boot rates for all clocks

Change-Id: Iea43edd693d1489aa87eff893a1cfcfca1379552
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250523
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>

5 years agoARM: tegra11: clock: Add cbus fine granularity region
Alex Frid [Tue, 16 Jul 2013 19:43:15 +0000]
ARM: tegra11: clock: Add cbus fine granularity region

Added fine granularity region to cbus possible rates. In this region
requested cbus rate is not clipped to dvfs steps, but rounded to fine
granularity resolution. The latter is set as 12MHz, and the region is
defined as 5 resolution steps below the top dvfs rate, assuming this
top rate is reachable on the particular chip bin/sku.

Change-Id: If1096ae068367819e64c55172c1a1c0a46c38b86
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250033
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>

5 years agoARM: tegra11: dvfs: Update T40T tables and limits
Alex Frid [Fri, 12 Jul 2013 02:50:22 +0000]
ARM: tegra11: dvfs: Update T40T tables and limits

Updated dvfs and edp tables, clock and voltage limits for T40T part.

Change-Id: Ic256a6f3aa8026c96443ecc33204309275fcbe2e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250032
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>

5 years agoARM: tegra11: power: Add T40T core edp tables
Alex Frid [Sat, 13 Jul 2013 05:22:28 +0000]
ARM: tegra11: power: Add T40T core edp tables

Change-Id: Id5c2163224cdb1c862ef708e0790d99e4f04775e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250031
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>

5 years agoARM: tegra11: dvfs: Don't throttle T40T nominal voltage
Alex Frid [Sat, 13 Jul 2013 03:36:22 +0000]
ARM: tegra11: dvfs: Don't throttle T40T nominal voltage

On T40T parts removed throttling of nominal voltage by boot core edp.
Used the latter to specify detached mode (boot, disable, suspend)
limits.

Change-Id: Ifa846ec8c7cb79df91b80cc81ffdef0f02a45372
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250030
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>

5 years agoARM: tegra: dvfs: Decouple nominal and detached voltages
Alex Frid [Sat, 13 Jul 2013 02:58:41 +0000]
ARM: tegra: dvfs: Decouple nominal and detached voltages

DVFS rail nominal voltage is minimum voltage required to run all
associated clocks at maximum allowed rates. DVFS rail can be detached
from clocks during initial boot, on suspend entry/exit, or when
voltage scaling is disabled. So far, rail voltage in any detached mode
was set to nominal level. This commit introduced separate voltages for
each detached mode. If any of these levels is not specified, backward
compatible nominal voltage is used.

Since, suspend voltage may now be different from nominal (below), it
is important for dvfs to suspend after suspend edp rate caps are set,
and resume before edp. Hence, priorities of dvfs suspend notifiers
were adjusted accordingly.

Change-Id: Id05e0b16f24dc7d28b1ee9e87afd63d98a9ab86e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250029
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Xiao Bo Zhao <xiaoboz@nvidia.com>

5 years agoarm: tegra: roth: Enable FAST init mode for smps9 rel-roth-mp-3 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]
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>

5 years agovideo: tegra: dc: hdmi: calling tegra_hotplug_signal to queue deferred work
sharath sarangpur [Tue, 25 Jun 2013 02:15:26 +0000]
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>

5 years agodrivers:misc:issp: Hold wakelock while recovery
Anshul Jain [Fri, 21 Jun 2013 21:44:53 +0000]
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

5 years agomisc: issp: Add usb js recovery mechanism
Anshul Jain [Fri, 21 Jun 2013 01:49:06 +0000]
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

5 years agoinput: misc: inv: Add critical section protection for power on/off
Xiaohui Tao [Mon, 17 Jun 2013 22:25:52 +0000]
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>

5 years agoinput: misc: Change self test variation
Xiaohui Tao [Tue, 18 Jun 2013 18:33:11 +0000]
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>

5 years agoARM: tegra: config: set panic timeout 5 secs
Jean Huang [Fri, 14 Jun 2013 20:42:17 +0000]
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>

5 years agodrivers:misc:issp: Reset Device on USB resume fail
Anshul Jain [Sat, 15 Jun 2013 01:10:31 +0000]
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>

5 years agofirmware: p2560-uc firmware update v59
Jun Yan [Sat, 15 Jun 2013 02:50:29 +0000]
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>

5 years agoarm: tegra: thor: fix wlan-bt power sequence
Michael Hsu [Fri, 7 Jun 2013 04:13:08 +0000]
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>

5 years agovideo: tegra: host: Do not reset MC on powerup_reset
Matt Wagner [Tue, 4 Jun 2013 11:37:58 +0000]
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>

5 years agonet: wireless: bcmdhd: mask excessive wifi chip interrupts
Michael Hsu [Tue, 4 Jun 2013 07:49:14 +0000]
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>

5 years agofirmware: p2560-uc firmware update
Jun Yan [Mon, 3 Jun 2013 22:08:14 +0000]
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>

5 years agofirmware: p2560-uc firmware update
Anshul Jain [Fri, 31 May 2013 07:07:50 +0000]
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

5 years agovideo: tegra: host: Disable Powergate for T114 3d
Matt Wagner [Fri, 31 May 2013 05:58:44 +0000]
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>

5 years agofirmware: p2560-uc update v55
Anshul Jain [Wed, 29 May 2013 17:57:48 +0000]
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

5 years agoasoc: roth: Headphone detection improvement
Scott Peterson [Tue, 28 May 2013 00:27:58 +0000]
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>

5 years agopower: bq2419x: disable otg for 30s when fault happens
Syed Rafiuddin [Fri, 10 May 2013 15:12:51 +0000]
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>

5 years agoARM: tegra: dvfs: Don't fail same level override request
Alex Frid [Thu, 2 May 2013 23:32:52 +0000]
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>

5 years agomisc: nct1008: talk to nct1008 only when powered
Sang-Hun Lee [Mon, 13 May 2013 17:06:00 +0000]
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

5 years agoinput: misc: inv: disable irq when powering off
Sang-Hun Lee [Mon, 13 May 2013 00:46:52 +0000]
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

5 years agoInput: touch: raydium: Update to Raydium v56.1 driver
Xiaohui Tao [Wed, 22 May 2013 15:53:16 +0000]
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

5 years agoARM:Tegra:Roth: Update speaker settings
Scott Peterson [Mon, 20 May 2013 19:45:02 +0000]
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

5 years agoHDCP: Only Wait for Communication to stop if HDMI is Plugged
Matt Wagner [Wed, 22 May 2013 00:50:34 +0000]
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

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

Disable the h/w alignment fix for T114 A02.

Bug 1289107

Change-Id: I6d64e2de23d0358a2edbf3730e4f1b6a70f6903b
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/228649
Reviewed-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>

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

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

Bug 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>

5 years agoarch: arm: tegra11: Disable wifi prepower
Nitin Bindal [Fri, 17 May 2013 09:50:31 +0000]
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>

5 years agoinput: touch: raydium: Update to Raydium v55.9 driver
Xiaohui Tao [Fri, 17 May 2013 17:17:33 +0000]
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

5 years agoARM: tegra: roth: Mask HS200 mode support
Pavan Kunapuli [Sun, 12 May 2013 11:26:28 +0000]
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

5 years agommc: Limit MMC speed to 52MHz if not HS200
Al Cooper [Fri, 30 Nov 2012 15:53:35 +0000]
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>

5 years agommc: core: fix the decision of HS200/DDR card-type
Seungwon Jeon [Wed, 25 Apr 2012 07:17:37 +0000]
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>

5 years agoARM: Tegra: Roth: Increase Drive Strength for 4K
Matt Wagner [Fri, 17 May 2013 17:45:18 +0000]
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

5 years agobcmdhd: Clear dhd driver hang event
Michael Hsu [Fri, 17 May 2013 23:22:55 +0000]
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

5 years agovideo: tegra: dsi: Enable MIPI auto calibration
Vineel Kumar Reddy Kovvuri [Tue, 23 Apr 2013 10:03:34 +0000]
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

5 years agovideo: tegra: dsi: Enable MIPI auto calibration
Vineel Kumar Reddy Kovvuri [Fri, 15 Mar 2013 06:13:56 +0000]
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

5 years agoARM: tegra: roth: Add force update to P2560
Anshul Jain [Wed, 15 May 2013 01:29:43 +0000]
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

5 years agofirmware: p2560-uc update v52
Anshul Jain [Wed, 15 May 2013 01:32:50 +0000]
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

5 years agopower: bq2419x: Update charger type
Pradeep Goudagunta [Fri, 3 May 2013 10:48:10 +0000]
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>

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

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

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

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

Change-Id: 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

5 years agoARM: Tegra: Roth: Update DSI Settings
Matt Wagner [Tue, 14 May 2013 23:09:04 +0000]
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

5 years agoarm: roth: Add regulator for fuse
Shardar Shariff Md [Mon, 13 May 2013 09:13:05 +0000]
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>

5 years agofirmware: p2560-uc update
Anshul Jain [Thu, 9 May 2013 19:57:52 +0000]
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

5 years agotegra: dc: don't call tegra_dc_hpd in atomic context
Ray Poudrier [Wed, 8 May 2013 05:08:13 +0000]
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

5 years agoARM: Tegra: Roth: Update HDMI Settings
Matt Wagner [Thu, 2 May 2013 23:17:36 +0000]
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

5 years agoHDCP: finish hdmi access before turning nvhdcp off
Rakesh Iyer [Fri, 10 May 2013 00:42:11 +0000]
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>

5 years agoinput: misc: MPU sensor disable LPA
Erik Lilliebjerg [Thu, 2 May 2013 13:21:40 +0000]
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>

5 years agoRevert "mmc: core: Retries WAR for SDIO RW CMD"
Pavan Kunapuli [Thu, 9 May 2013 12:10:32 +0000]
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>

5 years agoARM: tegra: roth: Remove pm_flags settings
Pavan Kunapuli [Thu, 9 May 2013 12:05:56 +0000]
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>

5 years agonet: wireless: bcmdhd: removed duplicated defines
Narayan Reddy [Thu, 25 Apr 2013 05:49:28 +0000]
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>

5 years agomisc: Remove debugfs warning on tfa9887
Scott Peterson [Tue, 7 May 2013 20:27:19 +0000]
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

5 years agoRevert "Revert "bcmdhd: enable mpc during p2p search/listen""
Nitin Bindal [Thu, 25 Apr 2013 06:58:24 +0000]
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>

5 years agommc: core: Retries WAR for SDIO RW CMD
Pavan Kunapuli [Thu, 2 May 2013 16:42:24 +0000]
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

5 years agoarm: Reduce tfa9887 speaker pops
Scott Peterson [Fri, 26 Apr 2013 20:07:32 +0000]
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

5 years agomisc: nct1008: prevent irq revival
Sang-Hun Lee [Mon, 29 Apr 2013 16:07:03 +0000]
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>

5 years agosched: remove redundant update_runtime notifier
Neil Zhang [Fri, 28 Dec 2012 10:00:26 +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>

5 years agommc: tegra: Use full win for nominal vcore tuning
Pavan Kunapuli [Thu, 2 May 2013 12:12:57 +0000]
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

5 years agoarch: arm: roth: reduce didim aggressiveness for roth
Mitch Luban [Wed, 1 May 2013 01:41:18 +0000]
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>

5 years agofirmware: p2560-uc update
Anshul Jain [Fri, 3 May 2013 09:22:04 +0000]
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

5 years agoinput: touch: raydium: Update to Raydium v55.3 driver
Xiaohui Tao [Sat, 27 Apr 2013 04:39:37 +0000]
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>

5 years agoinput: touch: raydium: Update to Raydium v55.2 driver.
Xiaohui Tao [Fri, 26 Apr 2013 17:16:32 +0000]
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>

5 years agoARM:tegra: Change touch_panel_id to tp_id
Xiaohui Tao [Fri, 26 Apr 2013 22:53:43 +0000]
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>

5 years agoARM: Tegra: Roth: Update DVFS for P2560
Sang-Hun Lee [Mon, 29 Apr 2013 17:59:26 +0000]
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

5 years agoARM: tegra: roth: Enable power_off_rail
rrajk [Wed, 24 Apr 2013 06:55:06 +0000]
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>

5 years agommc: tegra: Release lock before dvfs override call
Pavan Kunapuli [Thu, 25 Apr 2013 14:01:59 +0000]
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>

5 years agofirmware: p2454-uc and p2560-uc update
Anshul Jain [Mon, 29 Apr 2013 17:06:25 +0000]
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

5 years agoARM: Misc: More volume curve tuning
Scott Peterson [Wed, 27 Mar 2013 18:53:56 +0000]
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>

5 years agoARM: Tegra: Roth: Use Tegra11 Pinmux Header
Matt Wagner [Sat, 27 Apr 2013 23:23:58 +0000]
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