4 years agodriver:tn7c:key event log is self-explanatory daily-2014.08.05.0_rel-tegranote-r6-partner
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

4 years agoARM: tegra: tegratab: dummy change
Harry Hong [Mon, 16 Jun 2014 04:37:07 +0000]
ARM: tegra: tegratab: dummy change

this is to trigger automatic build

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

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
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
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@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

Conflicts:
arch/arm/mach-tegra/board-tegranote7c-power.c

Change-Id: I09087bd7dd0c5b3bf8e203f1ec0ae24c90d665ea

Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: Id83812e5ee6bb2d12294b8b6c9bf0da7b0f8dbe4
Reviewed-on: http://git-master/r/423469
Reviewed-by: Gabby Lee <galee@nvidia.com>

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

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/421410
Reviewed-by: Automatic_Commit_Validation_User

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
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Danny Song <dsong@nvidia.com>
Tested-by: Danny Song <dsong@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>
Reviewed-on: http://git-master/r/409967
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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>
Reviewed-on: http://git-master/r/409966
Reviewed-by: Automatic_Commit_Validation_User
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/415157
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Danny Song <dsong@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/414671
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: David Pu <dpu@nvidia.com>
Reviewed-by: Danny Song <dsong@nvidia.com>

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)
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/412020
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/412018
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:44:22 +0000]
Revert "video: tegra: Fix filtering with SCAN_COLUMN on"

This reverts commit f08b3a1c970f72c6978979936d117b694ecaeba6.

Signed-off-by: David Yu <davyu@nvidia.com>
Change-Id: I078f73db95a55eb56ad0cf44fe612a6f2d10d390
Reviewed-on: http://git-master/r/412015
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>

5 years agoARM: tegra: tn7cw: update tskin coeffcients
Harry Hong [Tue, 22 Apr 2014 01:14:03 +0000]
ARM: tegra: tn7cw: update tskin coeffcients

Bug 1502030

Change-Id: I48587826212a670b694801b704907bfb8e2f051c
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/399386
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>

5 years agomach: tegra: Set touch avdd to 3.0V for TN7
Harry Hong [Fri, 18 Apr 2014 04:05:11 +0000]
mach: tegra: Set touch avdd to 3.0V for TN7

Bug 1478633
Bug 1493749

Change-Id: Ifc89ae12cdb1cb08ffe98d030099a2c7e3823f11
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/398060
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>

5 years agoARM: tegratab: config: make mpu & akm modules
David Yu [Mon, 7 Apr 2014 07:19:18 +0000]
ARM: tegratab: config: make mpu & akm modules

Bug 1491475

Change-Id: Id5e78b62202d3392911aeb2f9ab820fac50f8969
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/392788
(cherry picked from commit c175c99cb831678851de5cf64f3b5a0ed14b1ed4)
Reviewed-on: http://git-master/r/396866
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegratab: config: clean up configs
David Yu [Fri, 4 Apr 2014 06:17:34 +0000]
ARM: tegratab: config: clean up configs

Remove unused baseband configs
Remove unused BCM configs
Remove unused NFC configs / Add NXP PN533 USB NFC driver
Remove unused RTC configs
Remove unused touchscreen configs
Move MPU and AKM from modules to static binary

Bug 1491475

Change-Id: I53d1ef8362ca70aebd3f7afd2faa3516b6e1b06c
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/392232
(cherry picked from commit e6498745f12f4266fa366638a2aeb9177b5406ee)
Reviewed-on: http://git-master/r/396864
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: HSIC: Clear PD_TX during resume
Suresh Mangipudi [Fri, 11 Apr 2014 07:17:20 +0000]
ARM: tegra: HSIC: Clear PD_TX during resume

During HSIC resume the PD_TX circuit is to be turned on before
clearing MASTER_ENABLE of PMC.

Bug 1491453

Change-Id: I26c30fc241f638411b94f45b28f155b4eeabdaea
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/395472
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoRevert "usb: hsic: remove delay added during remote wakeup"
Martin Chi [Sat, 12 Apr 2014 06:03:10 +0000]
Revert "usb: hsic: remove delay added during remote wakeup"

This reverts commit 01f05993129d269b9ee10311a66da6d9fec4e8a8.

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

5 years agomach: tegra: Increase touch avdd voltage TN7C/TN7
Robert Collins [Thu, 3 Apr 2014 19:54:51 +0000]
mach: tegra: Increase touch avdd voltage TN7C/TN7

Increase touch AVDD voltage for TegraNote TN7 and TN7C.

Bug 1478633
Bug 1493749

Change-Id: Id07da3f101ee8f2d42abf5ba0a2d1487bafdec6f
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/392032
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Jung <djung@nvidia.com>
Tested-by: David Jung <djung@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agousb: hsic: remove delay added during remote wakeup
Martin Chi [Fri, 4 Apr 2014 06:58:39 +0000]
usb: hsic: remove delay added during remote wakeup

