5 years agomisc: tegra-profiler: add poll support
Igor Nabirushkin [Tue, 24 Sep 2013 13:11:06 +0000]
misc: tegra-profiler: add poll support

Tegra Profiler misc driver: add poll support

Bug 1374312

Change-Id: Id0844b3b329f348763f22b831fc73ac64f04fd9b
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324078
(cherry picked from commit 5cf6aad33faf73a32d01aa9f4d064410c5a677b3)
Reviewed-on: http://git-master/r/340010
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: send buffer fill count
Igor Nabirushkin [Tue, 24 Sep 2013 11:46:16 +0000]
misc: tegra-profiler: send buffer fill count

Tegra Profiler misc driver: transmit the maximum buffer
occupancy to the user space.

Bug 1374266

Change-Id: Id078083a5493552c1f3bb697a1d3e4a5504e3f82
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324051
(cherry picked from commit 9e94874e5edee9baa2e6be21712fa67a967eb6bc)
Reviewed-on: http://git-master/r/340006
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: kprobes is no longer used
Igor Nabirushkin [Fri, 4 Oct 2013 21:35:23 +0000]
misc: tegra-profiler: kprobes is no longer used

Tegra Profiler: kprobes is no longer used
Use callbacks from the scheduler instead of kprobes

Bug 1343930

Change-Id: I67589dbe972cc5c853addfb6ed82c488529eed55
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/324049
(cherry picked from commit b61817c8d9ad5e45ca17dfd47cb3f9ee864b744e)
Reviewed-on: http://git-master/r/340004
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: remove excess callchains
Igor Nabirushkin [Sun, 8 Sep 2013 06:43:36 +0000]
misc: tegra-profiler: remove excess callchains

Tegra Profiler: improve performance by removing
unnecessary callchains

Bug 1364258

Change-Id: I664fbabb576b98b1609db6fd904d9449727e2523
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/277090
(cherry picked from commit 65da0a2e6e2b984326c4f75775ba58cb38949956)
Reviewed-on: http://git-master/r/340002
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: add /proc entries
Igor Nabirushkin [Sat, 7 Sep 2013 11:16:57 +0000]
misc: tegra-profiler: add /proc entries

Tegra Profiler: show version and capabilities:
/proc/quadd/version
/proc/quadd/capabilities

Bug 1364258
Bug 1312406

Change-Id: I4ba26a0b6e95ecd350add4fac851feb98b0e84de
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/277087
(cherry picked from commit da5c0d26846f142166e51a18f6d523a2fd961c27)
Reviewed-on: http://git-master/r/340001
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: tegra-profiler: fix incorrect names
Igor Nabirushkin [Sat, 7 Sep 2013 07:36:23 +0000]
misc: tegra-profiler: fix incorrect names

Tegra Profiler: fix incorrect names of modules.
mmap buffers are created for each core

Bug 1364251
Bug 1312406

Change-Id: Ib60fa45e5418de3acf2afd782c53650f17731976
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/276975
(cherry picked from commit be01a69b08224236d447b2a1a2fb0d23698fed98)
Reviewed-on: http://git-master/r/339999
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoinput: misc: mpu: reduce mpu init time
David Yu [Mon, 9 Dec 2013 12:11:49 +0000]
input: misc: mpu: reduce mpu init time

200 ms delay caused by i2c error is removed.
Max 40 ms delay caused by logical mistake is removed.
8 ms delay is added in order to avoid i2c error on mpu chip power up.

Bug 1412917

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

5 years agommc: host: sdhci: tegra: delayed clk gate enable
Bitan Biswas [Mon, 25 Nov 2013 12:46:03 +0000]
mmc: host: sdhci: tegra: delayed clk gate enable

bug 1372006

Change-Id: I0c51aedafbcb1502df6cfd51d841d64b42e71f36
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/335082
(cherry picked from commit 4b0841dc1c4d1e32b412348c184591c015576e5f)
Reviewed-on: http://git-master/r/339099
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agommc: host: sdhci: delayed clock gate support
Pavan Kunapuli [Thu, 24 Oct 2013 13:33:45 +0000]
mmc: host: sdhci: delayed clock gate support

Aggressive clock gate degrades sdhci performance.
Hence, sdhci clock gate is delayed.
 - sdhci clock gate is done if no further
   transaction starts within 20msec interval
 - delayed clock gate only supported for EMMC
   in this patch
 - switch is set as delayed clock gate off

bug 1372006

Change-Id: I9672cbd643dfb45192062dc827275daacc813cc5
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/335081
(cherry picked from commit 378d42be0224ed9f57c77ee57997786c5e8e218f)
Reviewed-on: http://git-master/r/339098
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoinput: touch: maxim: restore touch dvdd
David Jung [Mon, 2 Dec 2013 06:09:18 +0000]
input: touch: maxim: restore touch dvdd

Remove extraneous changes that caused touch dvdd to be init off;
Turn touch dvdd init on.

Bug 1367030
Bug 1404490

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

5 years agoARM: tegra: tegratab: Disable GPADC auto shutdown
Jinyoung Park [Thu, 5 Dec 2013 00:57:30 +0000]
ARM: tegra: tegratab: Disable GPADC auto shutdown

Disable GPADC auto shutdown due to GPADC lock issue in auto mode.

Bug 1366274
Bug 1417932

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

5 years agoARM: tegra: cpu: Set CPU freq min at suspend freq
Jinyoung Park [Wed, 4 Dec 2013 01:05:08 +0000]
ARM: tegra: cpu: Set CPU freq min at suspend freq

