5 years agosoc: codecs: rt5639: Implement i2c shutdown
Nine Feng [Wed, 8 Jan 2014 09:47:09 +0000]
soc: codecs: rt5639: Implement i2c shutdown

i2c shutdown implementation for rt5639
No i2c transaction should happen after
shutdown

Bug 1431674

(cherry-pick from d17a5403140a45e43cb21cffe6cf391a2e3abe62)
Reviewed-on: http://git-master/r/188216/

Change-Id: Iadc18d8e84a10b2735503c99c4b7003e275e4242
Signed-off-by: Nine Feng <nfeng@nvidia.com>
Reviewed-on: http://git-master/r/353242
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agousb: gadget: Tegra: fix audio stutter
David Yu [Mon, 13 Jan 2014 01:24:50 +0000]
usb: gadget: Tegra: fix audio stutter

Boost CPU freq when cable is plugged in/out.
Use high priority single thread workqueue to run work function earlier.

Bug 1435328

Change-Id: Ib2192fa5c30546d0b4e47dec6479c715d58bf795
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/354831
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agotegra: hdmi: support HDMI VSDB VIC parsing
Emma Yan [Mon, 30 Sep 2013 13:39:14 +0000]
tegra: hdmi: support HDMI VSDB VIC parsing

Bug 1167856
Bug 1357380
Bug 1366416
Bug 1369156
Bug 1375947

(cherry picked from commit f649c7aded9902bbeb6e79423e1af87553441949)
Reviewed-on: http://git-master/r/280300
Change-Id: Ifd2fce407405bed92d8c399c742635f6e9c59918
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/353721
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: Tegra: Utilize burst policy for LP1 wakeup
Antti P Miettinen [Sun, 13 Oct 2013 19:52:35 +0000]
ARM: Tegra: Utilize burst policy for LP1 wakeup

Running SCLK from CLKS makes LP1 wakeup latencies horrible.
However, we can utilize IRQ bursting to switch automatically
to CLKM upon LP1 wakeup IRQ. This maintains low power for LP1
but improves wakeup latencies significantly.

Bug 1381343

Change-Id: I9a3fcd81999d1b593bf242bfa7ef8505f9848d43
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/298749
(cherry picked from commit 39d6266e1ed04512809badb263a6d9b4346a49e4)
Reviewed-on: http://git-master/r/298744
(cherry picked from commit 12a25b041874515a7076b30f1462a12756d75d16)
(cherry picked from commit b90f85660ac259da9190cce156763fb05caa5f82)
Reviewed-on: http://git-master/r/353758
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agovideo: tegra: host: Fix race in gr3d scaling
Arto Merilainen [Tue, 1 Oct 2013 12:33:24 +0000]
video: tegra: host: Fix race in gr3d scaling

The scaling code used cancel_work_sync() while holding a mutex. As the work
itself uses the same mutex, we risk causing a deadlock.

This patch refactors the code so that the mutex is not hold while calling
cancel_work_sync().

Bug 1371500

Change-Id: I3aa0de168cebcc1d8d1843813caee5e82fe3df06
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/280730
(cherry picked from commit 763125fba1c9a8a67a9968c8502c17465665eb35)
Reviewed-on: http://git-master/r/354208
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Gabby Lee <galee@nvidia.com>
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agousb: gadget: tegra: remove spin_unlock/lock pair
Rohith Seelaboyina [Wed, 20 Nov 2013 05:36:52 +0000]
usb: gadget: tegra: remove spin_unlock/lock pair

Remove the extra spin unlock/lock pain while building
dtd, as data corruption seems to happen by swapping
of dtd when multiple gadget functions are loaded.
This changes will make build dtd as part of Critical
section, there by swapping of dtd's doesnt occur.

Bug 1380570

Change-Id: I69ffc92a294cba13e79e2a02382b0c8f6b8cb28d
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/334929
(cherry picked from commit 1716e1b6e87ce0765eaab4c0fb62007735b33ee8)
Reviewed-on: http://git-master/r/354900
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoxhci: tegra: Reset EMC bandwidth before elpg
Henry Lin [Tue, 29 Oct 2013 07:53:54 +0000]
xhci: tegra: Reset EMC bandwidth before elpg

xhci fw informs driver the changes to maximum bandwidth requirement
by MBOX_CMD_SET_BW mailbox command. Driver should reset the required
bandwidth to 0 before going to elpg.

Bug 1371282

Change-Id: Ic7cdd4d95335a02bce6b017d9d5af101bd4b1365
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: http://git-master/r/304734
(cherry picked from commit f21d0ee5e1cadd578ad962df02f90a38adf16369)
Signed-off-by: Henry Lin <henryl@nvidia.com>
Reviewed-on: http://git-master/r/354846
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoicera: cdc-acm: fix message lost in modem logging
Martin Chi [Fri, 10 Jan 2014 01:47:19 +0000]
icera: cdc-acm: fix message lost in modem logging

When CPU freq is too low (e.g. 51MHz), AP may fail
to receive all the modem log under some cases (e.g.
3G call) when modem generates a lot of log.

Boosting CPU freq to 696MHz can fix issue.

Bug 1432121

Change-Id: I92f7be137ee205b9936129242ab723d343e31046
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351425
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: Tegra: Fix comment about clock switch
Antti P Miettinen [Mon, 28 Oct 2013 11:17:09 +0000]
ARM: Tegra: Fix comment about clock switch

Upon turning off PLLs CPU is switched to CLKM.

Change-Id: I72d3cd6a6a103ef954b03453f5bcc0131a9737f2
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/304351
(cherry picked from commit 5528184cfee750a3e64e62f3d0054537e40fa329)
Reviewed-on: http://git-master/r/353769
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra11: add INT_RTC as a wakeup source
Antti P Miettinen [Tue, 8 Oct 2013 11:17:57 +0000]
ARM: tegra11: add INT_RTC as a wakeup source

Required for suspend_sanity test.

Change-Id: I6a4e24ad7a65e4e8b8c49ca4854e1c06933e218c
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/289201
(cherry picked from commit c7a04b51ad17196ab8cfc49e90c3c60a37aa6461)
Reviewed-on: http://git-master/r/353768
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: cfboost: Add module parameter callback
Antti P Miettinen [Tue, 1 Oct 2013 13:37:57 +0000]
input: cfboost: Add module parameter callback

Cancel PM QoS request upon frequency changing to zero.

