4 years agovideo: modedb: Fix vga timings
Animesh Kishore [Wed, 16 Sep 2015 12:19:40 +0000]
video: modedb: Fix vga timings

Revert back to original timings.
Regressed by patch http://git-master/r/#/c/780641/

Bug 200103501

Change-Id: Ie22f14e584f47fc362317718253f71e2f5b8e3dc
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/800116
(cherry picked from commit 835da905e7b9e19b1bc6d641a1bb1fc1b388e491)
Reviewed-on: http://git-master/r/818187
Reviewed-by: Mitch Luban <mluban@nvidia.com>
GVS: Gerrit_Virtual_Submit

4 years agovideo: tegra: dc: Do not NULL _sd_brightness.
Prafull Suryawanshi [Thu, 16 Jul 2015 05:23:12 +0000]
video: tegra: dc: Do not NULL _sd_brightness.

bug 200120741

There is race condition where while update brightness going on,
nvsd_init happens. Somehow update brighness yet not finished.
So while accessing _sd_brightness in between, we see kernel panic.

Change-Id: I01f7b739691f0ab06f55fdf443e46f527b509224
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/770844
(cherry picked from commit dcd3eca43fea8dd95065e886760f219272657ecf)
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/818020
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Gagan Grover <ggrover@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agoloki:foster: emc update to 983 v11
David DSH [Tue, 25 Aug 2015 19:35:30 +0000]
loki:foster: emc update to 983 v11

-Update MRW command to use MRS_SHORT_WAIT_CNT for bug 200099624
-Fix W2W/R2R for lp4 dual rank usage for bug 1616889
-Add 5 new lp4 mappings
-Reduce PutermExtra by 2
-Fix unterminated CA/DQ vref to 42%
-DVFS_gen_script update to V1.4 from V1.3 for Vcore(mV)

-Change receiver mode for 665MHz from HSSA to DIFF to expand the OB margin
-Update 1600MHz Vcore from 875mV to 887mV to address 1600MHz regression failure on A02p silicon qual
-Vcore DVFS Table Update
EMC Freq. Vcore (mV)
1600MHz 887
1331.2MHz 850
1065.6MHz 837
800MHz 825
665MHz 825
408MHz 812
<=204MHz 800

Update DVFS table format to rev0x7
-Support moving average method for periodic calibration. It will improve the stability due to MEMIO noise.

Bug 1636958
Bug 1541472

Change-Id: I9848b4fb08a990022c44ecad8129d9139f00dbfd
Signed-off-by: David DSH <ddastoussthi@nvidia.com>
Reviewed-on: http://git-master/r/815468
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Tested-by: Kerwin Wan <kerwinw@nvidia.com>

4 years agoarm64: tegra: jetson_cv: update emc table to v7
Kerwin Wan [Fri, 7 Aug 2015 02:56:48 +0000]
arm64: tegra: jetson_cv: update emc table to v7

Bug 1650324

Change-Id: I03c2f60b330d0ffe7bb52da09e43d20cb3cc0cf2
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/780217
(cherry picked from commit 9e3456a58fc5cce211022743d8d30f8bcef677fc)
Reviewed-on: http://git-master/r/804530
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

4 years agoarm64: p2894: add a bring up memory table
Sang-Hun Lee [Wed, 14 Oct 2015 23:08:23 +0000]
arm64: p2894: add a bring up memory table

Bug 1695353

Change-Id: I971a7308ff4085f6cd17ac41e4d577792d5ef839
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/817819
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Daniel Fu <danifu@nvidia.com>

4 years agomedia: nec-decoder: remove trailer_space state
Daniel Fu [Fri, 30 Jan 2015 17:31:09 +0000]
media: nec-decoder: remove trailer_space state

Remove STATE_TRAILER_SPACE from state machine.
Causing 2 issue:
- can not decode the keycode, if it didn't following with
  another keycode/repeat code
- will generate one more code in curreent logic.
  i.e. key_right + repeat code + key_left + repeat code.
  expect: key_right, key_left.
  Result: key_right, key_right, key_right.
  Reason: when receive repeat code of key_right, state machine will
  stay in STATE_TRAILER_SPACE state, then wait for a new interrupt,
  if an interrupt came after keyup_timer, then will generate another
  fake key.

According to the NEC protocol, it don't need a trailer space. Remove it.

Bug 1601127

Change-Id: I7b990e94c4fc26b4387dcbbb68ae6c4e4af4dd46
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/679574
(cherry picked from commit d6027e7ad132f42d066371773efb48257789774b)
Reviewed-on: http://git-master/r/816585
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

4 years agomedia: rc: extend the margin for nec decoder
Daniel Fu [Tue, 3 Feb 2015 12:21:09 +0000]
media: rc: extend the margin for nec decoder

Bug 1601127

Change-Id: If39a358ec0726d06b201b32f6c26872e0c6b7d04
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/680617
(cherry picked from commit 0d7791e368bafaadfd70d08318c040423d32166e)
Reviewed-on: http://git-master/r/816584
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

4 years agomedia: rc: Add auto-correct for nec decoder
Daniel Fu [Wed, 4 Feb 2015 15:53:10 +0000]
media: rc: Add auto-correct for nec decoder

- Add auto-correct for the Missing 1 pulse/space caes when IRQ is off.
  Only could handle when IRQ off duration < 1125us.
- Set Key press timout to be 125ms

Bug 1601127

Change-Id: I4488d84f07a46a00bb4489bea9cb795705bc9c99
Signed-off-by: Daniel Fu <danifu@nvidia.com>
(cherry picked from commit 585eb718ca36109c33b7f842a0a3a308c91baeb3)
Reviewed-on: http://git-master/r/816583
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

4 years agodvfs: tegra21: Integrate CPU DVFS tables p4v54
Alex Frid [Wed, 30 Sep 2015 01:39:31 +0000]
dvfs: tegra21: Integrate CPU DVFS tables p4v54

Integrated CPU DVFS tables p4v54.

Bug 1689490

Change-Id: Id18408e310498073c9773a676919ddcd4abade13
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/807191
(cherry picked from commit be52f56009847b8f0e5f640a48a165515668e59c)
Reviewed-on: http://git-master/r/815779
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Tested-by: Steve Rogers <srogers@nvidia.com>

4 years agoarm64: tegra: jetson_cv: disable INA on CVM by default
Kerwin Wan [Tue, 22 Sep 2015 07:25:42 +0000]
arm64: tegra: jetson_cv: disable INA on CVM by default

The INA on CVM will be fixed on DVT which is not avaliable
right now. In order not to confuse the consumers with the
wrong data reported by INA on CVM, disable it right now.
It will be enabled on DVT.

Bug 1657022

Change-Id: I6eff0365089f7716b93df107ab2df5d6bc8c3830
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/802711
(cherry picked from commit 14163ebd655d5f6276b057fb41a295eb998e5ab2)
Reviewed-on: http://git-master/r/815735
GVS: Gerrit_Virtual_Submit

4 years agovideo: tegra: dsi: limit dsi sync timeout.
Prafull Suryawanshi [Mon, 17 Aug 2015 09:16:42 +0000]
video: tegra: dsi: limit dsi sync timeout.

As for hawkeye panel, dsi needs commands while shutdown,
dsi syncpoint timeout causing shutdown to stall. To unblock
it, limiting the timeout for the dsi sync writes. Earlier
it was max, now changing it to 500 msec. This is safe to
detect faiure as dsi sync write atmost takes 60 msec.

bug 200124422

Change-Id: I706498d566fdf0d9d4443452b1dacf24a759a07e
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/785188
(cherry picked from commit dfb766b06b3a2663501b11e9d8e4f24a3cdb5153)
Reviewed-on: http://git-master/r/815058
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agovideo: tegra: dsi: attempt retry for dsi write fail
Prafull Suryawanshi [Thu, 20 Aug 2015 09:03:52 +0000]
video: tegra: dsi: attempt retry for dsi write fail

This logic adds retry attempts for possible dsi write
failure. It also takes care of error to be propagated to

bug 200124422

