5 years agoARM: dts: tegratab: change default brightness rel-tegranote-r1 daily-2013.11.07.1_rel-tegranote-r1-partner
Min-wuk Lee [Tue, 24 Sep 2013 09:42:13 +0000]
ARM: dts: tegratab: change default brightness

Change default brightness to 153, which is 60% compared
to max brightness

Bug 1353323

Change-Id: Ia2e35da24ff2a71c192b8436cc16b909b4d68aaa
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/278325
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoasoc: rt5639: Set Speaker OVCD to default
Scott Peterson [Thu, 12 Sep 2013 23:50:45 +0000]
asoc: rt5639: Set Speaker OVCD to default

Set the speaker over-voltage protection value
to the power on reset value.

Set OVCD to low value when audio is not playing.

Make sure codec mclk is enabled when writing the
codec registers.

Change-Id: Ib673d667af54f3b4fd7bf3183cbde1759838ae4a
Signed-off-by: Scott Peterson <speterson@nvidia.com>
Reviewed-on: http://git-master/r/274022
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Reviewed-by: Simon Je <sje@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
(cherry picked from commit 2e0cd932ce9c116b5a0e07a3ce5ad865a63121b3)
Reviewed-on: http://git-master/r/277637
Tested-by: Simon Je <sje@nvidia.com>

5 years agoinput: touch: maxim_sti: Check thread stop condition
Bo Kim [Fri, 13 Sep 2013 07:48:03 +0000]
input: touch: maxim_sti: Check thread stop condition

Problems:
If shutdown or remove is called when suspended, it could be stuck in
infinite loop.

Changes:
1. Check kthread_should_stop() in several loops should be helpful to
avoid infinite loop problem.
2. Add __pm_stay_awake() in resume() and __pm_relax() in suspend()
should be helpful to avoid messaging error touch fusion driver and touch
fusion daemon by user space freezing between suspend and resume.
3. shutdown()/remove() stops processing_thread() before killing daemon.

Bug 1366179

Change-Id: I68464164440418a53bd37ce1821e04b630c12aec
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/274196
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agotegratab: use touch_fusion for reversed panel
Bo Kim [Wed, 11 Sep 2013 06:01:02 +0000]
tegratab: use touch_fusion for reversed panel

We don't support DVT1(non reversed panel) device. So we don't need to
support touch_fusion and touch_fusion_rd together. We will use
touch_fusion for reversed panel.

Change-Id: I576f926463c69e1a033b763e5e5c2207e373baa6
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/272926
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: dts: tegra114: Add tegratab dvfs table in DT
Jinyoung Park [Mon, 9 Sep 2013 09:05:33 +0000]
ARM: dts: tegra114: Add tegratab dvfs table in DT

Added tegratab dvfs table in device tree.
This DT dvfs table is including a ram-code property to support multiple
devices of emc.
- ram-code = 0: Micron 1GB
- ram-code = 1: Hynix 1GB

Bug 1352073

Change-Id: I0353d9451043352c033cdcdee5b178d4c736f901
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/271985
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: clock: Use ram code for TegraTab
Jinyoung Park [Wed, 11 Sep 2013 05:59:21 +0000]
ARM: tegra: clock: Use ram code for TegraTab

Use ram code depending on each TegraTab H/W revisions.

Bug 1352073

Change-Id: I92d6267c6f352f3bb788a47db661b4b3499e4327
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/272929
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomisc: ti-st: Send timeout error if ST registration fails
Shobek Sam Attupurath [Tue, 20 Aug 2013 15:17:33 +0000]
misc:  ti-st: Send timeout error if ST registration fails

Send timeout error in case of ST registration failure so that
that ST retries.

Bug 1347583

Change-Id: Ie64d17203aa03e7efa126d243c01e9017008a7f3
Signed-off-by: Shobek Sam Attupurath <sattupurath@nvidia.com>
Reviewed-on: http://git-master/r/263940
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agovideo: tegra: dc: dont restore windows in unblank
Rakesh Iyer [Mon, 15 Jul 2013 18:41:05 +0000]
video: tegra: dc: dont restore windows in unblank

During unblank, the original framebuffer should be the window 0.
This is broken so for the short term we will keep windows unchanged on unblank.

Bug 1299586
Bug 1358722

Change-Id: Ib16d901b9bc77d6ec9075a054c0b5e5c5d52cb55
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/248842
(cherry picked from commit 92d5cd55b603857daafb18828c83dc2cc6b1a527)
Reviewed-on: http://git-master/r/273765
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoarm: Enable IRQs before attempting to read user space in __und_usr
Catalin Marinas [Tue, 20 Aug 2013 17:37:02 +0000]
arm: Enable IRQs before attempting to read user space in __und_usr

The Undef abort handler in the kernel reads the undefined instruction
from user space. If the page table was modified from another CPU, the
user access could fail and do_page_fault() will be executed with
interrupts disabled. This can potentially deadlock on ARM11MPCore or on
Cortex-A15 with erratum 798181 workaround enabled (both implying IPI for
TLB maintenance with page table lock held).

This patch enables the IRQs in __und_usr before attempting to read the
instruction from user space.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Change-Id: Ie5164d8ada9646d723b2b6ef65797e9307718292
Reviewed-on: http://git-master/r/264300
(cherry picked from commit 099ae886a528059cdda926ce1701caaaeaa9e0e8)
Reviewed-on: http://git-master/r/267818
(cherry picked from commit 4b351ab2f929717d7e3c665828c6c9cff5fd4d33)
Reviewed-on: http://git-master/r/273633
GVS: Gerrit_Virtual_Submit
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: dts: tegratab: update CMU calibration data
Min-wuk Lee [Wed, 11 Sep 2013 06:45:22 +0000]
ARM: dts: tegratab: update CMU calibration data

Update CMU calibration data. Normalized matrix is chosen
for CMU csc matrix.

Bug 1354492

Change-Id: I79dde8f33ff89bf261c70a65365eb5555a5e4cd5
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/272948
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: misc: akm8975: fix kernel panic on shutdown
David Yu [Wed, 11 Sep 2013 11:46:51 +0000]
input: misc: akm8975: fix kernel panic on shutdown

When device is full flashed then reboots, sometimes akm_probe() and
akm_shutdown() races. akm_shutdown() release all the resources thus kernel
panic can occur in akm_probe().