Set CPU freq min at suspend freq during pre/post suspend to ensure CPU
freq at suspend freq.

Bug 1354391
Bug 1412917

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

5 years agoARM: tegra: Change boost_up_threshold for MCCPU
Jinyoung Park [Mon, 2 Dec 2013 03:59:20 +0000]
ARM: tegra: Change boost_up_threshold for MCCPU

Changed MCCPU boost_up_threshold from 27 to 20 for better EMC freq
boosting latency.

Bug 1364608

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

5 years agoARM: tegra: tegratab: Enable Tboard temp shutdown per board revision
Jinyoung Park [Wed, 4 Dec 2013 04:21:02 +0000]
ARM: tegra: tegratab: Enable Tboard temp shutdown per board revision

Enable Tboard temp shutdown per board revision.

Bug 1366274

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

5 years agoARM: configs: tegratab: set panic timeout to 4 sec
David Yu [Mon, 2 Dec 2013 05:15:09 +0000]
ARM: configs: tegratab: set panic timeout to 4 sec

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

5 years agoarch: tegra: Enable cfq IO scheduler
David Yu [Mon, 2 Dec 2013 04:30:27 +0000]
arch: tegra: Enable cfq IO scheduler

Bug 1229761

Change-Id: Ie8c732bea4d9c1525e2d4661c086e91afb9a21cf
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/237471
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/337100
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: Enable Tboard temp shutdown
Jinyoung Park [Fri, 29 Nov 2013 07:15:54 +0000]
ARM: tegra: tegratab: Enable Tboard temp shutdown

Enable Tboard temp shutdown.
System will be shutdown if Tboard temp is above 95C.

Bug 1366274

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

5 years agoiio: staging: adc: palmas: Restore CH3 current source
Jinyoung Park [Fri, 29 Nov 2013 07:13:15 +0000]
iio: staging: adc: palmas: Restore CH3 current source

Restore CH3 current source if CH3 is dual current mode.

Bug 1366274

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

5 years agoiio: staging: adc: palmas: Support for auto conversion shutdown
Jinyoung Park [Fri, 29 Nov 2013 06:15:32 +0000]
iio: staging: adc: palmas: Support for auto conversion shutdown

Support for auto conversion shutdown when auto conversion result is
crossed threshold.

Bug 1366274

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

5 years agoiio: staging: adc: palmas: Rename wakeup to auto conversion
Jinyoung Park [Fri, 29 Nov 2013 05:58:59 +0000]
iio: staging: adc: palmas: Rename wakeup to auto conversion

Rename wakeup to auto conversion.

Bug 1366274

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

5 years agoiio: staging: adc: palmas: Correct auto conversion period
Jinyoung Park [Fri, 29 Nov 2013 05:43:13 +0000]
iio: staging: adc: palmas: Correct auto conversion period

Corrected auto conversion period calculation.

Bug 1366274

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

5 years agoiio: staging: adc: palmas: add support for auto conversion during sleep
Laxman Dewangan [Sun, 21 Jul 2013 07:56:22 +0000]
iio: staging: adc: palmas: add support for auto conversion during sleep

Add support of continuous ADC conversion and threshold configuration for
ADC channel so that if the channel data crosses the threshold value, it
can wakeup system from suspend.

bug 1301017
bug 1366274

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/243914
(cherry picked from commit 8cf130a684131e528734c435ed837a297ffb3908)

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/251674
(cherry picked from commit 16c693bf69b1ea0a09731caf0b175b4cb9ddc5e5)

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

5 years agomfd: palmas: add auto conversion irqs in irq resource
Laxman Dewangan [Mon, 1 Jul 2013 14:23:35 +0000]
mfd: palmas: add auto conversion irqs in irq resource

Pass GPADC auto conversion threshold interrupt to the ADC driver
through irq resource.

bug 1301017
bug 1366274

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/243913
(cherry picked from commit a7c4170d5c084d65abf3545781892adb3a96226a)

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/251679
(cherry picked from commit c582e0045aa824e0faad0e846fd6e78d54492ca0)

Change-Id: Iba0108592895c8f8bc0dce3525ced5b8dd72749f
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/336844
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agotegratab: config: enable selinux to permissive mode
Hyongbin Kim [Thu, 28 Nov 2013 05:57:21 +0000]
tegratab: config: enable selinux to permissive mode

- Enable SELinux for JB MR2
- Set config option AUDIT, SECURITY, SECURITY_NETWORK,
  SECURITY_SELINUX, EXT4_FS_SECURITY
- All other defconfig changes are side effect of using
  menuconfig

bug 1365452

Change-Id: I24e2243dde130bc082043a1a29998f6bb136f85b
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/336491
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoRevert "RM: tegratab: config: re-enable IKCONFIG_PROC"
Harry Hong [Thu, 28 Nov 2013 07:59:52 +0000]
Revert "RM: tegratab: config: re-enable IKCONFIG_PROC"

This reverts commit 01cacac6b801de62903dc447ac5eb514a648bd86.

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

5 years agousb: gadget: Tegra: 100mA charge current for EL_9
Rakesh Bodla [Mon, 25 Nov 2013 05:40:32 +0000]
usb: gadget: Tegra: 100mA charge current for EL_9

It limits the charge current to < 100mA so that EL_9 test
(Test_J, Test_K and TEST_SE0_NAK) can pass the +- 10mV spec.

Bug 1401531