Change-Id: I652ac4c6e513585a4f94048b6596e4aec9f22b4b
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/786469
(cherry picked from commit e9f89cda70103526c1a524576de6d310fed434f2)
Reviewed-on: http://git-master/r/815057
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agocpuquiet: Tweak runnable governor threshold
Sai Gurrappadi [Wed, 1 Jul 2015 01:25:38 +0000]
cpuquiet: Tweak runnable governor threshold

Reduced the threshold to go from 2->3core to 2.25 avg. threads instead of
2.75 avg. threads.

This allows us to respond faster to load and gives us better perf in some

Change-Id: I0833416915b978d8fe20ca4e040e56ab9201042c
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/764515
(cherry picked from commit 0ea60ccdf0ef146db00e3ba74bd83d85d91a368e)
Reviewed-on: http://git-master/r/814732
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

4 years agosched: Move CFS tasks to CPUs with higher capacity
Sai Gurrappadi [Wed, 1 Jul 2015 01:06:40 +0000]
sched: Move CFS tasks to CPUs with higher capacity

Original commit message:

"When a CPU is used to handle a lot of IRQs or some RT tasks, the remaining
capacity for CFS tasks can be significantly reduced. Once we detect such
situation by comparing cpu_capacity_orig and cpu_capacity, we trig an idle
load balance to check if it's worth moving its tasks on an idle CPU.

It's worth trying to move the task before the CPU is fully utilized to
minimize the preemption by irq or RT tasks.

Once the idle load_balance has selected the busiest CPU, it will look for an
active load balance for only two cases:

  - There is only 1 task on the busiest CPU.

  - We haven't been able to move a task of the busiest rq.

A CPU with a reduced capacity is included in the 1st case, and it's worth to
actively migrate its task if the idle CPU has got more available capacity for
CFS tasks. This test has been added in need_active_balance.

As a sidenote, this will not generate more spurious ilb because we already
trig an ilb if there is more than 1 busy cpu. If this cpu is the only one that
has a task, we will trig the ilb once for migrating the task.

The nohz_kick_needed function has been cleaned up a bit while adding the new

env.src_cpu and env.src_rq must be set unconditionnally because they are used
in need_active_balance which is called even if busiest->nr_running equals 1"

Signed-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Morten.Rasmussen@arm.com
Cc: dietmar.eggemann@arm.com
Cc: efault@gmx.de
Cc: kamalesh@linux.vnet.ibm.com
Cc: linaro-kernel@lists.linaro.org
Cc: nicolas.pitre@linaro.org
Cc: preeti@linux.vnet.ibm.com
Cc: riel@redhat.com
Link: http://lkml.kernel.org/r/1425052454-25797-12-git-send-email-vincent.guittot@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>

Partial backport of upstream commit: 1aaf90a4b88aae26a4535ba01dacab520a310d17

Doesn't apply cleanly to k3.10 so did a manual backport.

Only intended for k3.10 kernels.

Change-Id: Idb88d844725aec934a7c0376b4fb0965c965da7c
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/764514
(cherry picked from commit 900cc112802a46d6803e381a8dadf7c3c4bf385b)
Reviewed-on: http://git-master/r/814730
GVS: Gerrit_Virtual_Submit
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

4 years agomfd: max77620: add support for configuring low-battery monitor
Laxman Dewangan [Wed, 7 Oct 2015 13:01:45 +0000]
mfd: max77620: add support for configuring low-battery monitor

Add support to configure low battery monitor configuration register.

Change-Id: I426742d3af44b8bd1980f10da67142215b4e6d93
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 18d0e3f001a6e831172766fd51b42a4b8deefaa1)
Reviewed-on: http://git-master/r/815126
GVS: Gerrit_Virtual_Submit

4 years agoARM: dts: enable id detection on vbus interrupt
Somdutta Roy [Thu, 8 Oct 2015 11:20:42 +0000]
ARM: dts: enable id detection on vbus interrupt

adding enable-id-detect-on-vbus property to check
ID status on VBUS interrupt.

Bug 1690930

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

4 years agoextcon: extcon-palmas: Provision ID status check from VBUS interrupt
Somdutta Roy [Mon, 5 Oct 2015 23:39:44 +0000]
extcon: extcon-palmas: Provision ID status check from VBUS interrupt

Resistance changes upon RIDB Y-Cable insertion sometimes not raising
ID interrupt causing failure in RIDB Y-Cable detection. Provisioned
checking ID status on VBUS interrupt if enabled in DTB.

Bug 1690930

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

4 years agosysedp: Jetson-CV: Re-enable reactive capping.
Anand Prasad [Tue, 29 Sep 2015 21:44:05 +0000]
sysedp: Jetson-CV: Re-enable reactive capping.

Due to policy changes, we will now re-enable h/w throttling when the
overcurrent monitor trips, as well re-enable sysedp reactive capping.

Bug 1665297

Change-Id: I03bf80ab8bce075e6dce76abf2a78b7c0058fd45
Signed-off-by: Anand Prasad <anprasad@nvidia.com>
Reviewed-on: http://git-master/r/807084
(cherry picked from commit b75cdfe2137441250efc1b2e7a800f740ca38dba)
Reviewed-on: http://git-master/r/812995
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hayden Du <haydend@nvidia.com>

4 years agoiio: proximity: SAR v17 binary filter
Erik Lilliebjerg [Tue, 29 Sep 2015 05:24:19 +0000]
iio: proximity: SAR v17 binary filter

- Add DT configurable debounce filters to proximity binary data.
- Add documenation that explains this.

Bug 200137195

Change-Id: I54833cd938f6489b26226ca4b0088c771eb46613
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/806579
(cherry picked from commit 2523efae1cb8d7a223c18267a0ab011b6f3f122e)
Reviewed-on: http://git-master/r/811738
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>

4 years agomisc: palmas: enable regulator when driver initial
Ian Chang [Wed, 7 Oct 2015 07:31:34 +0000]
misc: palmas: enable regulator when driver initial

enable regulator when driver initail to fix
regulator user count unbalance issue

bug 200143954

Change-Id: Idd4d25c3e09a654c4cee0b26c54aaa35d65f1625
Signed-off-by: Ian Chang <ianc@nvidia.com>
Reviewed-on: http://git-master/r/812705
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoARM64: tegra210: hawkeye: set FPS timing to 5120us
Prafull Suryawanshi [Wed, 7 Oct 2015 05:58:06 +0000]
ARM64: tegra210: hawkeye: set FPS timing to 5120us

Set FPS period to 5120 to allow more discharge time to cpu and gpu.

bug 1675404

Change-Id: I2a8299e5e2384a18cb6c1994c6c5ab5769f56a64
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
(cherry picked from commit 2444777217279118c84a8ba3ecb51380f3d35ba0)
Reviewed-on: http://git-master/r/812662
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

4 years agoarm64: t210: change post soc core time
Prafull Suryawanshi [Wed, 7 Oct 2015 05:52:54 +0000]
arm64: t210: change post soc core time

With new cpu fps settings, we need to double this time
to make sure core waits before going in lp0.

bug 1675404

Change-Id: Ic43dc4250c81221f4c26588776999a6c2c86290e
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
(cherry picked from commit 211029f562726b62a59e1d5867675ba63478f302)
(cherry picked from commit c0a905b3953181a4e7f3c04a14a38c7949911e22)
Reviewed-on: http://git-master/r/812652
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

4 years agoARM64: t210: config: Disable kmemleak
Sri Krishna chowdary [Thu, 11 Dec 2014 18:30:33 +0000]
ARM64: t210: config: Disable kmemleak

In-spite of disabling automatic scan, kmemleak thread gets
active and causes audio jitters. Hence disable it for now.

It impacts BasemarkOS memory benchmark due to much heavier

Bug 200066404
Bug 1681975

Change-Id: I94e06aff83f00bdd373a0ad89b1968c7287afb6e
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/662741
(cherry picked from commit 471f1bd28a4384c81c5d7bf28784a11b48e4afb4)
Signed-off-by: Li Li <lli5@nvidia.com>
Reviewed-on: http://git-master/r/812324
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Eric Miao <emiao@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>

4 years agopower: bq2419x: update JEITA_VSET bit based on cable status
Venkat Reddy Talla [Tue, 6 Oct 2015 07:08:09 +0000]
power: bq2419x: update JEITA_VSET bit based on cable status