bug 1491453

Change-Id: I4c2bc1bdc33fb3669a06f02b136366816c35d1cb
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/392236
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Rui Zhuo <rzhuo@nvidia.com>
Tested-by: Rui Zhuo <rzhuo@nvidia.com>

5 years agoasoc: tegra: close DAM links after voice call
Vijay Mali [Tue, 1 Apr 2014 14:26:24 +0000]
asoc: tegra: close DAM links after voice call

Bug 1489970

Change-Id: I8c2e13b5671cfa9f8d3c1237ae81c2195fea613f
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/391712
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rui Zhuo <rzhuo@nvidia.com>
Tested-by: Rui Zhuo <rzhuo@nvidia.com>

5 years agoRevert "Asoc: ALC5639: ALC5640: Fix HS det. issue in BIAS OFF state"
Simon Je [Wed, 2 Apr 2014 04:23:04 +0000]
Revert "Asoc: ALC5639: ALC5640: Fix HS det. issue in BIAS OFF state"

This reverts commit 5c7cb1dd558fa95521cce4416976157bc13f9d9a.

Bug 1470687

Change-Id: I5b0b47e5cd109607e6e8c98355a3deacd3093b52
Signed-off-by: Simon Je <sje@nvidia.com>
(cherry picked from commit c0e40b1c45c8c1c8fdf19829d6dd38dd9c90f503)
Reviewed-on: http://git-master/r/391602
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 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>

5 years agokernel:camera:set ov7695 brightness as +2
qtang [Thu, 27 Mar 2014 09:04:15 +0000]
kernel:camera:set ov7695 brightness as +2

Bug 1461802

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

5 years agoextcon: palmas: add USB ID detect debounce time
Hyong Bin Kim [Mon, 24 Mar 2014 05:00:01 +0000]
extcon: palmas: add USB ID detect debounce time

Some USB cable connection disturb USB ID pin to GND at a short time.
Add debounce time to skip short USB ID signal.

Bug 1482314

Change-Id: I1bc64b05f102fd0b376b1a8de99bb4cda6e37ec1
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>
(cherry picked from commit 526660bdeb28f009cbd635bfcf8b829f3223b5c2)
Reviewed-on: http://git-master/r/385476
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tao Hu (SW-TEGRA) <taoh@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agotegra:fairfax: Disable EDP
ericz [Mon, 24 Mar 2014 07:46:13 +0000]
tegra:fairfax: Disable EDP

Disable EDP for HP's request.

Bug 1473466

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

5 years agoASoC:Tegra: Close BT-SCO audio path for Tone
Lei Fan [Mon, 24 Mar 2014 03:58:41 +0000]
ASoC:Tegra: Close BT-SCO audio path for Tone

Then audio path for tone is not disconneted during voice call and it
will cause error at the end of the next voice call.

Bug 1476086

Change-Id: I586e008145370e26b93aa11ebcb70e7efc361015
Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/385518
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoasoc: tegra: ingnore dapm timeout for voice DAIs
Vijay Mali [Thu, 20 Mar 2014 06:00:29 +0000]
asoc: tegra: ingnore dapm timeout for voice DAIs

Bug 1476086

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

5 years agoARM: dts: tegranote: reduce charger mode brightness
Hyong Bin Kim [Wed, 19 Mar 2014 13:24:35 +0000]
ARM: dts: tegranote: reduce charger mode brightness

For safety, reduce charge mode display value.

Bug 1470109

Change-Id: Iab1e11871ba82fc0cdd7b8889c0fee3087f1a3fc
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/383888
(cherry picked from commit ad41a0b69fa60bd9b50f0a253104f277d8b683df)
Reviewed-on: http://git-master/r/384822
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Tao Hu (SW-TEGRA) <taoh@nvidia.com>
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: tegra: tn7c: runtime select tskin coeffcients
Nine Feng [Tue, 11 Mar 2014 13:44:45 +0000]
ARM: tegra: tn7c: runtime select tskin coeffcients

Bug 1468114
Bug 1432052

Change-Id: I534295b63540d3a5604d92f9f5f3c7237edfec77
Signed-off-by: Nine Feng <nfeng@nvidia.com>
Reviewed-on: http://git-master/r/380377
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Danny Song <dsong@nvidia.com>

5 years agoinput: touch: maxim: update delay
David Jung [Sat, 15 Mar 2014 00:09:08 +0000]
input: touch: maxim: update delay

Maxim code drop to update delay for legacy irq.

Bug 1478046

Change-Id: Id3c0f0e173f7b46afcdca7c7c29aa2e2c0bdaec6
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/382243
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-by: David Pu <dpu@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: usb: set usb.emc back to 100MHz
Harry Hong [Wed, 19 Mar 2014 10:24:40 +0000]
ARM: tegra: usb: set usb.emc back to 100MHz

