3 years agogpu: nvgpu: remove temporary gpfifo allocation in submit path
Deepak Nibade [Mon, 26 Oct 2015 13:17:55 +0000]
gpu: nvgpu: remove temporary gpfifo allocation in submit path

In GPU job submit path gk20a_ioctl_channel_submit_gpfifo(),
we currently allocate a temporary gpfifo, copy user space
gpfifo content into this temporary buffer, and then copy
temp buffer content into channel's gpfifo.

Allocation/copy/free of temporary buffer adds additional
overhead

Rewrite this sequence such that gk20a_submit_channel_gpfifo()
can receive either a pre-filled gpfifo or pointer to
user provided args.
And then we can direclty copy the user provided gpfifo
into the channel's gpfifo

Also, if command buffer tracing is enabled, we still need
to copy user provided gpfifo into temporaty buffer for reading
But that should not cause overhead in real world use case

Bug 200141116

Change-Id: I7166c9271da2694059da9853ab8839e98457b941
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/823386
(cherry picked from commit 3e0702db006c262dd8737a567b8e06f7ff005e2c)
Reviewed-on: http://git-master/r/835816
Reviewed-on: http://git-master/r/838591
GVS: Gerrit_Virtual_Submit
Tested-by: Kiran SJ <ksj@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

3 years agoARM: tegra: hawkeye:added touch_clk_sel gpio
David Pu [Fri, 20 Nov 2015 19:54:33 +0000]
ARM: tegra: hawkeye:added touch_clk_sel gpio

added touch_clk_sel gpio which need to be explictly pull low/high
to select touch clock(external or internal clock)

Bug 1706267

Change-Id: I1b70bdddbc362a7a2eb2dd42d5c3087cc3fbf2f3
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/836030
(cherry picked from commit 95ee5c90c15565bb55e57ceadb5229ca49fed339)
Reviewed-on: http://git-master/r/840230
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>

3 years agoinput: touch: sharp:add touch_clk_sel control.
David Pu [Fri, 20 Nov 2015 19:57:00 +0000]
input: touch: sharp:add touch_clk_sel control.

touch_clk_sel GPIO need to be configured correctly no matter active
stylus feature is enabled or not.

Bug 1706267

Change-Id: I5381a60b4e86e1562804eed08bb7165b58eb6921
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/836029
(cherry picked from commit 778a4f14fb4980b2a17f59375a34ca9124a0a787)
Reviewed-on: http://git-master/r/840229
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoRevert "Revert "input: touch: sharp: turn off TOUCH_CLK by default.""
David Pu [Mon, 23 Nov 2015 06:29:28 +0000]
Revert "Revert "input: touch: sharp: turn off TOUCH_CLK by default.""

This reverts commit aea857137f1733436bde5f4b0a9a6b0552e16adc.

Bug 1706267

Change-Id: I1628c717030cdc05fdc235f4aaf22591c1966108
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/836392
(cherry picked from commit e7e977f3bdc9c0d06e73fda8d07447221ddffc36)
Reviewed-on: http://git-master/r/840228
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoinput: touch: sharp:fix unbalanced irq disable.
David Pu [Tue, 17 Nov 2015 23:12:34 +0000]
input: touch: sharp:fix unbalanced irq disable.

it is not multi-process safe when accessing touch driver sysfs
/sys/class/misc/touch/wakeup_enable and
/sys/class/input/input0/enabled at same time.
it leads to wakeup_enable flag inconsistent state during changing
waekup_enable and enabled node at sametime. In such case disable_irq
would be called twice and it will never comes back to balanced
state(changing between irq depth between -1 and 0 instead of 0 and 1).

This change keeps irq always enabled after touch input is enabled.
Also move enable/disable irq wake to system suspend/resume routine to
keep it always balanced.

Bug 1709007
Bug 1702947

Change-Id: I732909ebffc139cce6ed92b2388284dbf817c7e2
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/834216
(cherry picked from commit 6b85505fba68ceaf061fcc7a951e16d19339c00e)
Reviewed-on: http://git-master/r/837259
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

3 years agoneigh: Better handling of transition to NUD_PROBE state
Erik Kline [Wed, 2 Dec 2015 10:01:20 +0000]
neigh: Better handling of transition to NUD_PROBE state

[1] When entering NUD_PROBE state via neigh_update(), perhaps received
from userspace, correctly (re)initialize the probes count to zero.

This is useful for forcing revalidation of a neighbor (for example
if the host is attempting to do DNA [IPv4 4436, IPv6 6059]).

[2] Notify listeners when a neighbor goes into NUD_PROBE state.

By sending notifications on entry to NUD_PROBE state listeners get
more timely warnings of imminent connectivity issues.

The current notifications on entry to NUD_STALE have somewhat
limited usefulness: NUD_STALE is a perfectly normal state, as is
NUD_DELAY, whereas notifications on entry to NUD_FAILURE come after
a neighbor reachability problem has been confirmed (typically after
three probes).

Bug 200154120

Change-Id: I3ee05ab3489173824d38a4b3790bcf0840e0dc40
Signed-off-by: Erik Kline <ek@google.com>
Acked-By: Lorenzo Colitti <lorenzo@google.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: kraghavender <kraghavender@nvidia.com>
Reviewed-on: http://git-master/r/840347
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
Tested-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>

3 years agodrivers: video: tegra: Add 1000/1001 for HDMI_EXT
Aly Hirani [Mon, 30 Nov 2015 02:37:15 +0000]
drivers: video: tegra: Add 1000/1001 for HDMI_EXT

Previous changed limited 1000/1001 modes to only CEA SVD. A problem
raised by this was with the modes that were read from the HDMI EXT
blocks. They supported 1000/1001 as well.

This change marks the HDMI EXT modes as such and modifies the 1000/1001
code to consider these modes too.

Bug 200156983

Change-Id: I0c774fb75efac6f51b51f75b1badeeb47e90b66c
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/839054
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

3 years agoST8: DTS: disable ltr proxmity device
wahsu [Sun, 29 Nov 2015 06:03:24 +0000]
ST8: DTS: disable ltr proxmity device

Proximity is not used in data only and wifi sku on ST8 device.

Bug 200148651

Change-Id: I01f2d5f960ccdf1dacbb92fe802426a9839fd1dd
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/839015
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Chuang <echuang@nvidia.com>

3 years agoarm: dt: p1761: Correct name-format of a DT entry
Petlozu Pravareshwar [Mon, 23 Nov 2015 12:20:41 +0000]
arm: dt: p1761: Correct name-format of a DT entry

Correct name-format of a ehci DT entry.

Bug 200153623

Change-Id: Ie1ef144a4aeca2a2999a389a99d22380f870dc02
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/837741
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

3 years agousb: phy: Correct usb device speed information
Petlozu Pravareshwar [Mon, 23 Nov 2015 12:17:46 +0000]
usb: phy: Correct usb device speed information

When turn_off_vbus_on_lp0 is set, we disconnect
VBUS before going to LP0 and re-enable it after
LP0 wakeup.

Present code assumes device speed info after LP0
is same as before LP0 which is not true if there
is a swapping of devices when system is in LP0.
Hence set speed as UNKNOWN in such condition.