Change-Id: Ie6bba1eb3f3177751449d53d9237e021140edf82
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/280744
(cherry picked from commit 8623a52d17f0e0788d393fbc4e8a9b2987ae492d)
Reviewed-on: http://git-master/r/298656
(cherry picked from commit ad5110686a0596cf8a1b1373b14d37e8b83284b9)
Reviewed-on: http://git-master/r/353767
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agousb: gadget: tegra: Add callback to boost_enable
Antti P Miettinen [Mon, 30 Sep 2013 10:14:58 +0000]
usb: gadget: tegra: Add callback to boost_enable

Cancel PM QoS request upon enabled to disabled
transition.

Change-Id: Iaf28d2d0daca312996e2cb1a1280769d814fd066
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/280232
(cherry picked from commit 9a25a04c42ed0feeb1aff1dcf696b54e122a8c65)
Reviewed-on: http://git-master/r/353766
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoASoC:Tegra: Add BT-SCO initialize function
Lei Fan [Thu, 9 Jan 2014 08:25:22 +0000]
ASoC:Tegra: Add BT-SCO initialize function

The initialize function for BT-SCO should be add, otherwise ther DL
audio path will be broken by BT Tone.

Bug 1428578

Change-Id: I3870b0134871a7ad95b704adabae5de836d3545d
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/353694
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:Tegra: fix bt voice call lost
Lei Fan [Thu, 9 Jan 2014 05:35:05 +0000]
ARM:Tegra: fix bt voice call lost

The bit-size is miss and voice call will be lost with the setting.

Bug 1428578

Change-Id: I8d118c1f3b446d62fb86e7f3340f8db75d66caf9
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/353684
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoASoC:Tegra:dual mic support
Lei Fan [Tue, 7 Jan 2014 06:31:23 +0000]
ASoC:Tegra:dual mic support

In order to use dual mic to support nvoice, DAMs should be removed
form UL and playback should use channle0 of DAM in DL to make SRC
not channel1 again.

Bug 1431667

Change-Id: I88d53d315a2d0a6aa74e414861af54061763d2ac
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/352587
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoASoC:Tegra: Fix DAM num to a specific DAP
Lei Fan [Sat, 4 Jan 2014 12:53:55 +0000]
ASoC:Tegra: Fix DAM num to a specific DAP

DAM should fix to a specific DAP, otherwise voice call cannot be
ended normally.

Change-Id: I60553e903a2f425bc9e9e1c245f77dfd5d3058b4
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/351993
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agosoc: tegra: rt5640: set DAI link for E1569-ERS
Yong Goo Yi [Thu, 9 Jan 2014 08:03:03 +0000]
soc: tegra: rt5640: set DAI link for E1569-ERS

Set DAI link properly for E1569-ERS rt5640 codec

Bug 1432502
Bug 1432488

Change-Id: I5c91d0cc842fccb45175180da3a86e4651bd2534
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/353677
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoArm: tegra: usb: set run bit after disabling PMC
Martin Chi [Sat, 11 Jan 2014 02:42:41 +0000]
Arm: tegra: usb: set run bit after disabling PMC

Set run bit soon after disabling the PMC so that
the delay in releasing the pmc_lock is avoided.
Also add delay in phy_restore_end so that the resume
will driven for minimum of 20ms.

Bug 1264731
Bug 1382457
Bug 1438066

Change-Id: If4d53359d8a3f33898ed0663cbdf7d4c8310bcf9
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/309449
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/354696
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agodrivers: media: tegra: fix incorrect license info
Charlie Huang [Wed, 13 Nov 2013 23:28:26 +0000]
drivers: media: tegra: fix incorrect license info

to make them compatible with the Linux kernel licensing.

bug 1406088

Change-Id: I33a3f3995d1fe256e662236b0e33b59a4fa024be
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/330752
(cherry picked from commit e618d9e50589cc3d43e3ca3b0d37a4562b844777)
Reviewed-on: http://git-master/r/353929
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agommc: sdhci: tegra: exclusive clk control
Bitan Biswas [Thu, 21 Nov 2013 12:12:21 +0000]
mmc: sdhci: tegra: exclusive clk control

Exclusive access to Tegra sdhci set clock API
to prevent race between multiple callers

bug 1405624

Change-Id: If83f4bf7e0f4c9e39e0f581403d33f4efc9f8476
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/334014
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/339783
(cherry picked from commit 9d5e83e800ed775ccabed82746b7ea07f952be06)
Reviewed-on: http://git-master/r/353625
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agovideo: tegra: dc: use cancel_delayed_work_sync()
Deepak Nibade [Tue, 22 Oct 2013 13:00:27 +0000]
video: tegra: dc: use cancel_delayed_work_sync()

- nvhdcp driver uses flush_workqueue()
- instead make use of cancel_delayed_work_sync() since
  work scheduled is delayed work

Bug 1308191

Change-Id: I40f841c417cda9b6f40bb9da5c86c0b8944807e9
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/302383
(cherry picked from commit 058f6085fe89ba3eb4f8cececa42af3dc781c084)
Reviewed-on: http://git-master/r/353592
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: cec: cancel workqueue in suspend
Deepak Nibade [Mon, 30 Sep 2013 06:13:59 +0000]
misc: cec: cancel workqueue in suspend

- cancel the workqueue in suspend method before turning
  off the clock

Bug 1360341

Change-Id: I126da686a6ba0c5eec55b67df1e9f962ce16fc48
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/280159
(cherry picked from commit 7cc6da6e41c7889f7ed8da7833d293b3b884bc0e)
Reviewed-on: http://git-master/r/353591
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agodrivers: misc: therm_est: Add of_match_table
Jinyoung Park [Thu, 2 May 2013 11:56:05 +0000]
drivers: misc: therm_est: Add of_match_table

Added of_match_table in the driver structure.
If there is therm_est binding data in device tree, we don't need to add
platform_device_register() for therm_est device in board file.

Bug 1240803

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/224875
(cherry picked from commit 71deb2ba7174b010c63155a47c54de9a9ea7f7d7)

Change-Id: Ia85a74d3c7b69c3bd4be7859ec8daa8d09d0a4e1
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/353278
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: therm_est: Robustify history management
Jinyoung Park [Mon, 30 Sep 2013 03:33:38 +0000]
misc: therm_est: Robustify history management

Added below things to prevent bad temp estimation by wrong history management.
- Set current temp estimation with 25C if history initialization is failed.
- Store last temp as current history if temp reading is failed.

Bug 1375775

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/280251
(cherry picked from commit d498f2502ba9135bfaf137aecfd2576f39b88463)

Change-Id: If97275cc3ba36914b43afc2b98ba3163e2ac8255
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/353272
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agonet: ipv6: fix wrong ping_v6_sendmsg return value
Lorenzo Colitti [Wed, 3 Jul 2013 15:12:40 +0000]
net: ipv6: fix wrong ping_v6_sendmsg return value