Set usb.emc 100MHz but if type is HSIC, remain to 200MHz

Bug 1466876

Change-Id: I9933090ab33e7ab7e394bdf53607d0a2707e99d1
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/383802
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoarm: tegra: tegratab: fix more P1988 gyro pinmux
David Yu [Tue, 18 Mar 2014 15:08:12 +0000]
arm: tegra: tegratab: fix more P1988 gyro pinmux

Bug 1482346

Change-Id: I44b56956441f38416aee7a986229707687e27d6f
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/383138
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoarm: tegra: tegratab: fix P1988 gyro pinmux
David Yu [Tue, 18 Mar 2014 03:19:53 +0000]
arm: tegra: tegratab: fix P1988 gyro pinmux

Bug 1482346

Change-Id: I7472fb40f93833196af9969c08d62466dcc6d31f
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/382838
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Harry Hong <hhong@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: add p1988 skin_data
Harry Hong [Mon, 17 Mar 2014 06:05:45 +0000]
ARM: tegra: tegratab: add p1988 skin_data

Bug 1439626

Change-Id: Iff23da5367b426ade1875f50cf5a3bdfa4441544
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/382407
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: Tegra: TN7C: correct the pin usage
Martin Chi [Mon, 17 Mar 2014 08:12:08 +0000]
ARM: Tegra: TN7C: correct the pin usage

On TN7C, these pins has nothing to do with codec.
They are actually connecting to modem as:
TEGRA_GPIO_PP3 --> AP_WAKE_MDM
TEGRA_GPIO_PP1 --> W_DISABLE_N

Change-Id: I509c3ce017036f2cd3e2d72a08a23605fd73084d
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/382441
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Lei Fan <leif@nvidia.com>
Tested-by: Lei Fan <leif@nvidia.com>
Reviewed-by: David Pu <dpu@nvidia.com>
Reviewed-by: Gray Lei <glei@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agodts: tn7_2014: update dts for latest setting
Harry Hong [Mon, 17 Mar 2014 04:56:40 +0000]
dts: tn7_2014: update dts for latest setting

Bug 1438727
Change-Id: I4aa2c704e3223352f26834bee172116d151d75e4
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/382396
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Danny Song <dsong@nvidia.com>

5 years agoARM: tegra11: clock: Use exact PLL rate in resume
Alex Frid [Mon, 10 Mar 2014 19:01:17 +0000]
ARM: tegra11: clock: Use exact PLL rate in resume

Removed 1Hz margin from target rate request during PLL resume.
Although the PLL output rate is restored correctly in any case, PLL
dividers settings may differ from tabulated targets (if any) when non
exact rate is requested.

Bug 1473597

Change-Id: I5307ee49fcac4ce6dc6b3c38d1841629060700d7
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/379620
(cherry-picked from 96a02b52db51498756967864d9c5a3596f812570)
Reviewed-on: http://git-master/r/381927
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: David Pu <dpu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agousb: phy: tegra:set suspend flag true while bootup
Hyong Bin Kim [Fri, 14 Mar 2014 09:20:49 +0000]
usb: phy: tegra:set suspend flag true while bootup

Set the suspended flag to true during bootup. With
this vbus/id notifications will be ignored until
gadget driver is ready.

Bug 1473703

Change-Id: If20245f8056ec7da8f4d9a1fe463378992fff6ca
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/381971
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoarm:tegra:TN7:set SMPS6 active mode to Force PWM.
David Pu [Fri, 14 Mar 2014 06:21:22 +0000]
arm:tegra:TN7:set SMPS6 active mode to Force PWM.

it is sw WAR to fix screen flicker when charging.

Bug 1480539
Bug 1475028
Bug 1480536

Change-Id: I0115aec93149997cf6f10ba1b4a740427eddbdba
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/381897
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoarm:tegra:TN7C:set SMPS6 active mode to Force PWM.
David Pu [Thu, 13 Mar 2014 07:15:42 +0000]
arm:tegra:TN7C:set SMPS6 active mode to Force PWM.

it is sw WAR to fix screen flicker when charging.

Bug 1475028
Bug 1480536

Change-Id: I3cf660157d34b4e8ebdd6235cc38c86ea9210657
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/381329
Reviewed-by: Martin Chi <mchi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Danny Song <dsong@nvidia.com>

5 years agostaging:iio:ltr659ps: Use dynamic PS threshold
Chen Jian [Thu, 6 Mar 2014 11:26:24 +0000]
staging:iio:ltr659ps: Use dynamic PS threshold

 - Change LED pulse count from 4 to 8 according to vendor
   suggestion.
 - Assume enable routine is called in uncovering state,
   and collect ps_data to calibrate high and low threshold.
 - Export distance node, 1 : near, 0 : far.