Bug 200153623

change-Id: I129b88ecc8ad743a0a65341dcb0a7b6001f24ff8
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/837740
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

3 years agovideo: tegra: dc: update VIC identification
Naveen Kumar S [Thu, 26 Nov 2015 09:55:39 +0000]
video: tegra: dc: update VIC identification

Adding few more checks to help VIC identification.
Comparing 1001/1000 value of pixclock to take care of
pclk rounding-off issue. Also, comparing mode->flag value
helps in choosing the CEA mode with matching aspect ratio.

bug 200148145
bug 200145631
bug 1689283

Change-Id: Ia80ba4dd3337772b24b74ee355a1032d59b31d9d
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/838452
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
GVS: Gerrit_Virtual_Submit

3 years agodrivers: video: tegra: dc: Fix VIC for a few modes
Naveen Kumar S [Fri, 20 Nov 2015 14:15:10 +0000]
drivers: video: tegra: dc: Fix VIC for a few modes

This change fixes the VIC not being set correctly on a few modes. For
1000/1001 modes, the pixclock is now reverted back to the mode
corresponding to the CEA modedb before it is compared.

Since the refresh in the mode database is also not trustable, it
compares the modes from the CEA modedb with a +/- 1 offset

Bug 200148145
Bug 200145631
Bug 1689283

Change-Id: I3742b4d090c26d6c1fc3e2f4af44fd1389079d1a
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/837681
Reviewed-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
Tested-by: Manish Tuteja <mtuteja@nvidia.com>

3 years agodrivers: video: tegra: Mark 1000/1001 for SVD only
Aly Hirani [Mon, 23 Nov 2015 20:16:50 +0000]
drivers: video: tegra: Mark 1000/1001 for SVD only

As per the CEA spec, only the modes coming from the CEA SVD are capable
of the dual frame rate (that is 60 Hz also supporting 59.94, etc). This
uses the previous change to look at modes that are marked as CEA and
creates a 1000/1001 mode only for those.

bug 1689283

Change-Id: Iba55d8f7ca9b06af7baa3f9e12822130f0f3337c
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
(cherry picked from commit 427bd89b96c96ca3450693f69f71500acaa22d95)
Reviewed-on: http://git-master/r/836961
Reviewed-by: Soumenkumar Dey <sdey@nvidia.com>
Tested-by: Soumenkumar Dey <sdey@nvidia.com>
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>

3 years agovideo: fbmon: identify cea vic modes
Ivan Raul Guadarrama [Wed, 18 Nov 2015 18:19:49 +0000]
video: fbmon: identify cea vic modes

Add the FB_VMODE_IS_DETAILED flag to identify detailed modes.
Add the FB_VMODE_IS_CEA flag and correctly identify
detailed timings which are also valid CEA modes.

Bug 1691633
bug 1689283

Change-Id: I04a1b6e6c6c725fb8d1e467994f071b9855f56a0
Signed-off-by: Ivan Raul Guadarrama <iguadarrama@nvidia.com>
(cherry picked from commit ddce3ef0a203b490c5b471b7d379254534c2ceac)
Reviewed-on: http://git-master/r/836952
Reviewed-by: Soumenkumar Dey <sdey@nvidia.com>
Tested-by: Soumenkumar Dey <sdey@nvidia.com>
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>

3 years agostaging: ozwpan: Make oz_pd_stop atomic
Spencer Sutterlin [Tue, 17 Nov 2015 02:50:02 +0000]
staging: ozwpan: Make oz_pd_stop atomic

Change responsibility of holding g_polling_lock to caller of
oz_services_stop()

Bug 200151967

Change-Id: I3a1d5d12d1c03153a62555c3ccd4121e90671afa
Signed-off-by: Spencer Sutterlin <ssutterlin@nvidia.com>
Reviewed-on: http://git-master/r/833613
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
(cherry picked from commit 7d3b6be98e84526eef2d731e544d58f1d6f309dd)
Reviewed-on: http://git-master/r/837862
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Tested-by: Dhiren Parmar <dparmar@nvidia.com>

3 years agoTEMP: stop_machine: serialize disable IRQ sequence
Prafull Suryawanshi [Mon, 2 Nov 2015 09:09:02 +0000]
TEMP: stop_machine: serialize disable IRQ sequence

bug 200044022

On T124 platforms, we hit a hang on cpu_down(cpu=3) where
CPU3 gets stuck waiting on the gic irq_controller_lock in
gic_eoi_irq. The other CPUs have already entered the
DISABLE_IRQ stop machine state at this point.
This therefore causes the watchdog to timeout and the
system to reset. Given that we have the stopper thread
scheduled (preemption disabled), the 'hang scenario' most
likely manifests itself due to some sort of issue in
the irq context. Sequentially entering the DISABLE_IRQ
state from CPU3->CPU0 seem to somehow prevent this hang.

This change is only meant to be a temporary workaround
to improve system stability and is by no means a fix
of any sort. To that end, it is wrapped in a CONFIG
option that is turned off by default.

Change-Id: Ic50ecd5a6d429706e4f68bcd133707fae4e692ce
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/836921
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Tested-by: Dhiren Parmar <dparmar@nvidia.com>

3 years agovideo: tegra: dc: moved KSV reads before V'
Sharath Sarangpur [Mon, 23 Nov 2015 23:04:41 +0000]
video: tegra: dc: moved KSV reads before V'

Moved KSV reads before reading V'

bug 200144160

Change-Id: If74570c2e37e6d9df5aada1a055d104ebe65449e
Signed-off-by: Sharath Sarangpur <ssarangpur@nvidia.com>
Reviewed-on: http://git-master/r/837486
Reviewed-by: Mitch Luban <mluban@nvidia.com>

3 years agoRevert "arm64: t210: change post soc core time"
Todd Poynter [Mon, 16 Nov 2015 20:07:20 +0000]
Revert "arm64: t210: change post soc core time"

Bug 1675404
Bug 200154032

This reverts commit 82282fddfd05de8181a43764617e35674d1b5ed1.

Change-Id: I1c8cda9ea6e1e18458e1cf856534ac0e621f0061
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/837208
Reviewed-by: Automatic_Commit_Validation_User

3 years agoRevert "ARM64: tegra210: hawkeye: set FPS timing to 5120us"
Todd Poynter [Mon, 16 Nov 2015 20:06:53 +0000]
Revert "ARM64: tegra210: hawkeye: set FPS timing to 5120us"

Bug 1675404
Bug 200154032

This reverts commit b852d0d200d6f44b707b353bf92bd57c54aa2f8e.

Change-Id: I5b02f7c97cb69241fd42f7ef4fde7c1019f3cf31
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/837207

3 years agoRevert "input: touch: sharp: turn off TOUCH_CLK by default."
David Pu [Fri, 20 Nov 2015 19:49:21 +0000]
Revert "input: touch: sharp: turn off TOUCH_CLK by default."

This reverts commit 11208e8d20f890ddf72bf81e8f609e26019c83e2.

it causes bug 1706267. reverting it.
original Bug 1704518