Change-Id: I4ba2d3fc36dd919306637ec550a098e3f174f159
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/273088
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: sensor: compass: Add sec-salve-id for compass
Xiaohui Tao [Wed, 11 Sep 2013 00:49:42 +0000]
input: sensor: compass: Add sec-salve-id for compass

Bug 1356943

Change-Id: If34b39b849e350fd9312b9a73130db13c3571b4c
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/272840
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoasoc: rt5639: Test mode initialization
Scott Peterson [Mon, 9 Sep 2013 22:52:19 +0000]
asoc: rt5639: Test mode initialization

Make sure that test mode is not left enabled when
powering up the codec.

Change-Id: Ie3643220c81764f4f26903c7e88812150f2fc223

Signed-off-by: Scott Peterson <speterson@nvidia.com>
Change-Id: I1e3b216f84f87f36d05c9693f9a97d0444b68718
Reviewed-on: http://git-master/r/273276
Reviewed-by: Simon Je <sje@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agommc: tegra: error handling if no card
Harry Hong [Wed, 11 Sep 2013 05:50:59 +0000]
mmc: tegra: error handling if no card

if sd card removed during tap_delay tuning,
don't exit until trying MAX_TAP_VALUES.
it makes the system un-responsive for 2 sec.
Therefore, adding to check card_present before starting
freq_tuning.
if card is not present, return error
and then exit tuning procedure.

bug 1364449

Change-Id: Ib8dff29a1c1faade2acaa93c3e97ea23d3e3041c
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/272902
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: clock: Correct wrong pointer passing
Jinyoung Park [Mon, 9 Sep 2013 09:13:22 +0000]
ARM: tegra: clock: Correct wrong pointer passing

Corrected a wrong device node pointer passing.

Bug 1352073

Change-Id: Ib4354e0b74d1babf671d141cea238e9a55299343
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/271984
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agotegra: video: hdmi: WAR: ensure hdcp register access with clk enabled
Min-wuk Lee [Fri, 6 Sep 2013 08:43:06 +0000]
tegra: video: hdmi: WAR: ensure hdcp register access with clk enabled

There is a race condition between hdcp upstream and hdmi disable
during suspend/resume stress with hdmi plugged-in. WAR by making
host1x/hdmi clk enabled and hdmi clk out of reset.

Bug 1349507

Change-Id: I6870066358900d6f6798b3e20bc59bf5645f25b8
Original-author: Roger Hsieh <rhsieh@nvidia.com>
Signed-off-by: Roger Hsieh <rhsieh@nvidia.com>
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/271389
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agonvhdcp: avoid i2c transfer retry on suspend
David Yu [Thu, 29 Aug 2013 05:51:01 +0000]
nvhdcp: avoid i2c transfer retry on suspend

Bug 1346938

Change-Id: I95d8806a6cd4fbb6060f0b6e5bcebc27f1c846fc
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/267718
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agovideo: tegra: avoid double free in modedb
Jon Mayo [Fri, 19 Jul 2013 00:37:19 +0000]
video: tegra: avoid double free in modedb

modedb can double free in some cases, or worse point to free'd memory that
later gets allocated.

Bug 1328121
Bug 1264520
Bug 1346938

Change-Id: Icc4bba24017a782501f27c4787a63a2e2680e4a7
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/251070
(cherry picked from commit 5fe405dbe4317a177182eea98d1a09c9891cfcad)
Reviewed-on: http://git-master/r/269365
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoHDCP: Only Wait for Communication to stop if HDMI is Plugged
Matt Wagner [Wed, 22 May 2013 00:50:34 +0000]
HDCP: Only Wait for Communication to stop if HDMI is Plugged

Don't wait for communication to stop if HDMI isn't plugged

Bug 1275577
Bug 1346938

Change-Id: Ifb56bc8a4b36ac2cb40614811398920b7e293e04
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/231350
(cherry picked from commit fc774f94ffa54b1a6ce1771ac82b82c3a1eea39f)
Reviewed-on: http://git-master/r/267816
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoHDCP: finish hdmi access before turning nvhdcp off
Rakesh Iyer [Fri, 10 May 2013 00:42:11 +0000]
HDCP: finish hdmi access before turning nvhdcp off

Wait for hdmi accesses to finish before turning nvhdcp off.

Bug 1275577.
Bug 1346938.

Change-Id: Ieef8635b66cfdddece7b2e1140b776b91350d272
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/227243
(cherry picked from commit ac6205a26fbf52d8439524543321012ed95c9d78)
Reviewed-on: http://git-master/r/267815
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: misc: mpu: fix nvi_pwr_mgmt_1_war
David Yu [Sun, 8 Sep 2013 03:20:36 +0000]
input: misc: mpu: fix nvi_pwr_mgmt_1_war

Interrupt is not generated after nvi_accl_enable intermittently.
Not reading i2c after i2c write failure fixes the issue.

Bug 1362994

Change-Id: Icf97b39e740f14d8d76519116e73a38c7f08eed0
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/271849
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: Gabby Lee <galee@nvidia.com>

5 years agoCpufreq: Serialize policy update across hotplug
Puneet Saxena [Sat, 24 Aug 2013 11:35:14 +0000]
Cpufreq: Serialize policy update across hotplug

It serialise policy parameters update when hot-unplug
happens.

Bug 1327428

Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/265844
(cherry picked from commit 318c456ae7509ca2286200ace7e8cddaff6a2fab)

Change-Id: I0be6523add2866e45e413c79ef7c86605a359f44
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/269945
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoCpufreq: protect policy & module refcount
Puneet Saxena [Wed, 14 Aug 2013 15:34:00 +0000]
Cpufreq: protect policy & module refcount

percpu policy pointer needs to be updated with "cpufreq_cpu_data"
synchronously.

This will avoid different virtue of policy pointer of an
online cpu.

It protects ref counting while releasing policy object

Bug 1327428

Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/261609
(cherry picked from commit e1f0ddb9f2a50a7697864f180fbab745add08682)

Change-Id: I817a78c2ead921546f97e4af8943fb5c4ffcfcc6
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/269944
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: defconfig: Enable CONFIG_PANIC_TIMEOUT=2
Hyongbin Kim [Thu, 5 Sep 2013 10:33:06 +0000]
ARM: defconfig: Enable CONFIG_PANIC_TIMEOUT=2

Add "CONFIG_PANIC_TIMEOUT=2" for reboot after 2sec,
when kernel panic occur.