Update JEITA_VSET bit of charger chip in following cases
- set if charger cable connected to device
- clear when input cable disconnected from device
- clear if cable connected to device while powering off.

Bug 1647341

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

4 years agoclock: tegra21: Add SCLK shared user for WIFI
Alex Frid [Tue, 16 Jun 2015 04:32:32 +0000]
clock: tegra21: Add SCLK shared user for WIFI

Bug 1653975

Change-Id: I7eb2f6b4509bfd2efaeaa47eb5ae38ac66394faf
Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit f8ba29eacd89d49bd1049c62eccbf68c1ec659a8)
Reviewed-on: http://git-master/r/767988
(cherry picked from commit 14b862da14fc895ce4edaf41776288d2f797c99a)
Reviewed-on: http://git-master/r/811791
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

4 years agonet: wireless: bcmdhd: boost wifi performance
Michael Hsu [Thu, 20 Aug 2015 19:34:13 +0000]
net: wireless: bcmdhd: boost wifi performance

Calculate network throughput and boost clock frequencies if data
rate exceeds configured threshold.

Bug 1602374
Bug 1653975

Change-Id: I3a786c60910ea7553b5accd109bb3d3ef823c00b
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/786751
(cherry picked from commit e8117840cf96b10c97dbe417e9f073e872afb986)
Reviewed-on: http://git-master/r/811790
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

4 years agopower: bq27441: add low battery shutdown sysfs node
Venkat Reddy Talla [Thu, 3 Sep 2015 14:34:07 +0000]
power: bq27441: add low battery shutdown sysfs node

Adding low battery shutdown sysfs node to enable/disable
device shutdown based on battery soc value.

Bug 1674449

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

4 years agonet: wireless: bcmdhd: add NV_COUNTRY driver command
Om Prakash Singh [Tue, 6 Oct 2015 04:41:56 +0000]
net: wireless: bcmdhd: add NV_COUNTRY driver command

- add NV_COUNTRY driver command for nvidia specific country code.
- block default COUNTRY command

Bug 1626683
Bug 200077103

Change-Id: I1ad1e60969ce254a7fdf907fcf5007f8cc12342a
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/811927
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agodts: st8: update odmdata mask for battery supply
Robert Shih [Tue, 6 Oct 2015 05:52:09 +0000]
dts: st8: update odmdata mask for battery supply

st8 a04 use reserved bit (bit 23) for battery type -
byd v.s. yukon battery.

Update the mask to get correct battery supply data.

bug 200140957

Change-Id: I1705dd6d6c2208ed7bba09a36a650e58a5dddb86
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/811945
Reviewed-by: Wayne Hsu <wahsu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoasoc: es755: fine tuned mic params for gamecast
Srinivas Anne [Fri, 25 Sep 2015 01:35:23 +0000]
asoc: es755: fine tuned mic params for gamecast

FW version: M90.5.2.12_B59855_NVidia_Hawkeye_MCFFillIn_STREAM.bin

Updated tuning parameters for gamecast usecase.

Bug 200124396
Bug 200131474

Change-Id: I31c95d4e043a1e4adabf6eb4299fa0f4a2b4784b
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/805038
Reviewed-on: http://git-master/r/810627
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>

4 years agomisc: tegra-baseband: enable DT EHCI load/unload
BH Hsieh [Tue, 15 Sep 2015 12:20:31 +0000]
misc: tegra-baseband: enable DT EHCI load/unload

Enable dynamic load/unload EHCI from device tree on T210.

Now EHCI load/unload is directly through of_* API through DT.

Bug 200027573

Change-Id: I6c9c0c3d4162bc7229d3f2fca975ada7c8105f61
Signed-off-by: BH Hsieh <bhsieh@nvidia.com>
Reviewed-on: http://git-master/r/453975
(cherry picked from commit b04a1451c98cba4acaaa18d2974a3917a6252027)
Reviewed-on: http://git-master/r/807763
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frederic Bossy <fbossy@nvidia.com>
Tested-by: Frederic Bossy <fbossy@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Rogers <srogers@nvidia.com>

4 years agoarm64: tegra: add property to skip display init
Shreshtha SAHU [Tue, 29 Sep 2015 12:24:55 +0000]
arm64: tegra: add property to skip display init

Add "/chosen/bootloader/nvidia,skip-display-init" node
to inform bootloader to skip display initialization.
Display will be initialized by kernel.

Bug 200140476

Change-Id: I92fd5eb10e235137eba33d3b36ce3f777d2c9e87
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/806655
(cherry picked from commit ce50974bba0a43c4c5af413f9d0e2e04fab83b61)
Reviewed-on: http://git-master/r/811526
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

4 years agonvdumper: print based on event
Bibek Basu [Wed, 23 Sep 2015 08:32:17 +0000]
nvdumper: print based on event

Print reboot path based on state

Bug 200140065

Change-Id: I46d4b61f12a1f45468b887ec3e54802b9a8dff78
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/803539
(cherry picked from commit d4b46b581a2410af74719c6b2d6eb6d45e76e06e)
Reviewed-on: http://git-master/r/807976
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoarm64: jetson-cv: enable LP855X backlight
Kerwin Wan [Thu, 30 Jul 2015 05:45:24 +0000]
arm64: jetson-cv: enable LP855X backlight

Enable CONFIG_BACKLIGHT_LP855X in L4T defconfig and device tree

Bug 200127327

Change-Id: I7e56dc2eea0cddd84444eb8c608864f212abfea0
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/776611
(cherry picked from commit b5ee11f7fab1296b518d21283f74a4fb5cfb3f40)
Reviewed-on: http://git-master/r/807423
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agovideo: tegra: fix panel node detection
Shreshtha SAHU [Wed, 23 Sep 2015 19:07:38 +0000]
video: tegra: fix panel node detection

detect correct panel using presence of disp-default-out
inside the panel node

Bug 200140476

Change-Id: I9e53e4ff236052eae16fdc2eea251af5025e253f
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/803949
(cherry picked from commit 88b937d6fce6f9034e2ca7a0ca31f244ae197b7c)
Reviewed-on: http://git-master/r/807422
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agovideo: tegra: dc: hdmi vrr mode support.
Marvin Zhang [Fri, 17 Jul 2015 00:11:52 +0000]
video: tegra: dc: hdmi vrr mode support.

Bug 1637861

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

4 years agovideo: tegra: dc: hdmi vrr support
Marvin Zhang [Thu, 9 Jul 2015 23:31:43 +0000]
video: tegra: dc: hdmi vrr support

Bug 1637861

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

4 years agovideo: tegra: dc: add hdmi vrr enable function
Marvin Zhang [Tue, 12 May 2015 00:28:16 +0000]
video: tegra: dc: add hdmi vrr enable function

Bug 1637861

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

4 years agovideo: tegra: dc: parse vrr vsdb edid
Marvin Zhang [Tue, 12 May 2015 00:27:42 +0000]
video: tegra: dc: parse vrr vsdb edid

Bug 1637861

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

4 years agovideo: tegra: dc: add hdmi vrr_caps
Marvin Zhang [Tue, 12 May 2015 00:19:57 +0000]
video: tegra: dc: add hdmi vrr_caps

Bug 1637861

Change-Id: I8466b51cb7c476376e7a613299da0e2f21b1397e
Signed-off-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-on: http://git-master/r/797290
Reviewed-on: http://git-master/r/810501
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agonet: wireless: bcmdhd: Add pno timing to custom scan policy.
Michael Hsu [Thu, 6 Aug 2015 02:34:58 +0000]
net: wireless: bcmdhd: Add pno timing to custom scan policy.

Allow PNO (preferred network offload) scanning timing parameters to
be configured via the bcmdhd driver sysfs node.

Write this character string to the bcmdhd sysfs node for scan configuration:
  pno <time> <repeat> <freq_expo_max> <pno-timing-parameter>...
where <pno-timing-parameter> is one of these options:
  -H home_away_time
  -n nprobes
  -a active_time
  -p passive_time
  -h home_time

Change-Id: I0ac75a6935dad2af53c998f871d4f5bbab9cc4de
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/782133
(cherry picked from commit 265c05f28b74c2886efecc4b76c1e99a4650f8f7)
Reviewed-on: http://git-master/r/806985
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agoinput: touch: nvtouch: initial check in
Kirill Artamonov [Tue, 27 Jan 2015 22:25:04 +0000]
input: touch: nvtouch: initial check in