Bug 1472752
Bug 1470053

Change-Id: I8b749a243d7f03e3c85316c08a67c1bb3ac0cd35
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/378341
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agousb: hsic: add delay in phy resume for auto-resume
Martin Chi [Wed, 12 Mar 2014 04:44:37 +0000]
usb: hsic: add delay in phy resume for auto-resume

add 10ms delay in hsic phy resume for auto-resume

bug 1476774

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

5 years agousb:hsic: disable PMC master control in usb resume
Martin Chi [Wed, 12 Mar 2014 04:37:37 +0000]
usb:hsic: disable PMC master control in usb resume

disable pmc remote wake-up detection in usb resume
to prevent the pmc remote wake-up during usb
auto-resume, otherwise, the concurrent resume may
cause hsic bus entering unexpected state and
cause 'XactErr' errs.

bug 1476774

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

5 years agokernel:reset system when softlockup happens
Tao Hu [Tue, 25 Feb 2014 10:09:35 +0000]
kernel:reset system when softlockup happens

Bug 1464185

Change-Id: I80830cbafbca43161bc6e1c4e9cdd9e599e551e5
Signed-off-by: Tao Hu <taoh@nvidia.com>
Reviewed-on: http://git-master/r/374118
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoinput: misc: mpu: fix i2c arbitration lost
David Yu [Fri, 7 Mar 2014 14:10:50 +0000]
input: misc: mpu: fix i2c arbitration lost

Arbitration lost occurs when regulators are turned on while another
i2c device on the same bus is transferring data.
This impacts all the slave devices on the same bus.

tegra-i2c tegra11-i2c.0: --- register dump for debugging ----
tegra-i2c tegra11-i2c.0: I2C_CNFG - 0x2c00
tegra-i2c tegra11-i2c.0: I2C_PACKET_TRANSFER_STATUS - 0xff0021
tegra-i2c tegra11-i2c.0: I2C_FIFO_CONTROL - 0xe0
tegra-i2c tegra11-i2c.0: I2C_FIFO_STATUS - 0x800080
tegra-i2c tegra11-i2c.0: I2C_INT_MASK - 0xec
tegra-i2c tegra11-i2c.0: I2C_INT_STATUS - 0x2
tegra-i2c tegra11-i2c.0: msg->len - 3
tegra-i2c tegra11-i2c.0: is_msg_write - 1
tegra-i2c tegra11-i2c.0: buf_remaining - 0
tegra-i2c tegra11-i2c.0: i2c transfer timed out, addr 0x001c, data 0x6a
tegra-i2c tegra11-i2c.0: arbitration lost during  communicate to add 0x69
tegra-i2c tegra11-i2c.0: Recovered Arbitration lost
tegra-i2c tegra11-i2c.0: arbitration lost during  communicate to add 0x1c
tegra-i2c tegra11-i2c.0: Recovered Arbitration lost
tegra-i2c tegra11-i2c.0: arbitration lost during  communicate to add 0x1c
tegra-i2c tegra11-i2c.0: Recovered Arbitration lost

Bug 1461473

Change-Id: I417e1e81fa0a1628784f5e6062fa6f8e1979a038
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/379058
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM : tn7c : export tegra_nct_read_item
Danny Song [Wed, 12 Mar 2014 03:18:41 +0000]
ARM : tn7c : export tegra_nct_read_item

export tegra_nct_read_item

Bug 1467910

Change-Id: I3ead0dac36452d1f9f23ed501d196b0c21117f53
Signed-off-by: Danny Song <dsong@nvidia.com>
Reviewed-on: http://git-master/r/378762
Reviewed-by: Rui Zhuo <rzhuo@nvidia.com>
Tested-by: Rui Zhuo <rzhuo@nvidia.com>

5 years agotegra:fairfax Avoid EDP effect for Headset
ericz [Tue, 11 Mar 2014 07:39:37 +0000]
tegra:fairfax Avoid EDP effect for Headset

For Fairfax, when EDP disable, headset interface
still need exported.

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

5 years agodts:tn7c:Set DSI clock to 216.5M
Danny Song [Tue, 4 Mar 2014 02:40:49 +0000]
dts:tn7c:Set DSI clock to 216.5M

Set DSI clock to 216.5M to remove the
impact on modem band

Bug 1461847

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

5 years agoAsoc: tegra: Fix audio mixing issue
Vijay Mali [Thu, 6 Mar 2014 13:15:30 +0000]
Asoc: tegra: Fix audio mixing issue

There is hardware issue in t114 & t124 DAM.
It does not handle mixing and down sampling
simultaneously. This a work around to use
2 DAM for doing SRC and mixing separately.

Bug 1472784

Change-Id: I67f04682b1807243800e757b548481928dd2720a
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/378389
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Lei Fan <leif@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>