Bug 1362640

Change-Id: I693573e1e6f2377866b609991c01f753d5e42f5b
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/270760
Reviewed-by: Simon Je <sje@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: touch: maxim_sti: Update to version 1.4.1, v25
Robert Collins [Sat, 7 Sep 2013 03:27:37 +0000]
input: touch: maxim_sti: Update to version 1.4.1, v25

Description:
version 1.2.0 TegraTab bringup v25 DVT3+;

Changes:
* Eraser starts as being reported as pen and then switches to eraser without an intervening lift of the pen.
* Touch panel not responsive after standby resume
* Stylus events on virtual keyboard are missing with v24 build.

Bug 1357895
Bug 1353325
Bug 1360030

Change-Id: I4c01e13165074f5c0cbd5a71cf961956a66c07b1
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/271801
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: Assert reset when power ungating
Terje Bergstrom [Wed, 31 Jul 2013 05:34:10 +0000]
ARM: tegra: Assert reset when power ungating

Ensure unit is in reset when powering it back on.

Bug 1329416
Bug 1331777
Bug 1322046

Change-Id: I8ef6646a8fe2ae85fdb836f3222678e5f77a784c
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/256139
(cherry picked from commit 814f276c512cd49abbf15c64e14f8a9bbeb22d39)
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/271354
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: tegratab: Set proper skin coeff to each P1640 revision
Jinyoung Park [Fri, 6 Sep 2013 06:00:38 +0000]
ARM: tegra: tegratab: Set proper skin coeff to each P1640 revision

Set proper skin coeff to each P1640 board revision.

Bug 1362155

Change-Id: Ie3574f71961dec9441a7e8a6f0880385ae54a2b7
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/271337
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoarm: tegra: tegratab: KEY_UNKNOWN as default wakeup_key
Yong Goo Yi [Wed, 4 Sep 2013 05:35:01 +0000]
arm: tegra: tegratab: KEY_UNKNOWN as default wakeup_key

Key code of SW_LID is 0 same with KEY_RESERVED used as default value
when checking wakeup key so even though waking up by RTC or wl18xx,
gpio key driver works for SW_LID. It increases LP0 standby power.
Use KEY_UNKNOWN as default wakeup_key.

Bug 1361016

Change-Id: Id44f78214060eb702e3a44997c1722095c734195
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/269908
Reviewed-by: Simon Je <sje@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: touch: maxim_sti: Shutdown safely
Bo Kim [Fri, 30 Aug 2013 08:41:04 +0000]
input: touch: maxim_sti: Shutdown safely

Current shutdown implementation seems to be unsafe. Sometimes it can be
locked up due to interrupt from the chip but the interrupt cannot be
processed and cleared.

Bug 1349939
Bug 1359386

Change-Id: I585c03c2398eb9ab94563d5fe379bbafad7dc03c
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/268420
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: cpu: Ensure CPU freq with suspend freq during pre/post suspend
Jinyoung Park [Mon, 2 Sep 2013 06:02:05 +0000]
ARM: tegra: cpu: Ensure CPU freq with suspend freq during pre/post suspend

Tegra CPU driver fixes CPU freq with a selected suspend freq between
pre-suspend and post-suspend. In this pre/post suspend period, the Tegra
CPU driver ignores CPU freq scaling requests from the CPU freq governor.
But the CPU freq governor keep working until the system suspended.
So the CPU freq governor updates its status even if the system is in
the pre/post suspend period.
This makes unexpected CPU freq setting issue on post-suspend.
To ensure CPU freq with the selected suspend freq in the pre/post
suspend period, set a policy max freq on CPU freq governor to the
selected suspend freq via PM QoS at pre-suspend and release the setting
via PM QoS at post-suspend.

Bug 1354391

Change-Id: I8efa6dd438a37adc7cadfb1d36eb7340a4e85c79
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/268955
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agocpufreq: Set same governor as a first CPU when CPU online
Jinyoung Park [Mon, 2 Sep 2013 05:50:30 +0000]
cpufreq: Set same governor as a first CPU when CPU online

Set governor for a newly online CPU with same governor as a first CPU.

Bug 1354391

Change-Id: I104ff8f61e89667f482f262d4cc3cb5ea1a1875a
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/268954
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agocpufreq: conservative: Ensure requested_freq within policy min/max range
Jinyoung Park [Mon, 2 Sep 2013 05:39:34 +0000]
cpufreq: conservative: Ensure requested_freq within policy min/max range

Ensure requested_freq within policy min/max reage.

Bug 1354391

Change-Id: I55d0221a228c3cdeef3f9ced0a0ecb8bbdb21427
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/268953
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: touch: maxim: Do not rely on previous state of reset
Xiaohui Tao [Fri, 30 Aug 2013 17:36:11 +0000]
input: touch: maxim: Do not rely on previous state of reset

Currently the driver does a reset in their resume function
(1) rely on previous state of the reset pin
(2) rely on touch_fusion daemon to issue a reset signal

Both of them are not reliable since
(1) The reset pin is possibly not low when the system resumes
due to some racing communication between the daemon/driver/chip
or some communication between the daemon/driver/chip that is
aborted during rapid resume/suspend. This can result in the reset
signal in resume not issued to the chip and it can cause touch
not working.
(1) The chip/daemon may enter some wired state that cannot
recover so that the daemon cannot issue the reset signal correctly.

The solution is to issue a low signal to the chip in resume
function so that it can guarantee that a true reset signal is issued
to the chip.

Bug 1353325

Change-Id: I2ede0dbb8987457cde344cdba12889b708fd95e7
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/268630
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Kim <bok@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: touch: maxim: Refine power control
Xiaohui Tao [Thu, 29 Aug 2013 00:18:01 +0000]
input: touch: maxim: Refine power control

(1) Move regulator control from threaded func to probe func since
the current machanism will kill the direct touch daemon and restart
it when it is not responding. Keeping the regulator code there will
make ref count go up, which will keep the power rail always on.

(2) Do not call suspend/resume in display off case for touch. Touch
suspend/resume should be consistent with display off/on. There is no
need to turn touch on/off in display off case.

Bug 1353325
Bug 1350928