Add kernel module required for Nvidia touch driver (nvtouch).

bug 1602711
bug 1651230

Squash of 3 commits:

Reviewed-on: http://git-master/r/776366
(cherry picked from commit ecf6240f015dc27655bc3aadba148847b7f2df9d)

Reviewed-on: http://git-master/r/794019
(cherry picked from commit 62907584f970d77cdeafaa35c08f5200633e5a67)

Reviewed-on: http://git-master/r/798028
(cherry picked from commit 33b80e66e29c7212bc656ea187182e85a4789685)

Signed-off-by: Kirill Artamonov <kartamonov@nvidia.com>
Change-Id: I71d90f12816ddf5480c480b789c7ab37ff3499fc
Reviewed-on: http://git-master/r/806270
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agoNet:bcmdhd: Fix persistent scan failures
nagaraj [Sat, 15 Aug 2015 02:44:15 +0000]
Net:bcmdhd: Fix persistent scan failures

Handle escan failure from firmware and
reduce scan retry count for faster recovery.

Bug 200130449

Change-Id: I758d85a4544b0752d883cf997e5b0509ce45a625
Signed-off-by: nagaraj <nannaiah@nvidia.com>
Reviewed-on: http://git-master/r/783962
(cherry picked from commit 5bf72b6bbb83e22237bcc65fdba4a9404584a4b4)
Reviewed-on: http://git-master/r/805302
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

4 years agodts: sensors: Implement NVS on ST8
Robert Collins [Wed, 30 Sep 2015 19:46:44 +0000]
dts: sensors: Implement NVS on ST8

Convert ST8 to use NVS driver architecture.

Bug 1691008

Change-Id: I373bbb7164dd7b3fb61e368eb15e5a09ab00c426
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/807615
Reviewed-by: Automatic_Commit_Validation_User

4 years agoiio: common: nvs: NVS v207 DT fixes
Erik Lilliebjerg [Fri, 25 Sep 2015 04:14:25 +0000]
iio: common: nvs: NVS v207 DT fixes

- Expanded the NVS device tree parsing return values to include the number of
  changes made to allow efficient processing for sensor hub.
- Add documentation to the NVS device tree parsing call.
- Fix drivers using the NVS device tree configuration call for the new change.
- Add one-shot sensor support to the NVS IIO interface layer.
- Fix the flags attribute debug print in the NVS IIO interface layer.
- Fix a possible divide by 0 in the common ALS module.
- Fix a possible divide by 0 in the common proximity module.
- Fix calibration proximity reporting in common proximity module.
- Add a configuration option to not reverse the proximity range if the HW
  supports this.  Typically, the proximity HW value gets larger the closer an
  object gets.  By default NVS reverses this by subtracting the value from the
  maximum possible value.  The configuration option allows this feature to be

Bug 200137195

Change-Id: Ia278cc298fe54cd67e1600f3039c70e69f898ed9
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/805080
(cherry picked from commit 5a685485642d333c0ed75da5714ef734ca9dc363)
Reviewed-on: http://git-master/r/807684
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>

4 years agoiio: proximity: SAR v16 add delta
Erik Lilliebjerg [Sat, 19 Sep 2015 04:09:27 +0000]
iio: proximity: SAR v16 add delta

- Add delta virtual sensor to IQS263 SAR.  The delta sensor uses the delta HW
  and its thresholds to determine its output.  It can then be used to drive the
  SAR GPIO.  It can be configured to use a specific HW channel delta.
- Added the ability to control the GPIO SAR assert and deassert from different
  sources.  For example, asserting the GPIO can be done by SAR_delta and the
  deasserting by SAR_touch.
- Add moving average to delta data.
- Add the ability to define a delta sensor algorithm in the device tree.
- Add documentation that explains all this.

Bug 200137195

Change-Id: I39f7182bbb2867bdf2b95ac8fd9e23445200d741
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/801662
(cherry picked from commit 9f4d7846630651e6d7430ae0497c9fced6941927)
Reviewed-on: http://git-master/r/807683
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>

4 years agoARM64: t210: dts: change AO-therm shutdown temp to 110C
Shreshtha SAHU [Wed, 12 Aug 2015 10:26:07 +0000]
ARM64: t210: dts: change AO-therm shutdown temp to 110C

AO-therm shutdown should engage at 110C for T210 SOC

Bug 1674007

Change-Id: I0d0cebd1f9bfe15636ee88d2fbbfbddb8c0bcd99
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/782378
(cherry picked from commit 34c2a62540920cc626968d038e245eada73b512d)
Reviewed-on: http://git-master/r/807430
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agoarch64: tegra210: DT file for Jetson-TX1
Shreshtha SAHU [Sat, 19 Sep 2015 05:28:55 +0000]
arch64: tegra210: DT file for Jetson-TX1

Create DT file for Jetson-TX1 devkit board.
It is shipped without display panel hence DSI display is disabled.

Bug 200140476

Change-Id: Ie71d69fe8eaf4266fafb74ff10fa65d93b976d87
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/801684
(cherry picked from commit 8370ee7791861ecec7777287824c53598644b21e)
Reviewed-on: http://git-master/r/807428
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agotegra: t210: set ext Tdiode shoutdown temp to 107C
Shreshtha SAHU [Thu, 13 Aug 2015 12:10:47 +0000]
tegra: t210: set ext Tdiode shoutdown temp to 107C

Tdiode thermal external sensor shutdown temperature should be 107C

Bug 1674815

Change-Id: I2286808f9780f012c5f180ac751408b7080dd0b1
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/782995
(cherry picked from commit 961db56fce6369d1e257b35ff6058372cd31f3a8)
Reviewed-on: http://git-master/r/807398
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agovideo: tegra: sor: fix sor detach sequence
Santosh Reddy Galma [Mon, 28 Sep 2015 16:03:13 +0000]
video: tegra: sor: fix sor detach sequence

fix sequence of polling for head op mode sleep
completion in tegra_dc_sor_pre_detach

Bug 200140339

Change-Id: I7ac54669d930b9efafab64e80cf97947c0419d3c
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/806079
(cherry picked from commit 8d69b8a8984bd5f4535d64e51bfb958115721909)
Reviewed-on: http://git-master/r/807340
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agovideo: tegra: dc: Add apc smoothing
David Lock [Mon, 21 Sep 2015 18:36:28 +0000]
video: tegra: dc: Add apc smoothing

Add up to 8ms of synthetic frame latency in order to smooth
actual present cadence when vrr is enabled.

Bug 200121259

Change-Id: I9bdc3f4b723b66acbb477394c8fe6904a2f7b0b6
Reviewed-on: http://git-master/r/802370
Signed-off-by: Jonathan McCaffrey <jmccaffrey@nvidia.com>
Reviewed-on: http://git-master/r/807151
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dc: ext: workq becomes kthread
David Lock [Fri, 19 Jun 2015 21:36:54 +0000]
video: tegra: dc: ext: workq becomes kthread

Replace the usage of workq inside the dc flipworker with a
kthread.  This allows us explicit scheduling control over
the kthread running this work, including the ability to make
that thread realtime.  This allows us to tighten the latency
and execution time of the dc flip work.  Since the the display
is updated when the dc work completes instead of on a
vsync pulse in vrr mode the latency and scheduling of the
work becomes much more important.

Bug 1657411

Change-Id: I6ad5052d629fbc3d87475734c731b591d8d0c78a
Reviewed-on: http://git-master/r/760274
Signed-off-by: Jonathan McCaffrey <jmccaffrey@nvidia.com>
Reviewed-on: http://git-master/r/807150
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agoasoc: es755: tuning params for factory mode
Srinivas Anne [Mon, 21 Sep 2015 22:53:46 +0000]
asoc: es755: tuning params for factory mode

FW version: M90.5.2.12_B59687_NVidia_Hawkeye_MCFFillIn_STREAM.bin

New tuning parameters factory mode.
Additional tuning done for voice search and voice record usecases.

Bug 200124396
Bug 200131474

Change-Id: Id1aca9d4f3c689cc0506b3cee42559f31c0ac355
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/802497
Reviewed-on: http://git-master/r/807140
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>