ping_v6_sendmsg currently returns 0 on success. It should return
the number of bytes written instead.

Bug: 9469865
Bug 1412141
Change-Id: I14aad6018f0c3fd92dad315bc3ade04c0b3982e0
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 5f0fd6105f491b8b435863e98f7e96d617e3da84)
Reviewed-on: http://git-master/r/336272
(cherry picked from commit 6d931659abae7575ee64b16e3c2f3ee8bd350dd1)
Reviewed-on: http://git-master/r/353233
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agonet: ipv6: add missing lock in ping_v6_sendmsg
Lorenzo Colitti [Wed, 3 Jul 2013 15:52:49 +0000]
net: ipv6: add missing lock in ping_v6_sendmsg

Bug: 9469865
Bug 1412141
Change-Id: I5e9db559d22e35d27fa1df948b70c70ed8b42115
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 3a018d2e8fc2910e5fb2077cde81cad659e2c7f9)
Reviewed-on: http://git-master/r/336271
(cherry picked from commit 71e8c301dce8ee85ee26eedb808b939084f14b45)
Reviewed-on: http://git-master/r/353232
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoping: always initialize ->sin6_scope_id and ->sin6_flowinfo
Cong Wang [Sun, 2 Jun 2013 22:43:52 +0000]
ping: always initialize ->sin6_scope_id and ->sin6_flowinfo

[net-next commit c26d6b46da3ee86fa8a864347331e5513ca84c2b]

If we don't need scope id, we should initialize it to zero.
Same for ->sin6_flowinfo.

Bug 1412141
Change-Id: I74764edf3d0567f5ae094b2e83484cdfe05f6098
Cc: Lorenzo Colitti <lorenzo@google.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Acked-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 14e41a18688ec8d52ea3163f7898455b52365854)
Reviewed-on: http://git-master/r/336270
(cherry picked from commit 68f4261657194f51c9d954f259825c76a72a00e2)
Reviewed-on: http://git-master/r/353231
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agonet: ipv6: Add IPv6 support to the ping socket.
Lorenzo Colitti [Wed, 16 Jan 2013 22:09:49 +0000]
net: ipv6: Add IPv6 support to the ping socket.

[backport of net-next 6d0bfe22611602f36617bc7aa2ffa1bbb2f54c67]

This adds the ability to send ICMPv6 echo requests without a
raw socket. The equivalent ability for ICMPv4 was added in
2011.

Instead of having separate code paths for IPv4 and IPv6, make
most of the code in net/ipv4/ping.c dual-stack and only add a
few IPv6-specific bits (like the protocol definition) to a new
net/ipv6/ping.c. Hopefully this will reduce divergence and/or
duplication of bugs in the future.

Caveats:

- Setting options via ancillary data (e.g., using IPV6_PKTINFO
  to specify the outgoing interface) is not yet supported.
- There are no separate security settings for IPv4 and IPv6;
  everything is controlled by /proc/net/ipv4/ping_group_range.
- The proc interface does not yet display IPv6 ping sockets
  properly.

Tested with a patched copy of ping6 and using raw socket calls.
Compiles and works with all of CONFIG_IPV6={n,m,y}.

Bug 1412141

Change-Id: I0081b4654dd54b12c8f233e00e18943582aa2142
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[lorenzo@google.com: backported to 3.4]
(cherry picked from commit 1f0675844e3b63a765e5bd32bc5af051ccd951c0)
Reviewed-on: http://git-master/r/336269
(cherry picked from commit 36c1b848f9c0cbcefa6fc731f84ae6ddc3536be6)
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Reviewed-on: http://git-master/r/353230
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

5 years agoipv6: introdcue __ipv6_addr_needs_scope_id and ipv6_iface_scope_id helper functions
Hannes Frederic Sowa [Fri, 8 Mar 2013 02:07:16 +0000]
ipv6: introdcue __ipv6_addr_needs_scope_id and ipv6_iface_scope_id helper functions

[net-next commit b7ef213ef65256168df83ddfbb8131ed9adc10f9]

__ipv6_addr_needs_scope_id checks if an ipv6 address needs to supply
a 'sin6_scope_id != 0'. 'sin6_scope_id != 0' was enforced in case
of link-local addresses. To support interface-local multicast these
checks had to be enhanced and are now consolidated into these new helper
functions.

v2:
a) migrated to struct ipv6_addr_props

v3:
a) reverted changes for ipv6_addr_props
b) test for address type instead of comparing scope

v4:
a) unchanged

Bug 1412141

Change-Id: I1788f1f2d3a6bd2b9e6a6afe74992d6d4a1385eb
Suggested-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Cc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 2c75b248e5243d0af7cc97522148db7415a70f8a)
Reviewed-on: http://git-master/r/336266
(cherry picked from commit dfd23e75d7f69863ec3903ea1300185a1474b56a)
Reviewed-on: http://git-master/r/353229
Reviewed-by: Nitin Bindal <nbindal@nvidia.com>
Tested-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agovideo: tegra: Fix filtering with SCAN_COLUMN on
Michael Frydrych [Fri, 29 Nov 2013 10:11:58 +0000]
video: tegra: Fix filtering with SCAN_COLUMN on

When SCAN_COLUMN is enabled, swap input width and height
when deciding if filter needs to be turned on for respective
dimension.

Bug 1413155

Change-Id: I9d6048e567fbbbb90a27b27cb66418be9ecc9bfc
Signed-off-by: Michael Frydrych <mfrydrych@nvidia.com>
Reviewed-on: http://git-master/r/350551
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: dts: tn7c: Update dvfs table to v1.1_0106
Martin Chi [Tue, 7 Jan 2014 07:03:14 +0000]
ARM: dts: tn7c: Update dvfs table to v1.1_0106

http://nvbugs/1417014/12

bug 1417014

Change-Id: I260166bc65ea7433e7a7e646ae68a6a9f087fc89
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/352547
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agomisc:tegra-baseband:USB_HOST_RELOAD for Bruce BB
Martin Chi [Tue, 7 Jan 2014 05:08:37 +0000]
misc:tegra-baseband:USB_HOST_RELOAD for Bruce BB

Add USB_HOST_RELOAD capability for Bruce modem.

bug 1431677

Change-Id: I1c88aac7a6640f8a867509597d842f559d991d68
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/352523
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gray Lei <glei@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoasoc: rt5639: fix null pointer expection.
Harry Hong [Mon, 6 Jan 2014 05:54:53 +0000]
asoc: rt5639: fix null pointer expection.

if codec structure doesn't have hw_read(), skip calling
it in rt5639_codec_show.

Bug 1433596
Bug 1434588

