4 years agoRevert "ARM: tegra: dummy change to trigger auto build" rel-tegranote-r8
Jake Park [Tue, 3 Feb 2015 08:15:13 +0000]
Revert "ARM: tegra: dummy change to trigger auto build"

This reverts commit 067695e59a142e7f7648484446b877d1da3d19cc.

Change-Id: I250363e33e53c83fd4be51d9e64d2a913a1b5c12
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/680514

4 years agoARM: tegra: dummy change to trigger auto build
Harry Hong [Fri, 14 Nov 2014 02:19:10 +0000]
ARM: tegra: dummy change to trigger auto build

Change-Id: I09db4443c62995dfb41e06aa118bdb30b33aba39
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/603162
Reviewed-by: Automatic_Commit_Validation_User

4 years agoRevert "mmc: core: disable sanitize operation." daily-2014.11.13.0_rel-tegranote-r8-partner
Harry Hong [Tue, 21 Oct 2014 02:44:09 +0000]
Revert "mmc: core: disable sanitize operation."
This reverts commit 625cef6510b7c65fd043738fce577e017b415c0d.

Bug 1567183

Change-Id: I02f2b3cd20cc492737641632d9dace2a9702d2c8
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/559682

4 years agoASoC:Tegra: AHUB connection for BT voice call daily-2014.08.05.0_rel-tegranote-r8-partner daily-2014.08.07.1_rel-tegranote-r8-partner daily-2014.08.11.0_rel-tegranote-r8-partner daily-2014.08.14.0_rel-tegranote-r8-partner
Viswanath L [Fri, 25 Jul 2014 07:39:31 +0000]
ASoC:Tegra: AHUB connection for BT voice call

Provide unconditional DL path for BT voice call

Bug 200021925

Change-Id: I9beec87d9d672ddbe946417aed0f393c01a6b29c
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/447503
Reviewed-by: Alvin Park <apark@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agoARM:tegra:TN7: Correct gpio type for PK6 of fixed_reg
Harry Hong [Thu, 24 Jul 2014 07:20:37 +0000]
ARM:tegra:TN7: Correct gpio type for PK6 of fixed_reg

Haven't seen any issue to control this gpio in TN7.
however, correct it as it's correct.

Change-Id: I4e1d63f62b6d0ef13d9c83941a741d89c8adf4b1
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/441694

4 years agovideo: tegra: add debug info
Harry Hong [Thu, 24 Jul 2014 02:20:24 +0000]
video: tegra: add debug info

Printing HDMI_5V0 enable/disable.

Bug 200008754

Change-Id: I370fc2afa7f0dd50610cd9a602a790cedefe9bfb
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/441566

4 years agoregulator: palmas: add debug info
Harry Hong [Mon, 21 Jul 2014 02:16:37 +0000]
regulator: palmas: add debug info

Printing smps10_ctrl&status reg value at read/write.

Bug 200008754

Change-Id: I6bde6506880e816d99c4c4c55d9a8d3987d71c8f
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/440141

4 years agoregulator: palmas: change smps10_is_enabled logic
Harry Hong [Fri, 18 Jul 2014 07:17:00 +0000]
regulator: palmas: change smps10_is_enabled logic

In order to check smps10_out1 enabling, read smps10_ctrl instead of
smps10_status.

In factory line, few board has no smps10_out1 output.
dc driver definitely enable smps10_out1 during booting and
disable/re-enable at suspend/resume.
No repro in SQA side and no chance to get the additional log
to identify this issue.
So, apply this change for the possible cause of it because
smps10_out1 will not be enabled if smps10_status reports true.

Bug 200008754

Change-Id: Icc39f1662ee274fbf2d6154811603cb3e7d12984
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/439717

4 years agostaging:iio:ltr659ps: add wake lock
Hyong Bin Kim [Tue, 15 Jul 2014 12:00:47 +0000]
staging:iio:ltr659ps: add wake lock

Prox state is changed during go into suspend, device loose it state.
Add wake lock 1 sec to prevent suspend when interrupt occur.

bug 200020300

Change-Id: I34901f4e32de9156ebbe36bf72b8d448f3f8fe9c
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/438143
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jackie Chen <jackchen@nvidia.com>
Tested-by: Jackie Chen <jackchen@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

4 years agodriver:tn7c:key event log is self-explanatory
Danny Song [Mon, 16 Jun 2014 07:39:03 +0000]
driver:tn7c:key event log is self-explanatory

Add log to indicate the power key event.
Update the log info to be self-explanatory.
Bug 200011910
Bug 200012680

Change-Id: Ic06878fc65402c0b4d585967b0f0c7a22e41935c
Signed-off-by: Danny Song <dsong@nvidia.com>
Reviewed-on: http://git-master/r/423608
Reviewed-on: http://git-master/r/435525

4 years agodriver:tn7c:add log to indicate the power key event
Danny Song [Fri, 13 Jun 2014 02:07:36 +0000]
driver:tn7c:add log to indicate the power key event

Add log to indicate the power key event.
Bug 200011910
Bug 200012680

Change-Id: I462d4f1655529c0e964b77812d55d248be541eec
Signed-off-by: Danny Song <dsong@nvidia.com>
Reviewed-on: http://git-master/r/422752
GVS: Gerrit_Virtual_Submit
Reviewed-on: http://git-master/r/435524

4 years agoWAR 1490685
BK Kim [Wed, 2 Apr 2014 08:59:18 +0000]
WAR 1490685

To avoid error on csi, we do mipi calibration,
while camera is not on.

Bug 1490685
Bug 1504262
Change-Id: I91adb3da0ae54ccb4e0963f1f3f3cf933a292830
Signed-off-by: BK Kim <bkk@nvidia.com>
Reviewed-on: http://git-lge/r/1550
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>
Reviewed-on: http://git-master/r/435540

4 years agovideo: tegra: dc: fix nvsd smooth_k handling
Daniel Solomon [Fri, 18 Apr 2014 04:15:01 +0000]
video: tegra: dc: fix nvsd smooth_k handling

When smooth_k is enabled, the NVSD driver determines
that hardware pixel gain and brightness calculations
are complete when it sees to consecutive and equal
brightness values. However, since multiple raw K
values are mapped to a single brightness value,
this check can be misleading.

To fix this, we continue checking for new brightness
values for a few additional frames after seeing repeating
brightness results. The number of frames is calculated
from smooth_k_incr.

Bug 1502587

Change-Id: I97f2ecd77398cf441ac720b6e306e0a1c89eed5d
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/423871
(cherry picked from commit ce039a7a6d0f0b3764dc1e719b297fc37e343f45)
Reviewed-on: http://git-master/r/435077
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agoARM: tegra:TN7/TN7CW enable E2542 debug board
Harry Hong [Mon, 7 Jul 2014 05:01:51 +0000]
ARM: tegra:TN7/TN7CW enable E2542 debug board