5 years agousb: hsic: remove delay added during host resume
Martin Chi [Sun, 9 Mar 2014 13:55:13 +0000]
usb: hsic: remove delay added during host resume

bug 1476774

Change-Id: I21bbbefcb633381a5fbcd6f10a924700fa1a138c
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/379329
Reviewed-on: http://git-master/r/379474
Reviewed-by: Automatic_Commit_Validation_User

5 years agousb: host: tegra: boost 200MHz cpu freq for hsic
Martin Chi [Thu, 6 Mar 2014 07:29:24 +0000]
usb: host: tegra: boost 200MHz cpu freq for hsic

Boost different cpu frequency (based upon
TEGRA_EHCI_BOOST_CPU_FREQ) for different USB host,
For HSIC(the 2nd USB instance), boost CPU to
200MHz whenthe usb bus is active and remove the
boost when usb bus is suspended.

bug 1473011
bug 1475568

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

5 years agostaging: iio: cm3217: fix i2c error
David Yu [Wed, 5 Mar 2014 05:46:23 +0000]
staging: iio: cm3217: fix i2c error

I2c error was caused by work execution after cancel_delayed_work().
Fix this with als_enable flag. Also delete disable_lock and
use enable_lock for enable/disable mutex.

Change-Id: I40b31def4a717ffe5a7ec8fca83134fd5e52a437
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/377581
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM:TN7C:don't reconfig GPIO_PQ1 in LP1 voice call
David Pu [Thu, 6 Mar 2014 04:47:46 +0000]
ARM:TN7C:don't reconfig GPIO_PQ1 in LP1 voice call

don't need to switch modem regulator to PSM mode during voice call under
LP1 state.

Bug 1474572

Change-Id: Iaa00641f4699098d9ba83cd30f7ceace531ad912
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/378147
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-by: Danny Song <dsong@nvidia.com>

5 years agoasoc: tegra: ignore delayed close of audio devices
Vijay Mali [Tue, 4 Mar 2014 10:59:50 +0000]
asoc: tegra: ignore delayed close of audio devices

Ignore dapm delayed shutdown for music and
voice devices.This helps close voice and music
streams immediately after pcm-close. Delayed
shutdown causes disabling dapm paths that are
used by other devices.

Bug 1468201

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

5 years agoARM: tegra11: TN7C: export fab val as HW ID
Martin Chi [Mon, 3 Mar 2014 10:08:59 +0000]
ARM: tegra11: TN7C: export fab val as HW ID

app could read fab value to know the HW version

bug 1472808

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

5 years agodts:tn7c:Set backlight pwm freq to 25KHz
Danny Song [Mon, 24 Feb 2014 09:32:13 +0000]
dts:tn7c:Set backlight pwm freq to 25KHz

Set backlight pwm freq to 25KHz

Bug 1466760

Change-Id: I8537c34241884e4185938d6709efc83378434bb9
Signed-off-by: Danny Song <dsong@nvidia.com>
Reviewed-on: http://git-master/r/373519
Reviewed-by: Martin Chi <mchi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: David Pu <dpu@nvidia.com>

5 years agoinput: misc: mpu: fix i2c error on resume
David Yu [Mon, 24 Feb 2014 13:04:21 +0000]
input: misc: mpu: fix i2c error on resume

Bug 1461473

Change-Id: I8ea056783729b95045a9ff1ddc8d75474fee6638
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/373605
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoarm: tegra: LP1 suspend with 396MHz
Martin Chi [Wed, 26 Feb 2014 08:11:31 +0000]
arm: tegra: LP1 suspend with 396MHz

If LP1 suspend with original 696MHz, device
may fail to be resumed.

bug 1468844
bug 1392823

Change-Id: I95baa244c1e15ba0ce3b88ef948fc7f27bbd5d98
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/374713

5 years agoinput:misc: power on mpu in resume
Martin Chi [Wed, 26 Feb 2014 08:13:43 +0000]
input:misc: power on mpu in resume

WAR for: after resume, the i2c access may happen
before power on, which leads lots of i2c R/W error
So, power on mpu in resume.

bug 1461473

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

5 years agoARM:tegra:tn7c: USB eye diagram calibration
qtang [Tue, 25 Feb 2014 06:57:20 +0000]
ARM:tegra:tn7c: 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

Change-Id: I18d3219fb0974462d272e42f6196f44303facd4b
Signed-off-by: qtang <qtang@nvidia.com>
Reviewed-on: http://git-master/r/373995
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agousb: hsic: add delay during hsic phy resume
Martin Chi [Wed, 26 Feb 2014 01:34:43 +0000]
usb: hsic: add delay during hsic phy resume

bug 1451863
bug 1438066

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

5 years agoARM: dts: tn7c: update hynix dvfs to v2.0
Martin Chi [Tue, 25 Feb 2014 02:46:10 +0000]
ARM: dts: tn7c: update hynix dvfs to v2.0

