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>

4 years agoiio: proximity: configurable SAR resume
Erik Lilliebjerg [Fri, 11 Sep 2015 12:29:04 +0000]
iio: proximity: configurable SAR resume

- Add a device tree parameter to set the deferred resume execution delay.
  This allows no IQS device interactions when there are fast system resume
- Add a device tree parameter to set the SAR GPIO assertion level when the
  IQS device is configured as a non-wake device.  In other words, when the
  device is configured for sleep during suspend, this DT setting determines
  the SAR GPIO state during the suspend period.

Bug 200133919.

Change-Id: I5c26835d673b65c00742307dc9454f20baa91988
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/797723
(cherry picked from commit ea3ea28b324ab87139404bb26490e1f58a0653a5)
Reviewed-on: http://git-master/r/800321
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: Configure SAR deferred resume time
wahsu [Mon, 14 Sep 2015 03:22:18 +0000]
iio: proximity: Configure SAR deferred resume time

Set the deferred resume execution delay to 3000ms.
This allows no IQS device interactions when there are fast system resume

Bug 200133919

Change-Id: Ie06254b5961a62c41dd95fabd7e2cd0477c6b51a
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/798536
(cherry picked from commit b0cc84877373dd5078de7ba321b9fa2732a57942)
Reviewed-on: http://git-master/r/800320
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>

4 years agoIQS2x3: Disable SAR wake up interrupt flag
wahsu [Thu, 10 Sep 2015 03:03:57 +0000]
IQS2x3: Disable SAR wake up interrupt flag

SAR interrupt is not a wake up GPIO, therefore, these bits should be cleared
with DTS setting which overrides the defaults.
Also, by clearing these bits, it tells the SAR kernel driver to put the device
to sleep during system suspend instead of being operational.

Change-Id: If3fc1747c35deb274f2846c354c5dda8a09d550a
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/796753
(cherry picked from commit 77fc6c96d34c8e656583c27707cd3d1240b833f2)
Reviewed-on: http://git-master/r/800319
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>

4 years agoARM: tegra: Hawkeye: make pin pex_l0_rst common
Daniel Solomon [Fri, 14 Aug 2015 00:05:24 +0000]
ARM: tegra: Hawkeye: make pin pex_l0_rst common

The pin pex_l0_rst is used by the bootloader as an
output GPIO. In order for this pin's pinmux to be
configured correctly by the bootloader, it needs to
be part of the common group. In addition, since it's
an output GPIO, this pin is no longer tristated.

(Previously all this was configured by the kernel, but now
we need this functionality in bootloader as well.)

Bug 1649961

Change-Id: If458767ecb191476d778630f1152e7636cb85a51
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/783341
(cherry picked from commit c4961707ae44c77ce588568873643a6d38b248ca)
Reviewed-on: http://git-master/r/798837
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agogpu: nvgpu: fix runlist update timeout handling
Vijayakumar [Tue, 4 Aug 2015 11:44:54 +0000]
gpu: nvgpu: fix runlist update timeout handling

bug 1625901
1) disable ELPG before doing GR reset when runlist update times out
2) add mutex for GR reset to avoid multiple threads reseting GR
3) protect GR reset with FECS mutex so that noone else submits methods

Change-Id: I02993fd1eabe6875ab1c58a40a06e6c79fcdeeae
Signed-off-by: Vijayakumar <vsubbu@nvidia.com>
Reviewed-on: http://git-master/r/778630
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

4 years agodvfs: tegra21: update qspi ddr dvfs table
Kerwin Wan [Mon, 14 Sep 2015 12:02:46 +0000]
dvfs: tegra21: update qspi ddr dvfs table

For ddr mode, DIV2 is always set for qspi. So
double the clock limit for qspi ddr dvfs table
and correct the max qspi clock correspondingly.

Bug 200129627

Change-Id: I4e8f7c5f93a6784aa2bb5c4b0719708a45361cbf
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/798721
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agotegra: soctherm: Disable H/W shutdown if no critical
Jinyoung Park [Mon, 31 Aug 2015 02:53:55 +0000]
tegra: soctherm: Disable H/W shutdown if no critical

This change disables H/W shutdown if there is no critical thermal
trip type. Because H/W shutdown is enabled for any thermal trips
on CPU, GPU, PLL and MEM due to POR setting.

Bug 1660452

Change-Id: I74879553ae16898ec054aa7eca44faf41556bc08
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/799094
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agonet: wireless: bcmdhd: Ignore IOCTL during shutdown
kraghavender [Mon, 14 Sep 2015 10:59:10 +0000]
net: wireless: bcmdhd: Ignore IOCTL during shutdown

