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

add sysfs node for switching on/off therm_est activator.

Bug 1491412

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

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

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

Bug 200149755

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

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

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

Bug 1704546

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

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

Hawkeye FW version:
M90.5.2.12_B61366_NVidia_Hawkeye_MCFFillIn_STREAM.bin

Loki FW version:
M90.5.2.12_B61668_NVidia_Loki_MCFFillIn_STREAM.bin

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

Bug 200118587

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

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

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

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

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

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

Bug 200152820

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

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

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

Bug 200144977

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

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

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

Bug 1692738, 200143975

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

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

Make IMX132 1080p mode a true 1920x1080 mode

Bug 1662157

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

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

Rail-gate gpu rail during shutdown

Bug 1643199
Bug 200143203

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

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

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

Update OV5693 THS_PREPARE settings to meet MIPI
spec

Bug 200114169

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

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

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

bug 200148303

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

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

Remove the Disable MCC config

Bug 1693638

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

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

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

Bug 200145974

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

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

Flags added to pass kernel allocated buffer to secure world

bug 1647060

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

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

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

bug 1647060

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

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

bug 1637861

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

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

bug 1637861

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

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

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

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

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

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

Bug 1669968

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

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

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

Bug 1669968

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

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

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

Bug 1552469

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

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

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

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

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

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

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

Bug 200142989
Bug 200137963
Bug 1678611

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

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

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

Bug 1695353

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

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

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

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

Bug 1695353

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

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

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

Bug 1669968

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

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

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

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

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

Bug 1695353

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

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

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

Bug 1695353

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

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

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

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

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

Bug 1695353

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

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

Bug 1695353

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

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

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

Bug 1695353

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

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

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

Bug 1695353

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

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

Bug 1695353

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

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

add pinmux/gpio dtsi files for t210 darcy platform

Bug 1695353

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

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

Bug 1654140

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

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

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

Bug 200122028

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

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

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

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

Bug 200128282

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

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

FW version: M90.5.2.12_B61231_NVidia_Hawkeye_MCFFillIn_STREAM.bin

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

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

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

Audience require 32 bits/channel for power optimized routes.

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

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

Bug 200118587

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

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

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

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

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

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

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

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

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

bug 200148303

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

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

Bug 1703014

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

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

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

Bug 200137195

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

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

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

Bug 1684359

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

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

This reverts commit 607950189dae3f5696b4c1985eae05e7420c66c6.

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

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

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

Bug 200146310

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

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

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

Bug 200144358

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

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

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

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

Bug 200146188

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

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

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

bug 200146310

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

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

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

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

The commands properties are same as earlier.

bug 200146310

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

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

Add APIs to do system reset through PMC.

bug 200146310

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

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

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

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

bug 200146310

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

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

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

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

bug 200146310

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

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

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

Fix the index pointer handling to properly increment it.

bug 200146310

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

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

bug 200144270

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

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

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

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

Bug 200137195

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

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

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

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

Bug 1689933

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

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

Bug 200147578

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

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

Bug 1689413

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

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

Bug 1689413

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

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

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

Bug 1585349
Bug 1689413

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

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

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

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

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

Update FECS BL checksum

Bug 200149721

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

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

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

Bug 200148527
Bug 200151770

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

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

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

bug 200149181

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

3 years agoiio: light: Add WAKE_ON capability
Erik Lilliebjerg [Fri, 23 Oct 2015 08:44:23 +0000]
iio: light: Add WAKE_ON capability

- Add ability to wake AP from proximity (WAKE_ON) sensors.
- Add proximity debug dump.
- Add NVS light and proximity module versioning.
- Fix light enable initial poll delay.
- Add CM32180 ARA WAR device tree configuration option.  If enabled, the WAR
  does an ARA before every I2C transaction regardless of the interrupt GPIO
  status.  The DT option: ARA_WAR = <1>;
  This is an extension to the current WAR that tests the interrupt GPIO to
  determine if an ARA is needed.

Bug 200122255
Bug 200121777

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

3 years agoarm64: t210: disable cluster switch for t210
Aaron Huang [Fri, 6 Nov 2015 05:03:07 +0000]
arm64: t210: disable cluster switch for t210

Disable cluster switch on T210 platform to avoid stress issue
by unset CONFIG_TEGRA_HMP_CLUSTER_CONTROL.

Change-Id: Ia80655255e2c5dbed84d9809cbd201f8507faa1d
Signed-off-by: Aaron Huang <aaronh@nvidia.com>
Reviewed-on: http://git-master/r/828809
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
GVS: Gerrit_Virtual_Submit