per comment http://nvbugs/1438727/34

bug 1438727

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

5 years agopower: bq2419x: remove hardcoded current limit
Hyong Bin Kim [Mon, 24 Feb 2014 11:14:54 +0000]
power: bq2419x: remove hardcoded current limit

Use current value from UDC driver.

Bug 1445965

Change-Id: Idb64dff24f2f613f37ec6a96300e06b6e8b42d2d
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/373564
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agousb: gadget: tegra: get DCP current from platform data
Rakesh Bodla [Fri, 22 Nov 2013 14:50:55 +0000]
usb: gadget: tegra: get DCP current from platform data

Get DCP current limit from platform data, if it is
not passed used default value specified.

Bug 1403563
Bug 1445965

Change-Id: I65fba7b6329955ef20e8ce0f738e2842b255b8da
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/332255
(cherry picked from commit 07e093651ca01e90f1e676c648321fcdb74e51b2)
Reviewed-on: http://git-master/r/373563
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
Tested-by: Hyong Bin Kim <hyongbink@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: usb: add DCP 2A charging config
Hyong Bin Kim [Mon, 24 Feb 2014 08:10:23 +0000]
ARM: tegra: usb: add DCP 2A charging config

TN7 use DCP 2A charger, add dcp charger config to set limit 2A.
Else, HP product want to use 1.5A DCP charging for follow BC 1.2 spec.

Bug 1445965

Change-Id: Idc5fbb05cc0e885dcf18e3ffec7f6b9f0f8413a4
Signed-off-by: Hyong Bin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/373562
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agocpufreq: conservative: Move sysfs_remove_group
Jinyoung Park [Wed, 5 Feb 2014 04:08:46 +0000]
cpufreq: conservative: Move sysfs_remove_group

Move sysfs_remove_group into mutex lock protection.

Bug 1449493

Change-Id: I65976f91f9acceeaca7ebe897f41f46be198b28e
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/373379
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
Tested-by: David Yu (Engrg-SW) <davyu@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agostaging:iio:ltr659ps: Change p-sensor config
Chen Jian [Fri, 21 Feb 2014 10:22:05 +0000]
staging:iio:ltr659ps: Change p-sensor config

  - Follow Liteon suggestion, change the pulse count
    from 1 to 4.

Bug 1434536

Change-Id: Idf6bf44585aac254c07d8ebe55da8991c7d2182c
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/372825
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoARM: Tegra: TN7C: Adjust p-sensor threshold
Chen Jian [Fri, 21 Feb 2014 10:18:28 +0000]
ARM: Tegra: TN7C: Adjust p-sensor threshold

  - Following Liteon suggestion, change the pulse
    count from 1 to 4, adjust the threshold as well.

Bug 1434536

Change-Id: Id3f73cb44d876c058409b9ec1e9c7a4c5f059a44
Signed-off-by: Chen Jian <jackchen@nvidia.com>
Reviewed-on: http://git-master/r/372823
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agoASoC:Codec: decrease pop in call
Lei Fan [Thu, 20 Feb 2014 08:08:03 +0000]
ASoC:Codec: decrease pop in call

Pop can be heard when we switch device form speaker to headset during
voice call.

From: codec vendor
Data: 2/20/2014

Bug 1430498

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

5 years agoASoC:Tegra: use DAM for BT-SCO playback
Lei Fan [Thu, 20 Feb 2014 13:07:27 +0000]
ASoC:Tegra: use DAM for BT-SCO playback

Add DAM for BT audio path even there is no voice call.
Because of race condition, it is difficult to check device is in BT call
or not. So tone will break voice call path sometime.

Bug 1461765

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

5 years agoSELinux: include definition of new capabilities
Eric Paris [Thu, 7 Nov 2013 22:25:46 +0000]
SELinux: include definition of new capabilities

The kernel has added CAP_WAKE_ALARM and CAP_EPOLLWAKEUP.  We need to
define these in SELinux so they can be mediated by policy.

Change-Id: I8a3e0db15ec5f4eb05d455a57e8446a8c2b484c2
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
[sds: rename epollwakeup to block_suspend to match upstream merge]
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/368033
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: edp: fix bug in tegra_edp_find_maxf()
David Yu [Mon, 17 Feb 2014 02:01:55 +0000]
ARM: tegra: edp: fix bug in tegra_edp_find_maxf()

Follwing log can be seen in the long running or sleeping device:
cpu-tegra: Failed to set cpu frequency to 292 kHz
Tegra cpufreq resume: restoring frequency to 292 kHz

tegra_edp_find_maxf() was referencing freed memory address and returned its
value.

Bug 1453028

Change-Id: I9ab3d5f4104233cde0532eb96cc890fd2f3d68e0
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/368174
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: Enable ADC auto shutdown
Jinyoung Park [Tue, 28 Jan 2014 06:47:05 +0000]
ARM: tegra: tegratab: Enable ADC auto shutdown