Change-Id: I4e7d33d8f01e54b476e1b084a256f2b525a9b23f
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/352132

5 years agoARM: dts: tegratab-ers: correct dc property
Min-wuk Lee [Thu, 2 Jan 2014 02:38:56 +0000]
ARM: dts: tegratab-ers: correct dc property

nvidia,emc-clk-rate is right property for default
emc clk rate, not nvidia,emc_clk_rate

Bug 1240921

Change-Id: I64d63731262ca2a3bf2ddb2276ee2e067fe92752
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/351161
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoRevert "ARM:tegra:tn7c:Enable proximity sensor LTR659PS"
Martin Chi [Sun, 5 Jan 2014 07:35:18 +0000]
Revert "ARM:tegra:tn7c:Enable proximity sensor LTR659PS"

Without calibration, when doing call, the screen may
be off sometimes. So, will enable this until finish
proximity sensor calibration

bug 1434536

Signed-off-by: Martin Chi <mchi@nvidia.com>
Change-Id: I043060f317f44565c20891e330a450d4a7511a4d
Reviewed-on: http://git-master/r/352031

5 years agoARM:tegra:tn7c:Enable proximity sensor LTR659PS
Chen Jian [Thu, 2 Jan 2014 07:43:05 +0000]
ARM:tegra:tn7c:Enable proximity sensor LTR659PS

Bug 1410904

Change-Id: Iaeca98d5ed3316d96993028b5ddf4b4790b44b0e
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351247
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoRM:tegra:tn7c:Update LTR659PS drv with TN7C
Chen Jian [Thu, 2 Jan 2014 07:39:24 +0000]
RM:tegra:tn7c:Update LTR659PS drv with TN7C

  - Add PS parameters.
  - Add sysfs node: ps_data and enable
  - Update interrupt routine.
  - Initialize sensor with default paramters.
  - Update suspend/resume routine.
  - Add voice call proceding.

Bug 1410904

Change-Id: I1569e5bae3c1dbc5c3b65c47d1725bf0f45f06fa
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351242
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:tegra:tn7c:Add LTR569PS regulator
Chen Jian [Thu, 2 Jan 2014 06:58:58 +0000]
ARM:tegra:tn7c:Add LTR569PS regulator

- add Add LTR569PS regulator
- update copyright information

Bug 1410904

Change-Id: I210239ec96305f59423815380b42cdd17783f699
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351218
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:tegra:tn7c:Add proximity sensor LTR659PS
Chen Jian [Thu, 2 Jan 2014 06:54:00 +0000]
ARM:tegra:tn7c:Add proximity sensor LTR659PS

- GPIO: TEGRA_GPIO_PX3 as interrupt pin.
- Threshold initial value.
- Update copyright information

Bug 1410904

Change-Id: Ic20e21b25a1b9990efa71ad7f1b0b3b12575f23f
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351216
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:tegra:tn7c:proximity sensor LTR659PS
Chen Jian [Thu, 2 Jan 2014 06:46:33 +0000]
ARM:tegra:tn7c:proximity sensor LTR659PS

Bug 1410904

Change-Id: Iec927ec18063cfcab399ab9a4eb22ef23a91ce8e
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351213
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agovideo: tegra: dc: hotplug_report for DT
Chen Jian [Fri, 3 Jan 2014 05:35:38 +0000]
video: tegra: dc: hotplug_report for DT

  - Change pin pull-down state when HDMI cable
    plug/unplug
  - Update copyright information as well.

Bug 1431621

Change-Id: I07ab372683d74aeff1581af3972235bfd4077d6a
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351625
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoarm: dts: tn7c: add hotlug_report in devicetree
Chen Jian [Fri, 3 Jan 2014 06:11:47 +0000]
arm: dts: tn7c: add hotlug_report in devicetree

  - Add hotplug_report property
  - Update copyright information as well.

Bug 1431621

Change-Id: I9411a82103f1dac42bb2ad28144e1b4f51ad220d
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/351624
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: tegra: usb: add remote wakeup callback
Neil Patel [Fri, 11 Oct 2013 18:31:43 +0000]
ARM: tegra: usb: add remote wakeup callback

Drivers can take actions based on remote wakeup events to prevent a
device or the bus from suspending before the incoming data is handled.

Bug 1362837
Bug 1430974

Change-Id: I55cf26663cbf00bd2eccc60f18aa95ab5777e604
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/289968
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Gray Lei <glei@nvidia.com>
Reviewed-on: http://git-master/r/349731
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351588
GVS: Gerrit_Virtual_Submit

5 years agomisc: tegra-baseband: short autosuspend for native remote wake
Neil Patel [Fri, 25 Oct 2013 14:29:39 +0000]
misc: tegra-baseband: short autosuspend for native remote wake

Add support for short autosuspend when native remote wakeup is used.

Bug 1362837
Bug 1430974

Change-Id: I13cab913645d00a1d37caabf0d274bb2e557e0c3
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/324075
(cherry picked from commit c3d9eaafe053f5d8f8859811e01e3a0dac314ba3)
Reviewed-on: http://git-master/r/328441
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/349730
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351587

5 years agomisc: tegra-baseband: take wakelock after remote wakeup
Neil Patel [Thu, 10 Oct 2013 00:31:19 +0000]
misc: tegra-baseband: take wakelock after remote wakeup

Take a wakelock after a remote wakeup event occurs. This is done to
help ensure we do not suspend before the upper layers can handle
incoming data.

Bug 1362837
Bug 1430974

Change-Id: I7dc4ee43e4443e9ac0635eac179427c2348238c8
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/289962
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Gray Lei <glei@nvidia.com>
Reviewed-on: http://git-master/r/349729
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351586
GVS: Gerrit_Virtual_Submit

5 years agomisc: tegra: Disable short delay if wake gpio not
Martin Chi [Fri, 3 Jan 2014 03:24:09 +0000]
misc: tegra: Disable short delay if wake gpio not
 defined.

Disable short_autosuspend_delay for Modem device, when wake gpio
is not used.

Bug 1362837
Bug 1430974

Change-Id: I9b36becead27903ad6e063ecb450e01c1c56dd5f
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351585
GVS: Gerrit_Virtual_Submit

5 years agosecurity: tf_driver: integrate latest TL release
Hyung Taek Ryoo [Sat, 21 Dec 2013 01:36:53 +0000]
security: tf_driver: integrate latest TL release

Tegra4 version: TF_TEGRA4_AC02.08p7.40714

Bug 1423099

Synchronizes TF's LP1 wakeup with the recent changes of
LP1 sleep sequence in the BSP.