3 years agoRevert "arm64: p2530: dts: use psci 0.1"
David Dastous St Hilaire [Tue, 13 Oct 2015 21:44:56 +0000]
Revert "arm64: p2530: dts: use psci 0.1"

This reverts commit b9a14a831e7867475dce6b20ebe702e1c578d55c.

Bug 1693556

Change-Id: I4d5c215adb892f0000d8bcf683d23346cd2cede8
Signed-off-by: David Dastous St Hilaire <ddastoussthi@nvidia.com>
Reviewed-on: http://git-master/r/817121
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mahesh Lagadapati <mlagadapati@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoARM: dts: change FG and charger node names
Venkat Reddy Talla [Fri, 6 Nov 2015 13:54:28 +0000]
ARM: dts: change FG and charger node names

change FG and charger node names to use proper battery
charger and battery gauge configuration.

Bug 200152203

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

3 years agoarm: tegra: config: add null encryption support
Kyle Wang [Tue, 3 Nov 2015 15:10:18 +0000]
arm: tegra: config: add null encryption support

enable CONFIG_CRYPTO_NULL for T124

Bug 1693165

Change-Id: I1574a09f336ddd401230d5baf31f8fc691a6b441
Signed-off-by: Kyle Wang <kylew@nvidia.com>
Reviewed-on: http://git-master/r/827342
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoDon't power up CPU0/CRAIL during LP0 resume
Robert Shih [Wed, 4 Nov 2015 03:26:17 +0000]
Don't power up CPU0/CRAIL during LP0 resume

If SW turn on CRAIL via PMC directly during LP0 resume,
need to trigger ram-repair request.

Warmboot bringup LP cluster and later let HW switch to
G cluster along with turn on CRAIL.

bug 1693385

Change-Id: Icf367f4cd5735fdd562432cd0cc2e64abc3918a1
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/827368
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

3 years agoRevert "video: tegra: set dc blank on display timeout"
Robert Shih [Fri, 6 Nov 2015 02:46:53 +0000]
Revert "video: tegra: set dc blank on display timeout"

bug 200136625
bug 200144212

This reverts commit 515af95849097ee75c2cf87fc9c6bc9478e8dd2c.

Change-Id: Ie625a6259831f4233ed085033f39605cb9670b6d
Signed-off-by: Robert Shih <rshih@nvidia.com>
Reviewed-on: http://git-master/r/828764
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agovideo: modedb: Fix sxga pclk
Animesh Kishore [Wed, 4 Nov 2015 06:16:24 +0000]
video: modedb: Fix sxga pclk

Bug 200111511

Change-Id: I799a71eae4f6b3236e7cc6e0606f2ce02ec0bc9f
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/827463
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

3 years agoarm64: tegra: remove unused platform
David Yu [Mon, 2 Nov 2015 05:07:10 +0000]
arm64: tegra: remove unused platform

Bug 200133974

Change-Id: I91f453c95b23c8bd26f2c5347edc8e2db5020f6b
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/826071
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

3 years agocpufreq: interactive: Fix governor start/stop race condition
Ian Chang [Fri, 30 Oct 2015 06:55:20 +0000]
cpufreq: interactive: Fix governor start/stop race condition

Ideally GOV_START and GOV_STOP should be synchronized.
To avoid calling multiple GOV_START, interactive governor
and cpufreq core has a flag, govoernor_enabled.
Use this flag in interactive governor to
synchronize GOV_START and GOV_STOP

bug 200148890

Change-Id: I3cbc6cd146a0c059a0f6d6ed0d6cab9e2fdbaaaf
Signed-off-by: Ian Chang <ianc@nvidia.com>
Reviewed-on: http://git-master/r/825193
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

3 years agopci: host: tegra: don't free pcie port stuctures
Vidya Sagar [Tue, 18 Aug 2015 15:08:05 +0000]
pci: host: tegra: don't free pcie port stuctures

some pcie port specific controls are present only in
rootport-0 registers which are applicable for all the ports
Hence, instead of freeing port specific structures, this patch
just disables the port on which no device is enumerated
As per MBIST bug, it also applies MBIST WAR for RP-0 always
even if there is no device enumerated on it

Bug 200122328

Change-Id: I2644144ba0e3be86abc25eeba70e86df0791231c
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/785436
(cherry picked from commit 0865f5492b1d60e457c3d928394a4e61d1eef5a0)
Reviewed-on: http://git-master/r/796900
(cherry picked from commit 4dccaa43a5cda8abcc2aa84079d353eeae5af181)
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/823464
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