Change-Id: I32b5083dcd04501eee845fee8662fef9959c2513
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/333261
(cherry picked from commit bfd4683b7bd162ed51fbed4925b09b288796c6fa)
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/336035
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agopower: bq2419x: find charging current from 100mA
Yong Goo Yi [Wed, 20 Nov 2013 06:19:00 +0000]
power: bq2419x: find charging current from 100mA

It is for supporting the request of < 500mA charging current

Bug 1401531

Change-Id: Ie6ff13df175312bf3b5791ef1dbb3d5461511632
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/333260
(cherry picked from commit 86ccac8ac0a17cbc0c8d45ee60302c7db5951939)
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/336034
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoactive-standby: add cmdline into /proc/net/
chunx [Fri, 5 Jul 2013 03:42:05 +0000]
active-standby: add cmdline into /proc/net/

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

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

Bug 1185001
Bug 1342554

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

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

5 years agoarm: tegra:active-standby:replace uid with cmdline
chunx [Thu, 18 Jul 2013 09:25:49 +0000]
arm: tegra:active-standby:replace uid with cmdline

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

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

Bug 1185001
Bug 1230562

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

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

5 years agomedia:video:tegra: ov5693 fuse ID is 8bytes.
Karl Kim [Mon, 25 Nov 2013 08:26:50 +0000]
media:video:tegra: ov5693 fuse ID is 8bytes.

The length of ov5693 fuseID is 8-bytes.

Bug 1399569

Change-Id: I1549156c0c070565ee88c0c74dd20ca4ad5631a4
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/334994
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoarm: tegra: spi: Reduce latency between spi transactions
Shardar Shariff Md [Thu, 25 Jul 2013 13:01:35 +0000]
arm: tegra: spi: Reduce latency between spi transactions

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

Bug 1297342
Bug 1394476

Change-Id: I026f9a88f3937c4077f938ce49a7431b7e170272
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/333033
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agospi: Dont call prepare/unprepare transfer if not populated
Shubhrajyoti D [Thu, 10 May 2012 13:50:41 +0000]
spi: Dont call prepare/unprepare transfer if not populated

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

Bug 1297342
Bug 1394476

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

5 years agoARM: dts: tegratab: update smooth_k_incr
Min-wuk Lee [Mon, 18 Nov 2013 11:58:35 +0000]
ARM: dts: tegratab: update smooth_k_incr

Update PRISM smooth_k_incr to 4.

Bug 1401127

Change-Id: If29eb40211cb6f8f244bc1cd5f10e657cc6bc7ef
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/332417
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: tegra: always enable RAM repair for all chips
Bo Yan [Fri, 13 Sep 2013 06:21:56 +0000]
ARM: tegra: always enable RAM repair for all chips

RAM repair sequence must be done even if no RAM is actually repaired.

bug 1366617

Change-Id: Ibaabf1355310aeea01b5a9e247ce99625dc31a3e
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/323997
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: Update Tskin coeffs
Jinyoung Park [Fri, 15 Nov 2013 13:09:42 +0000]
ARM: tegra: tegratab: Update Tskin coeffs

Updated Tskin coefficients for after P1640 A02.

Bug 1287901
Bug 1401769

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

5 years agostaging: iio: adc: palmas: Force calibrate ADC value
Jinyoung Park [Thu, 14 Nov 2013 07:47:24 +0000]
staging: iio: adc: palmas: Force calibrate ADC value

Force calibrate ADC value for only TegraTab.

Bug 1287901
Bug 1401769

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

5 years agoARM: tegra: tegratab: Update NTC thermistor table
Jinyoung Park [Wed, 23 Oct 2013 11:44:28 +0000]
ARM: tegra: tegratab: Update NTC thermistor table

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

Bug 1287901
Bug 1401769

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

5 years agoARM: dts: tegra114: tegratab: Update Hynix dvfs table to v2.0
Jinyoung Park [Fri, 15 Nov 2013 16:16:50 +0000]
ARM: dts: tegra114: tegratab: Update Hynix dvfs table to v2.0

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

Bug 1295511

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

5 years agoARM: tegra: tegratab: Set proper VDDIO_DDR per SDRAM type
Jinyoung Park [Wed, 23 Oct 2013 01:58:47 +0000]
ARM: tegra: tegratab: Set proper VDDIO_DDR per SDRAM type

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

Bug 1295511

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

5 years agoinput: touch: maxim: correct resume
David Jung [Wed, 13 Nov 2013 18:44:11 +0000]
input: touch: maxim: correct resume

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

Bug 1404490
Bug 1402764

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

5 years agoRevert "Revert "Revert "input: touch: maxim_sti: Check thread stop condition"""
David Jung [Wed, 13 Nov 2013 21:48:45 +0000]
Revert "Revert "Revert "input: touch: maxim_sti: Check thread stop condition"""

This reverts commit 9ec2935d1e8b3a71a41bf383ca2e511aa24c7add.

Bug 1404490

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

5 years agoRevert "Revert "Revert "input: touch: maxim_sti: Shutdown safely"""
David Jung [Wed, 13 Nov 2013 21:48:11 +0000]
Revert "Revert "Revert "input: touch: maxim_sti: Shutdown safely"""

This reverts commit 7a44e63b7af9e134958fa8777f8df333b4c90269.

Bug 1404490

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

5 years agoRevert "Revert "Revert "input: touch: maxim_sti: boot fusion from init"""
David Jung [Wed, 13 Nov 2013 21:47:38 +0000]
Revert "Revert "Revert "input: touch: maxim_sti: boot fusion from init"""

This reverts commit ea70be4d831ccb26d02eaf7ed79c085923c52e98.

Bug 1404490

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