if debug uart is set to 5, just mux sdcard mmc pins to UART-A.

Bug 200018501

Change-Id: I22f05b38f772feb0483b1ce7c6fbbea85f884e3c
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/434972

4 years agoarm: tegra: update Maxim touch AVDD range
djung [Tue, 24 Jun 2014 21:00:45 +0000]
arm: tegra: update Maxim touch AVDD range

Nvidia changes to update Maxim touch AVDD range.

Bug 1522154
Bug 200006060
Bug 1522162
Bug 1444604
Bug 1493749

Change-Id: If8642c11a6e341cf011b1f01e3884512d067549f
Signed-off-by: djung <djung@nvidia.com>
Reviewed-on: http://git-master/r/427870
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agoinput: touch: maxim: update avdd to 3.3V
djung [Tue, 24 Jun 2014 21:08:36 +0000]
input: touch: maxim: update avdd to 3.3V

Nvidia changes to update Maxim touch AVDD voltage setting.

Bug 1522154
Bug 200006060
Bug 1522162
Bug 1444604
Bug 1493749

Change-Id: I8a6d349fe9ceead294505597155e9fbb1323e1af
Signed-off-by: djung <djung@nvidia.com>
Reviewed-on: http://git-master/r/427871
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

4 years agoUSB: Phy: tegra: Enable POSTAMBLE_OUTPUT for HSIC
Martin Chi [Sat, 28 Jun 2014 02:05:06 +0000]
USB: Phy: tegra: Enable POSTAMBLE_OUTPUT for HSIC

As part of Phy power_on the POSTAMBLE_OUTPUT_ENABLE
should be set for HSIC.

Bug 200008073

Change-Id: I925cd632bcf5b1d10e5390c755d485adf623e745
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/432201
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gray Lei <glei@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>

4 years agosound: Add blacklist for audio devices
Jun Yan [Tue, 25 Mar 2014 02:10:32 +0000]
sound: Add blacklist for audio devices

Prevent specified audio devices from sending
uevents upon connection/disconnection.

Bug 1474213
Bug 1466757
Bug 200013027

Change-Id: I532968ed9717dc18db62671deedd60bb4a38463e
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/385931
(cherry picked from commit 553636416a0700b354385d7a508d67653814272d)
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428777
Reviewed-by: Alvin Park <apark@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

4 years agoRevert "staging:ozwpan: Merge from main"
Kenneth Kwak [Wed, 25 Jun 2014 04:43:08 +0000]
Revert "staging:ozwpan: Merge from main"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 5303a5b7be5e1973152f9899c3b240f4118aa0ca.

Change-Id: I6274a3ae3699ac78a6facd4d57b72681b85511a5
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428085
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "arm: tegra: Enable the ozwpan(USB HCD) driver"
Kenneth Kwak [Wed, 25 Jun 2014 04:42:24 +0000]
Revert "arm: tegra: Enable the ozwpan(USB HCD) driver"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 8e486e05ceb575f9aa4cc3751e2ffebace09cf6b.

Change-Id: I23ce80e1bdc64e2c7635a3f7b7eb72da9d15d240
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428084
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "staging: ozwpan: Add udev event to userspace."
Kenneth Kwak [Wed, 25 Jun 2014 04:40:42 +0000]
Revert "staging: ozwpan: Add udev event to userspace."

DO NOT INTEGRATE

Bug 1466757

This reverts commit 9f19268f389d16846713471dd5914bd269e1002c.

Change-Id: I42b130e06ab5103715fdc45c955071d62dcf76f0
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428083
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "staging: ozwpan: Update to latest drop"
Kenneth Kwak [Wed, 25 Jun 2014 04:39:56 +0000]
Revert "staging: ozwpan: Update to latest drop"

DO NOT INTEGRATE

Bug 1466757

This reverts commit f989de509c5c92d9d6f1b60ab44877f8b4f4a8fb.

Change-Id: Ica2944c936a14b643ffb7232fd50f9145e3daae9
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428082
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "staging: ozwpan: handle race in remove binding"
Kenneth Kwak [Wed, 25 Jun 2014 04:39:07 +0000]
Revert "staging: ozwpan: handle race in remove binding"

DO NOT INTEGRATE

Bug 1466757

This reverts commit b9896d8e565fb27f3e690556d6bd55d268f32470.

Change-Id: I118c3633d23822c41be5a2d9c5cce4ef423640b2
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428081
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "staging: ozwpan: add net device notifier"
Kenneth Kwak [Wed, 25 Jun 2014 04:38:25 +0000]
Revert "staging: ozwpan: add net device notifier"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 14d9ab730e79a6a02f2737aaf77888d18881d322.

Change-Id: I66165659c999a60a48f615eff4de3c1c7e07bb7f
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428078
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "hid: Driver for Nvidia Shield joystick"
Kenneth Kwak [Wed, 25 Jun 2014 04:37:31 +0000]
Revert "hid: Driver for Nvidia Shield joystick"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 97fb92fdabfdf799a1da4838cbc52bdbbb840e45.

Change-Id: Ia553b7bc713efc8acd08a85f74cfb7ddc7a64c15
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428077
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "hid: hid driver for Blake Controller"
Kenneth Kwak [Wed, 25 Jun 2014 04:36:44 +0000]
Revert "hid: hid driver for Blake Controller"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 31223fc9c52af0713f7409cbbd7255fe287bf563.

Change-Id: I9a9d3f61d0fef35acd001a533954a92dfdc7477c
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428076
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "hid: Nvidia shield joystic and Blake controller"
Kenneth Kwak [Wed, 25 Jun 2014 04:33:39 +0000]
Revert "hid: Nvidia shield joystic and Blake controller"

DO NOT INTEGRATE

Bug 1466757

This reverts commit a96c9be87c663e1ec7b4105bb30a3c77357f405e.

Change-Id: Ibeae9abe43ec747853bbf25cd79c420b0bdf7da0
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428072
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "HID: Bump maximum global item tag report size to 128 bytes"
Kenneth Kwak [Wed, 25 Jun 2014 04:32:38 +0000]
Revert "HID: Bump maximum global item tag report size to 128 bytes"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 5ac84f19d95ccde8725dc828073bb1aadeb80fab.

Change-Id: I9dbd047a4874d943121b736016c7c5bb9254cd00
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428071
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "drivers: hid: Add modes for Blake Controller"
Kenneth Kwak [Wed, 25 Jun 2014 04:31:45 +0000]
Revert "drivers: hid: Add modes for Blake Controller"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 96c0b4253bf6dd331983250c5d92e96a74f794ba.

Change-Id: Ie1b04bf75cca8e919b1902722b7abf2104bc69f1
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428070
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "HID: usbhid: add safety check at _report"
Kenneth Kwak [Wed, 25 Jun 2014 04:30:53 +0000]
Revert "HID: usbhid: add safety check at _report"