Ignore the IOCTL's based on shutdown process instead of
additonal DHD_BUS and hang checks. Control hang logs
during shutdown process.

Bug 200135299

Change-Id: Ibecaf08b81a9460d55f23af28893435a1999af48
Signed-off-by: Kasturi Raghavender <kraghavender@nvidia.com>
Reviewed-on: http://git-master/r/798695
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Tested-by: Ashutosh Jha <ajha@nvidia.com>

4 years agoi2c: tegra-vi: retry on NACK
Anton Kondratenko [Thu, 10 Sep 2015 18:41:06 +0000]
i2c: tegra-vi: retry on NACK

In case of busy i2c try again to get ACK

Bug 1666183

Change-Id: Iae81361958baaf5d4a12ce573355059fa3fc55cf
Signed-off-by: Anton Kondratenko <akondratenko@nvidia.com>
Reviewed-on: http://git-master/r/797251
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agomm: don't consider isolations caused by migrating pages as direct reclaim isolations
Maneet Singh [Sun, 24 May 2015 22:22:03 +0000]
mm: don't consider isolations caused by migrating pages as direct reclaim isolations

Both migrations and direct reclaim code path mark pages as isolated
before using them. And to avoid massive number of tasks doing
simultaneous direct reclaims, if there are too many isolated pages
in the system, tasks get scheduled out in congestion_wait().

This can cause CMA allocation thread to end up in forever loop if
direct reclaim occurs while alloc_contig_range() attempts to migrate
many pages. This change adds a new gfp flag, GFP_MIGRATE, to avoid
congestion_wait() in migration code path.

Bug 200104609

Change-Id: I0019ea2d604d44a2c04622f8d1da8b0fa33124ed
Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com>
Reviewed-on: http://git-master/r/746555
(cherry picked from commit 77d693220e37783b217e48cdbd8f5fcae691bc79)
Reviewed-on: http://git-master/r/785658
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agobase: dma-coherent: don't do back to back VPR config updates
Maneet Singh [Tue, 5 May 2015 03:55:36 +0000]
base: dma-coherent: don't do back to back VPR config updates

VPR config update involves rail-gating GPU which can lead to UI
stutters. Current design was doing VPR config update one after the
other resulting in many close cycles of do_idle and do_unidle for GPU
which inturn resulted in UI stutters. This change space out these

Bug 1642389

Change-Id: I62c2c4de763d24dce6fcaba4e6023d0e9b645149
Signed-off-by: Maneet Singh <mmaneetsingh@nvidia.com>
Reviewed-on: http://git-master/r/738833
(cherry picked from commit 61eaa915fc26b5d6ec5ebb4f0828a77d5dbf6c35)
Reviewed-on: http://git-master/r/785655
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agotegra: nvmap: fix the possible dead lock
Xianhui Wang [Wed, 19 Aug 2015 04:26:42 +0000]
tegra: nvmap: fix the possible dead lock

bug 200107851

When a process call nvmap_iovmm_get_client_mss it will hold mutex_lock(&h->lock)

and try to get down_read(&mm->mmap_sem), at the same time if the related

process is calling nvmap_vma_close, it have hold mm->mmap_sem for write when

it entering vm_munmap, and try to get mutex_lock(&h->lock). Then the problem

happen, many process become "uninterruptable sleep" with the two process.

Then bugreport will not work.

Try to fix the problem and let nvmap_iovmm_get_client_mss get mmap_sem firstly

then it will align with nvmap_vma_close.

The call stack:

<6>[68949.696132] memory_usage.sh D ffffffc000086b1c    0 2771     1 0x00000000
<7>[68949.696140] Call trace:
<7>[68949.696146] [<ffffffc000086b1c>] __switch_to+0x3c/0x48
<7>[68949.696151] [<ffffffc000b90410>] __schedule+0x4b4/0x5e0
<7>[68949.696156] [<ffffffc000b90588>] schedule+0x4c/0x68
<7>[68949.696161] [<ffffffc000b91234>] __down_read+0xb8/0xe0
<7>[68949.696166] [<ffffffc000b8f85c>] down_read+0x28/0x38
<7>[68949.696174] [<ffffffc0004705b8>] nvmap_iovmm_get_client_mss+0xf8/0x1ac
<7>[68949.696180] [<ffffffc0004706fc>] nvmap_debug_iovmm_procrank_show+0x90/0x124
<7>[68949.696185] [<ffffffc0001c8b94>] seq_read+0x178/0x3d4
<7>[68949.696190] [<ffffffc0001a30c8>] vfs_read+0x94/0x158
<7>[68949.696195] [<ffffffc0001a3a78>] SyS_read+0xbc/0x16c
<6>[68949.696870] nvtest64       D ffffffc000086b1c    0 9220     1 0x00000000
<7>[68949.696877] Call trace:
<7>[68949.696883] [<ffffffc000086b1c>] __switch_to+0x3c/0x48
<7>[68949.696888] [<ffffffc000b90410>] __schedule+0x4b4/0x5e0
<7>[68949.696893] [<ffffffc000b90588>] schedule+0x4c/0x68
<7>[68949.696898] [<ffffffc000b90a04>] schedule_preempt_disabled+0x10/0x24
<7>[68949.696904] [<ffffffc000b8f42c>] __mutex_lock_slowpath+0x19c/0x264
<7>[68949.696909] [<ffffffc000b8f534>] mutex_lock+0x40/0x60
<7>[68949.696914] [<ffffffc00046ede8>] nvmap_vma_close+0x64/0x234
<7>[68949.696919] [<ffffffc000182e64>] remove_vma+0x3c/0x6c
<7>[68949.696924] [<ffffffc000184110>] remove_vma_list+0x68/0x9c
<7>[68949.696928] [<ffffffc000184b60>] do_munmap+0x1d8/0x250
<7>[68949.696932] [<ffffffc000184c18>] vm_munmap+0x40/0x64
<7>[68949.696937] [<ffffffc000184cc8>] SyS_munmap+0x8c/0x11c

Change-Id: Icee67329c2dbbd05b10a7ddf0dcc4167191623d3
Signed-off-by: Xianhui Wang <xianhuiw@nvidia.com>
Reviewed-on: http://git-master/r/785721
(cherry picked from commit 306af7c0b904d04300c8a6e202bdf7eea6acd5af)
Reviewed-on: http://git-master/r/788691
Reviewed-by: Maneet Maneet Singh <mmaneetsingh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agoarm64: dts: hawkeye: Remove unused dt prop
Harry Lin [Thu, 20 Aug 2015 06:45:13 +0000]
arm64: dts: hawkeye: Remove unused dt prop

long-press-power-key-on-enable is deprecated.
We now use only long-press-power-key-on-time.

Bug 200111953

Change-Id: Ia779db97e203b30bf33fabf620a6b1fd7bba9eb4
Signed-off-by: Harry Lin <harlin@nvidia.com>
Reviewed-on: http://git-master/r/786378
(cherry picked from commit de93e92c64caa188d06a8e260f0f73ef7067a211)
Reviewed-on: http://git-master/r/796951
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agostaging: ozwpan: don't use audio priority for none audio packets
Om Prakash Singh [Sat, 16 May 2015 06:08:03 +0000]
staging: ozwpan: don't use audio priority for none audio packets

Bug 1522708
Bug 200094897

Change-Id: Ied5ec5f428084beddad110a8e11718d76e0fab38
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/743515
(cherry picked from commit 233117f0474df197b87ba7b16b91e68d7e5cf4e5)
Reviewed-on: http://git-master/r/797628
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoRevert "arm64: tegra: loki: add derated dvfs tables"
Kerwin Wan [Mon, 14 Sep 2015 11:21:23 +0000]
Revert "arm64: tegra: loki: add derated dvfs tables"

This reverts commit 12c291f8a9efa88b4c5b27f3b7d5182f20fa8060
since it causes SC7 (LP0) instability on Jetson platform

Bug 200132113
Bug 1541472
Bug 1588955

Change-Id: Ida88f61c6a0cf34390fb9d463e172c71840faedf
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/798699
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agoarm64: tegra: jetson_cv: add gpio expander for super module
Kerwin Wan [Mon, 14 Sep 2015 09:00:26 +0000]
arm64: tegra: jetson_cv: add gpio expander for super module

Bug 200129230

Change-Id: I8655e4f056002ac3c0cad9a4a689441d860d2514
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/798638
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agoclock: tegra21: add emc and gbus clocks for edp
Arul Sekar [Wed, 8 Jul 2015 17:09:42 +0000]
clock: tegra21: add emc and gbus clocks for edp

- Adding battery.emc and battery.gbus clocks
- Used by sysedp dynamic capping driver

Bug 1663616