5 years agoRevert "Revert "input: touch: maxim: fix daemon crashing issue""
David Jung [Wed, 13 Nov 2013 21:46:44 +0000]
Revert "Revert "input: touch: maxim: fix daemon crashing issue""

This reverts commit 3fd9e9e13d7b931187749f458c5cc44ac3219bfa.

Bug 1404490

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

5 years agoRevert "Revert "input: touch: maxim_sti: Check thread stop condition""
Bo Kim [Tue, 12 Nov 2013 05:44:39 +0000]
Revert "Revert "input: touch: maxim_sti: Check thread stop condition""

This reverts commit 1bc450b4caa8c4278f1319762831c4eac9d35af2.

Bug 404490

Change-Id: I3741958a904b64e3e9ccd8d4b5d4607bb321805f
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/329442
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoRevert "Revert "input: touch: maxim_sti: Shutdown safely""
Bo Kim [Tue, 12 Nov 2013 05:44:34 +0000]
Revert "Revert "input: touch: maxim_sti: Shutdown safely""

This reverts commit ce2ba962988bacc50bba26896fd6e257a974a2ac.

Bug 404490

Change-Id: I9802181a1063f1b6a62a7a6926129044e75cd43f
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/329441
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoRevert "Revert "input: touch: maxim_sti: boot fusion from init""
Bo Kim [Tue, 12 Nov 2013 05:44:30 +0000]
Revert "Revert "input: touch: maxim_sti: boot fusion from init""

This reverts commit 38de984126dad63a10e6fc95507bebe917ea0db0.

Bug 404490

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

5 years agoRevert "input: touch: maxim: fix daemon crashing issue"
Bo Kim [Tue, 12 Nov 2013 05:44:10 +0000]
Revert "input: touch: maxim: fix daemon crashing issue"

This reverts commit 62a1c3b203c1ea1dded54187041002de0617462b.

Bug 404490

Change-Id: I9a49bd7b8d028c93da8e9b50d028e18f9aa0b53a
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/329439
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoarm: tegra: bypass PllP during LP1 suspend
Bo Yan [Thu, 31 Oct 2013 17:43:31 +0000]
arm: tegra: bypass PllP during LP1 suspend

RAM repair requires PllP, so it shouldn't be disabled. To save
power, instead of keeping it running at 408Mhz, enable bypass
mode, so RAM repair logic can be clocked by oscillator. This
is done when LP1 entry is from fast cluster only.

In addition, change PLLP_OUT0_RATIO to 0 so the reshift clock
is not being further divided down, change it back to default
value after PllP is enabled and bypass is disabled.

bug 1373419

Change-Id: I2bbcd15eaa0b222faadcae00448bd677c8387c69
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/310133
(cherry picked from commit 5eeb5fac5efde9f99c2bf2524570f4231359af5a)
Reviewed-on: http://git-master/r/328858
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoarm: tegra: boards: fix pinmux of GMI_CS7
Jay Cheng [Tue, 5 Nov 2013 15:10:28 +0000]
arm: tegra: boards: fix pinmux of GMI_CS7

bug 1398378

Change-Id: I7f5de50a26366c00a8a2322e7ee4136a0e872016
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
Reviewed-on: http://git-master/r/327276
(cherry picked from commit 9a119e5c05711e311f732f85abf231aa08de1d14)
Reviewed-on: http://git-master/r/328706
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoarm: tegra: iovmm: fix iovmm vm size
Krishna Reddy [Tue, 26 Mar 2013 20:59:41 +0000]
arm: tegra: iovmm: fix iovmm vm size

Bug 1258122

Change-Id: Ib1bd37e7a63df6ea341a9ed735af96efb53d39fd
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/213186
(cherry picked from commit a2b40d0cb29276fe7ffa061a8bc1535dfdabdf06)
Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: http://git-master/r/281238
(cherry picked from commit 173fb430813a234558475c801854672d58bd3ce6)
Reviewed-on: http://git-master/r/328028
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agovideo: tegra: host: Fix race from acm
Arto Merilainen [Thu, 2 May 2013 10:25:01 +0000]
video: tegra: host: Fix race from acm

The code did not take the client list mutex while setting a new
devfreq rate. However, the code utilised the list to determine
the required rate and therefore caused a race. This caused illegal
memory accesses if the client list was modified at the same time
the devfreq rate was set.

Bug 1375457

Change-Id: Ic4747e5c0fb38b717b5addcffd2d5ef7c188feea
Reviewed-on: http://git-master/r/224836
(cherry picked from commit 2024a2a9ea7d868e2c05d1f15dd3c7f1a9ba2e13)

Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/280997
(cherry picked from commit 57b79ad70752a164f1446a8a49a54be7b2076098)
Change-Id: I2b754466bdb5c9d376b422ebd3e72e54ed790ef6
Reviewed-on: http://git-master/r/328025
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tagratab: Update skin throttling table
Hyungwoo Yang [Sat, 2 Nov 2013 05:12:06 +0000]
ARM: tegra: tagratab: Update skin throttling table

Update Tskin throttling table

Change-Id: Iac9d02d7f53b6e3087cfb832dfdddf9430c02d1f
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/325901
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoinput: touch: maxim: fix daemon crashing issue
Robert Collins [Fri, 1 Nov 2013 16:21:05 +0000]
input: touch: maxim: fix daemon crashing issue

Bug 1352711

Change-Id: I9aef28429790f2be88b9b4724562115d5ba6e3eb
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/325614
(cherry picked from commit adaca03e9dfcd34e13a82a8fe6b1e42e20092aab)
Reviewed-on: http://git-master/r/327439
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoRevert "input: touch: maxim_sti: boot fusion from init"
Bo Kim [Mon, 14 Oct 2013 06:03:25 +0000]
Revert "input: touch: maxim_sti: boot fusion from init"