DO NOT INTEGRATE

Bug 1466757

This reverts commit fd35fa2f2145ddc0a0cde5bc09c7483841f68613.

Change-Id: I7d83463345f5c24fdafe693b63082418bf19a230
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428069
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "HID: add remove function in nv hidraw"
Kenneth Kwak [Wed, 25 Jun 2014 04:29:51 +0000]
Revert "HID: add remove function in nv hidraw"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 7ccccf232f78411846dfd617121f12d212c57c81.

Change-Id: I826a7cb256b05f5495191119bd05e3ce9a71423a
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428068
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "drivers: hid: Update blake driver with FF and improved UX"
Kenneth Kwak [Wed, 25 Jun 2014 04:28:50 +0000]
Revert "drivers: hid: Update blake driver with FF and improved UX"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 44f8a9e1b9cb6ef709735ac247a2460a79624a80.

Change-Id: Ia8dd511636343dd8b1d484add87354c73bf59543
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428067
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "HID: Extend the interface with report requests"
Kenneth Kwak [Wed, 25 Jun 2014 04:21:50 +0000]
Revert "HID: Extend the interface with report requests"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 2a698014d1e170b736237ad7f7caf046295c413b.

Change-Id: Ib68e1c3c9ff3c6f2e75a27741b1a197fceb38d20
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428063
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "HID: Exporting hidinput_calc_ads_res"
Kenneth Kwak [Wed, 25 Jun 2014 04:36:02 +0000]
Revert "HID: Exporting hidinput_calc_ads_res"

DO NOT INTEGRATE

Bug 1466757

This reverts commit e5ab87ee1c4f0c3f8557ddde3be07d43b94aae07.

Change-Id: I2805688d8be8b2b3bc67e408a5556970f38bd0af
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428075
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "HID: Handle driver-specific device descriptor in core"
Kenneth Kwak [Wed, 25 Jun 2014 04:35:12 +0000]
Revert "HID: Handle driver-specific device descriptor in core"

DO NOT INTEGRATE

Bug 1466757

This reverts commit 37ad3e3e97d734e74e071bf5e8796b22e16814e4.

Change-Id: I709cd76ccc70aee7d768ace2463b85049cc420f3
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428074
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoRevert "arm: config: Enable NVIDIA hid driver"
Kenneth Kwak [Wed, 25 Jun 2014 04:34:23 +0000]
Revert "arm: config: Enable NVIDIA hid driver"

DO NOT INTEGRATE

Bug 1466757

This reverts commit cf56f98a8147c0de6f6d393248d559054523a6d7.

Change-Id: I8cde71bc6cf21408a21b182c49ce7b72ddb120a9
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428073
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Kim <pekim@nvidia.com>

4 years agoinput: touch: maxim: update power sequence
djung [Fri, 6 Jun 2014 23:05:18 +0000]
input: touch: maxim: update power sequence

Updated touch power sequence to stay within tolerances.

Bug 15221534

Change-Id: Ic35bf958c5e93a1a8a454985be357eb3a8e866af
Signed-off-by: djung <djung@nvidia.com>
Reviewed-on: http://git-master/r/426695
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agoRevert "mach: tegra: Increase touch avdd voltage TN7C/TN7"
David Pu [Sat, 14 Jun 2014 08:31:52 +0000]
Revert "mach: tegra: Increase touch avdd voltage TN7C/TN7"

This reverts commit 15f372c27c5c5803a3b129e9fd5bfdc791f701ba.

Bug 200006060

Signed-off-by: djung <djung@nvidia.com>
Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: Id83812e5ee6bb2d12294b8b6c9bf0da7b0f8dbe4
Reviewed-on: http://git-master/r/423469
(cherry picked from commit efa282dc48a4c3a2437fa79d1767c357af8fd7ca)
Reviewed-on: http://git-master/r/426233
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agomedia:video:tegra: adjusting ov5693 sensor setting
Karl Kim [Wed, 28 May 2014 06:45:36 +0000]
media:video:tegra: adjusting ov5693 sensor setting

Center offset is different each sensor mode.

Bug 200005968

Change-Id: I3a80abaacd71d05dae66bf30612899f2c50a101f
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/415657
(cherry picked from commit 9d422ac409bab00ea307587a17b575b9f159cef7)
Reviewed-on: http://git-master/r/426540
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Kim <pekim@nvidia.com>

4 years agomach: tegra: set LDO4 as boot on.
David Pu [Thu, 5 Jun 2014 06:42:27 +0000]
mach: tegra: set LDO4 as boot on.

LDO4 is turned on from bootloader to meet TS power on sequence.

Bug 200006060

Change-Id: I2ad2fb5b287f9c66fdff7d4123dec2e1c7476e77
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/419337
(cherry picked from commit 8540c6a74bb3a3efdb4507d0846a34d54d14f8c7)
Reviewed-on: http://git-master/r/424447
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agomach: tegra: set LDO4 as boot on.
David Pu [Fri, 6 Jun 2014 10:13:24 +0000]
mach: tegra: set LDO4 as boot on.

LDO4 is turned on from bootloader to meet TS power on sequence.

Bug 200006060

Change-Id: Ic5ece836d940e763da7c6a176bbe33efae6b706b
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/419977
(cherry picked from commit 737fe12882b78d0d515082fa8111e133d1163897)
Reviewed-on: http://git-master/r/424452
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agoinput: touch: maxim:added 6s delay before touch_fusion.
David Pu [Thu, 12 Jun 2014 04:36:36 +0000]
input: touch: maxim:added 6s delay before touch_fusion.

added 6s delay to fork touch_fusion process to make sure hardware is
ready before calibration.

Bug 200006060

Change-Id: I6b24d2e4a7fa85165c76eb5badb7538e40021e7f
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/423472
(cherry picked from commit 1abe1e63e61dc8f074fcd7eb8b28baaa3fa4a2ec)
Reviewed-on: http://git-master/r/424451
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agoarm: dts: tegranote: cmu disable for dc1
Min-wuk Lee [Fri, 13 Jun 2014 07:11:08 +0000]
arm: dts: tegranote: cmu disable for dc1

This will set change color correction preset
for HDMI to Native in default.

Bug 200012828

Change-Id: I7edb018da3a76aac3146627a76c7a7f48bfe3392
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/423141
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

4 years agoHID: Extend the interface with report requests
Henrik Rydberg [Mon, 25 Feb 2013 10:31:43 +0000]
HID: Extend the interface with report requests

Some drivers send reports directly to underlying device, creating an
unwanted dependency on the underlying transport layer. This patch adds
hid_hw_request() to the interface, thereby removing usbhid from the
lion share of the drivers.

Bug 1466757

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
(cherry picked from commit e90a6df80dc45ab53d2f4f4db297434e48c0208e)