Enable ADC auto shutdown based on Tboard temperature for both TN7 and TN7C.
System will be shutdown if Tboard temperature is above 78C.

Bug 1366274

Change-Id: Iffaebd6112bca7c9be6814482b6bb31ab02e061d
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/360824
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: dts: include hynix emc table
Harry Hong [Tue, 28 Jan 2014 06:43:22 +0000]
ARM: dts: include hynix emc table

Bug 1438727

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

5 years agohwmon: ina230: avoid race condition
David Yu [Wed, 12 Feb 2014 06:16:26 +0000]
hwmon: ina230: avoid race condition

Protect suspended variable against read/write race

Change-Id: Ibb2baecea2025aafc9c2feb17b6d84a1c3de9e00
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/366332
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra11: dvfs: Update c3bus dvfs tables
Alex Frid [Thu, 3 Oct 2013 03:01:04 +0000]
ARM: tegra11: dvfs: Update c3bus dvfs tables

Updated dvfs tables for c3bus modules on T40S/AP40 parts.

Bug 1377341

Change-Id: I2ae8bd61a28696751d4ab2a3f7368106e9771489
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/281235
(cherry picked from commit 41e9d942cd2585c277b078bc0535cede0fe25652)
Reviewed-on: http://git-master/r/365876
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra11: clock: Fix cbus fine granularity rounding
Alex Frid [Sat, 9 Nov 2013 03:20:17 +0000]
ARM: tegra11: clock: Fix cbus fine granularity rounding

Made sure that rounding rate equal to cbus fine granularity region
threshold returns threshold rate regardless of rounding direction:
up/down (was only up).

Change-Id: I61d33cf400b52e8d51a711a995666a5edb9b0cf3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/328576
(cherry picked from commit 651660986248a50e9440475ea630026b1458daa1)
Reviewed-on: http://git-master/r/365875
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agotegra:fairfax: Enable TI AMP for headset
ericz [Wed, 15 Jan 2014 10:42:31 +0000]
tegra:fairfax: Enable TI AMP for headset

Bug: 1430485

Change-Id: Idc2fca3edcc7205ac9e80e9a8f419920b818b1a7
Signed-off-by: ericz <ericz@nvidia.com>
Reviewed-on: http://git-master/r/360343
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Simon Je <sje@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoarm:tegra:TN7C:export GPIO_PQ1 for ril.
David Pu [Wed, 12 Feb 2014 03:39:08 +0000]
arm:tegra:TN7C:export GPIO_PQ1 for ril.

dynamically controls modem power supply circuit PSM/FCCM mode to balance
power at light loading and acoustic.
modem ril needs to enable PSM mode under light loading to reduce power
consumption.

Bug 1457733

Change-Id: I2fb9c736705dccbafd463b21983778c25a9b8d17
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/366250
Reviewed-by: Martin Chi <mchi@nvidia.com>
Tested-by: Martin Chi <mchi@nvidia.com>

5 years agoarm:tegra:TN7C:reduce LP1 power.
David Pu [Wed, 12 Feb 2014 03:04:57 +0000]
arm:tegra:TN7C:reduce LP1 power.

reduce LP1 power by:
1. lowing vdd_core to 900mV.
2. put HV pad into DPD.

Bug 1456031

Change-Id: I5e53109ca40ced89289f03e1829b0cceb6e04981
Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/366242
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Danny Song <dsong@nvidia.com>
Reviewed-by: Martin Chi <mchi@nvidia.com>

5 years agomedia: nvavp: Keep BSEV/VDE clock enabled
Vandana Salve [Wed, 3 Jul 2013 14:11:13 +0000]
media: nvavp: Keep BSEV/VDE clock enabled

Keep clocks BSEV and VDE enabled for Video channel
This is needed for secure key programming which happens
on various video playback operations such as seek to 0 &
toggling full screen mode. Use stay on flag to handle
clock reference for vde/bsev clocks

bug 1307769

Change-Id: I8d0cbb91797ab17d0b671f8bdf6c3db79bd589ce
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/244770
(cherry picked from commit 4550dd38827a0a16a2bff94beacbd9ce6edfa560)
Reviewed-on: http://git-master/r/367124
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agommc: core: Increase timeout for sanitize
Harry Hong [Wed, 12 Feb 2014 05:31:53 +0000]
mmc: core: Increase timeout for sanitize

Increae timeout value for sanitize operation
based on Hynix 16GB emmc Max delay.

Bug 1453048

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

5 years agousb: hsic: set sclk to 120MHz
Martin Chi [Tue, 11 Feb 2014 07:33:50 +0000]
usb: hsic: set sclk to 120MHz

bug 1451863