Change-Id: I41576f465a75e43f394a095991f7e079f4032578
Signed-off-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-on: http://git-master/r/348298
(cherry picked from commit e74d2529e015ae6b8bea02cf95880f68228e4364)
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/351097
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoASoC: Tegra: Fix the issue about capture clock
Lei Fan [Wed, 25 Dec 2013 06:06:19 +0000]
ASoC: Tegra: Fix the issue about capture clock

During a capture, playback_ref_count will be 0 and capture_ref_count
will be 1, the clock tree will not be set. But it needs to be set.

Bug 1429860

Change-Id: Ib40d757d56d7093da92a12ba355d0003d8a1564d
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/351106
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Danny Song <dsong@nvidia.com>

5 years agoASoC: Tegra: Softreset RXCIF when it is disabled
Lei Fan [Wed, 25 Dec 2013 06:03:01 +0000]
ASoC: Tegra: Softreset RXCIF when it is disabled

Sometime the rxcif of AHUB will have some residual bits, because the
rxcif is in incorrect state, it may cause that capture app cannot
get any data form DAP.The issue can be solved by resetting the rxcif
when it is disabled.

Bug 1389711
Bug 1429860

Change-Id: I10aa37de6ea0c78d85ce30e6b5538e06ff77d5b5
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/351105
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Danny Song <dsong@nvidia.com>

5 years agosecurity: tf_driver: integrate latest TL release
Martin Chi [Thu, 2 Jan 2014 05:54:12 +0000]
security: tf_driver: integrate latest TL release

Tegra4 version: TF_TEGRA4_AC02.08p6.40683
This version fixes LP1 wakeup sequence.
The major problem was introduced by mistake in release 2.0.8p4.
Synchronized SDRAM wakeup sequence in TF with the latest BSP.
The other features are preserved unchanged.

Bug 1363940
Bug 1380505

Change-Id: Ieb3a089f5f5a964186ad11b691acc254b4216f9d
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351176
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: Tegra: TN7C: fix wrong pinmux configuration
Martin Chi [Thu, 26 Dec 2013 07:55:28 +0000]
ARM: Tegra: TN7C: fix wrong pinmux configuration

some pins are not configured in GPIO_INIT
fix the wrong config to GPIO_PP4 that is used for
bt audio

bug 1429860

Change-Id: I20428458770471ed10f2831ea3f21df3661e99c2
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/349689
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/351109

5 years agoARM: Tegra: TN7C:export GPIO_PV0 for userspace
David Pu [Tue, 24 Dec 2013 07:49:30 +0000]
ARM: Tegra: TN7C:export GPIO_PV0 for userspace

GPIO_PV0 will be used to detect if modem is present.
export it via sysfs.

Bug 1428253

Change-Id: I21dd00645b80fc07f14145432ec7dd8924d90ea6
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/349315
(cherry picked from commit c720d4d136eb4aedbd560fc5bbbaf4db5affefa6)
Reviewed-on: http://git-master/r/351108
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:TN7C:boot:dts:hdmi pll(0,1)
qtang [Wed, 25 Dec 2013 06:36:43 +0000]
ARM:TN7C:boot:dts:hdmi pll(0,1)

Change hdmi pll0 & pll1 register values.

Bug 1430553

Change-Id: Iacaeda8216d75c4b3c8700049136df1d36f18307
Signed-off-by: qtang <qtang@nvidia.com>
Reviewed-on: http://git-master/r/349631
Reviewed-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351107
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:tegra:tn7c:boot:dts:Compass Orientation
qtang [Tue, 24 Dec 2013 02:55:27 +0000]
ARM:tegra:tn7c:boot:dts:Compass Orientation

Change Compass AK8963C Orientation matrix according to
chip mounting.

Bug: 1424109

Change-Id: Icd03767b4fb0cfaf780ceb3328032c5891fe39bb
Signed-off-by: qtang <qtang@nvidia.com>
Reviewed-on: http://git-master/r/349204
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/351098

5 years agotegranote7c: config: set nls default to utf8
David Pu [Tue, 24 Dec 2013 04:28:46 +0000]
tegranote7c: config: set nls default to utf8

applied below change for tegranote7c defconfig:

tegratab: config: set nls default to utf8

For support Unicode file name with NTFS filesystem format, add NLS UTF8
defconfig.
Bug 1425034

Reviewed-on: http://git-master/r/348006
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>

Reviewed-on: http://git-master/r/349235
(cherry picked from commit 14eb8d2b36e924f8129dd5c0d2a8b7ac3c055b58)

Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: I70deea76b55048802186be90cabc3bf90303d73c
Reviewed-on: http://git-master/r/351207
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM:tegra:tn7c:switch to LP cluster before LP1
Danny Song [Thu, 2 Jan 2014 07:41:16 +0000]
ARM:tegra:tn7c:switch to LP cluster before LP1

Tegra should be switched to LP cluster before
entering LP1.

Bug 1423099

Change-Id: I1db79d4c12232176d9f2f06544eaed70aebc8fae
Signed-off-by: Danny Song <dsong@nvidia.com>
Reviewed-on: http://git-master/r/351245
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: dts: tn7c: correct dc emc-clk property
Martin Chi [Mon, 30 Dec 2013 14:38:59 +0000]
ARM: dts: tn7c: correct dc emc-clk property

nvidia,emc-clk-rate is right property for default
emc clk rate, not nvidia,emc_clk_rate

Bug 1240921

Change-Id: I1ee9ff74ecbf86b35ba20cbfc006b25b52f932c5
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350647

5 years agoARM:tegra:TN7C: don't set PK6 fix reg as open drain.
David Pu [Wed, 18 Dec 2013 09:39:40 +0000]
ARM:tegra:TN7C: don't set PK6 fix reg as open drain.

vdd_hdmi_5v0 won't be enabled if TEGRA_GPIO_PK6 is
set as open drain since it is a output GPIO, remove
open drain flag in fixed reg setting.

Bug 1410152

Change-Id: I81f7294e87752742443a3e5ee57a3b62b7a18ae4
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/350645
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoasoc:tegra: correct the codec name and its dai
Lei FAN [Wed, 18 Dec 2013 17:09:48 +0000]
asoc:tegra: correct the codec name and its dai

The codec name and its dai name is not right, it will cause the sound
card not to be registered.

Bug 1410909

Change-Id: Ibbde3be3182e839cccc69fd5df90d5e745530c1a
Signed-off-by: Lei FAN <leif@nvidia.com>
Reviewed-on: http://git-master/r/347105
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350644
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra:TN7C: Enable audio clock for voice call
Lei Fan [Thu, 12 Dec 2013 10:22:11 +0000]
ARM: tegra:TN7C: Enable audio clock for voice call

Enable DAPs which is used by voice call for tegranote7c,