Change-Id: I1c18daaf177c116e0665e16280199595f9b26dbd
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/411358
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417528
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agodrivers: hid: Update blake driver with FF and improved UX
Ben Goska [Fri, 16 May 2014 21:14:35 +0000]
drivers: hid: Update blake driver with FF and improved UX

Make changes to the blake driver to support new features that were
enabled with new FW. This includes:
 - Force feedback enablement
 - Touchpad tweaking to improve UX
 - New hid report support

Bug 1456586
Bug 1481171
Bug 1504937
Bug 1514012
Bug 1466757

Change-Id: Ibff4c23131cc341aa0400a28b47e740019d293b5
Signed-off-by: Ben Goska <bgoska@nvidia.com>
Reviewed-on: http://git-master/r/411102
(cherry picked from commit 3a34df6344390697b346c0b05f75e83117293894)
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/411357
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417527
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoHID: add remove function in nv hidraw
Vinayak Pane [Wed, 14 May 2014 00:23:22 +0000]
HID: add remove function in nv hidraw

Adding remove function to remove sysfs attribute nodes
when blake is disconnected.

Bug 200003632
Bug 1466757

Change-Id: I5bf571176d2653b9f74f548775da904ef93007c8
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/410596
(cherry picked from commit 9904c21f42b14f3675c27ef2646eae669440bd07)
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/411356
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417526
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoHID: usbhid: add safety check at _report
Vinayak Pane [Fri, 2 May 2014 23:21:10 +0000]
HID: usbhid: add safety check at _report

Add device disconnect check in usbhid_get_raw_report()

Bug 200000762
Bug 1466757

Change-Id: Ia56a5ba746ee197a0be967f4cb09e38e44be8a8f
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/409171
(cherry picked from commit 0c3a4ca1741ee9c1175af23e27ca0463c05c9872)
Reviewed-on: http://git-master/r/411355
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417525
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agodrivers: hid: Add modes for Blake Controller
Jun Yan [Tue, 22 Apr 2014 19:34:02 +0000]
drivers: hid: Add modes for Blake Controller

-Mouse Mode(Default on KK): trackpad is functioning as
 a mouse.

-Gesture Mode(Default on KKWT): trackpad is functioning
 as a D-pad.

-Absolute Mode: trackpad is sending absolute coordinates
 as ABS_X and ABS_Y.

-Disabled Mode: trackpad will not send anything to host.

Bug 1503137
Bug 1466757

Change-Id: Ifd007af18cafc0e1c34ba335cae9ee59e34e9e9f
Signed-off-by: Jun Yan <juyan@nvidia.com>
(cherry picked from commit a5c530a7f961c5c07b286766955cee37f919215e)
Reviewed-on: http://git-master/r/411354
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417524
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoHID: Bump maximum global item tag report size to 128 bytes
Marek Vasut [Sun, 5 Aug 2012 21:57:14 +0000]
HID: Bump maximum global item tag report size to 128 bytes

The Freescale i.MX28 BootROM USB recovery mode implements the USB HID
protocol, yet the global item tag report size is 128. Linux checks if
this is 96 as of now, see [1]. This causes Linux to refuse to communicate
with this device, making it impossible to use the recovery mode.

This is not a standard HID device per se, but rather a software emulation
implemented within the BootROM code and realized through USB OTG-capable
port switched to device mode present on the device.

Previous attempt to discuss this issue dates back to 2011, see [2]. There
has been not much response. Also noteworthy is the [3], where there seems
to be a pointing device that has issue similar to this one.

The tool making use of the USB recovery mode is available at [4].

[1] http://comments.gmane.org/gmane.linux.kernel.input/22328
[2] http://www.spinics.net/lists/linux-usb/msg43463.html
[3] https://bbs.archlinux.org/viewtopic.php?pid=1141340
[4] http://git.bfuser.eu/?p=marex/mxsldr.git;a=summary

Bug 1466757
Bug 1506725

Change-Id: I32fb3e0e96c1509e445e5a073823ed06acd9db2c
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chen Peter <B29397@freescale.com>
Cc: Greg KH <greg@kroah.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Reviewed-on: http://git-master/r/402097
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417523
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agohid: Nvidia shield joystic and Blake controller
Kenneth Kwak [Thu, 24 Apr 2014 07:03:18 +0000]
hid: Nvidia shield joystic and Blake controller

module_init() and module_exit() replace module_hid_driver().
module_hid_driver() is not applicable on kernel 3.4

Bug 1466757

Change-Id: I29e6600f1b32b406bc23c628c4ddb0b278f3daa2
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/401212
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417522
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoarm: config: Enable NVIDIA hid driver
Kenneth Kwak [Tue, 22 Apr 2014 08:50:32 +0000]
arm: config: Enable NVIDIA hid driver

Enable NVIDIA hid driver for better gaming
expereience on NVIDIA controllers,
refering to http://git-master/r/#/c/339542/

Bug 1466757

Change-Id: Ibd5058af4afb28efdfe4915f92bef306e773a326
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/401211
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417521
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoHID: Handle driver-specific device descriptor in core
Henrik Rydberg [Sun, 22 Apr 2012 12:21:40 +0000]
HID: Handle driver-specific device descriptor in core

The low-level driver can read the report descriptor, but it cannot
determine driver-specific changes to it. The hid core can fixup
and parse the report descriptor during driver attach, but does
not have direct access to the descriptor when doing so.

To be able to handle attach/detach of hid drivers properly,
a semantic change to hid_parse_report() is needed. This function has
been used in two ways, both as descriptor reader in the ll drivers and
as a parsor in the probe of the drivers. This patch splits the usage
by introducing hid_open_report(), and modifies the hid_parse() macro
to call hid_open_report() instead. The only usage of hid_parse_report()
is then to read and store the device descriptor. As a consequence, we
can handle the report fixups automatically inside the hid core.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Tested-by: Nikolai Kondrashov <spbnick@gmail.com>
Tested-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
(cherry picked from commit a7197c2e4120ce40e7e3f5580336b9a1dc791220)

Change-Id: Ic94c28390c8207da74ab80895100cd076a5532f9
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/401210
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417520
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoHID: Exporting hidinput_calc_ads_res
Kenneth Kwak [Tue, 22 Apr 2014 09:38:29 +0000]
HID: Exporting hidinput_calc_ads_res

Export hidinput_calc_abs_res to allow us to calculate
resolution in other drivers.
Only getting exporting code from
(commit id: 37cf6e6fc34e2fca4e7c565697e7cd5c317bc316)

Bug 1466757

Change-Id: Ic07922fa53f26634c3b402d669256e03c45f4789
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/401209
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417519
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agohid: hid driver for Blake Controller
Jun Yan [Fri, 11 Apr 2014 00:09:23 +0000]
hid: hid driver for Blake Controller