This reverts commit 06eef70f3568f781da609570d0dfb39c3a869439.

Change-Id: I13caedd3d9e0519af496d83a81785ccd28117b10
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/298853
(cherry picked from commit c835182402f2b3cd2345a4c9b193b08d18639fde)
Reviewed-on: http://git-master/r/327438
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoRevert "input: touch: maxim_sti: Shutdown safely"
Bo Kim [Mon, 14 Oct 2013 08:15:53 +0000]
Revert "input: touch: maxim_sti: Shutdown safely"

This reverts commit 87de1d533241169695c552e837f024208d98c670.

The latest maxim release processes shutdown as well.

Conflicts:

drivers/input/touchscreen/maxim_sti.c

Change-Id: Ic6b506c873a98413bc5bb51dd2d2e79019177622
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/298916
(cherry picked from commit 52d61d13335287dba7e4b37406ba2b62eb05caf4)
Reviewed-on: http://git-master/r/327437
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoRevert "input: touch: maxim_sti: Check thread stop condition"
Bo Kim [Mon, 14 Oct 2013 08:36:01 +0000]
Revert "input: touch: maxim_sti: Check thread stop condition"

This reverts commit 62c978972b14446f49433e08552cd14972369013.

We don't need to check thread stop condition on latested maxim release.

Conflicts:

drivers/input/touchscreen/maxim_sti.c

Change-Id: Ib6322cae36d82f510c4e1b45491f53ada1e6aebc
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/298915
(cherry picked from commit ad5b947fe112517e3cfbe77f00f5cad66bd794cd)
Reviewed-on: http://git-master/r/327436
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agocpufreq: interactive: check freq with policy->cur
Jinyoung Park [Wed, 30 Oct 2013 10:34:03 +0000]
cpufreq: interactive: check freq with policy->cur

Added check for new target freq with policy->cur before request new
target freq.
This change is derived from http://git-master/r/#/c/298964/ for
stability issues.

Bug 1397658.

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/309571
(cherry picked from commit 665c49bfcf55cdce2987b9e7abe4c2f1eb1207e3)

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

5 years agoRM: tegratab: config: re-enable IKCONFIG_PROC
Harry Hong [Wed, 6 Nov 2013 05:49:48 +0000]
RM: tegratab: config: re-enable IKCONFIG_PROC

Bug 1398204

Change-Id: I3f75a8290515c4fa5b1034f530d3dc84f454ba57
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/326964
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alvin Park <apark@nvidia.com>
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>

5 years agoARM: tegratab: config: disable IKCONFIG_PROC
Harry Hong [Tue, 5 Nov 2013 02:12:10 +0000]
ARM: tegratab: config: disable IKCONFIG_PROC

Per CTS 4.3 requirement, IKCONFIG_PROC leaks kernel configuration via
/proc/config.gz, disable this option for security concern.

Bug 1343930
Bug 1398204

Change-Id: I4d20fb6075fb67c6d7897f11317c1ba8a8bd1b13
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/326358
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yuki Kinebuchi <ykinebuchi@nvidia.com>

5 years agoinput: touch: maxim_sti: dvdd_on init val change
Min-wuk Lee [Thu, 31 Oct 2013 01:58:02 +0000]
input: touch: maxim_sti: dvdd_on init val change

In change I204b4c1a73aeff2fcd29e00a818e409a85c8a6e9,
there's precondition to apply workaround to reduce
LGD T4 delay, but we don't need to obey this precondition
in device power on, since there's no power rail off.
This can be accomplished by setting touch_dvdd_on
initial state to true.

Bug 1367030

Change-Id: I2a7f5ba9d740afd02aa034898e226b610b662f62
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/325949
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hyong Bin Kim <hyongbink@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agomedia:video:tegra: ov5693 fuse ID support
Karl Kim [Fri, 1 Nov 2013 05:05:47 +0000]
media:video:tegra: ov5693 fuse ID support

Add fuse ID read support for the ov5693 from OTP Bank 0

Bug 1399569

Change-Id: I27b934556c3e21a4c85c1a65952a4f8e08bc1ab5
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/323825
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomedia:video:tegra: ov7695 new tuning value.
Karl Kim [Thu, 24 Oct 2013 04:10:39 +0000]
media:video:tegra: ov7695 new tuning value.

Exposure error for 25 lux fails to pass NVIQ. applying new
tuning value.

Bug 1321963

Change-Id: Ib2eeb17178e7a10c7c005facfab9089e199a1845
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/303142
(cherry picked from commit f6799b9d7726907b6ead6f36faa12d222a4f3c0a)
Reviewed-on: http://git-master/r/323974
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alvin Park <apark@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agomedia: video: tegra: ov5693 change the setting value
Karl Kim [Tue, 22 Oct 2013 08:11:42 +0000]
media: video: tegra: ov5693 change the setting value

When the change to AOHDR, FOV is shifted. The y offset value of sensor
is different in both non-aohdr and aohdr mode. change the y offset value.

Bug 1381607

Change-Id: I2b496940f355af91d90361b60c38e20d76caf40a
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/302268
(cherry picked from commit 81d89595edc544eef5dd1be11f386e1c244ba0a0)
Reviewed-on: http://git-master/r/309880
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomisc: ti-st: Create rx_list before all channels are registered
Shobek Sam Attupurath [Thu, 24 Oct 2013 08:37:03 +0000]
misc: ti-st: Create rx_list before all channels are registered

