Revert "input: touch: maxim: fix daemon crashing issue"

This reverts commit 62a1c3b203c1ea1dded54187041002de0617462b.

Bug 404490

Change-Id: I9a49bd7b8d028c93da8e9b50d028e18f9aa0b53a
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/329439
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Revert "Revert "input: touch: maxim_sti: boot fusion from init""

This reverts commit 38de984126dad63a10e6fc95507bebe917ea0db0.

Bug 404490

Change-Id: I3b540b0c66c7978866f9216c2ddda877773c6b81
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/329440
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Revert "Revert "input: touch: maxim_sti: Shutdown safely""

This reverts commit ce2ba962988bacc50bba26896fd6e257a974a2ac.

Bug 404490

Change-Id: I9802181a1063f1b6a62a7a6926129044e75cd43f
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/329441
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Revert "Revert "input: touch: maxim_sti: Check thread stop condition""

This reverts commit 1bc450b4caa8c4278f1319762831c4eac9d35af2.

Bug 404490

Change-Id: I3741958a904b64e3e9ccd8d4b5d4607bb321805f
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/329442
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Revert "Revert "input: touch: maxim: fix daemon crashing issue""

This reverts commit 3fd9e9e13d7b931187749f458c5cc44ac3219bfa.

Bug 1404490

Change-Id: I0c4fd900842f411002b329429b71af1067ffad0e
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/330673
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Revert "Revert "Revert "input: touch: maxim_sti: boot fusion from init"""

This reverts commit ea70be4d831ccb26d02eaf7ed79c085923c52e98.

Bug 1404490

Change-Id: I270124945ec1037fef8c54938dfcb285939b7471
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/330674
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Revert "Revert "Revert "input: touch: maxim_sti: Shutdown safely"""

This reverts commit 7a44e63b7af9e134958fa8777f8df333b4c90269.

Bug 1404490

Change-Id: Id12842e727ec627f0e756aa7cbcdf515ff29da74
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/330675
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Revert "Revert "Revert "input: touch: maxim_sti: Check thread stop condition"""

This reverts commit 9ec2935d1e8b3a71a41bf383ca2e511aa24c7add.

Bug 1404490

Change-Id: I305597f88979da9cd6eceeef0b33bec9bef200c3
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/330676
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
input: touch: maxim: correct resume

Maxim code drop to correct overzealous reverts which will allow touch to work
after resume.

Bug 1404490
Bug 1402764

Change-Id: I2e44bdd0013e58e43b123dff5e5991ca57ea0b7d
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/330618
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
ARM: tegra: tegratab: Set proper VDDIO_DDR per SDRAM type

Set proper VDDIO_DDR voltage per SDRAM type.
Micron 1GB MT41K128M16-125 requires VDDIO_DDR 1.38V for stability
and Hynix 1GB H5TC2G63FFR-PBA requries VDDIO_DDR 1.35V on P1640.

Bug 1295511

Change-Id: I68e2a5e3e7d5457a5f16b6dd2f9d2ad682c8da25
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/331799
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
ARM: dts: tegra114: tegratab: Update Hynix dvfs table to v2.0

Updated Hynix 1GB H5TC2G63FFR-PBA dvfs table to v2.0.

Bug 1295511

Change-Id: Ic7cba88b3f7f3ad189ba3e110a9d85a496da249e
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/331800
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
ARM: tegra: tegratab: Update NTC thermistor table

ADC input impedance 750Kohm was applied to NTC thermistor table.

Bug 1287901
Bug 1401769

Change-Id: If8734d83e4dccd30905fbef3bb5c421dbd31b58c
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/329974
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
staging: iio: adc: palmas: Force calibrate ADC value

Force calibrate ADC value for only TegraTab.

Bug 1287901
Bug 1401769

Change-Id: I459f174afc93942104b887415bc42bb4e4d8af45
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/330985
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
ARM: tegra: tegratab: Update Tskin coeffs

Updated Tskin coefficients for after P1640 A02.

Bug 1287901
Bug 1401769

Change-Id: Idd6bd9dd443c59bf217b74b38402ff4478075f86
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/331673
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
ARM: dts: tegratab: update smooth_k_incr

Update PRISM smooth_k_incr to 4.

Bug 1401127

Change-Id: If29eb40211cb6f8f244bc1cd5f10e657cc6bc7ef
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/332417
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
spi: Dont call prepare/unprepare transfer if not populated

Currently the prepare/unprepare transfer are called unconditionally.
The assumption is that every driver using the spi core queue infrastructure
has to populate the prepare and unprepare functions. This encourages
drivers to populate empty functions to prevent crashing.
This patch prevents the call to prepare/unprepare if not populated.

Bug 1297342
Bug 1394476

Change-Id: I90ea3f18818eea7169d9d365ef26c61519debafb
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/240007
(cherry picked commit from mainline 7dfd2bd70228d1f8d468d58cb3d12ecd618479ed)
(cherry picked from commit c01241fe4c38dbc168c302c4ecde8703959b2890)
Reviewed-on: http://git-master/r/333032
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
arm: tegra: spi: Reduce latency between spi transactions

-Use SPI framework real time prioriry kernel thread
instead of driver workqueue for pumping messages
-Remove IST and move that functionality to RT thread

Bug 1297342
Bug 1394476

Change-Id: I026f9a88f3937c4077f938ce49a7431b7e170272
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/333033
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
media:video:tegra: ov5693 fuse ID is 8bytes.

The length of ov5693 fuseID is 8-bytes.

Bug 1399569

Change-Id: I1549156c0c070565ee88c0c74dd20ca4ad5631a4
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/334994
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
arm: tegra:active-standby:replace uid with cmdline

Use process cmdline to identify a listened socket port in tegra_
wakeup_monitor.Add IPV6 support on network filter.

Store_add_ports function in tegra wakeup monitor can add new pro-
gram to improve accuracy of nSaver apk wow statistics.

Bug 1185001
Bug 1230562

Change-Id: I73e69748adae901e0f7b4494a64a28406b35db28
(cherry picked from commit 61129a28e27bd4c5f794aa9af6903fd8ba68c746)

Change-Id: I522b77466128c94610859f061dce08444eab2d9a
(cherry picked from commit 8626206844aa3cf7f90e83c6c11e87520dccb84e)
Signed-off-by: Chun Xu <chunx@nvidia.com>
Reviewed-on: http://git-master/r/336173
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
active-standby: add cmdline into /proc/net/

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

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

Bug 1185001
Bug 1342554

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

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