3 years agoarm: tegra: t124: Enable CONFIG_NETFILTER_XT_TARGET_NFLOG
Mohan Thadikamalla [Wed, 4 Nov 2015 07:47:00 +0000]
arm: tegra: t124: Enable CONFIG_NETFILTER_XT_TARGET_NFLOG

Issue: CTS testCleartextNetwork test is fail due to
strict enable command failure from netd.

Fix: Enable pending NFLOG netlink filter for
strict enable command of netd.

Bug 200147480

Change-Id: Id4bb6a32f593750c68303434aab5d77a3c3bf564
Signed-off-by: Mohan Thadikamalla <mohant@nvidia.com>
Reviewed-on: http://git-master/r/827517
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agogpu: nvgpu: Use gradual slowdown
Terje Bergstrom [Fri, 16 Oct 2015 22:24:50 +0000]
gpu: nvgpu: Use gradual slowdown

Program clock slowdown to happen using gradual slowdown. It is
significantly faster than the default slowdown.

Change-Id: I9e5259889637fce2c0b083a424b54af12bb45c25
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/819792
(cherry picked from commit aee586151e6a353483397eca6a3e8fd968acd3e0)
Reviewed-on: http://git-master/r/821581
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>

3 years agodrivers: hid: Disable haptics on blake
Ankita Garg [Wed, 14 Oct 2015 20:05:45 +0000]
drivers: hid: Disable haptics on blake

Bug 1694535

Change-Id: I684a82bf8652cc8405b79dd09621c026825e4cf8
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/817736
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Toby Butzon <tbutzon@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoRevert "iio: proximity: SAR Stable Setting V1.2.3"
Todd Poynter [Thu, 5 Nov 2015 18:07:35 +0000]
Revert "iio: proximity: SAR Stable Setting V1.2.3"

This reverts commit 4e80f495892424d9c4bbd2be4afb19ee504fd02c.

Bug 1696152
Bug 1701337
Bug 200148519

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

3 years agoserial: add dynamic control for console write
Vaibhav Shinde [Thu, 30 Jul 2015 07:34:55 +0000]
serial: add dynamic control for console write

provides a sysfs interface to control console writes
of a respective terminal.
(/sys/class/tty/ttyS0/console_write_enable)

bug 200105105

Change-Id: I4df7efdf18b4949ee93b34fb75360c3471018569
(cherry picked from commit 6ecbf6656530a062c5cdc82d6dc47da65b308819)
Signed-off-by: Vaibhav Shinde <vashinde@nvidia.com>
Reviewed-on: http://git-master/r/776665
Reviewed-on: http://git-master/r/826896
Reviewed-by: Dhiren Parmar <dparmar@nvidia.com>
Tested-by: Dhiren Parmar <dparmar@nvidia.com>
Reviewed-by: Gagan Grover <ggrover@nvidia.com>

3 years agoARM64: foster: Add camera support
Frank Chen [Tue, 3 Nov 2015 21:48:00 +0000]
ARM64: foster: Add camera support

Even Foster does not have built-in cameras
we still need to create power service device
node for SCF in case user plug in an USB camera.

bug 200132491

Change-Id: Ic4f04953d146b9a0312b1fdac808b524bc78abea
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/827218
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>

3 years agoarm: config: tegra12: enable PNO / scheduled scan
Michael Hsu [Thu, 29 Oct 2015 19:10:59 +0000]
arm: config: tegra12: enable PNO / scheduled scan

Bug 200149362

Change-Id: Iea69c5b63c94722d794f2830d771381df96a40c8
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/824974
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agohid: jarvis: fix misuse of memcpy
Xia Yang [Wed, 28 Oct 2015 20:28:22 +0000]
hid: jarvis: fix misuse of memcpy

Should use copy_to_user() instead of memcpy when copying from
kernel space to user space.

Bug 1695822

Change-Id: I697c0bd5045107b81b1c3b76108d73704c5e5c7e
Signed-off-by: Xia Yang <xiay@nvidia.com>
Reviewed-on: http://git-master/r/824970
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Rene Houle <rhoule@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

3 years agovideo: tegra: host: Add CSI-E/F settings for T210
Frank Chen [Thu, 8 Oct 2015 17:50:54 +0000]
video: tegra: host: Add CSI-E/F settings for T210

Add missing CSI-E and CSI-F watchdog and status register
settings for t210

bug 1654140
bug 200140820

Change-Id: Id0fb1cd782d7ffeb60a06368d39484785ad34bad
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/824955
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

3 years agonet: wireless: bcmdhd_88: Add custom scan policy.
Michael Hsu [Wed, 28 Oct 2015 02:17:45 +0000]
net: wireless: bcmdhd_88: Add custom scan policy.