4 years agoasoc: es755: tuning parameters for all usecases
Srinivas Anne [Mon, 14 Sep 2015 17:52:21 +0000]
asoc: es755: tuning parameters for all usecases

FW version: M90.5.2.12_B59391_NVidia_Hawkeye_MCFFillIn_STREAM.BIN

This binary has tuning parameters for following handheld(2 mic open)
and tabletop(back mic blocked) usecases

1) Voice Search
2) Voice recording
3) Gamecast
4) Camcorder
5) Voip call

Bug 200124396
Bug 200131474
Bug 200135363

Change-Id: Id3339a4c1dc850a2bcb3f97ed15706dbf960c778
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/798813
Reviewed-on: http://git-master/r/807139
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>

4 years agoasoc: es755: tuning parameters for voice search
Srinivas Anne [Mon, 31 Aug 2015 16:48:38 +0000]
asoc: es755: tuning parameters for voice search

FW vcesion: M90.5.2.12_B58902_NVidia_Hawkeye_MCFFillIn_STREAM.BIN

This binary has tuning parameters for following builtin mic usecases
Handheld( 2-mic)
1) Voice Search (preset 609)
2) Voice recording (preset 573)
3) Gamecast (preset 966)
4) Camcorder (preset 555)
5) Voip call (preset 570)
Others being modified partially and may see some improvement

Tabletop( back mic blocked)
1)Voice Search (preset 942)
2)Voice recording (preset 918)
3)Voip call (preset 914)

Bug 200124396
Bug 200131474

Change-Id: Ieb4c4d04444a9d5ec34974ff37ad83d6355bc374
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/791871
Reviewed-on: http://git-master/r/807137
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>

4 years agoALSA: hda: hdmi: remove check for HBR caps
Ashok Mudithanapalli [Wed, 16 Sep 2015 05:42:14 +0000]
ALSA: hda: hdmi: remove check for HBR caps

By assuming HW always suuports HBR, remove
the HBR caps check on pinwidget.

Bug 200135860

Change-Id: Id97ac8a9e8e96f2512637d191589d01aff3ac210
Signed-off-by: Ashok Mudithanapalli <ashokm@nvidia.com>
Reviewed-on: http://git-master/r/799963
(cherry picked from commit 510d429a7125685c6599da018d6c24224a903037)
Reviewed-on: http://git-master/r/802267
(cherry picked from commit 9171ff3c25d47c8f44bad8358fc3e533a73f7516)
Reviewed-on: http://git-master/r/806873
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agovideo: tegra: dc: use fixed h_ref_to_sync value for HDMI
Santosh Reddy Galma [Mon, 14 Sep 2015 11:46:16 +0000]
video: tegra: dc: use fixed h_ref_to_sync value for HDMI

use fixed h_ref_to_sync value of 1 for HDMI to fix
HDMI 7-25 video format timing compliance test failure.
Previously fixed values of v/h_ref_to_sync were used for
HDMI IP. But calculated v/h_ref_to_sync values were used
with change http://git-master/r/#/c/554713/ as a part of
bug 1631663 to enable IMP. But this caused 7-25 video format
timings compliance failure. This change fix it using fixed
h_ref_to_sync value as it doesn't affect IMP with acceptance
from hw. More detailed discussion in the bug.

Bug 200129647

Change-Id: I26dd0a04184f494b14a66ce08c2cf5d25048ec98
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/798713
(cherry picked from commit dffaf94e83434ff090bd6ecfc0d3847ff9c8f66f)
Reviewed-on: http://git-master/r/806578
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agoarm64: boot: dts: Add HDMI prod settings for Darcy
Chaitanya Bandi [Mon, 10 Aug 2015 22:43:06 +0000]
arm64: boot: dts: Add HDMI prod settings for Darcy

Bug 200106837

Change-Id: I70493dea516c3dec90212892e857541753a6d5be
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/781305
(cherry picked from commit 71b50e1421bd3b1b9828b737989fbf5be049acb2)
Reviewed-on: http://git-master/r/806161
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agoarm64: tegra: enable AOTAG
Hyungwoo Yang [Tue, 14 Jul 2015 17:24:10 +0000]
arm64: tegra: enable AOTAG

- Make a darcy-common dts file for common configuration
  between Darcy EMMC and Darcy Pro.

- Enable AOTAG for darcy

Bug 1646378

Change-Id: Ie40802d626ef81f7d8e82e67491ccf0226a03ba0
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/769948
(cherry picked from commit 1e2c0b0c4fc8dbaa1075a3c3fed7b3f1fe4ef672)
Reviewed-on: http://git-master/r/806160
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dc: Tune timestamp wait slack
David Lock [Tue, 8 Sep 2015 22:54:25 +0000]
video: tegra: dc: Tune timestamp wait slack

Reduce the DC driver slack for waiting for timestamps.  This allows
us to wake up more consistently on timestamps smoothing the actual
present cadence of frames.

Bug 1684016

Change-Id: I0a4f7ce29880645a12791a38bb407ae5fa26c60a

Change-Id: Ie36b31eaa626661917577d4c77001d6a61b0f5af
Reviewed-on: http://git-master/r/795999
Signed-off-by: Jonathan McCaffrey <jmccaffrey@nvidia.com>
Reviewed-on: http://git-master/r/806154
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dc change endianness of type field
Sharath Sarangpur [Fri, 25 Sep 2015 04:27:28 +0000]
video: tegra: dc change endianness of type field

Changed the stremid_type to big endian

Bug 1683539

Change-Id: I691707bb4e28d7e11b84130fe85dd40274ed3830
Signed-off-by: Sharath Sarangpur <ssarangpur@nvidia.com>
Reviewed-on: http://git-master/r/805612
Reviewed-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

4 years agohawkeye: Change touch spi clock to 25Mhz.
Jordan Nien [Mon, 7 Sep 2015 14:29:11 +0000]
hawkeye: Change touch spi clock to 25Mhz.

- Change SPI clock from 30Mhz to 25Mhz to
  get reliable SPI transfer.

Bug 200128133

Change-Id: Iddacf16fa6aafce7a4e80daf8db7b101653195ec
Signed-off-by: Jordan Nien <jnien@nvidia.com>
Reviewed-on: http://git-master/r/795301
(cherry picked from commit 8f306b5e6842942c00fc5387063546f7af8da8cd)
Reviewed-on: http://git-master/r/804360
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoinput: touch: sharp: update to version 14.
Jordan Nien [Thu, 3 Sep 2015 05:46:26 +0000]
input: touch: sharp: update to version 14.

- Added sysfs(test) for sensor check
- Added sysfs(log) for debugging
- Added reset control when wakeup_enable is disable
- Added trace log and fail safe

Bug 200128133

Change-Id: I11307948b19223095a232cdfdd89149bb002efbb
Signed-off-by: Jordan Nien <jnien@nvidia.com>
Reviewed-on: http://git-master/r/793557
(cherry picked from commit 6bd91b8a869d473aaa0ff71e66c1246e9b8091d5)
Reviewed-on: http://git-master/r/804359
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Chuang <echuang@nvidia.com>

4 years agoARM: tegra: hawkeye: added SPI4 dynamic pinmux
David Pu [Fri, 21 Aug 2015 21:20:19 +0000]
ARM: tegra: hawkeye: added SPI4 dynamic pinmux

internal pull down and tristate SPI4 pins dynamically to avoid LP0 power
leakage and touch controller power sequence violation during LP0 entry/exit.

Bug 1650903
Bug 200129779

Change-Id: I6b0943cd73d842cf4b8656cc3ad376345c31e24a
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/787575
(cherry picked from commit 97a8cbe88e46ce8fe743d992a473687934cf966c)
Reviewed-on: http://git-master/r/804357
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jordan Nien <jnien@nvidia.com>
Tested-by: Jordan Nien <jnien@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoinput: touch: sharp: fix power sequence/leakage
David Pu [Fri, 21 Aug 2015 21:30:33 +0000]
input: touch: sharp: fix power sequence/leakage

added dynamic spi4 pinmux controll to avoid power sequence violation and
power leakage.

Bug 1650903
Bug 200129779