Change-Id: I96dc461b265ea2cc56ae483fb5448e9d16e4d199
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/836025
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoarm: tegra12: Enable hid/Jarvis support
Rene Houle [Thu, 29 Oct 2015 01:22:29 +0000]
arm: tegra12: Enable hid/Jarvis support

Bug 1695822

Change-Id: I553dcaf025c69039e0f215066f435f256c1fa972

Signed-off-by: Rene Houle <rhoule@nvidia.com>
Change-Id: If38241713db95202cfda086177d8e56c59bfd8dd
Reviewed-on: http://git-master/r/824432
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoarch: arm: boot: dts: remove cy8c for Darcy
Martin Gao [Thu, 19 Nov 2015 03:00:16 +0000]
arch: arm: boot: dts: remove cy8c for Darcy

- Darcy uses pwm based led, and therefore no long needs this.

Change-Id: I3c2d10922da6dbe55c4ee98213b5066abbc885a1
Signed-off-by: Martin Gao <marting@nvidia.com>
Reviewed-on: http://git-master/r/834937
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Daniel Fu <danifu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoregulator: max77620: fix setting active discharge
Damon Duan [Thu, 19 Nov 2015 03:36:40 +0000]
regulator: max77620: fix setting active discharge

MAX77620 has different settings to enable active
discharge:
-for Step-Down, need set nADE bit to 0
-for LDO, need set ADE bit to 1

Bug 1698711

Change-Id: I498b153ac11c32ef046e63b9bde5c286e17b3e2e
Signed-off-by: Damon Duan <danield@nvidia.com>
Reviewed-on: http://git-master/r/834996
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>

3 years agoARM64:jetson-cv: add dt support for A03 revision
Damon Duan [Mon, 16 Nov 2015 08:40:00 +0000]
ARM64:jetson-cv: add dt support for A03 revision

Jetson-CV A03 revision needs below settings in bootloader:
- enable low-battery shut down(MBLPD)
- disable active discharge for LDO4
Add support in DT for these settings.

Bug 1698711

Change-Id: Ic7604fc32c0650b185525d45bf1bf5c54738b8b4
Signed-off-by: Damon Duan <danield@nvidia.com>
Reviewed-on: http://git-master/r/833366
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hayden Du <haydend@nvidia.com>
GVS: Gerrit_Virtual_Submit

3 years agoRevert "arm64: t210: Enable the MCC in WiFi"
kraghavender [Mon, 16 Nov 2015 11:58:15 +0000]
Revert "arm64: t210: Enable the MCC in WiFi"

This reverts commit b47674285ada3105f72b88a755f24907cea26138.

Bug 1693638

Change-Id: I7660873174b902ec67ac8f72570534217aee51af
Signed-off-by: Kasturi Raghavender <kraghavender@nvidia.com>
Reviewed-on: http://git-master/r/833299
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agommc: debugfs: added timing spec for HS400
Anubhav jain [Tue, 17 Nov 2015 07:45:53 +0000]
mmc: debugfs: added timing spec for HS400

-timing spec for HS400 mode was not defined.
So added timing spec for HS400 mode.

Change-Id: Id5d2b11a18980e633170ac0280c826dd736711eb
Signed-off-by: Anubhav jain <anubhavj@nvidia.com>
Reviewed-on: http://git-master/r/833740
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

3 years agousb: phy: tegra: add pm_stay_awake/pm_relax during otg work
Rakesh Babu Bodla [Tue, 17 Nov 2015 05:52:18 +0000]
usb: phy: tegra: add pm_stay_awake/pm_relax during otg work

Ensure suspend events don't trigger during otg
workqueue function is running, using
pm_stay_awake/pm_relax.

Bug 200148068
Bug 200141477

Change-Id: Idf9ae907eb563f3849fa420ce3b73b1635083fe4
Signed-off-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/833693
Reviewed-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-by: Petlozu Pravareshwar <petlozup@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

3 years agoarm64: t210: config: enable Intel 82576 NIC driver
Vidya Sagar [Wed, 18 Nov 2015 11:58:42 +0000]
arm64: t210: config: enable Intel 82576 NIC driver

Bug 200144579

Change-Id: Ibadbd0418914844a1d6613cdf3a6bdb5c5eee785
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/834649
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

3 years agoarm64: ptm: ignore PTM config file register reading
Chun XU [Fri, 13 Nov 2015 10:28:06 +0000]
arm64: ptm: ignore PTM config file register reading

Reading T210 A57 PTM registers causes kernel hang
when PTM has not been power.

This is a WAR.

Bug 200146743

Change-Id: I0c3d847c737eedfaacd600813a581c34bc819e51
Signed-off-by: Chun XU <chunx@nvidia.com>
Reviewed-on: http://git-master/r/833592
Reviewed-by: Allen Yu <alleny@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>

3 years agowireless: bcmdhd: Set/get dhd_msg_level using module param
Srinivas Ramachandran [Tue, 13 Oct 2015 22:13:58 +0000]
wireless: bcmdhd: Set/get dhd_msg_level using module param

Android utility tools to configure the msg_level in the DHD are
not available for platforms like L4T. Allow the msg_level variable
as a module param so that it can be configured at runtime via sysfs

Bug 1686560

Change-Id: Ibc480bd6eebea446ba453e2e58c37d1744cfb2a9
Signed-off-by: Srinivas Ramachandran <srinivasra@nvidia.com>
Reviewed-on: http://git-master/r/817239
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/834306
Tested-by: Nagaraj Annaiah <nannaiah@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

3 years agoDNI: nvdec: Enable nvdec clock forever for foster
Soumen Kumar Dey [Thu, 15 Oct 2015 05:58:05 +0000]
DNI: nvdec: Enable nvdec clock forever for foster

This change does the following to make sure that NVDEC
registers can be written anytime for foster.

* Enable nvdec clock forever
* Disable nvdec powergating
* Disable host1x powergating

Bug 1599524

Change-Id: Ie87b4ec17c7246266ce024619f0424ea69667ec8
Signed-off-by: Soumen Kumar Dey <sdey@nvidia.com>
Signed-off-by: Mahesh Lagadapati <mlagadapati@nvidia.com>
Reviewed-on: http://git-master/r/818025
Reviewed-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agopower: extcon: set ac cable state true always
Venkat Reddy Talla [Tue, 17 Nov 2015 11:14:33 +0000]
power: extcon: set ac cable state true always

Add support to set ac cable state true always
based on DT property
power-supply,default-ac-cable-connected

Bug 1690367

Change-Id: Ib2fabba59bfeecfb7201a447b26eb4a6ba6acc0f
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/833894
Tested-by: Murali Duggireddy <mduggireddy@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

3 years agoARM64: t210: foster: enable power supply extcon
Venkat Reddy Talla [Mon, 16 Nov 2015 10:16:20 +0000]
ARM64: t210: foster: enable power supply extcon

Enabling power supply extcon interface to report
input cable type from kernel to framework layer,
adding power-supply,default-ac-cable-connected
property to set ac cable state true always.

Bug 1690367

Change-Id: I260dc64fd4126536871aebb3a94e8810ebc1ffff
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/833239
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Murali Duggireddy <mduggireddy@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