Change-Id: Id9719f04398be0032faf2c9f685400b292458b06
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/267625
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Kim <bok@nvidia.com>
Tested-by: Bo Kim <bok@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoarm: tegra: fuse: printing RAM strapping info
Harry Hong [Thu, 29 Aug 2013 10:49:39 +0000]
arm: tegra: fuse: printing RAM strapping info

To be aware of RAM strapping info,
print it at kernel init by default.

bug 1352073

Change-Id: Ia0462392d6a2ca06b68fcced1b39ec7d68110c74
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/267903
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: nct: add serial number entries for LBH
Woojung Min [Mon, 19 Aug 2013 18:17:03 +0000]
ARM: tegra: nct: add serial number entries for LBH

Bugi 1346871

Change-Id: I20e523a89d214f1265009abc10e183f4dcce67cf
Signed-off-by: Woojung Min <wmin@nvidia.com>
Reviewed-on: http://git-master/r/265928
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: tegratab: Don't register touch driver if charger boot mode
Jinyoung Park [Fri, 30 Aug 2013 00:22:34 +0000]
ARM: tegra: tegratab: Don't register touch driver if charger boot mode

Don't register touch driver if charger boot mode to reduce power
consumption.

Change-Id: I7dcd120ecf2b7f6156aa40551c59aba88f815035
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/268203
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: tegratab: free BL fb in late_init
Min-wuk Lee [Thu, 29 Aug 2013 06:45:39 +0000]
ARM: tegra: tegratab: free BL fb in late_init

At this moment, bootloader framebuffer memory is freed
in arch_initcall, whereas, kernel framebuffer is used
in dc device register with device_initcall. bootloader
framebuffer memory should be freed after dc device
register, so move it to late_initcall frame.

Bug 1346172
Change-Id: Ibd6dc72deea82069aaa2ab6d2cd52d4810b1cb53
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/267790
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agocpufreq: interactive: Add consecutive I/O
Jinyoung Park [Wed, 21 Aug 2013 14:33:46 +0000]
cpufreq: interactive: Add consecutive I/O

Treat I/O wait as CPU busy if I/O processing is occurred on
the consecutive samples.

Bug 1332115
Bug 1351808

Change-Id: Ie47737a10b4896c8bef09181cca644f888ab2ac4
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/264419
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra11: power: Specify PMU undershoot gaurd-band
Alex Frid [Sun, 12 May 2013 07:06:36 +0000]
ARM: tegra11: power: Specify PMU undershoot gaurd-band

Specified PMU undershoot gaurd-band 100mV for tegratab, macallan, and
pluto boards.

Bug 1285525

Change-Id: I950630c1d3208657fde0a8dda7a538c60cfc706d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/227756
(cherry picked from commit 31a740326f55b922edc0b3c89839dc2332b4ed35)
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/267385
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomisc: ti-st: enable wakeup device
Harry Hong [Wed, 28 Aug 2013 07:32:42 +0000]
misc: ti-st: enable wakeup device

- enable st_host_wake device as wakeup device
- set device_wakeup_enabe by default
- don't freq irq if irq is not registered
 in this driver

bug 1347948

Change-Id: Id8467cadc21270f73154e32711818111b8eb10c0
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/267128
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: bq2419x: Set attr chmod 644
Hyongbin Kim [Wed, 28 Aug 2013 08:21:24 +0000]
power: bq2419x: Set attr chmod 644

Chmod 666 make "testAllFilesInSysAreNotWritable" fail in
android.permission.cts.FileSystemPermissionTest.

Bug 1342684

Change-Id: I60cb2b02080b5b5fd3fdedd5c7fed54b474454c8
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/267178
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jake Park <jakep@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomisc: ti-st: Adding IORESOURCE_IRQ_OPTIONAL case
Harry Hong [Mon, 26 Aug 2013 05:53:01 +0000]
misc: ti-st: Adding IORESOURCE_IRQ_OPTIONAL case

if flag is IORESOURCE_IRQ_OPTIONAL, don't request irq
because this irq need to be registered in another driver.

bug 1347948

Change-Id: I3178aca5b09421b5f6c53d28b6327f530d405e9c
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/265925
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoarm: tegra: tegratab: set INT_UARTC as st_host_wakup
Harry Hong [Mon, 26 Aug 2013 05:45:17 +0000]
arm: tegra: tegratab: set INT_UARTC as st_host_wakup

- add IORESOURCE_IRQ_OPTIONAL in st host wakeup irq resource.
if it's set, don't request irq.
INT_UARTC need to be requested in hsuard driver.
So, don't request it in st host wake drvier. only doing
enable/disable irq in that driver.
- set INT_UARTC as st_host_wakeup irq

bug 1347948

Change-Id: Id6ee39b7307dcbbdc812e531ae743a9e14be03b1
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/265923
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: max17048: correct voltage unit to uV
Hyongbin Kim [Mon, 26 Aug 2013 10:50:37 +0000]
power: max17048: correct voltage unit to uV

In framework, voltage unit is uV.

Bug 1355391

Change-Id: I8a8af62850365b298857289c5a6f0d89bf45d47b
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/266048
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: max17048: add battery temperature property
Hyongbin Kim [Mon, 26 Aug 2013 07:08:45 +0000]
power: max17048: add battery temperature property

To show battery temperature in APP, add POWER_SUPPLY_PROP_TEMP and
POWER_SUPPLY_PROP_TEMP_AMBIENT in property.
Android temperature unit is 1/10 C.
And when battery temp is too hot(60) or too cold(-10),
change battery health property.

Bug 1302687
Bug 1355391

Change-Id: I530a7cd55e1abe8e7a1e3d12cfb2a95c169291d3
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/266047
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: clock: Support EMC freq min/max constraints by PM QoS
Jinyoung Park [Tue, 20 Aug 2013 08:06:28 +0000]
ARM: tegra: clock: Support EMC freq min/max constraints by PM QoS

Support EMC frequency min/max constraints by PM QoS

Bug 1346293

Change-Id: I6987235c72921fdf8229a2411eb212dd7ffa66f0
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/263784
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoPM QoS: Add EMC freq min/max as PM QoS params
Jinyoung Park [Tue, 20 Aug 2013 07:39:25 +0000]
PM QoS: Add EMC freq min/max as PM QoS params

Added EMC frequency min/max as PM QoS parameters.

Bug 1346293

Change-Id: Ib9eb6977edd56420d8518231d06749b2fbf5c34c
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/263783
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agostaging: iio: cm3217: send every value
David Yu [Wed, 21 Aug 2013 09:01:13 +0000]
staging: iio: cm3217: send every value