Change-Id: I3c33c42376c687fff2fe5573a679f86aafaa6a98
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/787576
(cherry picked from commit 0f80768cd1fc6cb30b6075991ab2dce8ae9faab1)
Reviewed-on: http://git-master/r/804356
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jordan Nien <jnien@nvidia.com>
Tested-by: Jordan Nien <jnien@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoof: plugin-manager: correct ids and odm-data path in chosen
Laxman Dewangan [Mon, 28 Sep 2015 08:51:11 +0000]
of: plugin-manager: correct ids and odm-data path in chosen

The odm-data and ids information is available on the /chosen/ node

Correct the path and add support of odm data matching.

bug 200137206

Change-Id: I5c82567943021271b870e07db06a741bddf71e82
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/805881
(cherry picked from commit 89de557fcb1cef68a0d89e71094623d25b3e3bf6)
Reviewed-on: http://git-master/r/806529
GVS: Gerrit_Virtual_Submit

4 years agoarm64: tegra: jetson_cv: add support for e2614 b00
Sharad Gupta [Wed, 23 Sep 2015 19:18:54 +0000]
arm64: tegra: jetson_cv: add support for e2614 b00

Added support for B00 version of Super I/O. B00 will be a
default option. Also added separate DT for A00.

Bug 200140981

Change-Id: I3048b03a0cf9b1db9b02213ef8e3123737dba5d7
Signed-off-by: Asha T <atalambedu@nvidia.com>
Reviewed-on: http://git-master/r/805672
(cherry picked from commit c82b925804ef7c4ca06d80728d4b2f47fec91038)
Reviewed-on: http://git-master/r/806304
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sharad Gupta <sharadg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>

4 years agoasoc: es755: tuning parameters for voip call
Srinivas Anne [Fri, 21 Aug 2015 23:52:12 +0000]
asoc: es755: tuning parameters for voip call

Incorporated tuning parameters for voip speaker/built-in mic usecase

tuning parameters are partially modified for other usecases as well.

Bug 200124396

Change-Id: Ia925e5908e5c380209b9d38f54733dce0bde0082
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/787628
Reviewed-on: http://git-master/r/807134
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agoarm: tegra: audio: add dt support for audience fw
Srinivas Anne [Tue, 22 Sep 2015 00:11:40 +0000]
arm: tegra: audio: add dt support for audience fw

Hawkeye and Loki use different mic tuning parameters and these params
are part of Audience firmware binary.

Updated Audience device tree node to store firmware binary name.
Driver will read FW binary info from DT and load appropriate firmware.

bug 1689236

Change-Id: I9baf8b081ad5c9e8922018a4a9fc6e731c54f61a
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/803893
(cherry picked from commit 262aea320f4766d2ec6f63f209f3ee419b549ad5)
Reviewed-on: http://git-master/r/807100
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agoxhci: tegra: Set trigger to boost frequency
Krishna Yarlagadda [Mon, 6 Jul 2015 18:07:52 +0000]
xhci: tegra: Set trigger to boost frequency

Boost cpu frequency only when buffer of bulk and isoc
transfers exceeds particular size configured by dt

Bug 200115844

Change-Id: Ia6948395d893e426600ba0554f50f209f6d921d4
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/769451
(cherry picked from commit 5a59707a8b75ad0e836650551c232e855914cad8)
Reviewed-on: http://git-master/r/806623
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agoarm64: jetson: dts: set default boost for xhci
Krishna Yarlagadda [Mon, 6 Jul 2015 18:24:23 +0000]
arm64: jetson: dts: set default boost for xhci

Jetson boards have ethernet device on xhci and this
will cause cpu boost to be always on which is not desired
Removed dt change to load default boost frequency 800MHz

Bug 200115844

Change-Id: Iad8d370f4036b08b5491b033d1d8e147c522845e
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/769452
(cherry picked from commit 84df26d6fe3a678e6b606563f5e80f6ad151ad2f)
Reviewed-on: http://git-master/r/806592
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoALSA: hda: Correct dp audio infoframe
Rahul Mittal [Thu, 24 Sep 2015 12:37:08 +0000]
ALSA: hda: Correct dp audio infoframe

Was facing an issue with multi-ch audio over DP
because the channels fields (CC02_CT47) in the
dp_audio_infoframe struct was getting written into
AC_VERB_SET_HDMI_DIP_DATA verb at index 4 instead
of index 5. This caused wrong channel count to be
detected by the SOR/DP hardware.

Bug 200137880

Change-Id: I1bec75310dce0c26fd686cc9dab9938b38a8ac0a
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/804172
(cherry picked from commit 62d7cb125d7b986c0e663da29373b2d4c0860544)
Reviewed-on: http://git-master/r/806492
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>

4 years agovideo: tegra: hda: Fix multiple DP audio issues
Rahul Mittal [Thu, 24 Sep 2015 04:27:40 +0000]
video: tegra: hda: Fix multiple DP audio issues

Fix multi-channel audio over DP.
Fix warning due to unnecessary access of
DP link programming code.

Bug 200137880

Change-Id: Ifb52e45b82fbb0dd3ef29e71445571fb9911fa0a
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/791023
(cherry picked from commit fb97d6be96c5904173382e36c8de1f9f57c4428c)
Reviewed-on: http://git-master/r/806491
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>

4 years agoRevert "xhci: tegra: load fw from filesystem earlier"
Petlozu Pravareshwar [Tue, 29 Sep 2015 16:49:05 +0000]
Revert "xhci: tegra: load fw from filesystem earlier"

This reverts commit 6875a1752b3ed4e121efcc3fddca0810ffd22546.

Change-Id: I127a1fb415b169b64c3c83b9a755990829ae24fb
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/807095
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Tested-by: Ashutosh Jha <ajha@nvidia.com>

4 years agobcmdhd88: Add DTB support for MAC address
Mohan Thadikamalla [Tue, 29 Sep 2015 07:24:07 +0000]
bcmdhd88: Add DTB support for MAC address

Issue: MAC is not set properly once when DTB is

Fix: Add changes to support MAC for DTB

Bug 200141675

Change-Id: I6cab6551435a88b471640fef2b46d2a25fc8afa6
Signed-off-by: Mohan Thadikamalla <mohant@nvidia.com>
Reviewed-on: http://git-master/r/806507
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoASoC: tegra-alt: Enable DCR and DMIC Boost Gain
Viswanath L [Thu, 23 Jul 2015 12:04:22 +0000]
ASoC: tegra-alt: Enable DCR and DMIC Boost Gain

 - DCR filter enabled
 - Mixer control "Boost Gain" provided (with 100x factor); gain
   is applied in LP filter configured for passthrough

Bug 200108603

Change-Id: If1e3cfa8cc0b5a3a186ebd6ecdeba9a5a3cc2ef3
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/802680
(cherry picked from commit 4498fa1cfab4e121796ff20c36fe3c8398ddd1a0)
Reviewed-on: http://git-master/r/805862
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agoASoC: tegra-alt: Update DMIC DCR coeff to POR
Viswanath L [Tue, 15 Sep 2015 09:55:08 +0000]
ASoC: tegra-alt: Update DMIC DCR coeff to POR

TEGRA210_DMIC_DCR_BIQUAD_0_COEF_4 is corrected to 0x0
(as per latest POR)

Bug 200134942
Bug 200078772

Change-Id: I628c2d3e18615df476b67761553762a23f1fe47e
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/802678
(cherry picked from commit 65882abd69f17d0bbad7bd12646c3975352362a1)
Reviewed-on: http://git-master/r/805861
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agot210: video: tegra: dc: set cursor start address
Naveen Kumar S [Wed, 23 Sep 2015 11:32:07 +0000]
t210: video: tegra: dc: set cursor start address

Initalise cursor start address and update cursor registers
while enabling dc controller. This is needed as driver depends
on HW state.

bug 200119332

Change-Id: If791cd5bf4719e90e7de19e03621814174bb2622
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/803745
(cherry picked from commit 282aa5c538d1c6cf9e9f51b3064b3d37feb5db28)
Reviewed-on: http://git-master/r/805858
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agovideo: tegra: set dc blank on display timeout
Naveen Kumar S [Wed, 23 Sep 2015 08:51:20 +0000]
video: tegra: set dc blank on display timeout