Bug 1410909
Bug 1418728

Change-Id: I20e4df26ee0ac9e1d51f5e6790abdc20532805a5
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/344768
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350643
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoasoc: tegra: Add kernel driver for voice call
Lei Fan [Thu, 12 Dec 2013 10:27:54 +0000]
asoc: tegra: Add kernel driver for voice call

Add voice call support for tegranote7c, so that there are some voice
call devices for calling in sound card.

Bug 1410909
Bug 1418728

Change-Id: I2c34d1d5bad9f6f30a497a6673bb5b7f2d8c0ff3
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/344769
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350642
GVS: Gerrit_Virtual_Submit

5 years agoinput:misc:mpu:added new reglator for powerup seq.
qtang [Fri, 6 Dec 2013 08:38:41 +0000]
input:misc:mpu:added new reglator for powerup seq.

Add another regulator vlogic_gyro into regulator list
of the gyro driver.

Bug 1418728

Signed-off-by: David Pu <dpu@nvidia.com>
Signed-off-by: qtang <qtang@nvidia.com>
Change-Id: I93fd8181a575062b16ae9e1af7c0dbe14d866713
Reviewed-on: http://git-master/r/339057
Reviewed-on: http://git-master/r/350640
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: tegra: TN7C: revise avdd_hdmi_pll reg for P1988
Martin Chi [Mon, 30 Dec 2013 14:24:53 +0000]
ARM: tegra: TN7C: revise avdd_hdmi_pll reg for P1988

Bug 1410152

Change-Id: Ie5bea317dd2f19bcf93095dd160e126f4b7b9882
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350639
Reviewed-by: David Pu <dpu@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM:tegra:TN7C:Add fixed regulator for gyro
qtang [Fri, 6 Dec 2013 08:31:57 +0000]
ARM:tegra:TN7C:Add fixed regulator for gyro

kb_row0 configured for this purpose

But 1418728

Change-Id: Icf01a4f925e5196443f00f6d651785fae7d229e9
Signed-off-by: qtang <qtang@nvidia.com>
Reviewed-on: http://git-master/r/350637
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: Tegra: Utilize burst policy for LP1 wakeup
Martin Chi [Thu, 12 Dec 2013 05:18:02 +0000]
ARM: Tegra: Utilize burst policy for LP1 wakeup

Running SCLK from CLKS makes LP1 wakeup latencies horrible.
However, we can utilize IRQ bursting to switch automatically
to CLKM upon LP1 wakeup IRQ. This maintains low power for LP1
but improves wakeup latencies significantly.

Bug 1423099

Change-Id: I9231d736c5d330a1c36a38a4e2ad1d0b29a4c158
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/344607
Reviewed-on: http://git-master/r/350636
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: Tegra: TN7C: re-config modem IPC pins
Martin Chi [Thu, 28 Nov 2013 02:36:14 +0000]
ARM: Tegra: TN7C: re-config modem IPC pins

bug 1410909
bug 1418728

Change-Id: I26a6cbe1e80bbe91d8cc37ad2826488706b55267
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/336444
Reviewed-on: http://git-master/r/350635
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: Tegra: TN7C: initial pinmux configuration
Martin Chi [Thu, 12 Dec 2013 05:12:54 +0000]
ARM: Tegra: TN7C: initial pinmux configuration

Bug 1418728

Change-Id: I3670f65358394c21f6de3eb05e49986ad1054fed
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/336430
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-on: http://git-master/r/350634
GVS: Gerrit_Virtual_Submit

5 years agoARM:tegra:tn7c:revise board id to P1988
Martin Chi [Mon, 30 Dec 2013 14:17:47 +0000]
ARM:tegra:tn7c:revise board id to P1988

Bug 1410152

Change-Id: I80c856966ebd97b911c5e555fbd7e6e79d276060
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/350633
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra:tegranote7 enable E2542 debug board
David Pu [Thu, 5 Dec 2013 11:46:23 +0000]
ARM: tegra:tegranote7 enable E2542 debug board

if debug uart is set to 5, just mux sdcard mmc pins to UART-A.

Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/338732
Reviewed-by: Danny Song <dsong@nvidia.com>
Tested-by: Danny Song <dsong@nvidia.com>
(cherry picked from commit 637cad50a2d4f38bdc1aaf1e067f2eff14060b48)
Change-Id: I25dde9722198e70a6f3fca96cabdf180bbe255bf
Reviewed-on: http://git-master/r/347381
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/350632
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: dts: tegratab: update smooth_k_incr
Danny Song [Tue, 17 Dec 2013 08:16:16 +0000]
ARM: dts: tegratab: update smooth_k_incr

Update PRISM smooth_k_incr to 4.

Bug 1401127

Change-Id: I552c90f995108be61f8ef58981b7ef90bc87b775
Signed-off-by: Danny Song <dsong@nvidia.com>
Reviewed-on: http://git-master/r/346357
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/350516
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agotegratab: config: set nls default to utf8
Hyong Bin Kim [Thu, 26 Dec 2013 06:37:25 +0000]
tegratab: config: set nls default to utf8

For support Unicode file name with NTFS filesystem format, add NLS UTF8
defconfig.

Bug 1425034

Change-Id: I9856d42f36b3142e73bb4170e2ae993eff27ab51
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/349656
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: tegratab: macallan: rename wifi wow line
Nitin Bindal [Tue, 24 Dec 2013 18:20:55 +0000]
ARM: tegra: tegratab: macallan: rename wifi wow line

1. Rename wifi wow line for macallan and tegratab
2. update wl12xx.h

Bug 1430234
Bug 1430017

Change-Id: I0fed73db69152481977ea594d4d856e8a9899516
Signed-off-by: Nitin Bindal <nbindal@nvidia.com>
Reviewed-on: http://git-master/r/349666
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: dts: tegratab: correct dc property
Min-wuk Lee [Mon, 23 Dec 2013 07:02:49 +0000]
ARM: dts: tegratab: correct dc property

nvidia,emc-clk-rate is right property for default
emc clk rate, not nvidia,emc_clk_rate

Bug 1240921

Change-Id: I32cac9970b1ee6ac4b4270b7b9483983d9bc5e56
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/348709
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoinput: misc: mpu: fix acclerometer stuck
David Yu [Wed, 18 Dec 2013 12:43:32 +0000]
input: misc: mpu: fix acclerometer stuck

Bug 1426676

Change-Id: Ib98c0ac3f8a162a29863aa2eb58ba7819d74f393
Reviewed-on: http://git-master/r/347050
(cherry picked from commit 21d0036e84828c54a5a20bf76bde6ba3d1ad42c3)
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/348610
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agopower: max17048: Use Tskin instead of Batt temp
David Pu [Wed, 27 Nov 2013 03:03:20 +0000]
power: max17048: Use Tskin instead of Batt temp