Change-Id: If8cc405e1d103cb02a67934e8bdab16358abc916
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/365809

5 years agoEnable UHSIC bus keepers always
Martin Chi [Tue, 11 Feb 2014 13:53:17 +0000]
Enable UHSIC bus keepers always

Currently bus keepers are enabled 1 clock later
after drivers are tristated. But to be on safer
side bus keepers are enabled always.

Bug 1032043
Bug 1451863

Change-Id: I5a696c5fba1dde161fc674d80e3b4b2e937348fd
Signed-off-by: srinivas thaduvai <sthaduvai@nvidia.com>
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/365808

5 years agoARM: tegra: tn7c: support unaligned buffer for USB
Martin Chi [Wed, 12 Feb 2014 09:19:26 +0000]
ARM: tegra: tn7c: support unaligned buffer for USB

Set unaligned_dma_buf_supported to true for USB
host mode

bug 1451863
bug 1438066

Change-Id: I0b5c5bd16d81a7c893737ac55cd6f8f6c9a8d033
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/366434

5 years agomisc: tegra-baseband: disable short autosuspend
Martin Chi [Tue, 11 Feb 2014 14:03:18 +0000]
misc: tegra-baseband: disable short autosuspend

bug 1451863

Change-Id: Ic0e3ef507a271d9a08b20f4cad07b2fed545a652
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/366010

5 years agousb: hsic: set usb2.emc to 200MHz
Martin Chi [Thu, 13 Feb 2014 07:10:15 +0000]
usb: hsic: set usb2.emc to 200MHz

In case there is a unexpected latency to
get data from DDR to AHB and cause hitting
transfer under-run, increase the usb2.emc
from 100MHz to 200MHz.

bug 1451863

Change-Id: I6eb2d42cd6068c4e640cf7df4bff552e35f51665
Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/365668

5 years agomisc: tegra-profiler: reduce size of sample
Igor Nabirushkin [Mon, 27 Jan 2014 10:08:51 +0000]
misc: tegra-profiler: reduce size of sample

Tegra Profiler: reduce size of sample
magic number was removed

Bug 1447839

Change-Id: I14a23f668eab575add872daa35f27653eff643ff
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365904
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomisc: tegra-profiler: add user_mode flag
Igor Nabirushkin [Mon, 27 Jan 2014 09:38:05 +0000]
misc: tegra-profiler: add user_mode flag

Tegra Profiler: add user_mode flag into mmap sample

Bug 1447904

Change-Id: Ieba1025abac78b2682c0445e608fd0137dbe2379
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365901
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agotegra-profiler: non-disruptive counter tracking
Igor Nabirushkin [Mon, 27 Jan 2014 08:42:30 +0000]
tegra-profiler: non-disruptive counter tracking

Tegra Profiler: do not affect the already used counters

Bug 1447839

Change-Id: I4da319e6c2bc853a63c9e1ae4210be9b5a60cc3b
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365898
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomisc: tegra-profiler: use mmap calls
Igor Nabirushkin [Sun, 26 Jan 2014 23:13:33 +0000]
misc: tegra-profiler: use mmap calls

Tegra Profiler: add mmap calls

Bug 1447662

Change-Id: I96614ab3c320fd028cf861ea970b5199bdcae1c7
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365889
Tested-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomisc: tegra-profiler: add thread state field
Igor Nabirushkin [Sun, 26 Jan 2014 21:28:57 +0000]
misc: tegra-profiler: add thread state field

Tegra Profiler: state, in_interrupt fields
were added into samples

Bug 1447655

Change-Id: I082b63ff854da34df45160a6f07dbe5ee73ca7f7
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365867
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomisc: tegra-profiler: add sched_out sampling
Igor Nabirushkin [Sun, 26 Jan 2014 19:46:41 +0000]
misc: tegra-profiler: add sched_out sampling

Tegra Profiler: add sampling at the ending of the time slices

Bug 1447648

Change-Id: I03bea8b9d28aef7aaa1d2b676baa19ddd1247c1d
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365857
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomisc: tegra-profiler: add start/stop locks
Igor Nabirushkin [Sun, 26 Jan 2014 16:37:31 +0000]
misc: tegra-profiler: add start/stop locks

Locks for ability to use loadable module
to override the built-in driver on rooted devices

Bug 1447640

Change-Id: If20605597d77a0cf76206fbe2f474c8853696a9b
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365854
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomisc: tegra-profiler: add group samples
Igor Nabirushkin [Sun, 26 Jan 2014 13:59:25 +0000]
misc: tegra-profiler: add group samples

Group CPU cycles and cache misses samples.
To reduce the amount of data passed from the target to the host,
we can group samples that have a lot of common information.

Bug 1447582

Change-Id: I9b16bf4f18455ff6219fd58373eceba4cb71e352
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/365849
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Daniel Horowitz <dhorowitz@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>