Bug 1352802

Change-Id: Ia4929456b5d595d435db623a103592b5cc2071ad
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/264289
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: Tegra: TT-power: set sysedp throttle
Hyongbin Kim [Wed, 21 Aug 2013 03:25:03 +0000]
ARM: Tegra: TT-power: set sysedp throttle

At low SOC, set current threshold with INA230 is not enough.
Need to use sysedp capping in low soc.
set 10000mW under 4%, 10500mW under 8%.

Bug 1329495

Change-Id: I15b845f7669729692bfa3e32729512af0a20e555
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/264168
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: max17048: sysedp throttle in low SOC
Hyongbin Kim [Wed, 21 Aug 2013 03:22:27 +0000]
power: max17048: sysedp throttle in low SOC

When low SOC, limit freq of cpu, gpu, emc by sysedp_lite.

Bug 1316595

Change-Id: I112efb815d3c57731d7478bb2ab0589c10f72865
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/264167
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoedp: tegra_core_lite: add tegra_core_lite
Hyongbin Kim [Tue, 20 Aug 2013 03:49:47 +0000]
edp: tegra_core_lite: add tegra_core_lite

When SOC is low, we need to limit clk of cpu, gpu, emc.
For simple use, set power directly and set edp limit.
Just use cpupri table.

Bug 1316595

Change-Id: I3f2644f8564735551be6e61248e916b2981e70ef
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/264166
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: Tegra: TT-power: set current threshold
Hyongbin Kim [Mon, 12 Aug 2013 05:35:46 +0000]
ARM: Tegra: TT-power: set current threshold

Set ina230 current threshold in low SOC.
1.8A under 4% SOC and 2.5A under 8% SOC.
This change has trade off against performence drop at low SOC.

Bug 1316595
Bug 1304204

Change-Id: I6e397277729f2570e29ee3f36170e9c6dfe08467
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/260356
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoRevert "ARM: Tegra: tegratab-power: Set "SOC low" irq threshold to 2%"
Hyongbin Kim [Mon, 12 Aug 2013 05:22:32 +0000]
Revert "ARM: Tegra: tegratab-power: Set "SOC low" irq threshold to 2%"

This reverts commit a285db7ae223699c8d31cce51c32c443cc3d4571.

Bug 1316595
Bug 1333630

Change-Id: Ib382f49dfdab8b72ca7f40618d6eaa43e274450c
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/260355
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoRevert "power: max17048_battery: WAR: Power off when SOC is 1%"
Hyongbin Kim [Mon, 12 Aug 2013 05:21:10 +0000]
Revert "power: max17048_battery: WAR: Power off when SOC is 1%"

This reverts commit 96428cf1a5202bd2758d4c718777e397f35195c7.

Bug 1316595

Change-Id: Ic11f35c3925521aa707f63c8f10c84b5e025189c
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/260354
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: max17048: set current threshold at low SOC
Hyongbin Kim [Mon, 15 Jul 2013 06:09:26 +0000]
power: max17048: set current threshold at low SOC

Support current threshold table for prevent sudden power off
or freeze under low SOC.

Bug 1304204
Bug 1316595

Change-Id: I4374c27a781a96d3f5b6a3f59af2ce3dcd55bbf3
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/249079
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agohwmon: ina230: add export set current threshold
Hyongbin Kim [Mon, 15 Jul 2013 05:21:52 +0000]
hwmon: ina230: add export set current threshold

At low SOC, we need to limit current for system stability.
When set low value to current threshold, should set minimum cpu number
to avoid power down of current monitor.

Bug 1304204
Bug 1316595

Change-Id: I52219755a62acbb5289a6d28237b5ac57fa1a54a
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/249078
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agotegra: video: lgd-wxga-7 avdd power sequence fix
Min-wuk Lee [Wed, 21 Aug 2013 05:32:49 +0000]
tegra: video: lgd-wxga-7 avdd power sequence fix

This change is fixing LGD WXGA 7 AVDD 3.3V power sequence. This
power rail on needs to be >1000ms after it is off.
Add 1000ms delay after this rail is turned off.

Bug 1349957

Change-Id: I2a1d7a2be2df38e2e5eb5a1976d59ca380c730b7
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/264194
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: bq2419x: add R/W permission to other
Hyongbin Kim [Thu, 22 Aug 2013 09:06:25 +0000]
power: bq2419x: add R/W permission to other

For read/write charging complete SOC by user application,
edit permission to 666 from 600.

Bug 1342684

Change-Id: I56478f804da2f33194970c4cbb0d1a5dd42f83e8
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/264797
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: BK Kim <bkk@nvidia.com>
Tested-by: BK Kim <bkk@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoarch: arm: tegratab: Set ocr_mask to 2.8V.
Harry Hong [Tue, 20 Aug 2013 22:57:46 +0000]
arch: arm: tegratab: Set ocr_mask to 2.8V.

bug 1351377

Change-Id: I73fb063219907e11c07166516731cc19d4145fbf
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/264098
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: misc: mpu: change self test criteria
Xiaohui Tao [Tue, 20 Aug 2013 17:38:52 +0000]
input: misc: mpu: change self test criteria