Apply these scan policy patches from bcmdhd driver to bcmdhd_88 driver.

Patch 1:
> commit 33e09b9b14ea76ca4f8edbb64d8d38bb77d3c289
> Author: Michael Hsu <mhsu@nvidia.com>
> Date:   Mon Jan 12 16:22:17 2015 -0800
>
>     net: wireless: bcmdhd: Add custom scan policy.
>
>     Add sysfs node to allow wifi scan policies to be selected / added / removed.
>
>     Each wifi scan policy consists of:
>     - policy name
>     - one or more scan rules
>
>     Each wifi scan rule consists of:
>     - wait time before starting this scan rule
>     - scan parameters
>       -- home channel away time
>       -- number of probes per channel scan
>       -- active, passive scan time
>       -- home channel dwell time (between channel scans on non-home channel)
>       -- channel list to scan
>
>     Bug 1573165
>
>     Change-Id: I59c0fb563e5ec5677b76e05ea432214e405a51e4
>     Signed-off-by: Michael Hsu <mhsu@nvidia.com>
>     Reviewed-on: http://git-master/r/741981
>     (cherry picked from commit 243a5dba219b94d77e63db925e1746e8f9152d3d)
>     Reviewed-on: http://git-master/r/755270
>     Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
>     Tested-by: Ashutosh Jha <ajha@nvidia.com>

Patch 2:
> commit 2b97acc6ec1b818286f7f46a9a991afb173956af
> Author: nagaraj <nannaiah@nvidia.com>
> Date:   Fri Aug 14 19:44:15 2015 -0700
>
>     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>

Patch 3:
> commit 14b19b2ae860683b30b6b4d7fc13868003ef62ba
> Author: Michael Hsu <mhsu@nvidia.com>
> Date:   Wed Aug 5 19:34:58 2015 -0700
>
>     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>

Bug 200149362

Change-Id: Ib1529fde04cf04b31db858bfc07c9a228d78a3d0
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/824291
Reviewed-by: Nagaraj Annaiah <nannaiah@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

3 years agonet: wireless: bcmdhd: Fix country code map mem leak
Michael Hsu [Thu, 15 Oct 2015 02:14:52 +0000]
net: wireless: bcmdhd: Fix country code map mem leak

Free country code map buffer when adapter is removed.

Bug 200143482

Change-Id: Iab82b3b56ec07a99a3d3012b2931c51ddecbc502
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/817916
(cherry picked from commit acdfc670eae8d581075e3ca41064ab0bb8540d71)
Reviewed-on: http://git-master/r/823728
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agonet: sched: Enhanced Tegra Network Device Queue packet scheduling algorithm
Michael Hsu [Tue, 12 May 2015 00:54:19 +0000]
net: sched: Enhanced Tegra Network Device Queue packet scheduling algorithm

Tegra devices reserve highest priority queue for real-time network
devices, such as audio stream to a network (wifi) gaming controller.

Also control TCP RX by adding a divisor to the TCP window (causing the
TCP sendor to limit the traffic which it sends, i.e., thereby limiting
TCP RX).

Enhancements:
- added tcp window maximum value parameter
  (can be used instead of the tcp window divisor for limiting TCP RX)
- updated the TX bandwidth calculation algorithm

Bug 1689909

Change-Id: I19856c1233f4db9e47c7452cb8da4a607fab42c5
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/819323
Reviewed-by: Nagaraj Annaiah <nannaiah@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

3 years agodrivers: tegra: EMC floor control for userland
Sai Gurrappadi [Wed, 8 Apr 2015 17:33:51 +0000]
drivers: tegra: EMC floor control for userland

EMC freq floor can now be set via pmqos by doing:

echo "<emc_freq_khz>" > /dev/emc_freq_min

This change is a straight port of the equivalent T124 change:
d3626864ae9aca28b4f999ce3b35deb4c7a82ac5

Bug 1631192

Change-Id: Idd558602e9d6386970981290d14e660ba00c090e
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/729927
(cherry picked from commit b945e1e46895c4262e8df8812f5b334cee5b0b4a)
Reviewed-on: http://git-master/r/825152
Tested-by: Michael I Gold <gold@nvidia.com>
Reviewed-by: David Dastous St Hilaire <ddastoussthi@nvidia.com>
Reviewed-by: Michael I Gold <gold@nvidia.com>

3 years agovideo: tegra: hda: add missing return
Ravindra Lokhande [Tue, 27 Oct 2015 12:38:06 +0000]
video: tegra: hda: add missing return