-Converted absolute coordinates to REL events.
-Adjusted blake joystick parameters to increase
granularity.

Bug 1487225
Bug 1466757

Change-Id: I3f90e79e5519a74d46947ef851b126cca4070719
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/394924
(cherry picked from commit ed1bc9b9e6f5d38476ba97f10102b602c9b92aac)
Reviewed-on: http://git-master/r/401208
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417518
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agohid: Driver for Nvidia Shield joystick
Jun Yan [Mon, 25 Nov 2013 21:59:13 +0000]
hid: Driver for Nvidia Shield joystick

In order to customize the flat and fuzz of the
joystick, create an separate hid driver for
Shield joystick. It does the same hid mapping
with hid-input.c but only changes the flat and
fuzz configurations.

Bug 1352488
Bug 1466757

Change-Id: Ide6d37eeeffac9a7150fb257d30f348599794c4c
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/335198
(cherry picked from commit e0e74a97241af85468858cdd79fd4ba994804007)
Reviewed-on: http://git-master/r/401207
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417517
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agostaging: ozwpan: add net device notifier
Bibhay Ranjan [Tue, 18 Mar 2014 08:24:54 +0000]
staging: ozwpan: add net device notifier

add notifier function to remove p2p netdevice binding on
NETDEV_DOWN or NETDEV_UNREGISTER events

Bug 1478118
Bug 1470921
Bug 1466757

Change-Id: I6a18c65ee45affeaa6f459b656888c1c52d2fd3b
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/368141
(cherry picked from commit 28d61853e7f35e80ba11784eceb83acd1a870fac)
Reviewed-on: http://git-master/r/401206
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417516
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agostaging: ozwpan: handle race in remove binding
Vinayak Pane [Tue, 11 Mar 2014 20:28:42 +0000]
staging: ozwpan: handle race in remove binding

Make sure we remove node from list while we still
hold lock.

Bug 1474422
Bug 1466757

Change-Id: I7e23f6432f347937b1883ea086e55f5c324fc985
Signed-off-by: Rupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/380497
(cherry picked from commit 466f6ed30787d16fff3f74e9412416de5b1eb0f6)
Reviewed-on: http://git-master/r/401205
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417515
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agostaging: ozwpan: Update to latest drop
Vinayak Pane [Sat, 15 Feb 2014 02:48:07 +0000]
staging: ozwpan: Update to latest drop

Update to driver version 10.00.01.02.05

Bug 1459299
Bug 1466757

Change-Id: I73dcbb97093179c4a69b9e5cbfc4d10a16e228ec
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/368040
(cherry picked from commit aaa4d5c3e5e21b3a220b3103b72eee6fda0203b3)
Reviewed-on: http://git-master/r/401204
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417514
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agostaging: ozwpan: Add udev event to userspace.
Todd Poynter [Tue, 14 Jan 2014 19:14:09 +0000]
staging: ozwpan: Add udev event to userspace.

Update from ATMEL to send an event to userspace to
indicate that a device has entered or resumed from
sleep.

Bug 1394137.
Bug 1421799.
Bug 1466757

Change-Id: I25b02bd8ae8a01a52d28b8254fbc43401c0f9463
Signed-off-by: Todd Poynter <tpoynter@nvidia.com>
Reviewed-on: http://git-master/r/355592
(cherry picked from commit d211697344d461651fd0324cce2297f71252df7c)
Reviewed-on: http://git-master/r/401203
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417513
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoarm: tegra: Enable the ozwpan(USB HCD) driver
Kenneth Kwak [Mon, 24 Feb 2014 05:14:27 +0000]
arm: tegra: Enable the ozwpan(USB HCD) driver

Enable the ozwpan USB HCD driver via CONFIG_USB_WPAN_HCD.
Make change manually based on http://git-master/r/328586

Bug 1466757

Change-Id: I3b3e9cb282c696171c6ca210b3060f13420770e3
Reviewed-on: http://git-master/r/401202
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417512
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agostaging:ozwpan: Merge from main
Kenneth Kwak [Mon, 24 Feb 2014 04:38:49 +0000]
staging:ozwpan: Merge from main

Comes from 'Merge tag v3.10.24 into HEAD'
The files are copied and removed manually base on main

Bug 1466757

Change-Id: I413d0dcc6d5d9855a853db4e03b9c6ae1c40b5e9
Reviewed-on: http://git-master/r/401201
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417511
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoARM:tegra:tn7cw: USB eye diagram calibration
Harry Hong [Tue, 10 Jun 2014 04:19:38 +0000]
ARM:tegra:tn7cw: USB eye diagram calibration

USB host/device mode eye diagram calibration
host mode using +3 offset for XCVR setup parameter.
device wiht no offset adjustment, but set bit[7:6]
into 01 for slew rate calibration.

Bug 1457966
Bug 1459798
Bug 200010446

Change-Id: Ieae4607d4bc51fa3aa83197318eaec04fd941a8f
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/421423

4 years agomach: tegra: Set touch avdd to 3.3V for TN7
Harry Hong [Tue, 10 Jun 2014 04:35:26 +0000]
mach: tegra: Set touch avdd to 3.3V for TN7

Bug 1522162

Change-Id: I6d6c003dc45d451eed34838492105007380d09f3
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/421416
Reviewed-by: Automatic_Commit_Validation_User

4 years agoarm:tegra:TN7CW: Add new DDR with ram-code=0b10
Harry Hong [Mon, 9 Jun 2014 05:47:25 +0000]
arm:tegra:TN7CW: Add new DDR with ram-code=0b10

RAM_CODE[1:0]=0x00, Micron DDR3L, requires 1.38V
RAM_CODE[1:0]=0x01, Hynix DDR3L, requires 1.35V
RAM_CODE[1:0]=0x02, Micron DDR3L, requires 1.38V

It's from http://git-master/r/#/c/418659/

Bug 1417014

Change-Id: I1bdc464023d94658e51fc415661c0f94e2935e5b
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/420451

4 years agoASoC:Tegra: DAM and AHUB configuration for BT-SCO
Viswanath L [Mon, 2 Jun 2014 12:38:14 +0000]
ASoC:Tegra: DAM and AHUB configuration for BT-SCO

BT-SCO playout from application is routed as below:
 - directly to I2S when there is no call
 - via DAM when there is an active call

DAM channel 1 (used above) is configured correctly

Bug 1506177

Change-Id: I608be794bd70a85a0978a73cfc93a4a48b69abd0
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/417751
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Lei Fan <leif@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agoARM: dts: tn7cw: use tegranote7c-common.dtsi
Harry Hong [Tue, 13 May 2014 07:49:15 +0000]
ARM: dts: tn7cw: use tegranote7c-common.dtsi

Change-Id: I831d55efd3ecff9f88dfec8a55842f9e23203335
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/408673
(cherry picked from commit 212013c00c7b211c7ac3277903d88ddf3040d832)
Reviewed-on: http://git-master/r/420397