While unblanking FB, all available windows are sync'd again only
if dc is in blanked state. Hence, set dc blank state to true
when dc is disabled during display timeout.

bug 200136625

Change-Id: Ic3f23801c1799b48477f512c6c319896a088afce
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/803552
(cherry picked from commit f55eb067c8cf2e5e721b42471ee44659bf435467)
Reviewed-on: http://git-master/r/805856
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agobcmdhd_88: add cfg80211 vendor command support
Om Prakash Singh [Wed, 23 Sep 2015 12:18:53 +0000]
bcmdhd_88: add cfg80211 vendor command support

add change to support vendor command:

This code is copied from below source
branch: bcmdhd-3.10

Bug 200141562
Change-Id: I732df79fc68cee849d97823e6aca518ed77bbef3
Signed-off-by: Ecco Park <eccopark@broadcom.com>
Signed-off-by: Ashwin <ashwin.bhat@broadcom.com>
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/805711
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kasturi Raghavender <kraghavender@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agogpu: nvgpu: Add CDE bits in FECS header
sujeet baranwal [Mon, 31 Aug 2015 22:32:13 +0000]
gpu: nvgpu: Add CDE bits in FECS header

In case of CDE channel, T1 (Tex) unit needs to be promoted to 128B
aligned, otherwise causes a HW deadlock. Gpu driver makes changes in
FECS header which FECS uses to configure the T1 promotions to aligned
128B accesses.

Bug 200096226

Change-Id: Ic006b2c7035bbeabe1081aeed968a6c6d11f9995
Signed-off-by: sujeet baranwal <sbaranwal@nvidia.com>
Reviewed-on: http://git-master/r/792051
(cherry picked from commit 447f626cad11bec7695a3284b8f795e4f324dda3)
Reviewed-on: http://git-master/r/804513
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Tested-by: Kerwin Wan <kerwinw@nvidia.com>

4 years agoMerge "Merge commit for removing exec domain support" into rel-24
mobile promotions [Tue, 29 Sep 2015 17:56:42 +0000]
Merge "Merge commit for removing exec domain support" into rel-24

4 years agodrivers: mmc: disable deferred resume for sd card
Jeetesh Burman [Mon, 31 Aug 2015 03:51:10 +0000]
drivers: mmc: disable deferred resume for sd card

Enable MMC_BLOCK_DEFERRED_RESUME only for mmc0.

And disabling same for SD card by setting
bus_resume_flags and rescan_disable to 0 after its
enumeration successfully done.

Bug 200130799

Change-Id: If54eceb3661516a3db4e3dcef44920e7c6e75da3
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/791579
(cherry picked from commit 9ab82fd0b91ce1fe38b07bf85a428b55fb407281)
Reviewed-on: http://git-master/r/805839
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agoMerge commit for removing exec domain support
Sharif Inamdar [Mon, 28 Sep 2015 15:17:43 +0000]
Merge commit for removing exec domain support

Exec domain was incomplete and unstable, these were leading
to unnecessary avc denied prints for personality-8

Bug 1683050

Change-Id: Id455cc213c20dc61a1908c1225302d7764dd81de
Signed-off-by: Sharif Inamdar <isharif@nvidia.com>

4 years agovideo: tegra: dc: Fix HDMI cert compliance
Aly Hirani [Thu, 10 Sep 2015 05:07:39 +0000]
video: tegra: dc: Fix HDMI cert compliance

This change fixes the HDMI cert compliance for the 23.976 Hz mode. In
that mode, we were not setting the extended_vic correctly (it was being
set as 0). This was because the 23.976's fb_videomode didn't match
exactly to the 24 Hz one specified in the hardcoded list.

This is only a short-term WAR to remove the VMODE and fix the pclk
before comparing the fb_videomodes. It also removes the comparison on
the fb_videomode's refresh field (which unfortunately is not accurate at
all due to all the rounding that we've had to do because of 23.976 Hz

As a temporary WAR, this change replaces the fb_mode_is_equal() call
with an expanded if check. This probably needs be redone before
integration to other branches, but should fix the associated cert

Bug 200137448

Change-Id: Ica8bfd6c2292acd7911f33fe317dad107ae571c7
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/796834
(cherry picked from commit e16a46f307d9195d0fe84755fc983cc6e92c7d9b)
Reviewed-on: http://git-master/r/805078
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agovideo: tegra: dc: enable 1000/1001 modes
Aly Hirani [Tue, 18 Aug 2015 09:48:42 +0000]
video: tegra: dc: enable 1000/1001 modes

This change enables the 1000/1001 modes for T210. On T210, we have a fractional
divider available for DC. This allows us to generate pclks almost closely
accurate to the common 1000/1001 modes such as 23.976, 29.97 and 59.94 Hz.

This change:

1. Adds a new VMODE flag to signify modes which are * 1000 / 1001
2. Filters exclusively for 24/30/60 Hz modes in the EDID parser, duplicates
   these modes and changes them to be the 1000 / 1001 modes
3. Changes the dc pclk calculation to take into account these modes during the

Bug 200111432

Change-Id: I2cc762b2338ce5662d85891859327015e88b670b
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/786281
(cherry picked from commit 2879633052ba8329bc9373f694fa7bcd4ee59d37)
Reviewed-on: http://git-master/r/805081
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agovideo: tegra: hdmi: fix mode_filter mode rejection
Naveen Kumar S [Mon, 24 Aug 2015 11:54:41 +0000]
video: tegra: hdmi: fix mode_filter mode rejection

When comparing Pixel clock in Pico Seconds, we should reject
those modes which are less than maximum supported pixel clock
in pico seconds. This is equivalent to rejecting modes that
need a higher pixel clock frequency than maximum pixel clock.

bug 200130894

Change-Id: Ie9b0f64867533ad9b4234216d15c56e9062d4a4e
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/788160
(cherry picked from commit 63aaf1e03a8fe462fe6031373bd592e8da67c1dd)
Reviewed-on: http://git-master/r/805860
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

4 years agovideo: tegra: hdmi: read scdc status flags
Emma Yan [Thu, 17 Sep 2015 08:55:48 +0000]
video: tegra: hdmi: read scdc status flags

According to of HDMI 2.0, source shall poll
the Scrambling_Status bit following the writeof
Scrambling_Enable to a 1 and following transmission of
scrambled video. Moreover, the 10.4 section indicated
that source shall verify a valid HF-VSDB in the EDID
and set the scdc_present bit before accessing SCDC.

Bug 1661387

Change-Id: I97a867f6589f920c2a7ae3aa43c459dd8122edf8
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/802082
(cherry picked from commit cb7d171ac8f16edb37b455e3eaa3adfdb31aa6dc)
Reviewed-on: http://git-master/r/805859
Reviewed-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
GVS: Gerrit_Virtual_Submit

4 years agoplatform: tegra: emc: Fix logic in EMC CC
Alex Waterman [Thu, 27 Aug 2015 17:50:18 +0000]
platform: tegra: emc: Fix logic in EMC CC

Fix some logic in the EMC clock change. The problem was that a bitwise and
operation was compared against the literal value 1. The idea was to actually
test if the bit was set.

Bug 1416640

Change-Id: Ib30c36bb59206b1637ff1fe0443b918c2e493ebe
Signed-off-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit 596b24d0435b5765709c89afeb2402ad9a0e805e)
Reviewed-on: http://git-master/r/804916
GVS: Gerrit_Virtual_Submit
Tested-by: David Dastous St Hilaire <ddastoussthi@nvidia.com>
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agomedia: platform: tegra: imx132 power delay
Gary Fitzer [Tue, 21 Jul 2015 01:13:50 +0000]
media: platform: tegra: imx132 power delay

Increase delay time for imx132 power up sequence.

Bug 1666183.

Change-Id: Ice40e33d30bbe5b4904858478bca6ed1a1baeb32
Signed-off-by: Gary Fitzer <gfitzer@nvidia.com>
Reviewed-on: http://git-master/r/772581
(cherry picked from commit 84522c89f2ac7747fc1d92a7ccd4a2fbdec45968)
Reviewed-on: http://git-master/r/805489
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anton Kondratenko <akondratenko@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
GVS: Gerrit_Virtual_Submit