apply change http://git-master/r/289141 for tegranote7c also.

Bug 1410152

Change-Id: I012a829b8fbb3fa6f3bcb2d0c2cefd3a77f247c4
Reviewed-on: http://git-master/r/335989
(cherry picked from commit 856af7c16d5acc96f1a3315fa80759302b0f8919)

Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: Ie350cbed676d728dd463c2a772fe43dc755f1795
Reviewed-on: http://git-master/r/337153
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agopower: bq2419x: limit charge current for tn7c also
David Pu [Wed, 27 Nov 2013 02:58:08 +0000]
power: bq2419x: limit charge current for tn7c also

Bug 1410152

Change-Id: If59b02b9ca205d4a0902ae05ef9a5e50466a810b
Reviewed-on: http://git-master/r/335988
(cherry picked from commit 2cf3e2b6a3a369c170f43bcfec0cef20fb2eac37)

Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: I52568e71c019d69738385ea47064339b26c2e6ce
Reviewed-on: http://git-master/r/337152
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: dts: tegranote7c: added tegranote7c dts files
David Pu [Fri, 22 Nov 2013 03:06:43 +0000]
ARM: dts: tegranote7c: added tegranote7c dts files

Bug 1410152

Change-Id: I1021245d7a9b740e03af611e7fbef656afdc3c09
Reviewed-on: http://git-master/r/334273
(cherry picked from commit 30e4dc3db6cdcc328d8785b1ca88ce79f61ac6d9)

Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: Ic101c6714029236e0573a5a7cbe812f1ef375910
Reviewed-on: http://git-master/r/337151
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agostaging: iio: adc: palmas: Force calibrate ADC value
David Pu [Fri, 22 Nov 2013 03:12:31 +0000]
staging: iio: adc: palmas: Force calibrate ADC value