3 years agodrivers: misc: add switch for therm_est_activ
Hyungwoo Yang [Thu, 16 Jul 2015 04:25:01 +0000]
drivers: misc: add switch for therm_est_activ

add sysfs node for switching on/off therm_est activator.

Bug 1491412

Change-Id: I723bf6f5520a40c8c7c5cc5d0b9c51f9a023d964
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/770802
(cherry picked from commit 2cd27254cce721fb495b1098d6f6c871dca06687)
Reviewed-on: http://git-master/r/779917
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Wen Yi <wyi@nvidia.com>
Tested-by: Wen Yi <wyi@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit 23f5242e72b04cec4c290acb4b10629942faf900)
Reviewed-on: http://git-master/r/817233
Reviewed-by: Eric Chuang <echuang@nvidia.com>

3 years agoarm64: max77620: jetson-cv: update fps-time-period
Shreshtha SAHU [Sat, 7 Nov 2015 05:50:42 +0000]
arm64: max77620: jetson-cv: update fps-time-period

Fix fps-time-period for Jetson-CV board as provided by syseng

Bug 200149755

Change-Id: Ia1be5dc98143b6b25821235381dbd191b3803893
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/829392
(cherry picked from commit cdddc523aafea574cd2d83d6f3455ae403b27354)
Reviewed-on: http://git-master/r/833320
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>

3 years agoinput: touch: sharp: use singlethreaded wq.
David Pu [Thu, 12 Nov 2015 04:22:21 +0000]
input: touch: sharp: use singlethreaded wq.

create_singlethread_workqueue has much short and
consistent latency compared to alloc_workqueue.
It fixes random line break issue.

Bug 1704546

Change-Id: I6de67ba353b19b03c983f7867bf3b045ad01d2b7
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/832081
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoasoc: es755: fix pop sound in passthru playback
Srinivas Anne [Thu, 12 Nov 2015 04:07:23 +0000]
asoc: es755: fix pop sound in passthru playback

Hawkeye FW version:
M90.5.2.12_B61366_NVidia_Hawkeye_MCFFillIn_STREAM.bin

Loki FW version:
M90.5.2.12_B61668_NVidia_Loki_MCFFillIn_STREAM.bin

Change Summary:
fixed POP sound in DHWPT playback when capture starts.
Fixed audio mute issue during device switch
fixed Commit warnings.

Bug 200118587

Change-Id: Ifb53b118cfd75fcf8fdf8820b8b7ce387c7dfa17
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/832080
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>
GVS: Gerrit_Virtual_Submit

3 years agoinput: touch: sharp: turn off TOUCH_CLK by default.
David Pu [Wed, 11 Nov 2015 03:49:14 +0000]
input: touch: sharp: turn off TOUCH_CLK by default.

TOUCH_CLK is only required for active stylus which is not supported yet.

Bug 1704518
Change-Id: Ic07e5163d68709c3fd1654f0cda9345108a19087
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/831594
Reviewed-by: Jordan Nien <jnien@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>

3 years agoASoC: Remove ignore_suspend in OFFLOAD dai-link
Diwakar Paliwal [Mon, 16 Nov 2015 11:26:03 +0000]
ASoC: Remove ignore_suspend in OFFLOAD dai-link

This assignment of .ignore_suspend in DAI_LINK_I2S_OFFLOAD_BE
was preventing the disabling of irq in suspend_pre calls.
As a result the device was not entering L0 state.
Removing this allowes the irq to be disabled if the suspend
is allowed.

Bug 200152820

Change-Id: Ief2648b020646263e05ffc295989497184d3bf93
Signed-off-by: Diwakar Paliwal <dpaliwal@nvidia.com>
Reviewed-on: http://git-master/r/833280
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>

3 years agotegra: dc: hdmi: Add fallback 720p 60Hz edid
Ivan Raul Guadarrama [Thu, 12 Nov 2015 22:43:45 +0000]
tegra: dc: hdmi: Add fallback 720p 60Hz edid

In case the EDID read procedure fails after all retries,
use a fallback 720p 60Hz edid to provide the default mode.

Bug 200144977

Change-Id: Ic2c422165cf9cb744b7f6521aeb1cd48e3677686
Signed-off-by: Ivan Raul Guadarrama <iguadarrama@nvidia.com>
Reviewed-on: http://git-master/r/832409
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

3 years agoARM: tegra: Change FPS delay time
Anshul Jain [Wed, 28 Oct 2015 22:20:41 +0000]
ARM: tegra: Change FPS delay time

This changes FPS delay for CPU and SOC rails to go down
from 2.56ms to 5.12

Bug 1692738, 200143975

Change-Id: I04b69436c1ec8dc9622bdf1d9945f53fd9887d81
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/824354
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
GVS: Gerrit_Virtual_Submit

3 years agomedia: platform: tegra: Update IMX132 1080p mode
Frank Chen [Mon, 6 Jul 2015 21:58:25 +0000]
media: platform: tegra: Update IMX132 1080p mode

Make IMX132 1080p mode a true 1920x1080 mode

Bug 1662157

Change-Id: I91ab498b24df127c0a3705064a52b6626d458377
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/820590
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>

3 years agogpu:nvgpu: railgate during shutdown
Seshendra Gadagottu [Mon, 18 May 2015 23:34:11 +0000]
gpu:nvgpu: railgate during shutdown

Rail-gate gpu rail during shutdown

Bug 1643199
Bug 200143203

Reviewed-on: http://git-master/r/744080
(cherry picked from commit d5c4fc3db39cb771722f11271ba1cb43a72bfada)

Change-Id: I736e7f730fc15eb6f13f6ab18263db5a75e1d577
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/814597
(cherry picked from commit 32e42a8672d39cec66448596609b9cb8d7d0d72e)
Reviewed-on: http://git-master/r/832241
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agomedia: platform: tegra: Update OV5693 THS_PREPARE
Frank Chen [Fri, 10 Jul 2015 22:53:41 +0000]
media: platform: tegra: Update OV5693 THS_PREPARE

Update OV5693 THS_PREPARE settings to meet MIPI
spec

Bug 200114169

Change-Id: I94b7dfc20a590d39577e200dc85d372cef9d5e6b
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/769044
(cherry picked from commit 3e565be6ee8cce8b01c29899bab6562c6cbb829b)
Reviewed-on: http://git-master/r/806105
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Anton Kondratenko <akondratenko@nvidia.com>
Tested-by: Anton Kondratenko <akondratenko@nvidia.com>
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>

3 years agortc: max77620: change sysfs interface permission to 666
Laxman Dewangan [Fri, 13 Nov 2015 08:13:13 +0000]
rtc: max77620: change sysfs interface permission to 666

Change the permission of sysfs interface for enabling/disabling
prints in suspend to 666 so that user space can change it
per requirements.

bug 200148303

Change-Id: I18f22c04be23211f943f76eca5a15c52e0f63dce
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/832639

3 years agoarm64: t210: Enable the MCC in WiFi
kraghavender [Thu, 5 Nov 2015 19:18:27 +0000]
arm64: t210: Enable the MCC in WiFi