return statement is needed else it will follow cleanup path.

Change-Id: I10669067240f14270665387021de196ecb3ee549
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/823463
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

3 years agoplatform: tegra: add new panel_cy8c param
Daniel Solomon [Wed, 14 Oct 2015 21:35:20 +0000]
platform: tegra: add new panel_cy8c param

Add "max-xfer-sz" parameter for the panel_cy8c driver.
This parameter indicates the maximum I2C chunk size based
on the platform's SoC and cy8cxxx microcontroller capabilities.

Bug 1679724

Change-Id: I2ed63f4c7f8e8aa8f3ab1530693af281c170d9c1
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/819305
(cherry picked from commit 7ea81eaa71e0ac2b947aa1c64a5b4868d2533ba2)
Reviewed-on: http://git-master/r/825777
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Aly Hirani <ahirani@nvidia.com>

3 years agoarm64: configs: t210: Enable TEGRA_PANEL_CY8C
Daniel Solomon [Thu, 24 Sep 2015 00:39:02 +0000]
arm64: configs: t210: Enable TEGRA_PANEL_CY8C

Enable CONFIG_CONFIG_TEGRA_PANEL_CY8C, driver for Cypress cy8cxxx
microcontrollers used to control display panel power sequences.

Bug 1679724

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

3 years agovideo: tegra: dc: fix changing min refresh rate
Daniel Solomon [Sat, 5 Sep 2015 04:24:05 +0000]
video: tegra: dc: fix changing min refresh rate

Fix ability to change minimum refresh rate during
runtime.

Bug 1682873

Change-Id: I6d1f38c0e7084557e50ce967649106a69d0c8392
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/794672
(cherry picked from commit 584f05bea8f88674f38c0f6fa719da449387d998)
Reviewed-on: http://git-master/r/805301
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agodc: mode : choose VRR native mode h&v ref_to_sync
Jonathan McCaffrey [Thu, 29 Oct 2015 15:51:15 +0000]
dc: mode : choose VRR native mode h&v ref_to_sync

For DSI panels, if VRR is initialized, set the v & h ref_to_sync values from
the VRR native mode.

This was previously not done ifdef CONFIG_TEGRA_HDMI2_0, which led to display
corruption with TEGRA_DC_EXT_FLIP_HEAD_FLAG_VRR_MODE set, the because the
v_ref_to_sync value was greater than v_front_porch_min,

Bug 1689933

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

3 years agoARM: tegra210: hawkeye: add support for display uC
Daniel Solomon [Thu, 24 Sep 2015 00:54:29 +0000]
ARM: tegra210: hawkeye: add support for display uC

Add support for the Cypress microcontroller used to
control display power sequences on Hawkeye A04.

Bug 1679724

Change-Id: I1437420bec07b755690d5aaa4deb20751372e975
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/804157
(cherry picked from commit 5e92670cbab1e7824b4b3eac305ca23be3e45904)
Reviewed-on: http://git-master/r/818546
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Aly Hirani <ahirani@nvidia.com>

3 years agoplatform: tegra: add cy8c_panel driver
Daniel Solomon [Wed, 23 Sep 2015 03:38:51 +0000]
platform: tegra: add cy8c_panel driver

Driver support for platforms using Cypress cy8cxxx microcontrollers
over I2C to control display panel power sequences.

Communication with the device and interfacing with userspace is based
on the cy8c_led driver, but added locks around I2C accesses and device
boot/app mode changes.

Bug 1679724

Change-Id: I4c31f331e489f07e5e639c5e00a8296c41617271
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/804155
(cherry picked from commit 9655888c50ff053411cf337b63a0df928aa417c9)
Reviewed-on: http://git-master/r/818538
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Aly Hirani <ahirani@nvidia.com>

3 years agoarm: tegra: enable Tegra WDT for T124
Mitch Luban [Tue, 3 Jun 2014 07:33:10 +0000]
arm: tegra: enable Tegra WDT for T124

Enables both tegra WDT as well as reboot on kernel panic. Reboot
on kernel panic has a timeout value of 60 seconds.

These mechanisms give us a high chance that we have DRAM retention
across resets. Important to gather ramoops and PTM traces.

Change-Id: If5f80c422e511f72430beaf83072a0e2f0b551d7
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/419514
(cherry picked from commit f8e114de5522ba58a1dbfd151eb147b902c401bc)
Reviewed-on: http://git-master/r/824005
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>

3 years agoarm64: DT: Disable periodic calibration for SD
Anubhav jain [Wed, 21 Oct 2015 07:31:43 +0000]
arm64: DT: Disable periodic calibration for SD

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