apply commit 3b94ac3347a2(http://git-master/r/330985)
for tegranote7c also.

Change-Id: I704424b5e1599f08c0ec0576124e4b7d0a104839
Reviewed-on: http://git-master/r/334278
(cherry picked from commit a7b7c283003de46effce01577a0346abec20272f)

Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: I2141b35e301f7fcda1e862a5e9ae1ac6c41e538e
Reviewed-on: http://git-master/r/337150
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agotegra: video: enable lgd-wxga-7 for tegranote7c
David Pu [Fri, 22 Nov 2013 03:09:36 +0000]
tegra: video: enable lgd-wxga-7 for tegranote7c

Bug 1410152

Change-Id: I2a4671472a6036d7e7581b6754cd0faed6d5ae60
Reviewed-on: http://git-master/r/334277
(cherry picked from commit 4caab090c88260e25246d91255275512b54a4adb)

Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: I7b3f69b6bd43b6fa2c0b037c4c371d9cfbe7c569
Reviewed-on: http://git-master/r/337149
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra:tegranote7 Added tegranote7 board files
David Pu [Mon, 25 Nov 2013 05:45:21 +0000]
ARM: tegra:tegranote7 Added tegranote7 board files

Bug 1410152

Change-Id: I6d7ff6328867758251360251aa0b46b23eccd6f3
Reviewed-on: http://git-master/r/333936
(cherry picked from commit c1b6511e2d3bca8799c15307f62e53c9b42fe387)

Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: I817734cfb612ae9e4a66484458ee2198d75366e0
Reviewed-on: http://git-master/r/337148
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegranote7c: Add defconfig for TN7C
Danny Song [Wed, 20 Nov 2013 09:34:52 +0000]
ARM: tegra: tegranote7c: Add defconfig for TN7C

Bug 1410152

Change-Id: I7f2964e881aa51dd2d5b4fa763f5c1337880e448
Signed-off-by: David Pu <dpu@nvidia.com>
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/333333
(cherry picked from commit f77205ae5aace61ae50c3187bc2c32af78f8fa63)
Reviewed-on: http://git-master/r/338037
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: dummy change
Harry Hong [Thu, 12 Dec 2013 13:07:27 +0000]
ARM: tegra: tegratab: dummy change

this is to trigger automatic build

Change-Id: Iffbd040c9e7dac6d1debec478adeb4ae113a0158
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/344833

5 years agoARM: tegra: tegratab: adding more comment
Harry Hong [Thu, 12 Dec 2013 12:18:09 +0000]
ARM: tegra: tegratab: adding more comment

this is to trigger automatic build

Change-Id: I3e8e845405400bbb00240857ac9997b02e767f71
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/344813

5 years agommc: tegra: error handling if no card
David Yu [Thu, 12 Dec 2013 02:36:40 +0000]
mmc: tegra: error handling if no card

if sd card removed during tap_delay tuning,
don't exit until trying MAX_TAP_VALUES.
it makes the system un-responsive for 2 sec.
Therefore, adding to check card_present before starting
freq_tuning.
if card is not present, return error
and then exit tuning procedure.

Bug 1422437
Bug 1364449

Change-Id: Ib8dff29a1c1faade2acaa93c3e97ea23d3e3041c
Reviewed-on: http://git-master/r/272902
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/344556
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agommc: host: sdhci: delayed clock gate update
Bitan Biswas [Tue, 19 Nov 2013 20:43:41 +0000]
mmc: host: sdhci: delayed clock gate update

Changes are:
 - cancel delayed clock gate work before suspend
 - sdhci disable does not schedule delayed clock
   gate work if clock is already disabled

bug 1372006

Change-Id: I55160b258d5a28b9e454420768a50ed70a127e9a
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/338618
(cherry picked from commit 3bbbfb7d97825c80fe0f667ce2c7c9062c1660da)
Reviewed-on: http://git-master/r/344119
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Harry Hong <hhong@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: defconfigs: Enable Tegra profiler
David Yu [Mon, 2 Dec 2013 04:38:54 +0000]
ARM: defconfigs: Enable Tegra profiler

Enable Tegra profiler for Tegra platforms
Bug 1312406

Change-Id: I8e617a3f87b62d41800a059e6031533f12c342f4
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/249722
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/337101
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: send mapped memory regions
Igor Nabirushkin [Thu, 24 Oct 2013 13:23:11 +0000]
misc: tegra-profiler: send mapped memory regions

Tegra Profiler: send information about mapped
memory regions (on demand).

Bug 1394970

Change-Id: Idf9a3c5d2d9fac0fd622f99bd226632c810a8ab6
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324093
(cherry picked from commit 9b684c4808301c89c8d479d562afc5830ff3835a)
Reviewed-on: http://git-master/r/340018
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agotegra-profiler: backtraces from the kernel context
Igor Nabirushkin [Thu, 24 Oct 2013 11:12:53 +0000]
tegra-profiler: backtraces from the kernel context

Tegra Profiler: collect backtraces from the kernel context

Bug 1394804

Change-Id: I1db7435c9e1fc753dd8c02252076287572f5f5af
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324091
(cherry picked from commit f7213f6e694089f866ccfcbca02c1e61648048db)
Reviewed-on: http://git-master/r/340016
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: backtracing for Thumb code
Igor Nabirushkin [Sun, 13 Oct 2013 17:45:06 +0000]
misc: tegra-profiler: backtracing for Thumb code

Tegra Profiler: add backtracing for Thumb code

Bug 1387645

Change-Id: I43b6be4e14aa88d23a974a0cf7fa8d6bfbbb109f
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324090
(cherry picked from commit f7e4f8cffda2497848326d3221af497c6fefa6ca)
Reviewed-on: http://git-master/r/340014
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: add /proc/quadd/status
Igor Nabirushkin [Tue, 24 Sep 2013 14:22:09 +0000]
misc: tegra-profiler: add /proc/quadd/status

Add /proc/quadd/status
It allows users to see current status of the Tegra Profiler.

Bug 1374376

Change-Id: I70d548c47bc80f6a12e3637f0af38fe74403de2d
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324086
(cherry picked from commit c63155fe6ee3765af0529a67a3b9383f675f604c)
Reviewed-on: http://git-master/r/340013
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: add thumb flag into samples
Igor Nabirushkin [Tue, 24 Sep 2013 13:34:09 +0000]
misc: tegra-profiler: add thumb flag into samples

Tegra Profiler misc driver: thumb mode flag was
added into samples

Bug 1374335

Change-Id: If1a6b7e57071f6c9d645bc790e24cd1e3e405b6f
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324082
(cherry picked from commit 293d786bcb5211333e269f61d8d23e286ee3c28b)
Reviewed-on: http://git-master/r/340012
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: add poll support
Igor Nabirushkin [Tue, 24 Sep 2013 13:11:06 +0000]
misc: tegra-profiler: add poll support

Tegra Profiler misc driver: add poll support

Bug 1374312

Change-Id: Id0844b3b329f348763f22b831fc73ac64f04fd9b
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324078
(cherry picked from commit 5cf6aad33faf73a32d01aa9f4d064410c5a677b3)
Reviewed-on: http://git-master/r/340010
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: send buffer fill count
Igor Nabirushkin [Tue, 24 Sep 2013 11:46:16 +0000]
misc: tegra-profiler: send buffer fill count

Tegra Profiler misc driver: transmit the maximum buffer
occupancy to the user space.

Bug 1374266

Change-Id: Id078083a5493552c1f3bb697a1d3e4a5504e3f82
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324051
(cherry picked from commit 9e94874e5edee9baa2e6be21712fa67a967eb6bc)
Reviewed-on: http://git-master/r/340006
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: kprobes is no longer used
Igor Nabirushkin [Fri, 4 Oct 2013 21:35:23 +0000]
misc: tegra-profiler: kprobes is no longer used

Tegra Profiler: kprobes is no longer used
Use callbacks from the scheduler instead of kprobes

Bug 1343930

Change-Id: I67589dbe972cc5c853addfb6ed82c488529eed55
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324049
(cherry picked from commit b61817c8d9ad5e45ca17dfd47cb3f9ee864b744e)
Reviewed-on: http://git-master/r/340004
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: remove excess callchains
Igor Nabirushkin [Sun, 8 Sep 2013 06:43:36 +0000]
misc: tegra-profiler: remove excess callchains

Tegra Profiler: improve performance by removing
unnecessary callchains

Bug 1364258

Change-Id: I664fbabb576b98b1609db6fd904d9449727e2523
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/277090
(cherry picked from commit 65da0a2e6e2b984326c4f75775ba58cb38949956)
Reviewed-on: http://git-master/r/340002
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: add /proc entries
Igor Nabirushkin [Sat, 7 Sep 2013 11:16:57 +0000]
misc: tegra-profiler: add /proc entries

Tegra Profiler: show version and capabilities:
/proc/quadd/version
/proc/quadd/capabilities

Bug 1364258
Bug 1312406

Change-Id: I4ba26a0b6e95ecd350add4fac851feb98b0e84de
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/277087
(cherry picked from commit da5c0d26846f142166e51a18f6d523a2fd961c27)
Reviewed-on: http://git-master/r/340001
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: fix incorrect names
Igor Nabirushkin [Sat, 7 Sep 2013 07:36:23 +0000]
misc: tegra-profiler: fix incorrect names

Tegra Profiler: fix incorrect names of modules.
mmap buffers are created for each core

Bug 1364251
Bug 1312406

Change-Id: Ib60fa45e5418de3acf2afd782c53650f17731976
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/276975
(cherry picked from commit be01a69b08224236d447b2a1a2fb0d23698fed98)
Reviewed-on: http://git-master/r/339999
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoinput: misc: mpu: reduce mpu init time
David Yu [Mon, 9 Dec 2013 12:11:49 +0000]
input: misc: mpu: reduce mpu init time

200 ms delay caused by i2c error is removed.
Max 40 ms delay caused by logical mistake is removed.
8 ms delay is added in order to avoid i2c error on mpu chip power up.

Bug 1412917

Change-Id: Iebbef275ea0e6ba6a38cf0d497a256068f100afa
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/343587
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agommc: host: sdhci: tegra: delayed clk gate enable
Bitan Biswas [Mon, 25 Nov 2013 12:46:03 +0000]
mmc: host: sdhci: tegra: delayed clk gate enable

bug 1372006

Change-Id: I0c51aedafbcb1502df6cfd51d841d64b42e71f36
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/335082
(cherry picked from commit 4b0841dc1c4d1e32b412348c184591c015576e5f)
Reviewed-on: http://git-master/r/339099
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agommc: host: sdhci: delayed clock gate support
Pavan Kunapuli [Thu, 24 Oct 2013 13:33:45 +0000]
mmc: host: sdhci: delayed clock gate support

Aggressive clock gate degrades sdhci performance.
Hence, sdhci clock gate is delayed.
 - sdhci clock gate is done if no further
   transaction starts within 20msec interval
 - delayed clock gate only supported for EMMC
   in this patch
 - switch is set as delayed clock gate off

bug 1372006

Change-Id: I9672cbd643dfb45192062dc827275daacc813cc5
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/335081
(cherry picked from commit 378d42be0224ed9f57c77ee57997786c5e8e218f)
Reviewed-on: http://git-master/r/339098
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>