Change-Id: I3055932fe08863bba9b1cddb7336b62feaa17d3e
Signed-off-by: Arul Sekar <aruls@nvidia.com>
Reviewed-on: http://git-master/r/767957
(cherry picked from commit 2d813efdd0d958e7ece6402af081e9c558075e9c)
Reviewed-on: http://git-master/r/781296
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agoHID: Fix Blake vibration
Spencer Sutterlin [Wed, 29 Jul 2015 19:03:11 +0000]
HID: Fix Blake vibration

Remove the check for application in HID report. Blake fails this
check and doesn't initialize Force Feedback.

Bug 1625921

Change-Id: Ifb4d7b82c63aee4535022d7b6bb697275b721ac1
Signed-off-by: Spencer Sutterlin <ssutterlin@nvidia.com>
Reviewed-on: http://git-master/r/776459
(cherry picked from commit 11dbd3089a693df4923244c2b83d13f0ee19d1b3)
Reviewed-on: http://git-master/r/792605
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>

4 years agoRevert "Revert "HID: remove extra kfree""
Spencer Sutterlin [Wed, 29 Jul 2015 19:12:26 +0000]
Revert "Revert "HID: remove extra kfree""

Needed to prevent system hangs when Blake disconnects/connects
with force feedback (FF) enabled

Bug 1625921

This reverts commit 4e22eef0777eddfef50687395c87997a16498aac.

Change-Id: Ie423f456a3305325a9f87d273eeb5511cf6092b7
Signed-off-by: Spencer Sutterlin <ssutterlin@nvidia.com>
Reviewed-on: http://git-master/r/776458
(cherry picked from commit dcfe20d7df7cd303c7c8fe8630e961b21574c970)
Reviewed-on: http://git-master/r/792604
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>

4 years agosoctherm: fix HW programming sequence on resume
navneet kumar [Mon, 3 Aug 2015 18:32:47 +0000]
soctherm: fix HW programming sequence on resume

program tsosc's after all the throttling and shutdown logic has been programmed.
Not following the right sequence may lead to surprise shutdowns at high temps
during suspend/resume, if the system's operating temp is greater than the HW
defaults at that time.

call prog_therm_threshold appropriately during resume. This fixes a bug wherein,
if board files are not used (device tree is used instead), config_variables
'num_trips', 'zone_enable' are left un-initialized, resulting in skipping threshold programming.

Change-Id: I2d9c22e4098a4362d3f3e4a272a8673d947407d8
Signed-off-by: navneet kumar <navneetk@nvidia.com>
Reviewed-on: http://git-master/r/778034
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>

4 years agotegra: fiq_debugger: add scripting in command line
dmitry pervushin [Wed, 3 Jun 2015 08:12:32 +0000]
tegra: fiq_debugger: add scripting in command line

New command-line parameter, fiq_debugger.script allows user to execute
some commands on fiq debugger popup.

This command will print a backtrace and then reset the machine

Bug 200097742
Bug 200081897

Reviewed-on: http://git-master/r/751784
(cherry picked from commit cdf42b8bf502d44691d55b000d9a1cbd5510ed19)
Signed-off-by: dmitry pervushin <dpervushin@nvidia.com>
Change-Id: Ia998081042128305e5f66eb2ad3b47ed73dc7290
Reviewed-on: http://git-master/r/769733
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dc: add db_tolerance into debugfs
Marvin Zhang [Thu, 14 May 2015 18:27:51 +0000]
video: tegra: dc: add db_tolerance into debugfs

Bug 1637861

DEPENDS ON: < None >

Change-Id: Ie00a15d836d65c03df2e78c1942a5fc52d989c94
Signed-off-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-on: http://git-master/r/742874
(cherry picked from commit c20464f2f4a3090e9047dbd89adc695345a3c46c)
Reviewed-on: http://git-master/r/771844
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dsi: poll for end of DC stream
Daniel Solomon [Tue, 18 Aug 2015 22:15:25 +0000]
video: tegra: dsi: poll for end of DC stream

The function tegra_dsi_stop_dc_stream_at_frame_end()
is used to stop the DC stream and block until either
this happens or a timeout occurs. To determine that
DC stream stopped, it waits for on a conditional
variable that gets signaled in dc_irq(). However, since
this function gets called in dc->mutex locked context,
dc_irq() cannot acquire the mutex in order to signal
the frame-end conditional variable, so the function
consistently times out. This causes a noticeable pause
in data stream to the display, which is a problem on
some displays.

Instead of using a conditional variable, switch to a
simple polling loop and wait on GENERAL_ACT_REQ to
clear. Polling time is expected to be short,
less than 1 frame, and happens only during major
transitions (display on/off, MIPI command
transmission, etc.).