rx_list should be created before the channels are registered else
when the chip sends data after registering channel 4 we may
encounter a crash.

Bug 1390113

Change-Id: Ieb1e0bbeda7845a156ee6636f233c79df36ba7db
Signed-off-by: Shobek Sam Attupurath <sattupurath@nvidia.com>
Reviewed-on: http://git-master/r/304774
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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
(cherry picked from commit a3cbaaba6faef8abb2b45b5362f70f1ec9dc3136)
Reviewed-on: http://git-master/r/304677
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoarm: tegra: wakeup offender monitoring
Louis Li [Tue, 8 Jan 2013 07:04:42 +0000]
arm: tegra: wakeup offender monitoring

Find the wakeup offender when the device is waken up by wireless or rtc
alarm. And record how many times the offenders cause the device to wake
up separately.

Bug 1190908

Change-Id: Ic8608448ce84d5c109e3957e0d98c3fcf088989c
Signed-off-by: Louis Li <louli@nvidia.com>
Reviewed-on: http://git-master/r/189852
(cherry picked from commit c7f18168a1a0c7cdb5ed87883c9cc337e6b15b7a)
Reviewed-on: http://git-master/r/253330
(cherry picked from commit 0feff897e7caf2a5833cffa163b7164e7da1c061)
Reviewed-on: http://git-master/r/309382
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoandroid-alarm: find the rtc wakeup offender
Louis Li [Thu, 17 Jan 2013 04:10:35 +0000]
android-alarm: find the rtc wakeup offender

if device is waken up by RTC chip, then set a flag in the return value
of alarm_ioctl.

Bug 1190908

Change-Id: I7b3f40b004848707fc76916e75eb69976eef5c38
Signed-off-by: Louis Li <louli@nvidia.com>
Reviewed-on: http://git-master/r/191885
(cherry picked from commit 9c9b62ac1bd2a0acccda9a2c7e88c4495bcca4e0)
Reviewed-on: http://git-master/r/253331
(cherry picked from commit 176826f9b0fcabcb7d12f3d01e52f61cbea8e862)
Reviewed-on: http://git-master/r/309383
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jiukai Ma <jiukaim@nvidia.com>
Tested-by: Jiukai Ma <jiukaim@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoarm: tegra: tegratab: add tegra wakeup monitor support
Jiukai Ma [Fri, 28 Jun 2013 05:51:47 +0000]
arm: tegra: tegratab: add tegra wakeup monitor support

Add the paltform data of tegra wakeup monitor to enable it.

Bug 1394338
Bug 1185135

Change-Id: I2d4aba9095958f1ba56b13ef7b46963a0bfa746e
Signed-off-by: Jiukai Ma <jiukaim@nvidia.com>
Reviewed-on: http://git-master/r/243329
(cherry picked from commit 4b0abf7d70ef13c829e2d16d0777d5ceae9188c4)
Reviewed-on: http://git-master/r/304737
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agommc: sdhci: Increase SW timeout for sanitize cmd
Pavan Kunapuli [Thu, 24 Oct 2013 13:24:41 +0000]
mmc: sdhci: Increase SW timeout for sanitize cmd

Sanitize cmds have very long busy wait times. Increasing the SW timeout
timer for sanitize cmd to ensure that the driver doesn't trigger
timeout in the middle of sanitize busy wait.

Bug 1385731
Bug 1392724

Change-Id: Ibb73b27159508b2ae851032a6ea1432f76b1f384
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/303361
(cherry picked from commit 86455fb1b1e9416b192fe8e8e37212da9a242ccb)
Reviewed-on: http://git-master/r/304792
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agovideo: tegra: Remove delay if power is enabled
Hyongbin Kim [Thu, 12 Sep 2013 08:42:55 +0000]
video: tegra: Remove delay if power is enabled

When first boot, vdd_lcd_bl_en is already enabled.
vdd_lcd_bl_en doesn't share power rail, we can remove 200ms delay.

Bug 1367030

Change-Id: I4f9d4900c59a858ae34224cba42791f36363851c
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/273602
(cherry picked from commit 4fb2530fb5817ec9a752af5490eb01ba378e1a2a)
Reviewed-on: http://git-master/r/304689
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agomedia:video:tegra: ov5693 add 2560x1440 HDR mode
Joshua Widen [Mon, 14 Oct 2013 18:47:55 +0000]
media:video:tegra: ov5693 add 2560x1440 HDR mode

Bug 1384211

Change-Id: I35b255b118499fa868d00ff421a916f5d281eafb
Signed-off-by: Joshua Widen <jwiden@nvidia.com>
(cherry picked from commit e04f69a1a895a2af72639f6089c26d4b1a3b3652)
Reviewed-on: http://git-master/r/303779
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agotegra: video: LGD 7" T5 and T6 delay fix.
Min-wuk Lee [Wed, 25 Sep 2013 05:47:51 +0000]
tegra: video: LGD 7" T5 and T6 delay fix.

Based on the spec, LGD 7" T5 needs to be >200ms
and T6 needs to be >200ms. A part of delay is
already handled in mipi command sequence, so remove
duplicated delay value.

Bug 1349306

Change-Id: Iad1f2d2785d5f78e91a8eb61a51f1349ededc40a
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/278755
(cherry picked from commit 274964e74207e629499496a93f636d3930ccacea)
Reviewed-on: http://git-master/r/302786
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agotegra: video: remove LGD 7" T4 in some condition
Min-wuk Lee [Wed, 4 Sep 2013 09:25:26 +0000]
tegra: video: remove LGD 7" T4 in some condition