1) Increasing the at rest (Test #3) Threshold from 10dps to 40dps
Invensense claims this was a programming error from their side and
was updated in their code base over a year ago.  They say all their
customers are using (or should be) using the new code (with the
relaxed threshold).

2) Increasing the ST compare (Test #1) Threshold from 14% to 50%
Their response was 14% was set based on their factory results.
However, over time, they had several customer investigations and
found that their customer environments are a lot nosier than their
factory.  Based on more collected samples from the customer site,
they increased this limit from 14% to 50%.  They claim a major
tablet manufacturer with 100.s of thousands of units has taken
the new 50% threshold over a year ago and currently no reported
test escapes with the new threshold.

Bug 1343976

Change-Id: I684f186134db3717d4d1304c14f97dd310843cab
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/263972
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomisc: tegra-profiler: Do not expose kernel IPs
Igor Nabirushkin [Mon, 19 Aug 2013 12:32:24 +0000]
misc: tegra-profiler: Do not expose kernel IPs

In Tegra Profiler misc driver, do not expose kernel-space IPs
for security purposes (for non-root users).

Bug 1312406
Bug 1349673

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

5 years agomisc: tegra-profiler: fix backtracing
Igor Nabirushkin [Mon, 5 Aug 2013 13:29:32 +0000]
misc: tegra-profiler: fix backtracing

check_vma_address function:
sometimes (rarely): address value may be overflowed.

Bug 1312406

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

5 years agomisc: tegra-profiler: allocate memory on demand
Igor Nabirushkin [Mon, 5 Aug 2013 13:22:35 +0000]
misc: tegra-profiler: allocate memory on demand

Tegra Profiler misc driver:
allocate memory on demand from the user space, not on boot

Bug 1312406

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

5 years agoARM: defconfigs: Enable Tegra profiler
Igor Nabirushkin [Thu, 18 Jul 2013 17:59:10 +0000]
ARM: defconfigs: Enable Tegra profiler

Enable Tegra profiler for Tegra platforms

Bug 1312406

Change-Id: I5d2051549b9a144a885e71939cf49a0648b6b4ba
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/250844
Reviewed-by: Daniel Horowitz <dhorowitz@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Daniel Horowitz <dhorowitz@nvidia.com>

5 years agoARM: tegra: Add Tegra Profiler
Igor Nabirushkin [Thu, 18 Jul 2013 17:42:07 +0000]
ARM: tegra: Add Tegra Profiler

Add Tegra Profiler kernel misc driver

Bug 1312406

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

5 years agoARM: Tegra: TT-power: Remove fixed complete soc
Hyongbin Kim [Wed, 14 Aug 2013 10:10:22 +0000]
ARM: Tegra: TT-power: Remove fixed complete soc

Charging complete soc can be set by sysfs.
Don't need to change charger pdata in factory mode.

Bug 1342684

Change-Id: Ia514a0e0b92906c46660ef92edbb39831e747037
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/261487
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: bq2419x: Support set charging complete SOC
Hyongbin Kim [Wed, 14 Aug 2013 06:31:02 +0000]
power: bq2419x: Support set charging complete SOC

Add sysfs for set charging complete SOC in user space.
When soc value is not 100%, just check soc and cut charger power
when charging is done.
Set value should be between 60 and 100.
Make foraml way to use SOC check charging done.

Bug 1342684

Change-Id: Ia45a585e4709d0d109788018e38d24ffa1e42c09
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/261486
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agovideo: tegra: nvmap: enable iwb page pool if outer cache is present
Krishna Reddy [Wed, 20 Mar 2013 23:03:06 +0000]
video: tegra: nvmap: enable iwb page pool if outer cache is present

If outer cache is not present, wb and iwb refer to same memory type
and page pool is not necessary.

Bug 1328248

Change-Id: I86713ccb4eb8d41b8129dd241dc72218039bbd26
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/259406
Reviewed-by: Harry Hong <hhong@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agostaging: iio: light: cm3217: report valid events
Sri Krishna chowdary [Fri, 16 Aug 2013 13:02:28 +0000]
staging: iio: light: cm3217: report valid events

1. polling delay set by user should be greater than
minimum time that an ADC conversion of luminance happens.
Else sensor will simply report zero.

2. After enabling the sensor, wait for one polling delay
before start reading the luminance values.

Bug 1350036

Change-Id: I64facd1a6ee7ef1870ce1ef90942e444b9744a3a
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/262439
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
Tested-by: David Yu (Engrg-SW) <davyu@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: touch: maxim_sti: Update to version 1.4.1, v22
Robert Collins [Thu, 15 Aug 2013 16:44:35 +0000]
input: touch: maxim_sti: Update to version 1.4.1, v22

Changes:
 - Water Rejection: Multiple Stylus cursors are getting
   displayed when the water drops are there in screen
 - Water Rejection: Touch screen is not responding to
   stylus or manual touch in water droplet area

Bug 1301942
Bug 1302147

Change-Id: If5b403995ca2eeef0106b61553616fc0455351ff
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/261949
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra11: clock: Move auto-refresh control to CCFIFO
Alex Frid [Sun, 19 May 2013 06:23:27 +0000]
ARM: tegra11: clock: Move auto-refresh control to CCFIFO

Disabled/Enabled auto-refresh during EMC clock change using CCFIFO
mechanism.

Bug 1339693

Change-Id: I00fc1cc4fe4668ed84c1e7a4e105ebbb684b0ca5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/261318
Reviewed-by: David Yu (Engrg-SW) <davyu@nvidia.com>
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agostaging: android: lowmemorykiller: Add config option to support oom_adj values
Arve Hjønnevåg [Wed, 26 Sep 2012 00:37:14 +0000]
staging: android: lowmemorykiller: Add config option to support oom_adj values

The conversion to use oom_score_adj instead of the deprecated oom_adj
values breaks existing user-space code. Add a config option to convert
oom_adj values written to oom_score_adj values if they appear to be
valid oom_adj values.

Change-Id: I68308125059b802ee2991feefb07e9703bc48549
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/261325
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoRevert "ARM: tegra: dc: program active mux for cursor"
Min-wuk Lee [Tue, 13 Aug 2013 01:07:45 +0000]
Revert "ARM: tegra: dc: program active mux for cursor"

This reverts commit 3bb0d7f08cde9ef74c7419218187a3ca53b961c1.
Cursor programming to ACTIVE copy directly is bad and not
desired programming sequence, which has caused unexpected
cursor window rendering across whole screen suddenly.
With this change, it programs to ASSEMBLY copy and latch
them into ACTIVE copy after GENERAL_ACT_REQ.

Bug 1314051

Change-Id: Ic40557f93db5a4503fbe4362c4d6b27a1ef0acd7
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/260852
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: touch: maxim_sti: Update to version 1.4.0, v21
Robert Collins [Tue, 13 Aug 2013 02:37:12 +0000]
input: touch: maxim_sti: Update to version 1.4.0, v21

Changes:
- Fixed: Will respawn touch_fusion daemon in the event it crashes
  (bug 1316502/1339998).
- Fixed: Touch linearity issues fixed (Bug 1326822).
- Improved:  Linearity on edges (Bug 1333700).

Bug 1316502
Bug 1326822
Bug 1333700
Bug 1339998

Change-Id: I731da02b5912723b41da553eca19400885e10976
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/260856
Reviewed-by: Bo Kim <bok@nvidia.com>
Tested-by: Bo Kim <bok@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: max17048: Set default RCOMP when power off
Hyongbin Kim [Mon, 12 Aug 2013 10:46:55 +0000]
power: max17048: Set default RCOMP when power off

Reset to default RCOMP value when power off.

Bug 1341794

Change-Id: I4b5b4d375a39593c67bf38703e782ce2d1bec933
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/260486
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agovideo:tegra:ad5823 support physical/working range
Karl Kim [Fri, 9 Aug 2013 02:20:23 +0000]
video:tegra:ad5823 support physical/working range

NVCS can't set the full range because the ad5823 driver is
clipping position value as working range.
This is separated physical and working range

Bug 1340766

Change-Id: I61f4dbdc8572fd6b1725a9e0803656b9d0bc1ec4
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/259886
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jake Park <jakep@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Kim <pekim@nvidia.com>

5 years agopower: bq2419x: Set max charge current to 3.136A
Hyongbin Kim [Fri, 9 Aug 2013 06:56:33 +0000]
power: bq2419x: Set max charge current to 3.136A

When charging voltage is too high(ex 11.75V), charging current is over
battery spec.

Bug 1343646

Change-Id: I27ba26456947c0dd840d892b26aefe320d4bb7da
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/259986
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoarm: tegra: tegratab: change avdd_lcd to 3.16V
Yong Goo Yi [Wed, 7 Aug 2013 05:24:05 +0000]
arm: tegra: tegratab: change avdd_lcd to 3.16V

avdd_lcd(palmas smps6) need to be set to < 3.185V = 3.24V(Vsys min) - 0.055V
to prevent the dropout of smps6 output.

Bug 1343471

Change-Id: I8308abded2af4c5600302eaea959202f7086015b
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/259014
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agotegra: video: prevent duplicated enabling hdmi 5V
Yong Goo Yi [Fri, 9 Aug 2013 07:45:42 +0000]
tegra: video: prevent duplicated enabling hdmi 5V

smps10(supply of fixed_reg_vdd_hdmi_5v0) can't be boost off because of
duplicated enabling of vdd_hdmi_5v0 consumer.
It causes additional 1mA LP0 power.
Prevent the duplicated enabling of vdd_hdmi_5v0.

Bug 1344357

Change-Id: If57669e7b1f4a5753eb93d7486371fa6afc3934b
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/259999
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomaxim_sti: stylus and finger mutual exclusion
Youngjin Kim [Thu, 8 Aug 2013 01:55:43 +0000]
maxim_sti: stylus and finger mutual exclusion

Android frameworks cannot handle input events properly when
there are two or more touch input devices if input events
are coming from two or more devices at the same time.

As a workaround, make stylus and finger events be mutually
exclusive when splitting input devices into two.

Also correct some #if usage and make it report lift event
for stylus and finger respectively when splitting input
devices.

Bug 1324291
Bug 1340004

Change-Id: I0dd5da29844433b79db2a00b352ffb50fe4e8a09
Signed-off-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-on: http://git-master/r/259409
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Kim <bok@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: touch: maxim_sti: enable device splitting
Bo Kim [Thu, 1 Aug 2013 05:49:36 +0000]
input: touch: maxim_sti: enable device splitting

Many android apps cannot get the touch events correctly
due to they are looking for input device which has only
touchscreen source type instead of using bitmask.

This is to make the apps can get the touch events
correctly without fixing the apps by splitting input
devices for finger touch and stylus.

Bug 1324291
Bug 1340004

Change-Id: I9bd0697cebd05e314b3eba595b3fa89ef40d33c0
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/259615
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agotty: serial: enable irq_wake
Harry Hong [Mon, 5 Aug 2013 04:35:51 +0000]
tty: serial: enable irq_wake

enable irq_wake for uart interrupt if wakeup from lp0
is required.
ex) BT host-wake pin is connected to uart3_cts.
so, making uart interrupt as wake irq.