Remove the Disable MCC config

Bug 1693638

Change-Id: I66e2d0140edeeb3e3a2d360f12840e0fd6330811
Signed-off-by: Kasturi Raghavender <kraghavender@nvidia.com>
Reviewed-on: http://git-master/r/828574
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoARM: dts: disable id detection on vbus interrupt
Venkat Reddy Talla [Thu, 5 Nov 2015 08:12:01 +0000]
ARM: dts: disable id detection on vbus interrupt

Removing property enable-id-detect-on-vbus to disable
id detection check on vbus interrupt.

Bug 200145974

Change-Id: Ibe3a7fd85d18f16c929a9bc6ab6e3edf0d2d5f4c
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/828255
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

3 years agosecurity: tlk_driver: kernel mem type allocation
sujeet baranwal [Tue, 27 Oct 2015 19:05:47 +0000]
security: tlk_driver: kernel mem type allocation

Flags added to pass kernel allocated buffer to secure world

bug 1647060

Change-Id: Ic65fc20c894efdaecdfa47471881d06f402b9514
Signed-off-by: sujeet baranwal <sbaranwal@nvidia.com>
Reviewed-on: http://git-master/r/823670
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

3 years agosecurity: tlk_driver: vrr authentication
sujeet baranwal [Wed, 28 Oct 2015 20:08:13 +0000]
security: tlk_driver: vrr authentication

Upon hpd, vrr authentication protocol is initated and tz
calls are made to validate the connection.

bug 1647060

Change-Id: I3755facc05f81f0aa6cc264847d5ab6a72a7cc17
Signed-off-by: sujeet baranwal <sbaranwal@nvidia.com>
Reviewed-on: http://git-master/r/819008
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

3 years agovideo: tegra: dc: add hdmivrr authentication
Marvin Zhang [Thu, 10 Sep 2015 19:25:44 +0000]
video: tegra: dc: add hdmivrr authentication

bug 1637861

Change-Id: Ia6a299e28aff56dfa2bd198ab6d306fd2f699433
Signed-off-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-on: http://git-master/r/810590
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agovideo: tegra: dc: add ddcci i2c client
Marvin Zhang [Fri, 21 Aug 2015 19:59:32 +0000]
video: tegra: dc: add ddcci i2c client

bug 1637861

Change-Id: I4ee264421986cafcd00dab855fcea283465d9caa
Signed-off-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-on: http://git-master/r/810589
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

3 years agoMerge remote-tracking branch 'origin/dev/darcy-bringup_merge_on_rel-24' into my_rel24
Daniel Fu [Thu, 12 Nov 2015 22:17:49 +0000]
Merge remote-tracking branch 'origin/dev/darcy-bringup_merge_on_rel-24' into my_rel24

Change-Id: If80e00de082a42a5791c88c71c72d3cfef47bddf
Signed-off-by: Daniel Fu <danifu@nvidia.com>

3 years agodvfs: tegra: Add relationship between CPU and GPU
Anshul Jain [Fri, 6 Nov 2015 22:56:39 +0000]
dvfs: tegra: Add relationship between CPU and GPU

Darcy board has same GPU and CPU rail, that means CL DVFS should adjust
Vmin based on the requirement from GPU DVFS.

This change adds relationship between CPU and GPU, GPU DVFS can now call
a set function in CL_DVFS that can force the new voltage requirement on
CL_DVFS.

Bug 1669968

Change-Id: I9b4727fa2cc43874ea21574567463017730cd605
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/828694
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarm64: dts: add darcy in compatible machine
Anshul Jain [Fri, 6 Nov 2015 22:54:54 +0000]
arm64: dts: add darcy in compatible machine

Need this to detect Darcy board from platform tegra dvfs code.

Bug 1669968

Change-Id: I76dfdbeae185642b5dda58cea50c60a1c03770a1
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/829281
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Tested-by: Vinayak Pane <vpane@nvidia.com>

3 years agogpu: nvgpu: Add sysfs node to enable rail gating
Seshendra Gadagottu [Thu, 24 Sep 2015 20:16:33 +0000]
gpu: nvgpu: Add sysfs node to enable rail gating

Add sysfs node "railgate_enable" to enable
gpu railgating dynamically.

Bug 1552469

Reviewed-on: http://git-master/r/804746

Change-Id: Ib4e1e5b7c61e09e1c6aa7a136990a278eb661f70
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
(cherry picked from commit 53d76d1d1576a96c70f66b744411d2909ec8414f)
Reviewed-on: http://git-master/r/828746
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agogpu: nvgpu: unrailgate only if pm_domains not enabled
Deepak Nibade [Tue, 20 Oct 2015 11:24:22 +0000]
gpu: nvgpu: unrailgate only if pm_domains not enabled

Currently we unrailgate the GPU if railgating is not enabled
or pm_domains are not enabled

But in case if railgating is not enabled and pm_domains
are enabled, we explicitly unrailgate GPU in gk20a_pm_init()
and then runtime PM unrailgates it again when first user
space request arrives - setting unrailgate refcount to 2

Now for gk20a_do_idle(), we need to railgate the GPU in
fist call but that does not happen since unrailgate
refcount != 1

hence, in case railgating is not enabled, we should
unrailgate the GPU from only one place i.e. when first user
space request arrives

Bug 200142989
Bug 200137963
Bug 1678611

Reviewed-on: http://git-master/r/820321
Change-Id: I16e7c933efe2aa807b0fe610131707bffde5f9f6
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
(cherry picked from commit 452a1ff8da8e3f47caed2371440f9ad150bf8699)
Reviewed-on: http://git-master/r/828745
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarm64: boot: dts: fix wifi enalbe issue
Daniel Fu [Thu, 5 Nov 2015 05:16:37 +0000]
arm64: boot: dts: fix wifi enalbe issue

- Remove foster gpio dtsi file
- Defalut gpio dtsi file should be included before include coomms dtsi file,
  to enalbe wifi correctly.

Bug 1695353

Change-Id: I2655cf96f6801016444d8a6a04c859fe1689a025
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/828257
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarch: arm64: boot: dts: fix darcy commond dtsi
Martin Gao [Sun, 25 Oct 2015 04:12:37 +0000]
arch: arm64: boot: dts: fix darcy commond dtsi

- add tegra210-platforms/tegra210-foster-e-prods.dtsi
- add tegra210-platforms/tegra210-foster-e-gpio-p2530-0930-e00.dtsi
- add sdhci default-drv-type

All are included in tegra210-foster-e-p2530-common.dtsi and should
be included for darcy as well.

Bug 1695353

Change-Id: I60b8be59ecc29446f64023e10988012ac7567f7c
Signed-off-by: Martin Gao <marting@nvidia.com>
Reviewed-on: http://git-master/r/825110
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Tested-by: Vinayak Pane <vpane@nvidia.com>

3 years agotegra21: dvfs: Add 0x87 SKU
Anshul Jain [Wed, 28 Oct 2015 19:07:54 +0000]
tegra21: dvfs: Add 0x87 SKU

Add sku for Darcy that is capable of CPU 2Ghz at 1.15V