This is work around. LGD WXGA 7" panel spec requests
1s delay between "panel 3v3 off" and "3v3 on" if all
panel related power rails (1v8, 3v3) are not turned off.

Precondition for work around
 - In power off, panel off then touch off.
 - In power on, touch on then panel on.

Why work around is necessary?
 - Same 1v8 rail is shared by touch and panel.
   In panel off, 3v3 rail off and 1v8 rail off
   are requested, but 1v8 rail isn't turned off
   in panel off timeframe because of touch module.
   It is possible to get panel on request without
   touch off/on control. In this case, 1S delay
   is necessary per spec. If 1v8 is turned off
   and on by touch module before panel on request,
   then, we don't need 1S delay. If 1v8 is turned
   off in panel on request time, we don't need
   1S delay, either.

Bug 1349306

Change-Id: I204b4c1a73aeff2fcd29e00a818e409a85c8a6e9
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/270026
(cherry picked from commit 5bbcc6a090796220590838ddbcd03b61afe000e4)
Reviewed-on: http://git-master/r/302785
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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
(cherry picked from commit 45a40357fc3bcb870a3fd505f690130cf79d3008)
Reviewed-on: http://git-master/r/302769
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agovideo: tegra: dc: nvhdcp off in shutdown
Min-wuk Lee [Fri, 18 Oct 2013 07:39:19 +0000]
video: tegra: dc: nvhdcp off in shutdown

If dc out type is hdmi, nvhdcp off is necessary ahead of
dc disabling to avoid flicker in hdmi display.
Having suspend which includes nvhdcp off, here as a
workaround.

Bug 1389592

Change-Id: I1b9501890d75cb2681ed18c353b404fabb333d0c
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/301102
(cherry picked from commit 23af567e569a6f0259b9ad848671201555042c07)
Reviewed-on: http://git-master/r/302768
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: dts: Tegra114: do not enable DC1 in DC probe
Min-wuk Lee [Thu, 17 Oct 2013 06:23:03 +0000]
ARM: dts: Tegra114: do not enable DC1 in DC probe

It will remove TEGRA_DC_FLAG_ENABLED flag in dc1
platform data, so display controller 1 enabling
in DC probe will be skipped.

Bug 1270114
Bug 1367030

Change-Id: I09489d18cfdb881b1b3a522339aab6afdd93489a
Signed-off-by: Youngjin Kim <nkim@nvidia.com>
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/300386
(cherry picked from commit 3335336bc5ea9e17066cb99e7c7c3a83b73504c3)
Reviewed-on: http://git-master/r/302767
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agotegra: video: hdmi: WAR: check hdmi validity
Min-wuk Lee [Thu, 17 Oct 2013 03:07:38 +0000]
tegra: video: hdmi: WAR: check hdmi validity

It is possible that hdmi and its display controller
are not used depending on hardware requirement.
This change is checking hdmi validity and if it
isn't valid, do not handle hdmi clk.

Bug 1390118

Change-Id: I1ff422c29ee7228095bf057c11e37c479555e5ab
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/300307
(cherry picked from commit 19a5b58041e74b825469ebfef2ed9866fad90840)
Reviewed-on: http://git-master/r/302766
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: skip dc1 register in charging
Min-wuk Lee [Tue, 15 Oct 2013 10:18:25 +0000]
ARM: tegra: tegratab: skip dc1 register in charging

display controller 1 probe is not required in charging
mode. Do not populate dc1, so its probe will be fail.

Bug 1367030

Change-Id: Ic31cd6d2291619f709e367b4d1be119737e15acb
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/299428
(cherry picked from commit 0861ce714c393ca714fb670171ac26f4e9beff01)
Reviewed-on: http://git-master/r/302765
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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: Gabby Lee <galee@nvidia.com>
(cherry picked from commit 1584c3437d628eb77fe042bd465218aa754bd22b)
Reviewed-on: http://git-master/r/302788
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: dts: tegratab: Adding 480p tmds setting
Harry Hong [Fri, 12 Jul 2013 01:48:15 +0000]
ARM: dts: tegratab: Adding 480p tmds setting

bug 1315829

Change-Id: Ib24ad9e160341774ebe4ef08708b9d50ff535067
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/248155
(cherry picked from commit 670387898f53f5860314f9654edb6be3aacb1a34)
Reviewed-on: http://git-master/r/302782
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoinput: misc: mpu: add load cal sysfs
David Yu [Fri, 18 Oct 2013 09:03:55 +0000]
input: misc: mpu: add load cal sysfs

Bug 1376017

Change-Id: I1e332dbb7f2a127a482837f3dff28b54077c923b
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/301137
(cherry picked from commit 6d170a3841164753799cca57b9d9b2f7610846b1)
Reviewed-on: http://git-master/r/302716
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: config: tegratab: Enable CONFIG.
Harry Hong [Wed, 23 Oct 2013 02:08:26 +0000]
ARM: tegra: config: tegratab: Enable CONFIG.

Enable CONFIG_TEGRA_INTERNAL_USB_CABLE_WAKE_SUPPORT.

without this config, invalid wakeup level is set on usb-otg.
it end up with un-expected wakeup from LP0.