bug 1328470

Change-Id: I11f7ea8a627a84972c5d734d256a253cad2bc0af
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/257237
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: tegra: enable uart3_cts irq as wakeup source
Harry Hong [Fri, 2 Aug 2013 05:24:10 +0000]
ARM: tegra: enable uart3_cts irq as wakeup source

bug 1328470

Change-Id: I4290bf99942efc2e78a494e25a123de01c73ca91
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/257236
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: dts: tegratab: update hdmi tmds config
Harry Hong [Thu, 8 Aug 2013 01:35:07 +0000]
ARM: dts: tegratab: update hdmi tmds config

Update tmds setting according to hw input.

bug 1299040

Change-Id: I7d9934e9e7e0d1add5e574b957cfdda45aeea9f4
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/259399
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naly Guo <nguo@nvidia.com>
Tested-by: Naly Guo <nguo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoARM: Tegra: tegratab: apply TempCoCold, TempCoHot
Hyongbin Kim [Tue, 6 Aug 2013 09:53:15 +0000]
ARM: Tegra: tegratab: apply TempCoCold, TempCoHot

For temperature compensation, apply TempCo values.
Set TempCoHot to -1.125
Set TempCoCold to -7.625

Bug 1304204
Bug 1317331

Change-Id: If48d934b02d85c0aeb58364ae82e214e7faaf91c
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/258674
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Kim <bok@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: max17048: reduce debug message
Hyongbin Kim [Tue, 6 Aug 2013 09:49:01 +0000]
power: max17048: reduce debug message

For reduce debug massage, print VCELL and SOC when SOC is changed.
And add print temperature when temperature is changed over 1.5C.

Bug 1304204
Bug 1317331

Change-Id: I6966a79d7a7045b839a1cdde8520a231e4aa3b08
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/258673
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Kim <bok@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: max17048: Use Tskin instead of Batt temp
Hyongbin Kim [Tue, 6 Aug 2013 09:47:28 +0000]
power: max17048: Use Tskin instead of Batt temp

In tegratab, we can use Tskin as battery temperature.
Acoording to thermal test, there is small gap between Tskin and Battery temp.
Tegratab has limitation by H/W to get real battery temp.

Bug 1304204
Bug 1317331

Change-Id: Ie0b996bcd7ba05a36c3a77870376b1e516729f4e
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/258672
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Kim <bok@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agopower: max17048: apply RCOMP for temp compensation
Hyongbin Kim [Tue, 6 Aug 2013 09:11:17 +0000]
power: max17048: apply RCOMP for temp compensation