Bug 1669968

Change-Id: Ie6eac1a744760d0bf8afc1d2dd76c270aaf73ba1
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/825588
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Tested-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarch: arm64: dts: INA3221 config
Anshul Jain [Mon, 26 Oct 2015 21:32:47 +0000]
arch: arm64: dts: INA3221 config

Change INA3221 config for Darcy.
Rail 0: Not connected
Rail 1: HDMI and USB (VDD_IO)
Rail 2: System power

Change-Id: Ieb0bca5bad38f8c2261b45adec3da11989026ea9
Signed-off-by: Anshul Jain <anshulj@nvidia.com>
Reviewed-on: http://git-master/r/825587
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarm64: dts: enable pwm-leds for darcy
Daniel Fu [Sat, 31 Oct 2015 02:22:07 +0000]
arm64: dts: enable pwm-leds for darcy

Bug 1695353

Change-Id: I46b2f6970fb8a5b9ba814ab49fe37e0ab4306062
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/825786
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarch: arm64: boot: dts: enable pci boot detect delay
Martin Gao [Sat, 24 Oct 2015 02:53:25 +0000]
arch: arm64: boot: dts: enable pci boot detect delay

- allow pci to detect attached device at a deferred time
- add minimum delay of 1000 miliseconds before card detection
  during boot after PCIe power and clock are stable.

Bug 1695353

Change-Id: Iccf3e443399e70eca1b620c08976878965f6deeb
Signed-off-by: Martin Gao <marting@nvidia.com>
Reviewed-on: http://git-master/r/825109
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Tested-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarch: arm64: dts: darcy: add darcy identifier
Sang-Hun Lee [Fri, 23 Oct 2015 00:08:58 +0000]
arch: arm64: dts: darcy: add darcy identifier

Change-Id: I7186aa0fa3d54b81c4240778bde25009d520aa04
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/825106
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Tested-by: Vinayak Pane <vpane@nvidia.com>

3 years agodrivers: net: ethernet: fix source realtek driver
Martin Gao [Sat, 24 Oct 2015 02:45:21 +0000]
drivers: net: ethernet: fix source realtek driver

- use config NET_VENDOR_REALTEK to decide whether or not
  to include realtek driver codes into compile
- enable only r8168 realtek driver for darcy

Bug 1695353

Change-Id: I2bcef80382c6f1fe98f0899291ee964b87bd42cc
Signed-off-by: Martin Gao <marting@nvidia.com>
Reviewed-on: http://git-master/r/825108
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Tested-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarm64: dts: add power tree for darcy p2894
Daniel Fu [Wed, 28 Oct 2015 23:46:55 +0000]
arm64: dts: add power tree for darcy p2894

Bug 1695353

Change-Id: I5b3ee0d2dd6ad7e4df9cc81e76692be3b5c6563f
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/824398
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarm64: dts: add darcy extcon
Daniel Fu [Wed, 28 Oct 2015 23:48:47 +0000]
arm64: dts: add darcy extcon

- Add adrcy extcon
- set virtual id-detection type for enable/disabe the device/host
mode by sysfs node

Bug 1695353

Change-Id: Iaef7c713e42de0ef6b5f8043d6111244f9fa4317
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/824397
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarm64: dts: rename P2892 darcy to be proto-darcy
Daniel Fu [Thu, 15 Oct 2015 12:46:10 +0000]
arm64: dts: rename P2892 darcy to be proto-darcy

rename P2892 top level dts and common dtsi from darcy to proto-darcy,
in case of confusion.

Bug 1695353

Change-Id: I2cb27cadead4c57dae08f853ca9b9f9638c339f3
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/823719
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarm64: dts: darcy: Add top level dts.
Daniel Fu [Wed, 14 Oct 2015 15:24:51 +0000]
arm64: dts: darcy: Add top level dts.

Bug 1695353

Change-Id: I7f3cc8ea47dd0f935481b4b0720ca002010cb686
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/823718
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarm64: dts: add pinmux/gpio dtsi for t210 darcy
Shravani Dingari [Thu, 15 Oct 2015 04:05:54 +0000]
arm64: dts: add pinmux/gpio dtsi for t210 darcy

add pinmux/gpio dtsi files for t210 darcy platform

Bug 1695353

Change-Id: I363651c66220098a9bceb772fe7c87ccebbe18ee
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/823717
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Daniel Fu <danifu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agogpio: pca953x: add regulator control
Daniel Fu [Fri, 3 Jul 2015 14:59:38 +0000]
gpio: pca953x: add regulator control

Bug 1654140

Change-Id: Icf5f670a61a10fcff70ac87d616e0ca9f2fe2cdc
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/766321
(cherry picked from commit 6ef9ea80f06d364016d14ca38e533d1ae63c4503)
Reviewed-on: http://git-master/r/831667
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Tested-by: Kerwin Wan <kerwinw@nvidia.com>

3 years agonet: wireless: bcmdhd: bump thread priority
Bibhay Ranjan [Fri, 4 Sep 2015 09:03:47 +0000]
net: wireless: bcmdhd: bump thread priority

For the latency sensitive data on wifi, the
thread priority needs to be increased.

Bug 200122028

Change-Id: Ia350ecb6f78fac7a5397296a8549b7dd845b374b
Signed-off-by: Bibhay Ranjan <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/794246
(cherry picked from commit d715d1ebd108c9d94e631be31ece18a967e12bfd)
Reviewed-on: http://git-master/r/798614
(cherry picked from commit 40b64cd8a5b6b4f10a78a8c0f4385ff467d0d4ef)
Reviewed-on: http://git-master/r/831239
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

3 years agoHawkeye: sysedp: DT: Lower batmon vsys_min
John Moser [Mon, 9 Nov 2015 22:46:23 +0000]
Hawkeye: sysedp: DT: Lower batmon vsys_min

Hawkeye batmon vsys_min is currently set to the voltage comparator
threshold resulting in sysedp capping cpu/gpu clocks to avoid ANY
voltage comparator OC alarms. This behavior is overly conservative
resulting in too much performance degradation at lower battery
State-of-Charge.

This check-in reduces batmon vsys_min below the Hawkeye voltage comparator
threshold.

Bug 200128282

Change-Id: Ibf132e2558c240350f42062c0869ff9f60e4c600
Signed-off-by: John Moser <jmoser@nvidia.com>
Reviewed-on: http://git-master/r/830939
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Anand Prasad <anprasad@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

3 years agoasoc: es755: codec power & latency optimizations
Srinivas Anne [Sat, 22 Aug 2015 01:14:30 +0000]
asoc: es755: codec power & latency optimizations

FW version: M90.5.2.12_B61231_NVidia_Hawkeye_MCFFillIn_STREAM.bin

Change Summary:
Audience mainline driver escore 1.5.0
DSP-bypass route for audio playback over headset/headphone.
enabled MP_sleep state during audio playback over headset/headphone
Warm-up latency optimizations
fixed capture latency regression
disable wired accessory detection during LP0
playback latency optimizations

Change-Id: Ib55046b864b8b79284eb5568f07195c75fe50e81
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/830908
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>