Bug 1393627

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

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>
(cherry picked from commit 92d89e9a95c077896ef60df08703475f284f26a1)
Reviewed-on: http://git-master/r/302280
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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>
(cherry picked from commit 7aa9884aeb6230ee5e892d261ccb24fd67607793)
Reviewed-on: http://git-master/r/302279
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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>
(cherry picked from commit 9efd1dcb05827003bcf335eb2b6135a2a3f8f97c)
Reviewed-on: http://git-master/r/302278
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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>
(cherry picked from commit 5b678f0beb2475887a803aaa3a88a74990bbbcad)
Reviewed-on: http://git-master/r/302277
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agoarm: tegra: tegratab: disable OC2 powergood alarm
Yong Goo Yi [Tue, 9 Jul 2013 11:26:17 +0000]
arm: tegra: tegratab: disable OC2 powergood alarm

Disable PMIC powergood OC throttle(OC2 for P1640, OC4 for E1569).
PMIC powergood OC makes side effect of throttle SCPU when it's clock delivered from PLLX.
There can be noise during audio playback because of this side effect.

Bug 1322143
Bug 1302149

Change-Id: Ic942ae62940f1a1b0efd3ea68611fecc4e28ab40
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
(cherry picked from commit 1bd9f54ce22f1c3ec06d936a609d14177f2e8eeb)
Reviewed-on: http://git-master/r/302276
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: Tegra: TT-power: set battery id check flag
Hyongbin Kim [Tue, 15 Oct 2013 04:33:16 +0000]
ARM: Tegra: TT-power: set battery id check flag

Set battery id check flag of max17048 and add ADC pdata of Batt_ID channel.

Bug 1368059

Change-Id: I918a6e063fc01132931aaf84c9cb09deaaa16b6b
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/299289
(cherry picked from commit 1d911020e42ab1a59233a71e167d6ca4082a91b2)
Reviewed-on: http://git-master/r/301646
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomax17048: add sysfs for check battery capacity
Hyongbin Kim [Tue, 15 Oct 2013 03:36:10 +0000]
max17048: add sysfs for check battery capacity

For check battery capacity, read Battery ID from ADC.
User can check with below adb commend.
"cat /sys/class/i2c-dev/i2c-0/device/0-0036/battery_capacity"

Bug 1368059

Change-Id: I49ba1216244b85258fa3ef1ec8f60fd27a81e26b
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/299269
(cherry picked from commit fd6efe4c23d6a4554643b582c5afc695dc0665b2)
Reviewed-on: http://git-master/r/301645
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>

5 years agomax17048: update temp change promptly
Hyongbin Kim [Mon, 14 Oct 2013 05:48:55 +0000]
max17048: update temp change promptly

When battery temperature is changed over 1.5C or over hot/cold threshold,
update power supply for sending event to framwork.

Bug 1386890

Change-Id: I72ecda41b339a07a467ca31950643fb45b21b7d9
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/298845
(cherry picked from commit 1aa792d601dcc436e05d8d10033b714ee129a474)
Reviewed-on: http://git-master/r/301644
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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
(cherry picked from commit 50e2f7a6333ce75900995185c257d01d772173b9)
Reviewed-on: http://git-master/r/301643
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>

5 years agoARM: tegra: tegratab: change VD_DDR_R to 1.38V
Yong Goo Yi [Thu, 26 Sep 2013 11:21:38 +0000]
ARM: tegra: tegratab: change VD_DDR_R to 1.38V

Change VD_DDR_R(smps7) to 1.38V for DDR3 stability

Bug 1280381

Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/279329
(cherry picked from commit 38b76140222697d71bb609cf944b7460a0ee8fb2)

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

5 years agodrivers: misc: therm_est: use late_initcall_sync
Jinyoung Park [Thu, 26 Sep 2013 06:43:16 +0000]
drivers: misc: therm_est: use late_initcall_sync

Changed module_init() to late_initcall_sync() for therm_est driver
to ensure therm_est driver registration after complete
all thermal_zone driver registration.

Bug 1375775

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/279213
(cherry picked from commit 92870f67cbaf5753b9f6f24787f11fce84399fbd)

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

5 years agoARM: dts: tegra114: tegratab: Update Micron dvfs table to v9.0
Jinyoung Park [Fri, 4 Oct 2013 01:51:13 +0000]
ARM: dts: tegra114: tegratab: Update Micron dvfs table to v9.0

Updated Micron 1GB MT41K128M16-125 dvfs table to v9.0.

Bug 1280381

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/281603
(cherry picked from commit 8a085cfdf5e596fb561f54eb54c334fa21245978)

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

5 years agoARM: dts: tegra114: tegratab: Update Micron dvfs table to v8.0
Jinyoung Park [Mon, 30 Sep 2013 11:55:33 +0000]
ARM: dts: tegra114: tegratab: Update Micron dvfs table to v8.0

Updated Micron 1GB MT41K128M16-125 dvfs table to v8.0.

Bug 1280381

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/280320
(cherry picked from commit 1c6d802064a31660b0c9457edac4af4eef494056)

Change-Id: Ibcaceb15de6a4b1d9c95c3e7fa81e65afc1830ca
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/301044
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/271985
(cherry picked from commit 523fe1547e63863e9e6aad55d570600af7599629)

Change-Id: I0353d9451043352c033cdcdee5b178d4c736f901
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/301043
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/272929
(cherry picked from commit 6d4b08550e09ff55cc74e7620c44b2874af2dac1)

Change-Id: I92d6267c6f352f3bb788a47db661b4b3499e4327
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/301042
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/271984
(cherry picked from commit b4c1cbb7af55a8a67e32bc788138c731b5e1d239)

Change-Id: Ib4354e0b74d1babf671d141cea238e9a55299343
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/301041
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@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

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/268955
(cherry picked from commit 9c8338e70cddd6c4518f75944d20611c90e33ad5)

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