Fuel gauge need to compensate the RCOMP value according to Battery temperature
chaging. For best performance, reduce period to 10sec and apply new RCOMP
when temperature is changed over 1.5C.

Bug 1304204
Bug 1317331

Change-Id: I4e74d1e39d68297c5df9fccad0cb2879b7663e34
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/258671
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Kim <bok@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agomedia:video:tegra: ov5693 using real gain mode
Karl Kim [Tue, 6 Aug 2013 08:22:08 +0000]
media:video:tegra: ov5693 using real gain mode

Current OV5693 gain mode is sensor gain. sensor gain mode can't
support 16x gain. so gain mode change to real gain mode.

Bug 1310144

Change-Id: Iaf71983273655c93847b79ebd384020f14b75ff4
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/258663
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Kim <pekim@nvidia.com>

5 years agotegratab: active-standby: add program on updating
Chun Xu [Tue, 6 Aug 2013 08:24:48 +0000]
tegratab: active-standby: add program on updating

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

Bug 1230562

Change-Id: I522b77466128c94610859f061dce08444eab2d9a
Signed-off-by: Chun Xu <chunx@nvidia.com>
Reviewed-on: http://git-master/r/258629
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Jiukai Ma <jiukaim@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agotegratab: fix preempt_count non-zero schedule
Chun Xu [Mon, 5 Aug 2013 08:55:17 +0000]
tegratab: fix preempt_count non-zero schedule

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

Bug 1342554

Change-Id: I1673d56751a8a95b988b325b3857c8a5fe4c78ce
Signed-off-by: Chun Xu <chunx@nvidia.com>
Reviewed-on: http://git-master/r/258545
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Jiukai Ma <jiukaim@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: misc: Fix self-test
Erik Lilliebjerg [Mon, 29 Jul 2013 18:42:18 +0000]
input: misc: Fix self-test

- Fix self-test HW restore after test.
- Fix register write failures due to PM cycle mode.

Bug 1327608
Bug 1313284
Bug 1311053
Bug 1315609

Change-Id: I9b9fb1afc8b9a10309e0224e56813bc9e400598c
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/255171
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Tested-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
(cherry picked from commit 029e3a6a8053e128c93b6bfc3850b74d5577ca66)
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/258596
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: misc: sensor drivers
Erik Lilliebjerg [Mon, 8 Jul 2013 12:55:56 +0000]
input: misc: sensor drivers

- reduce suspend time for compass and pressure
- fix MPU possible interrupt storm
- fix MPU sample frequency overrun
- fix MPU 9250 support for sw_rev > 2 HW
- add BMP280 support to BMP180 pressure driver
- optimize MPU FIFO timestamp algorithm
- add compass self-test
- add data interface

Bug 1313284
Bug 1311053
Bug 1295128
Bug 1256470
Bug 1236893

Change-Id: I4ffa906c07ed1d07ad3b89aea9eb83fb153b765d
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/246132
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
(cherry picked from commit 8cdf5b9ccfb47477229bf2cbb37f5132e81ad39e)
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/258517
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoarm: tegra: tegratab: Turn off sd card vddio_sdmmc
Yong Goo Yi [Tue, 6 Aug 2013 07:57:33 +0000]
arm: tegra: tegratab: Turn off sd card vddio_sdmmc

Turn off vddio_sdmmc(Palmas LDO9) for sd card when
system reset and system shutdown.
If it is turned on during system reset, Palmas smps9(supply of LDO9)
is turned on during LP0 after reset then abnormally consume additional 22mA.

Bug 1341915

Change-Id: Idd0ca32482c9f8fcb67970d4d914810c35560fda
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/258623
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agoinput: touch: maxim_sti: Update to version 1.3.1, v19
Robert Collins [Mon, 5 Aug 2013 18:12:32 +0000]
input: touch: maxim_sti: Update to version 1.3.1, v19

Changes:
- Fixes bug 1322007 We are seeing a halo of no touch/pen activity
  around a thumb on the screen.
- Fixes bug 1327520 Touch strokes are missing at intermittent
  soft keys on virtual keyboard soft key press.
- Improves bug 1327474 Drawing with finger suddenly starts to
  act as eraser if user changes the finger while drawing.
- Improves bug 1296212 Erasing angle is not consistent using
  stylus, sometimes draws during erase.

Bug 1322007
Bug 1327520
Bug 1327474
Bug 1296212

Change-Id: Ic5c909e9d3aa18e8dc5a3fb8fec06ab8ffedc7d6
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/258244
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoRevert "input: touch: maxim_sti: enable device splitting"
Gabby Lee [Tue, 6 Aug 2013 02:51:13 +0000]
Revert "input: touch: maxim_sti: enable device splitting"

This reverts commit 0842d2849de602beabec0a1e1d99c817e46b9c4e

Change-Id: I27e56109b5722f533d7a91fa07f04b00ad952a95
Reviewed-on: http://git-master/r/258451
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>

5 years agoasoc: codecs: rt5639: switch codec system clock
Simon Je [Fri, 2 Aug 2013 00:59:57 +0000]
asoc: codecs: rt5639: switch codec system clock

We need to switch the codec system clock to
internal clock only when bias level is OFF
when plugggin earjack.

Bug 1340840

Change-Id: I01ad0ccff952c1f811d24cb22fde70192753d77e
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/257194
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: tegra: tegratab: Add Tskin coefficients for P1640 A02
Jinyoung Park [Mon, 5 Aug 2013 03:10:56 +0000]
ARM: tegra: tegratab: Add Tskin coefficients for P1640 A02

Added Tskin coefficients for P1640 A02.

Bug 1341945

Change-Id: I6c48db541d19a63b07a8d3c1fedb995df4263ee7
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/257983
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>

5 years agousb: host: tegra: reduce delay in driver remove
Rohith Seelaboyina [Thu, 25 Jul 2013 11:51:56 +0000]
usb: host: tegra: reduce delay in driver remove

Following are taken care:
1. Add check conditions before updating the pm_qos nodes
2. Reduce delay in driver remove path to sync
ehci_bus_resume, ehci_bus_suspend, ehci_remove

Bug 1316354
Bug 1331078

Change-Id: I51e251474a9def65286e7a6f8099ad9cdc40d0ea
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/253427
(cherry picked from commit 12ec9f88a730f1e27b0ef43955eb7e618bd5e447)
Reviewed-on: http://git-master/r/256635
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>