3 years agoasoc: tegra-alt: add kcontrol to set i2s bitwidth
Srinivas Anne [Sat, 22 Aug 2015 01:21:45 +0000]
asoc: tegra-alt: add kcontrol to set i2s bitwidth

Audience require 32 bits/channel for power optimized routes.

Added k-control to update 12S bit width. This change will also take care
of converting XBAR_BITS to CLIENT_BITS by padding zeros from LFSR to LSB

DAI format is hardcoded to 32 bits in Audience codec driver.

Bug 200118587

Change-Id: I3cf35977e8ba57d83084bd86ae6a2720a6acde7e
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/830893
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>

3 years agoarm: t124: enable CONFIG_CIFS
Ian Chang [Fri, 23 Oct 2015 08:10:26 +0000]
arm: t124: enable CONFIG_CIFS

Change-Id: I7d9a8e4fb5814052bf7bee7e1d05fbd25ce133f8
Signed-off-by: Ian Chang <ianc@nvidia.com>
Reviewed-on: http://git-master/r/821937
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agortc: max77620: add support to disable time prints in suspend/resume
Laxman Dewangan [Tue, 10 Nov 2015 09:01:25 +0000]
rtc: max77620: add support to disable time prints in suspend/resume

Add support to disable time prints in suspend/resume
to speedup the suspend/resume execution.

MAX77620 takes 16ms to read the timer register which impact
the suspend/resume KPIs.

The print can be disabled by adding property
maxim,disable-time-print-suspend-resume

Also it can be enabled/disabled by the sysfs interface
time_display_suspend at
/sys/devices/platform/7000d000.i2c/i2c-4/4-003c/max77620-rtc.1

To see the current state
cat time_display_suspend
To disable
echo 0 > time_display_suspend
To enable
echo 1 > time_display_suspend

bug 200148303

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

3 years agomisc:tegra-profiler: collect gm20b.gbus clock.
Alexey Kravets [Tue, 10 Nov 2015 07:27:08 +0000]
misc:tegra-profiler: collect gm20b.gbus clock.

Bug 1703014

Change-Id: I9b8febd1afee05035ea6208d91a588082e28f785
Signed-off-by: Alexey Kravets <akravets@nvidia.com>
Reviewed-on: http://git-master/r/831197
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

3 years agoiio: proximity: IQS2x3 SAR v.20
Erik Lilliebjerg [Tue, 10 Nov 2015 03:58:12 +0000]
iio: proximity: IQS2x3 SAR v.20

- Add device tree options for the loop variables that checks for the RDY GPIO
  signal.
- Update the documentation for this.

Bug 200137195

Change-Id: Ie2b482ef7e71d5932ceea40072dd086624f18017
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/831117
Reviewed-by: Wayne Hsu <wahsu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shylender Gaddamwar <sgaddamwar@nvidia.com>
Tested-by: Shylender Gaddamwar <sgaddamwar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Wayne Hsu <wahsu@nvidia.com>
Reviewed-by: Eric Chuang <echuang@nvidia.com>

3 years agovideo: tegra: dc: add new vrr params
Daniel Solomon [Thu, 10 Sep 2015 22:43:29 +0000]
video: tegra: dc: add new vrr params

Add two new VRR cap parameters.
See bug 1684359, comment #3 for details.

Bug 1684359

Change-Id: Ifa37162a389975bcb24023d81176b026b7719da3
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/797898
(cherry picked from commit eb129742e5d63aaa3864a439e0bab2608d24e1dc)
Reviewed-on: http://git-master/r/831116
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoRevert "Revert "iio: proximity: SAR Stable Setting V1.2.3""
wahsu [Mon, 9 Nov 2015 16:21:15 +0000]
Revert "Revert "iio: proximity: SAR Stable Setting V1.2.3""

This reverts commit 607950189dae3f5696b4c1985eae05e7420c66c6.

Change-Id: I56856f155f1d0411ad3632275da3044963d1ff07
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/830776
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Chuang <echuang@nvidia.com>

3 years agoARM64: jetson: provide commands for power off from bootrom
Venkat Reddy Talla [Mon, 9 Nov 2015 08:52:41 +0000]
ARM64: jetson: provide commands for power off from bootrom

Add support to power off system via bootrom. Add required commands
for bootrom from DT so that bootrom can issue the I2C commands.

Bug 200146310

Change-Id: Ib128af7f0982a154fc4068005169c58b7fa93fda
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/830642
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

3 years agokernel: port brightness settings from rel-st8-l
Harry Lin [Wed, 4 Nov 2015 09:17:23 +0000]
kernel: port brightness settings from rel-st8-l

- port bl-measured[] and bl-nonlinear[] mappings
  to TN8 dts
- port non-linear curve adjustment
- disable use-pretty-good-alogorithm to sync with
  rel-st8-l pwm frequency setting

Bug 200144358

Change-Id: Ie49fc815282572ad7136b5397cf4c0a5932996b2
Signed-off-by: Harry Lin <harlin@nvidia.com>
Reviewed-on: http://git-master/r/827579
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

3 years agoxhci: tegra: fix for usb2 utmi pad power saving
TW Chiu [Mon, 2 Nov 2015 08:11:04 +0000]
xhci: tegra: fix for usb2 utmi pad power saving

USB2 pad PD bits can be set to save power when device is disconnected
or suspended. When device is connected or in resume state, we need to
clear these PD bits.

During boot, there is a case that CSC bit is cleared by hub init
function. This causes PD bits set and failures in port reset and set
address.

Bug 200146188

Change-Id: Id12deb97689ef08b3e9236124c2fc4775b039c3c
Signed-off-by: TW Chiu <twchiu@nvidia.com>
Reviewed-on: http://git-master/r/826136
(cherry picked from commit b4d127dc90fd4aaf89921ece952a4251bdee9076)
Reviewed-on: http://git-master/r/829411
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>

3 years agoARM64: t210: hawkeye: provide commands for power off from bootrom
Laxman Dewangan [Fri, 6 Nov 2015 14:26:11 +0000]
ARM64: t210: hawkeye: provide commands for power off from bootrom

Add support to power off system via bootrom. Add required commands
for bootrom from DT so that bootrom can issue the I2C commands.

bug 200146310

Change-Id: I8bba75d25a748ef2bd43031880d761965de1f2c9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/829399

3 years agoplatform: tegra: bootrom: add support for power off commands
Laxman Dewangan [Fri, 6 Nov 2015 14:03:42 +0000]
platform: tegra: bootrom: add support for power off commands

Add support for power off commands fro bootrom. The commands
are provided from DT as follows:
pmc {
bootrom-commands {
reset-commands {
};
power-off-commands {
};
};
};

If power off and reset commands are not available from child node
then properties and command in node bootrom-commands are used. This
is done to support backward compatibility.

The commands properties are same as earlier.

bug 200146310

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

3 years agoplatform: tegra: pmc: add API to do system reset
Laxman Dewangan [Fri, 6 Nov 2015 14:17:11 +0000]
platform: tegra: pmc: add API to do system reset

Add APIs to do system reset through PMC.

bug 200146310

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