4 years agoarm:tegra:TN7C: Add new DDR with ram-code=0b10
Martin Chi [Mon, 5 May 2014 04:55:24 +0000]
arm:tegra:TN7C: Add new DDR with ram-code=0b10

RAM_CODE[1:0]=0x00, Micron DDR3L, requires 1.38V
RAM_CODE[1:0]=0x01, Hynix DDR3L, requires 1.35V
RAM_CODE[1:0]=0x02, Micron DDR3L, requires 1.38V

bug 1417014

Change-Id: Id9e2137fd477c9af2b3a2e72ccf2b65c48b63d7e
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/418659
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

4 years agoARM: dts: tn7c: add new dvfs for Micron DDR3L
Martin Chi [Mon, 12 May 2014 07:09:16 +0000]
ARM: dts: tn7c: add new dvfs for Micron DDR3L

http://nvbugs/1417014/22

bug 1417014

Change-Id: Ic6db5a3d3bcb4bc193f59b94e46ca882196bd817
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/418660
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

4 years agommc: tegra: Modify UI calculations in tuning
Pavan Kunapuli [Tue, 18 Feb 2014 15:52:04 +0000]
mmc: tegra: Modify UI calculations in tuning

Discrediting all the UI's from either end that are less than 30%
of the estimated UI.
Not using a discredited UI for any comparisons. If one of the UIs
in a comparison is already discredited, discrediting the other UI
as well.
Checking for multiple holes in the same window.
For margin calculations for window ends identified as tap holes, use
n'th Vmin hole for n'th Vmax hole position.

Bug 1423423

Change-Id: I7bebfbc1422f2da722e8415f942488d7b17f828d
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/368867
(cherry picked from commit fda601e6a4c50b3004cee7d8f016706bd21cee6c)
Reviewed-on: http://git-master/r/415583
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agommc: tegra: Run autocal in resume for always_on devices
Pavan Kunapuli [Thu, 27 Mar 2014 11:56:45 +0000]
mmc: tegra: Run autocal in resume for always_on devices

For devices that are always powered on, run calibration in
platform resume. The resume path for these devices primarily
restores host context and doesn't call any signal voltage
change APIs. This patch ensures that calibration is done
during resume and proper drive strength codes are applied.

Bug 1423423

Change-Id: Iaae2fba42395a2b783bcac06e3141842340c4e50
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/387819
(cherry picked from commit 901b27722af774588865012bd85505f365dca8f1)
Reviewed-on: http://git-master/r/415582
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agommc: tegra: Use first valid full win for negative margins
Pavan Kunapuli [Mon, 3 Feb 2014 07:38:56 +0000]
mmc: tegra: Use first valid full win for negative margins

For negative margin calculations, use the first valid full window
in the first valid UI if Avg UI is found.
If Avg UI is not found, use first and second full windows to determine
the negative margin.
During negative margin calculation, marking each step as boundary.

Bug 1423423

Change-Id: I5c79a890799c442b1e6be5243db362a03efc58bc
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/362768
(cherry picked from commit 976bfae7bf33dd5fe2bc653627df44d8f2688a21)
Reviewed-on: http://git-master/r/415581
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agommc: tegra: Modify partial window negative margins
Pavan Kunapuli [Thu, 30 Jan 2014 12:01:50 +0000]
mmc: tegra: Modify partial window negative margins

Modifying the negative margin additions to partial window start
as per the new corner case identified by characterization team.
In case where the avg ui is found, negative margins are found
using first full window start and avg ui. If the avg ui is not
found, est ui is taken as avg ui and negative margins are obtained
using avg ui and all boundary starts.

Bug 1423423

Change-Id: I762cbe7e36f72f9744ca8cd8dee3114758aa7597
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/361974
(cherry picked from commit de54e591bfcd9f9f2e0989b4284d04cb30a729c0)
Reviewed-on: http://git-master/r/415580
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agommc: tegra: Limit SDR50 freq to 81.6MHz
Pavan Kunapuli [Thu, 22 May 2014 09:08:10 +0000]
mmc: tegra: Limit SDR50 freq to 81.6MHz

With the existing clock sources, 100MHz clock freq cannot be
set for UHS SDR50 mode. The closest frequency for which tap hole
coefficients data exists is 81.6MHz. Hence, limiting SDR50 mode
clock frequency to 81.6MHz.

Bug 200006069

Change-Id: Ia942e99f241dc93788c95eccc5ebf75090bbb2c6
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/415137
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

4 years agotn7c: increase audio codec delay to 450ms
ximingc [Tue, 27 May 2014 05:22:40 +0000]
tn7c: increase audio codec delay to 450ms

Realtek codec rt5639 needs 400ms delay between signal LDO1_EN and Initial.
Previous 200ms is not enough, increase it to 450ms

Bug 200005748

Change-Id: I0a11ed8dd064d720631dc6f09de220e87a529a1a
Signed-off-by: ximingc <ximingc@nvidia.com>
Reviewed-on: http://git-master/r/415164
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agots: tn7 & tn7c: update touch regulator
Nine Feng [Mon, 26 May 2014 06:01:23 +0000]
ts: tn7 & tn7c: update touch regulator

1) Revert "ts :tn7c: support load switch for touch power rail"
2) Remove useless fix regulator: dvdd_ts and dvdd_lcd_1v8(which
    would cause lcd and touch use differnt supplies but same ldo4)
3) Enable avdd first

Bug 200006060
Bug 1445143

This reverts commit 8b8d45d48da349159b2006202e13eea1bc652d51.

Change-Id: I807a57ccb2828c53648be6189846a0d734d52e82
Signed-off-by: Nine Feng <nfeng@nvidia.com>
Reviewed-on: http://git-master/r/414872
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agoARM: tegra: HSIC: remove uhsic_phy_pre_resume
Martin Chi [Tue, 20 May 2014 12:02:10 +0000]
ARM: tegra: HSIC: remove uhsic_phy_pre_resume

during hub remote wake-up, uhsic_phy_pre_resume
will be called to set RUN bit to end the 'Resume'
signalling eariler than expected

bug 1499837

Change-Id: Icf05fa78eb37f45e8b918ee0a01fa3ce5c038435
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/414811
Reviewed-by: Gray Lei <glei@nvidia.com>
Tested-by: Gray Lei <glei@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>

4 years agousb: phy: tegra: Add usb_phy_reset for HSIC
BH Hsieh [Wed, 14 May 2014 07:49:30 +0000]
usb: phy: tegra: Add usb_phy_reset for HSIC

usb_phy_reset was missing from uhsic_phy_ops
hence USB_TXFILLTUNING kept incorrect value after ehci_reset
then resulted in DataBufferErr on out endpoint

Bug 200002033