Bug 1673450

Change-Id: Icdf457c72c45820f18f8a66b55c32d6b1a48f817
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/785601
(cherry picked from commit 44fa2c85094232c34f0afa4a05f05d0dd2017e83)
Reviewed-on: http://git-master/r/798459
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

4 years agopower: bq2419x: set JEITA voltage offset
Venkat Reddy Talla [Tue, 1 Sep 2015 16:15:51 +0000]
power: bq2419x: set JEITA voltage offset

Set JEITA voltage offset bit to limit battery charge
voltage when battery temperature measured above threshold

Bug 1647341

Change-Id: Ie041a861af052668bb41a99e6ae39061613f88aa
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/792535
(cherry picked from commit bd62b4475893b927db9dddd2e2d822f9107841c1)
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/798532
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agotegra-alt: adsp: wait for adsp ack on reset
Viraj Karandikar [Wed, 26 Aug 2015 11:54:55 +0000]
tegra-alt: adsp: wait for adsp ack on reset

Add mechanism to wait for ADSP acknowledgement.

ACK is requested when resetting to ensure that ADSP is
suspended only after APM stop processing is complete.
This prevents case of ADMA not getting stopped/reset
before suspend.

Bug 200130757

Change-Id: Ia86a31c996d40192210837e61aa95d8f920ee7f5
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/772220
(cherry picked from commit 72a04194685b299a959ecf64b92ba7f160e197f0)
Reviewed-on: http://git-master/r/795560
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agoplatform: tegra: nvdumper: add device info
Amit Sharma (SW-TEGRA) [Tue, 8 Sep 2015 09:58:14 +0000]
platform: tegra: nvdumper: add device info

API: nvdumper_regdump_{init/exit}() allocate/free a bounce buffer in/from DMA
Memory. For this nvdumper driver calls dma_{alloc/free}_coherent() API's with
first arg: device as NULL.

However, in order to monitor the DMA'able memory in debugfs: "/d/dma/usage",
we need the device name info of each such client which uses the DMA API's
like: dma_{alloc/free}_coherent. Therefore, declare a device struct and
pouplate it with missing device name info.

Bug 200134203

Change-Id: I1d13cf048241b584e5a78272062938cbe6e1e786
Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/795687
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoarm64: tegra21: configs: Enable Shield Remote HID Driver
Nagarjuna Kristam [Fri, 11 Sep 2015 08:57:57 +0000]
arm64: tegra21: configs: Enable Shield Remote HID Driver

Bug 200138599

Change-Id: I51b09b721f3c4a913679f4af8c3c0b56c70ed0bb
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/797610
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

4 years agoarm64: Removed unused variable
Richard Weinberger [Mon, 13 Apr 2015 18:40:10 +0000]
arm64: Removed unused variable

arch/arm64/kernel/signal.c: In function ‘handle_signal’:
arch/arm64/kernel/signal.c:290:22: warning: unused variable ‘thread’ [-Wunused-variable]

Fixes: arm64: Remove signal translation and exec_domain
Reported-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 97b2f0dc331474fb80ba4f4e4aee1d8e9ffbf7ce)

4 years agoRemove rest of exec domains.
Richard Weinberger [Sat, 11 Apr 2015 19:45:22 +0000]
Remove rest of exec domains.

It is gone from all archs, now we can remove
the final bits.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit 9058f3b326dbe8cd2ebea7f3cfe367b0d101039b)

Change-Id: Ibca4326cc39f6b238f20b5016746c8d02f06b096

4 years agoarch: Remove exec_domain from remaining archs
Richard Weinberger [Mon, 30 Mar 2015 05:30:38 +0000]
arch: Remove exec_domain from remaining archs

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit fa41b1c7dfa0453931afb32c9988af67a2ee28ae)

Change-Id: Ieaee8b0fcc62ab3c3ea742acc1ea70d2719183ff

4 years agoarc: Remove signal translation and exec_domain
Richard Weinberger [Fri, 27 Mar 2015 08:55:52 +0000]
arc: Remove signal translation and exec_domain

As execution domain support is gone we can remove
signal translation from the signal code and remove
exec_domain from thread_info.

Signed-off-by: Richard Weinberger <richard@nod.at>
(cherry picked from commit e6de3ca91cd7ee252ef271c96a4c480c1f3e071e)

Change-Id: I035fb455ed7d9cf5050be6cd6b2bb1908e40d1bc