3 years agopower: reset: max77620: add support to ignore final power off commands
Laxman Dewangan [Fri, 6 Nov 2015 14:23:38 +0000]
power: reset: max77620: add support to ignore final power off commands

Add support to not issue final power off commands for PMIC if there
is soc specific power off sequence is available.

This is required to do the power off sequence by SoC per their system
requirements.

bug 200146310

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

3 years agopower: reset: system-pmic: add support to power off via soc specific
Laxman Dewangan [Fri, 6 Nov 2015 14:20:59 +0000]
power: reset: system-pmic: add support to power off via soc specific

Add support to call the SoC specific power off calls when registerd
pm_power_off is not able to power off the system.

On this case, SoC provides the power off handler to do system power
off.

bug 200146310

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

3 years agoplatform: tegra: bootrom: fix pmc register config for commands
Laxman Dewangan [Fri, 6 Nov 2015 13:59:13 +0000]
platform: tegra: bootrom: fix pmc register config for commands

The number of PMC commands provided from DT is not fully written
into PMC register due to mishandling of index pointer.

Fix the index pointer handling to properly increment it.

bug 200146310

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

3 years agovideo: tegra: hdmi: add new pclk to audio config
Prafull Suryawanshi [Tue, 3 Nov 2015 12:59:17 +0000]
video: tegra: hdmi: add new pclk to audio config

bug 200144270

It is found that with few monitors, the pclk calculation
changes. Inside audio config table, these values not
present. So adding support from them.

Change-Id: Iab5dc8d5e5214cd4b628b11168410ff49d3d1e1c
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/827028
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>

3 years agoiio: proximity: IQS2x3 SAR v.19
Erik Lilliebjerg [Mon, 2 Nov 2015 10:13:22 +0000]
iio: proximity: IQS2x3 SAR v.19

- Add generic external status function for WARs.
  When called by an external driver an ATI redo is done.
- Add the ability to spew just the SAR GPIO status to the kernel log.
- Add ability to spew just the external state to the kernel log when the call
  is made.
- Add a DT option to make visible and hide the SAR sensors from the OS by
  changing the case ("SAR" vs. "sar") in the sensor name.  If os_options is > 0
  then the lower case name is used allowing the NVS HAL to find the sensors.
  Otherwise the sensor names use "SAR" and is hidden from the OS.

Bug 200137195

Change-Id: I4163f3ab30fc9e3292f3171dd98f88c8896a079e
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/826194
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>

3 years agotegra: dc: default HDMI VRR capability 0, and set on hotplug
Mitch Luban [Thu, 5 Nov 2015 21:19:05 +0000]
tegra: dc: default HDMI VRR capability 0, and set on hotplug

For DSI, vrr capability should be 1 by default when vrr nodes are
supplied. The same is not true for HDMI/DP - those should default
to 0 and only be marked as capable when hotplug a VRR monitor.

This change also adds checks for correct OR type for each type of vrr
settings.

Bug 1689933

Change-Id: Ifd0b7b4bde8927b532cea254b08a35b01b72c717
Signed-off-by: Jonathan McCaffrey <jmccaffrey@nvidia.com>
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/828628
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

3 years agoarch: arm: tegra: configs: Add xts-aes-neonbs
Anand Prasad [Wed, 4 Nov 2015 23:24:40 +0000]
arch: arm: tegra: configs: Add xts-aes-neonbs

Bug 200147578

Change-Id: I4c6049d2c61e36bb7ee44d1dec4d4c17dcb3d1fc
Signed-off-by: Anand Prasad <anprasad@nvidia.com>
Reviewed-on: http://git-master/r/827973
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoarm64:dts: DT nodes for timed_gpio_keys driver
Ankita Garg [Wed, 29 Jul 2015 21:20:11 +0000]
arm64:dts: DT nodes for timed_gpio_keys driver

Bug 1689413

Change-Id: Ic1966152b22cbe32d558d060f327b016fd74e0d0
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/821629
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoarm64:config: defconfig for timed_gpio_keys driver
Ankita Garg [Tue, 27 Oct 2015 19:41:49 +0000]
arm64:config: defconfig for timed_gpio_keys driver

Bug 1689413

Change-Id: I68d623a65973ecdd65a10908acef1d8caca74378
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/823697
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agodrivers:input: Add timed gpio keys driver
Ankita Garg [Wed, 29 Jul 2015 21:17:09 +0000]
drivers:input: Add timed gpio keys driver

Create gpio_timed_keys driver that detects timed key
presses and allows input devices to send different
key codes based on the amount of time the key was
pressed.

Bug 1585349
Bug 1689413

Change-Id: I36c7100433eacae574b54225b1d0f53d7811bd74
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/821630
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

3 years agovideo: tegra: dc: enable YUV 1000/1001 modes
Pekka Väänänen [Thu, 27 Aug 2015 15:03:41 +0000]
video: tegra: dc: enable YUV 1000/1001 modes

YUV modes' refresh rates are not nice multiples of 1000.
That means we need an epsilon check to generate 1000/1001 modes
correctly. Since we now match more modes than before, the mode list
needs to be larger too.

Change-Id: I49c4c65651bde2f272af98a10cd8a47e2b03022c
Signed-off-by: Pekka Väänänen <pvaananen@nvidia.com>
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/790400
(cherry picked from commit f97d6e06214b6216aea71d2f5c078183973ef0e3)
Reviewed-on: http://git-master/r/829379
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

3 years agogpu: nvgpu: gk20a: FECS BL checksum
Supriya [Tue, 3 Nov 2015 08:22:17 +0000]
gpu: nvgpu: gk20a: FECS BL checksum

Update FECS BL checksum

Bug 200149721

Change-Id: Icebcf9c0440e88f9018f514804b1e0eeaa7c89cb
Signed-off-by: Supriya <ssharatkumar@nvidia.com>
(cherry picked from commit 634363dc33bc23bf81cee319e68d6dbc8e29a53c)
Reviewed-on: http://git-master/r/826898
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

3 years agoarm: config: enable uid_cputime for T124
Pankaj Kumar [Thu, 5 Nov 2015 13:23:23 +0000]
arm: config: enable uid_cputime for T124

Enable uid_cputime for Android-M to access related sysfs nodes
for BatteryStats purpose.

Bug 200148527
Bug 200151770

Change-Id: I5aab27f823d83b93453b4cdd510722164f8dc048
Signed-off-by: Pankaj Kumar <pankumar@nvidia.com>
Reviewed-on: http://git-master/r/828455
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoinput: nvtouch: add initialization check to sysfs mode set
Kirill Artamonov [Tue, 27 Oct 2015 12:35:46 +0000]
input: nvtouch: add initialization check to sysfs mode set

Application can access sysfs before nvtouch driver is initialized.
Add driver initialization check to avoid access to uninitialized
data.

bug 200149181

Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Change-Id: Ib2c0138a0acfc46ecebc176a68cb9f831d0298fd
Reviewed-on: http://git-master/r/823462
Tested-by: Vaibhav Shinde <vashinde@nvidia.com>
Reviewed-by: Vaibhav Shinde <vashinde@nvidia.com>
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
GVS: Gerrit_Virtual_Submit