4 years agoARM64: dtsi: Disable sdmmc3.
Naveen Kumar Arepalli [Fri, 18 Sep 2015 01:36:29 +0000]
ARM64: dtsi: Disable sdmmc3.

-SD is unable to mount because the mount point of SD has
changed as sdmmc3 is enabled.

Bug 200140103

Change-Id: I2b9a67e798c7b43a21b216894b968cf8a3bc0287
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
(cherry picked from commit 1dcdeefcd4c6106b5de7aff862a169970160d5af)
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/804270
Reviewed-by: Automatic_Commit_Validation_User

4 years agoRevert "ARM64: tegra210: hawkeye: set FPS timing to 5120us"
Todd Poynter [Tue, 15 Sep 2015 15:57:13 +0000]
Revert "ARM64: tegra210: hawkeye: set FPS timing to 5120us"

Test revert for 200138938 on iBeta branch.

Bug 200138938
Bug 1675404

This reverts commit 026cfb24edbf6628af4826137d3669735acdbf56.

Change-Id: I188d02762065e45ed9a9aad80a65243b0eb92c74
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/799448
(cherry picked from commit 7655ce60d946bee88b5dbe952c036e691b60779c)
Reviewed-on: http://git-master/r/802972
(cherry picked from commit e5dd25d322ebff4bdf2826102a63ee371777d04b)
Reviewed-on: http://git-master/r/804291

4 years agoARM: config: tegra12: enable bcmdhd_88 WiFi driver
Om Prakash Singh [Tue, 15 Sep 2015 06:55:31 +0000]
ARM: config: tegra12: enable bcmdhd_88 WiFi driver

Bug 200138217

Change-Id: I9f6eb14f7703d343b0d8ab787fd1ce3dbf8a2bae
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/799257
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agonet: wireless: bcmdhd_88: add bcmdhd 1.88.55 driver
Om Prakash Singh [Tue, 8 Sep 2015 12:07:24 +0000]
net: wireless: bcmdhd_88: add bcmdhd 1.88.55 driver

- Copy bcmdhd driver from rel-st8-l-shieldtablet8
- MakeFile and Kconfig change for Build
- Add DT support
- Add NV_COUNTRY command

copy bcmdhd driver from rel-st8-l-shieldtablet8. Below are recent change log:

9653f63 wireless: bcmdhd: Fix Wi-Fi reset on country code change
09978bb net: wireless: bcmdhd: update disconnect event to upper layer
a55ec18 bcmdhd: fix bcmdhd_irq_number issue for pcie
bd5ffda net: wireless: bcmdhd: Send DISASSOC to FW if status of wlan is connecting
70a3133 net:wireless: bcmdhd: set on and off delay
3d50436 net: wireless: bcmdhd: revert netstat
a20f874 net: wireless: bcmdhd: add nvidia specific country code revision
d4df80a Revert "net: wireless: bcmdhd: apply "Remove CMD_COUNTRY private command""
fc4ab04 net: wireless: bcmdhd: capture driver suspend/resume call
ac7665b Fix rx_tid settings when VSDB disabled in firmware
b7469b6 net: wireless: bcmdhd: apply "Remove CMD_COUNTRY private command"
041c5e4 net: wireless: bcmdhd: add missing check for TEGRA_REGION_BASED_NVRAM
1416695 net: wireless: bcmdhd: add IN country code which maps to US
805d22c net: wireless: bcmdhd: fix p2p chanspec for 5GHz band
6987bff net: wireless: bcmdhd: Add support for region based country code
2bd0ac2 net: wireless: bcmdhd: dummytimestamp packets
5c1e81e net: wireless: bcmdhd: fix deadlock in netstat
1baad10 net: wireless: bcmdhd: Add AUTOSLEEP driver command
2ed066b net: wireless: bcmdhd: store netstat as binary array
3436b70 net: wireless: bcmdhd: packet capture by default to sys node
3a54a5c net: wireless: bcmdhd: Custom sysfs for netstat.
66de1d2 net: wireless: bcmdhd: start and stop packet capture

Bug 200138217
Change-Id: I221b738e893b240adc14f98ffe07c48bdc0c5c21
Signed-off-by: Dhruvaraja Kunjar <dkunjar@broadcom.com>
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/799256
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoarm64: dts: tegra210: add jetson cv hdmi prod settings
Santosh Reddy Galma [Tue, 30 Jun 2015 10:01:33 +0000]
arm64: dts: tegra210: add jetson cv hdmi prod settings

Bug 1660935

Change-Id: I15630379e742408ea065fa282d9d224b5013da0d
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/764115
(cherry picked from commit 5bb1b03fbae991a161f2546e915e532147022561)
Reviewed-on: http://git-master/r/800807
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agobacklight: lp855x: set zero brightness at FBBLANK
Shingo Nakao [Tue, 2 Jul 2013 12:15:54 +0000]
backlight: lp855x: set zero brightness at FBBLANK

When backlight turns on early from display, a white line can be
seen on the screen. Therefore make sure backlight is off when we
are under an fb blank event.

Bug 200089489

Change-Id: I5cd70bfda9902a982d168f2c5b4388424e7d800c
Signed-off-by: Shingo Nakao <shingo.x.nakao@sonymobile.com>
Cc: Milo Kim <milo.kim@ti.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Oskar Andero <oskar.andero@sonymobile.com>
Acked-by: Milo Kim <milo.kim@ti.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
(cherry picked from commit 9f0a511f4a227c58c45b65c10fd2b85586360f67)
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Change-Id: If86de80c15400db7ed28832f369328b5031d6d02
Reviewed-on: http://git-master/r/800929
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

4 years agobacklight: lp855x: add check_fb to bl ops
Shu Zhong [Fri, 4 Sep 2015 02:09:17 +0000]
backlight: lp855x: add check_fb to bl ops

Add check_fb function to bl ops so that lp855x driver
only responds when correct fb device is blanked/unblanked.

Change-Id: I944d5dbbaf2deb6f721fd62c754b5738438957e9
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/794055
(cherry picked from commit bdedec2028e9af1fd7ad8386a29c7e68702fcf18)
Reviewed-on: http://git-master/r/797980
(cherry picked from commit fa52193da098f84cfa53cee3e6b6008ba8eecad9)
Reviewed-on: http://git-master/r/800793
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agobcmdhd: lower verbosity of empty sched scan alert
Zheng Liu [Mon, 18 May 2015 21:59:28 +0000]
bcmdhd: lower verbosity of empty sched scan alert

When a regular scan returns no suitable networks, user-space issues an
empty scheduled scan request with no matchset or ssid. This is not handled
by firmware so driver returns an error. However, the accompanying alert
should not be logged at error level. Debug level is more appropriate.

Bug 200101560

Change-Id: I63f871ffee3cffcf6ca1b4b4ac093afc4e89f80d
Signed-off-by: Zheng Liu <zhliu@nvidia.com>
Reviewed-on: http://git-master/r/744034
(cherry picked from commit 6d980dc6d5155e81333451066c5b87ec6f400e79)
Reviewed-on: http://git-master/r/763846
Reviewed-by: Allen Martin <amartin@nvidia.com>

4 years agoarm64: tegra210: update P2143-1199sku emc tables
Ishwarya Balaji Gururajan [Tue, 21 Apr 2015 01:27:24 +0000]
arm64: tegra210: update P2143-1199sku emc tables

408Mhz is added in DVFS table
665.6Mhz inbound dqIvref setting is updated

bug 1608816

Signed-off-by: Ishwarya Balaji Gururajan <igururajan@nvidia.com>
Change-Id: I5c195ca7bbb99beef229ba907fb20b6572d5b0cf
Reviewed-on: http://git-master/r/733399
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agoarm64: dts: hawkeye: update emc DVFS to rev.7
Robert Shih [Wed, 5 Aug 2015 10:17:25 +0000]
arm64: dts: hawkeye: update emc DVFS to rev.7

bug 1608434

Change-Id: Ie38d1cf90d29474332347a49682b34eb8b518ef6
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/779147
(cherry picked from commit e650c76d23df9e211146b00d6abf53ba8cef1977)
Reviewed-on: http://git-master/r/785130
(cherry picked from commit 2a35db938623a8e468c22dca5cd8677453cd379f)
Reviewed-on: http://git-master/r/785001
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>