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>

5 years agoinput: touch: maxim: restore touch dvdd
David Jung [Mon, 2 Dec 2013 06:09:18 +0000]
input: touch: maxim: restore touch dvdd

Remove extraneous changes that caused touch dvdd to be init off;
Turn touch dvdd init on.

Bug 1367030
Bug 1404490

Change-Id: I9869997a456bdb492802754834ab5da60437ef0b
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/337118
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: Disable GPADC auto shutdown
Jinyoung Park [Thu, 5 Dec 2013 00:57:30 +0000]
ARM: tegra: tegratab: Disable GPADC auto shutdown

Disable GPADC auto shutdown due to GPADC lock issue in auto mode.

Bug 1366274
Bug 1417932

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

5 years agoARM: tegra: cpu: Set CPU freq min at suspend freq
Jinyoung Park [Wed, 4 Dec 2013 01:05:08 +0000]
ARM: tegra: cpu: Set CPU freq min at suspend freq

Set CPU freq min at suspend freq during pre/post suspend to ensure CPU
freq at suspend freq.

Bug 1354391
Bug 1412917

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

5 years agoARM: tegra: Change boost_up_threshold for MCCPU
Jinyoung Park [Mon, 2 Dec 2013 03:59:20 +0000]
ARM: tegra: Change boost_up_threshold for MCCPU

Changed MCCPU boost_up_threshold from 27 to 20 for better EMC freq
boosting latency.

Bug 1364608

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

5 years agoARM: tegra: tegratab: Enable Tboard temp shutdown per board revision
Jinyoung Park [Wed, 4 Dec 2013 04:21:02 +0000]
ARM: tegra: tegratab: Enable Tboard temp shutdown per board revision

Enable Tboard temp shutdown per board revision.

Bug 1366274

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

5 years agoARM: configs: tegratab: set panic timeout to 4 sec
David Yu [Mon, 2 Dec 2013 05:15:09 +0000]
ARM: configs: tegratab: set panic timeout to 4 sec

Change-Id: I6a4be32ff99001bcd2d8e186c579daa1a078d814
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/337106
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoarch: tegra: Enable cfq IO scheduler
David Yu [Mon, 2 Dec 2013 04:30:27 +0000]
arch: tegra: Enable cfq IO scheduler

Bug 1229761

Change-Id: Ie8c732bea4d9c1525e2d4661c086e91afb9a21cf
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/237471
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/337100
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: Enable Tboard temp shutdown
Jinyoung Park [Fri, 29 Nov 2013 07:15:54 +0000]
ARM: tegra: tegratab: Enable Tboard temp shutdown

Enable Tboard temp shutdown.
System will be shutdown if Tboard temp is above 95C.

Bug 1366274

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

5 years agoiio: staging: adc: palmas: Restore CH3 current source
Jinyoung Park [Fri, 29 Nov 2013 07:13:15 +0000]
iio: staging: adc: palmas: Restore CH3 current source

Restore CH3 current source if CH3 is dual current mode.

Bug 1366274

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

5 years agoiio: staging: adc: palmas: Support for auto conversion shutdown
Jinyoung Park [Fri, 29 Nov 2013 06:15:32 +0000]
iio: staging: adc: palmas: Support for auto conversion shutdown

Support for auto conversion shutdown when auto conversion result is
crossed threshold.

Bug 1366274

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

5 years agoiio: staging: adc: palmas: Rename wakeup to auto conversion
Jinyoung Park [Fri, 29 Nov 2013 05:58:59 +0000]
iio: staging: adc: palmas: Rename wakeup to auto conversion

Rename wakeup to auto conversion.

Bug 1366274

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

5 years agoiio: staging: adc: palmas: Correct auto conversion period
Jinyoung Park [Fri, 29 Nov 2013 05:43:13 +0000]
iio: staging: adc: palmas: Correct auto conversion period

Corrected auto conversion period calculation.

Bug 1366274

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

5 years agoiio: staging: adc: palmas: add support for auto conversion during sleep
Laxman Dewangan [Sun, 21 Jul 2013 07:56:22 +0000]
iio: staging: adc: palmas: add support for auto conversion during sleep

Add support of continuous ADC conversion and threshold configuration for
ADC channel so that if the channel data crosses the threshold value, it
can wakeup system from suspend.

bug 1301017
bug 1366274

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

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

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

5 years agomfd: palmas: add auto conversion irqs in irq resource
Laxman Dewangan [Mon, 1 Jul 2013 14:23:35 +0000]
mfd: palmas: add auto conversion irqs in irq resource

Pass GPADC auto conversion threshold interrupt to the ADC driver
through irq resource.

bug 1301017
bug 1366274

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

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

Change-Id: Iba0108592895c8f8bc0dce3525ced5b8dd72749f
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/336844
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agotegratab: config: enable selinux to permissive mode
Hyongbin Kim [Thu, 28 Nov 2013 05:57:21 +0000]
tegratab: config: enable selinux to permissive mode

- Enable SELinux for JB MR2
- Set config option AUDIT, SECURITY, SECURITY_NETWORK,
  SECURITY_SELINUX, EXT4_FS_SECURITY
- All other defconfig changes are side effect of using
  menuconfig

bug 1365452

Change-Id: I24e2243dde130bc082043a1a29998f6bb136f85b
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/336491
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoRevert "RM: tegratab: config: re-enable IKCONFIG_PROC"
Harry Hong [Thu, 28 Nov 2013 07:59:52 +0000]
Revert "RM: tegratab: config: re-enable IKCONFIG_PROC"

This reverts commit 01cacac6b801de62903dc447ac5eb514a648bd86.

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

5 years agousb: gadget: Tegra: 100mA charge current for EL_9
Rakesh Bodla [Mon, 25 Nov 2013 05:40:32 +0000]
usb: gadget: Tegra: 100mA charge current for EL_9

It limits the charge current to < 100mA so that EL_9 test
(Test_J, Test_K and TEST_SE0_NAK) can pass the +- 10mV spec.

Bug 1401531

Change-Id: I32b5083dcd04501eee845fee8662fef9959c2513
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/333261
(cherry picked from commit bfd4683b7bd162ed51fbed4925b09b288796c6fa)
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/336035
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agopower: bq2419x: find charging current from 100mA
Yong Goo Yi [Wed, 20 Nov 2013 06:19:00 +0000]
power: bq2419x: find charging current from 100mA

It is for supporting the request of < 500mA charging current

Bug 1401531

Change-Id: Ie6ff13df175312bf3b5791ef1dbb3d5461511632
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/333260
(cherry picked from commit 86ccac8ac0a17cbc0c8d45ee60302c7db5951939)
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/336034
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoactive-standby: add cmdline into /proc/net/
chunx [Fri, 5 Jul 2013 03:42:05 +0000]
active-standby: add cmdline into /proc/net/

Add cmdline into /proc/net/{tcp,tcp6,udp,udp6} files.
Get process's cmdline from a sock's corresponding inode pointer,
 so that cmdline can't be used by Android active-standby app
to find the corresponding package name.

Resolve "BUG: scheduling while atomic" issue when
sk_get_waiting_task is being called.

Bug 1185001
Bug 1342554

Change-Id: Idc8651e4bb85b8a152dfade9689a719f7d72687d
(cherry picked from commit 5dcfe4f561bd8d1767e0938dfd7565b2b7718478)

Change-Id: I1673d56751a8a95b988b325b3857c8a5fe4c78ce
(cherry picked from commit 4516e7c330bb4c5da5020df0d2cc1cb5e9274d9f)
Signed-off-by: Chun Xu <chunx@nvidia.com>
Reviewed-on: http://git-master/r/336174
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>