Change-Id: I2942d22a12c45c9136f05841e36d839c1bd8fd86
Signed-off-by: BH Hsieh <bhsieh@nvidia.com>
Reviewed-on: http://git-master/r/409288
(cherry picked from commit 0bef26360a617d41aece5f003b5972c39d082948)
Reviewed-on: http://git-master/r/414122
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

4 years agoARM: tegra: tegratab: reduce fb0 mem size
Harry Hong [Wed, 5 Feb 2014 05:14:08 +0000]
ARM: tegra: tegratab: reduce fb0 mem size

reduce reserved mem size for fb0 according to lcd resolution.

Bug 200002039

Change-Id: I6931d99ce7c62348c294b8de475e73d3554dfbfd
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/412527
(cherry-picked from d253cc10557628ddaf929d24fccfe4d47df3e040)
Reviewed-on: http://git-master/r/413120

4 years agovideo: tegra: dc: fix filtering during rotation
Jon Mayo [Wed, 30 Apr 2014 17:28:03 +0000]
video: tegra: dc: fix filtering during rotation

SCAN_COLUMN works on the input, filters work on the output. Only input
settings need to be swapped when in SCAN_COLUMN mode (270/90 rotation).

This removes an inadvertant swap of H and V for the filter capabilities.

Bug 1421307
Bug 1413155
Bug 1482737

Change-Id: I53017429fe4f554517ad9e054a0116582585bb56
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/403755
(cherry picked from commit f2d3ce1df0ccd8401aab554853401b5e3afa6859)
Reviewed-on: http://git-master/r/412004
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agovideo: tegra: dc: swap rotated h/v filter check
Jon Mayo [Mon, 9 Dec 2013 21:51:24 +0000]
video: tegra: dc: swap rotated h/v filter check

When determining if the filter should be disabled because input == output,
use the SCAN_COLUMN flag to select the correct dimension.

Bug 1421307
Bug 1413155
Bug 1482737

Change-Id: I19dd5575fb41d8a2b6aa3ee12022acd14232afe4
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/340037
(cherry picked from commit 08f1bbbfd9c7484d38db8f4eac3868fa0e9d22c3)
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/412002
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agoRevert "video: tegra: Fix filtering with SCAN_COLUMN on"
David Yu [Tue, 20 May 2014 11:22:07 +0000]
Revert "video: tegra: Fix filtering with SCAN_COLUMN on"

This reverts commit f08b3a1c970f72c6978979936d117b694ecaeba6.

Signed-off-by: David Yu <davyu@nvidia.com>
Change-Id: Ib9875132e313efafa28280f315a0c9314ca80dee
Reviewed-on: http://git-master/r/412001
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

4 years agokernel: fairfax tskin parameter
qtang [Thu, 27 Mar 2014 09:48:19 +0000]
kernel: fairfax tskin parameter

use tuned tskin parameter for fairfax device according to
macro CONFIG_FAIRFAX_TSKIN

bug 1482306

Change-Id: I2f686edc6f6377958724a329f579d0994b3ca508
Signed-off-by: qtang <qtang@nvidia.com>
Reviewed-on: http://git-master/r/387644
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/404798
Reviewed-by: Tao Hu (SW-TEGRA) <taoh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Tao Hu (SW-TEGRA) <taoh@nvidia.com>
Reviewed-on: http://git-master/r/411239
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agommc: core: disable sanitize operation.
Harry Hong [Thu, 13 Mar 2014 08:18:05 +0000]
mmc: core: disable sanitize operation.

Sanitize delay is quite big at some condition.
(ex) using almost all userdata partition and then format
userdata partition)
this operation is quite vendor specific. Hynix confirmed
that Max delay at worst case is around 10mins. it's too big.
So disable sanitize. instead use normal erase

Bug 1468208

Change-Id: Id136998da4372a5552856e93cc93efc38ebd570a
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/393189
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tao Hu (SW-TEGRA) <taoh@nvidia.com>
Tested-by: Tao Hu (SW-TEGRA) <taoh@nvidia.com>
Reviewed-on: http://git-master/r/411353
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agoARM:tegra:Fairfax add HDMI TDMS prarameters
Jeffery Yu [Thu, 3 Apr 2014 07:20:26 +0000]
ARM:tegra:Fairfax add HDMI TDMS prarameters

Add TDMS paramters for Fairfax

Bug 1489499

Change-Id: I7214c0e437da463fda6185194be0ac6fc9b906b6
Signed-off-by: Jeffery Yu <jefferyy@nvidia.com>
Reviewed-on: http://git-master/r/391824
Reviewed-by: Eric Zhang (SW-TEGRA) <ericz@nvidia.com>
Tested-by: Eric Zhang (SW-TEGRA) <ericz@nvidia.com>
Reviewed-on: http://git-master/r/411246
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

4 years agotn7c: modem: reduce autosuspend_delay to 1s
Martin Chi [Tue, 13 May 2014 02:19:59 +0000]
tn7c: modem: reduce autosuspend_delay to 1s

for power saving

bug 200004582

Change-Id: I79bae98e82810be4472597cbe44dd3bf114cbbd1
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/411167
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gray Lei <glei@nvidia.com>
Tested-by: Gray Lei <glei@nvidia.com>

4 years agousb: host: tegra: don't boost CPU freq for HSIC
Martin Chi [Tue, 13 May 2014 02:30:03 +0000]
usb: host: tegra: don't boost CPU freq for HSIC

for power saving

bug 200004582

Change-Id: If8eea5f461f5dcc87ea2f524f859e0d323a85ab2
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/411166
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gray Lei <glei@nvidia.com>
Tested-by: Gray Lei <glei@nvidia.com>

4 years agoRevert "usb: hsic: set sclk to 120MHz"
Martin Chi [Sat, 17 May 2014 11:48:31 +0000]
Revert "usb: hsic: set sclk to 120MHz"

This reverts commit ad89889e50d13d43e4e58dcb79a8fc197a39422a.

bug 200004582

Signed-off-by: Martin Chi <mchi@nvidia.com>
Change-Id: I9bef43c07f2fdae6d0a55e987be7320edf944345
Reviewed-on: http://git-master/r/411165
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gray Lei <glei@nvidia.com>
Tested-by: Gray Lei <glei@nvidia.com>

4 years agovideo: tegra: hdmi: Write complete eld buffer
Mike J. Chen [Fri, 6 Sep 2013 23:46:39 +0000]
video: tegra: hdmi: Write complete eld buffer

The client for the eld buffer in hda_eld.c expects a
completely valid eld buffer.  The old code was only writing
certain entries and leaving other entries in the eld buffer
uninitialized.  When snd_hdmi_get_eld() then tries to read
all the bytes, it would find an invalid entry, error out,
and cause a retry (up to 8 it appears, which of course will
just keep failing).

Now we write all the entries in the buffer, so no errors
in the log like:

<6>[  192.361601] HDMI: invalid ELD data byte 31
<6>[  192.368572] HDMI: invalid ELD data byte 34
<6>[  192.378605] HDMI: invalid ELD data byte 1

and no more retries.

Bug 1493225

Change-Id: I667eb19b4d3782b4bf7805d5b095bea05214dda3
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: Xia Yang <xiay@nvidia.com>
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/396785
(cherry picked from commit c406adf24931f794a283a6211eaaabadab69e1be)
Reviewed-on: http://git-master/r/410223
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

4 years agovideo: tegra: edid: Fix computing of eld.sad_count
Mike J. Chen [Mon, 9 Sep 2013 19:02:23 +0000]
video: tegra: edid: Fix computing of eld.sad_count

eld.sad_count as used in hda_eld.c is the count of short
audio descriptors in the edid, each of which contains three
bytes of data.  the old code was assigning the number of
bytes instead of the count.

Bug 1493225

Change-Id: I161b14fa8f61ff611614f41a3898ae3687fc1410
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: Xia Yang <xiay@nvidia.com>
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/396784
(cherry picked from commit b353c3578497bae8ac5850ab1edd73d186c2467c)
Reviewed-on: http://git-master/r/410222
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

4 years agoASoC: Tegra: Enable wake source of HP GPIO
Lei Fan [Wed, 16 Apr 2014 07:17:17 +0000]
ASoC: Tegra: Enable wake source of HP GPIO

Enable the GPIO for headset detection work as LP0 wake source.
Bug 1499477

Change-Id: I91ae32f8d687f3de4548b23464072e24adacb201
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/396887
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

4 years agoARM: tegra: Remove GPIO for HP form LP0 wake list
Lei Fan [Wed, 16 Apr 2014 06:56:37 +0000]
ARM: tegra: Remove GPIO for HP form LP0 wake list

Remove a GPIO for headset detection form the list of LP0 wake source

Bug 1499477

Change-Id: Ie0331079072f2976265d5db1483cd905f0c1f2bc
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/396879
Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

4 years agomisc: tegra-profiler: unwinding: use RCU locking
Igor Nabirushkin [Thu, 17 Apr 2014 09:02:07 +0000]
misc: tegra-profiler: unwinding: use RCU locking

Unwinding: use RCU locking instead of spinlocks to protect
map of regions.

Bug 1502205

Change-Id: If1089b74b1f317eeaae5059de40d7a3365ae4061
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/398187
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agomisc: tegra-profiler: add additional validations
Igor Nabirushkin [Mon, 7 Apr 2014 14:23:48 +0000]
misc: tegra-profiler: add additional validations

Unwinding: add additional validations for stack pointer
and instruction pointer.

Bug 1495325

Change-Id: Idc8b88be51925b67b8cfc5416ae2204f82f24b41
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/392927
(cherry picked from commit dd041965215e3eece1f84df65634342c7c00986d)
Reviewed-on: http://git-master/r/398186
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agomisc: tegra-profiler: fix start hrtimer bug
Igor Nabirushkin [Mon, 7 Apr 2014 04:59:53 +0000]
misc: tegra-profiler: fix start hrtimer bug

Tegra Profiler: device sometimes hangs up when hrtimer_start wakeup
flag is enabled (especially on high frequency - more than 10 kHz).
Use __hrtimer_start_range_ns function with disabled wakeup flag
instead of hrtimer_start.

Bug 1495033

Change-Id: I2437df2ee1cd25ab7a76384ba124328d2158b44e
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/392698
(cherry picked from commit 09eefdf4bfd24372b3b9a47f8f440b297a493ea5)
Reviewed-on: http://git-master/r/398184
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agomisc: tegra-profiler: fix backtraces
Igor Nabirushkin [Tue, 25 Mar 2014 11:09:01 +0000]
misc: tegra-profiler: fix backtraces

Tegra Profiler: fix backtraces from the kernel context.
There should be at least one user space address for such chains.

Bug 1487562

Change-Id: Ibf1f6d78b5f744f397fbcbab54e45f70b6548fbd
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/394493
(cherry picked from commit 8fddf958db67d87f5a3568d9c433d995306dc060)
Reviewed-on: http://git-master/r/398146
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agomisc: tegra-profiler: add mixed unwinding mode
Igor Nabirushkin [Tue, 25 Mar 2014 09:42:02 +0000]
misc: tegra-profiler: add mixed unwinding mode

Tegra Profiler: do not break the chains for mixed code -
code with exception-handling tables and code with frame pointers

Bug 1487488

Change-Id: I4fdc6708ef2b4e86b354e5a9daeaa19689abb2dd
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/386241
(cherry picked from commit 320dd2b8dced7d3d4a34ddf696907459c3e1a0a8)
Reviewed-on: http://git-master/r/398140
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agomisc: tegra-profiler: support special mappings
Igor Nabirushkin [Thu, 13 Mar 2014 09:09:17 +0000]
misc: tegra-profiler: support special mappings

Tegra Profiler: support special architecture mappings

Bug 1480667

Change-Id: I2f1bd67d99888d39bc713a5c58d295b121ad18b2
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/381407
(cherry picked from commit 75aeabcf32fb9967f74d046445a830cc606da59d)
Reviewed-on: http://git-master/r/398137
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agomisc: tegra-profiler: Add t132 support
Igor Nabirushkin [Thu, 6 Mar 2014 08:59:39 +0000]
misc: tegra-profiler: Add t132 support

Tegra Profiler: add support for t132.

Bug 1475730

Change-Id: Id54fe70713c038757e3dfab9fa8b35682f50da73
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/378297
(cherry picked from commit a4d17db2f23bb9cd542f70a83fce8cb31a4b2565)
Reviewed-on: http://git-master/r/398122
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agomisc: tegra-profiler: unwinding: add auto mode
Igor Nabirushkin [Mon, 3 Mar 2014 07:52:22 +0000]
misc: tegra-profiler: unwinding: add auto mode

Tegra Profiler: automatic selection of unwinding
method (frame pointers or exception-handling tables)

Bug 1465331

Change-Id: I8ae85e78b32198c685aab44102f919f33a2bad55
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/377155
(cherry picked from commit 00d022623c13da6b0a77ea1bfb2ee7fbee981e50)
Reviewed-on: http://git-master/r/382400
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

4 years agomisc: tegra_profiler: add unwinding
Igor Nabirushkin [Thu, 20 Feb 2014 16:48:48 +0000]
misc: tegra_profiler: add unwinding

Tegra Profiler: unwinding based on exception-handling tables

Bug 1465331

Change-Id: I9e8bb2eb342c5dadf82af05bb87040c0925cca1b
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/377109
(cherry picked from commit ccde0304ffcf4a1cb75bad78507597edc1d69290)
Reviewed-on: http://git-master/r/382398
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Maxim Morin <mmorin@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>