]>
rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/log
Laxman Dewangan [Wed, 21 May 2014 09:25:27 +0000 (14:55 +0530)]
ARM: tegra: move pinmux dt node before gpio mode
Move the pimx DT node before gpio node to make sure that
pinmux get registered before the gpio.
Change-Id: I55d5a5c1a1570c16d8332ba224e0ed9a1f7c257c
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/412630
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 21 May 2014 09:24:20 +0000 (14:54 +0530)]
gpio: tegra: add gpio range after gpio registration
Add gpio range for pins after gpio registartion and getting
the gpio base of the Tegra.
Change-Id: I71033ab0f4b9b24b733d453adf77cc43d2aedff1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/412629
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Wed, 21 May 2014 09:20:07 +0000 (14:50 +0530)]
pinctrl: tegra: add support to pass gpio base for tegra pincontrol
Add support to pass the gpiobase for tegra gpio and add tegra pins
on that gpio range.
Change-Id: I024efd49bf9209399210f8ab6881fae7d37ccd52
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/412628
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Fri, 23 May 2014 11:23:49 +0000 (16:53 +0530)]
ARM: tegra: remove low power mode configuration for drive
Low power mode is not supported on T124 and hence removing this
configuration from DT node of pinmix for Norrin.
Change-Id: I0f8de8bcd7b39af4be36b60bced45cecf7082cdc
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/414121
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Fri, 23 May 2014 11:21:11 +0000 (16:51 +0530)]
pinctrl: tegra: fix indexing of pinmux group
Pinmux group index was wrong accessed when setting the
default configuration of the driver strength.
Fixing this.
Change-Id: I5bc722671ce13e451076c7e5312d173368a29393
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/414120
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Frank Chen [Thu, 22 May 2014 21:04:07 +0000 (14:04 -0700)]
Revert "media: ad5823: Back to default position on exit"
Revert this change since it caused camera close KPI
regression.
Bug
200000851
This reverts commit
14629c6a2221973c768678b8f6f7e42be959c4be .
Change-Id: I0354605311124b06db88dd039a58ad6e04585f72
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/413393
Reviewed-by: Joshua Widen <jwiden@nvidia.com>
Reviewed-by: Gary Zhang <garyz@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Shiva Dubey <sdubey@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Alex Frid [Thu, 24 Apr 2014 00:14:00 +0000 (17:14 -0700)]
ARM: tegra: dvfs: Defer calibration on force value
Deferred DFLL calibration if last sent voltage is at the initially
forced request output level. It is needed to avoid false interpretation
of high voltage when power management micro-controller re-sends DFLL
request underneath CLDVFS driver running on CPU.
Bug
1492902
Change-Id: I0757469ff432818d1aadb616accba01136345257
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/402659
(cherry picked from commit
b5adc8efaad051a87df67fa701076bd12ff2c9aa )
Reviewed-on: http://git-master/r/413379
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Alex Frid [Thu, 17 Apr 2014 05:04:55 +0000 (22:04 -0700)]
ARM: tegra13: dvfs: Update CPU DVFS table to P4v8
Bug
1492902
Bug
1442659
Change-Id: Id9e6114fa05e38d21f59fd34e1804abdb456f193
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/402658
(cherry picked from commit
48293ae83aa61c1b0633977729b23e0379bf16b5 )
Reviewed-on: http://git-master/r/397533
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Alex Frid [Wed, 16 Apr 2014 02:31:20 +0000 (19:31 -0700)]
ARM: tegra13: dvfs: Add CPU Vmin data
Added CVB coefficients to account CPU Vmin dependency on speedo and
temperature. Implemented CVB equations to calculate Vmin thermal
profile.
Bug
1492902
Bug
1442659
Change-Id: Ib039df6807880d1714550bd6b770d2c4e46e8ac0
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/402657
(cherry picked from commit
0c7447ce5938d8d560eae91a58aaf52f82fe2fe1 )
Reviewed-on: http://git-master/r/397532
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Alex Frid [Wed, 9 Apr 2014 07:05:27 +0000 (00:05 -0700)]
ARM: tegra13: dvfs: Set CPU DFLL tuning parameters
On Tegra13 A02 silicon set CPU DFLL tuning parameters as a function
of chip speed.
Bug
1492902
Bug
1442659
Change-Id: I03a5a419c60ffa86a360c58222b93279f25e3145
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/402656
(cherry picked from commit
c8b72a7db9388f70864852f4a2fea75a47d92116 )
Reviewed-on: http://git-master/r/394399
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Alex Frid [Tue, 20 May 2014 21:59:22 +0000 (14:59 -0700)]
clock: tegra21: Use PLL set rate during init
When setting initial dividers for disabled PLL call set rate operation
instead of direct dividers calculation.
Bug
1413190
Change-Id: Idcc88f9c2246c6f3a7998c47b541b288b180860a
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/412869
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Alex Frid [Tue, 20 May 2014 18:54:35 +0000 (11:54 -0700)]
clock: tegra21: Make PLLCX init procedure generic
Since PLLCX initialization procedure can be (and, in fact, is) applied
to other PLLs, made it generic with the appropriate name changes.
Bug
1413190
Change-Id: Iea4be5483232bec85f834ba674164bad963abb80
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/412868
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Alex Frid [Tue, 20 May 2014 00:23:28 +0000 (17:23 -0700)]
clock: tegra21: Re-implement Tegra21 PLLD support
Re-defined PLLD object, and re-implemented PLLD operations to match
Tegra21 specification including SDM fractional feedback divider.
Bug
1413190
Change-Id: Ia8ee74a945228993163ffbc7b019938b2d7fd625
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/412867
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Alex Frid [Tue, 20 May 2014 00:36:41 +0000 (17:36 -0700)]
clock: tegra21: Update Tegra21 PLLD2/DP support
Renamed PLLD2/DP frequency tables for consistency with other PLLs.
Removed obsolete PLLD2 resume operations.
Bug
1413190
Change-Id: I2be6f6b02a9de5ac7799215d7440aee6412a0f4a
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/412866
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Hoang Pham [Thu, 22 May 2014 18:40:57 +0000 (11:40 -0700)]
clock: tegra21: Update mux host1x clock
Change-Id: Ida4d28c2cf6f96380e16a571b0e7897276599d23
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/413356
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Diwakar Tundlam [Tue, 13 May 2014 22:34:51 +0000 (15:34 -0700)]
arm: tegra13: edp: package based EDP safety caps
Implemented package based EDP safety caps.
Updated dynamic parameters for T132 specific core offlining.
Adjusted leakage parameter scaling to avoid overflow in calculation.
Bug
1434482
Change-Id: I2d783e15e238e60cce4b97661749abcd7a54a11b
Reviewed-on: http://git-master/r/409052
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/406127
Sai Gurrappadi [Thu, 22 May 2014 22:06:06 +0000 (15:06 -0700)]
PM QoS: Fix pmqos notifiers in pm_qos_enabled_set
Send out the notifiers if the enabled flag has been changed. This will
ensure that the notifier fires in all cases.
Bug
1516219
Change-Id: Ie97422f61a9ad56f0ce194a99ce69193d429eadc
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/413435
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Alex Waterman [Tue, 29 Apr 2014 18:11:03 +0000 (11:11 -0700)]
ARM64: tegra: mc: Add intr info for t210
Add the new interrupt for T210's MC.
Change-Id: Ic4c0ff704025e9ba043d9322abeb8e5a3005bd46
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/403065
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Dan Willemsen [Thu, 15 May 2014 03:34:32 +0000 (20:34 -0700)]
fixup! net: ipv6: Add IPv6 support to the ping socket.
During the integration of this change to 3.10, this error check was
commented out.
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Change-Id: I7e2fa114b0efbe58134f7acc60ec4d18b1bbee0e
Reviewed-on: http://git-master/r/409994
Reviewed-on: http://git-master/r/413586
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Alex Waterman [Thu, 22 May 2014 01:14:39 +0000 (18:14 -0700)]
ARM: tegra: bonaire: removing this platform
This platform has long since been EOL'ed.
Change-Id: I23f08bce1696248823c2bd71407387cd9b72838a
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/412896
Reviewed-by: Bo Yan <byan@nvidia.com>
Lael Jones [Mon, 19 May 2014 22:18:43 +0000 (15:18 -0700)]
video: tegra: dc: Add HDCP ioctl for recv capable
Change-Id: I76f6d87b16d139de9f3a8178a75b8b0f896ad406
Signed-off-by: Lael Jones <lajones@nvidia.com>
Reviewed-on: http://git-master/r/412687
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Jon Mayo [Fri, 9 May 2014 18:07:17 +0000 (11:07 -0700)]
video: tegra: dc: initialize cursor registers
Cursor registers have no default state. Initialize to useful defaults.
Bug
1486452
Bug
200006001
Change-Id: Iaf07bdd2c8d40ef1bae881da68a809d335a0377f
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/407682
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Jon Mayo [Tue, 29 Apr 2014 19:47:21 +0000 (12:47 -0700)]
video: tegra: dc: remove low latency cursor support
There is no difference in latency.
Bug
1333484
Change-Id: I6abbad50b4dea3e7041ca63c60210b166f5e1036
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/413373
GVS: Gerrit_Virtual_Submit
Nitin Kumbhar [Fri, 23 May 2014 11:57:37 +0000 (17:27 +0530)]
arm: tegra: fix panic from tegra_powergate_debugfs_init
Fix kernel panic seen during kernel boot up.
[ 0.153216] Unable to handle kernel NULL pointer dereference at virtual
address
00000008
[ 0.153219] pgd =
ffffffc00007d000
[ 0.153222] [
00000008 ] *pgd=
00000000c7408003 , *pmd=
00000000c7409003 ,
*pte=
00e0000050041407
[ 0.153227] Internal error: Oops:
96000005 [#1] PREEMPT SMP
[ 0.153230] Modules linked in:
[ 0.153233] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W
3.10.33-g670a12f #13
[ 0.153238] task:
ffffffc0474ab2c0 ti:
ffffffc0474ac000 task.ti:
ffffffc0474ac000
[ 0.153242] PC is at tegra_powergate_debugfs_init+0xcc/0x118
[ 0.153245] LR is at tegra_powergate_debugfs_init+0x4c/0x118
[ 0.153248] pc : [<
ffffffc00083af30 >] lr : [<
ffffffc00083aeb0 >] pstate:
20000305
Change-Id: Ic3a4a0725eaf2f264c839d08b289c6f4f5d2d4fb
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/414125
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
venkatajagadish [Tue, 20 May 2014 08:57:26 +0000 (14:27 +0530)]
mmc: sdhci: Enable pm domain for eMMC and SD
Bug
1384366
Change-Id: I0de26cf3387a465bbc05454fb174998012bb25d7
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/361888
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
R Raj Kumar [Mon, 19 May 2014 09:35:49 +0000 (15:05 +0530)]
ARM64: tegra210: Add support for RAID
Added RAID support in T210 platform for supporting
dual eMMC
Bug
1501458
Change-Id: I254dc5fefdbf26feddb7c468391005f214002f8e
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/411403
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Sumit Singh [Wed, 14 May 2014 17:28:36 +0000 (22:58 +0530)]
drivers: video: tegra: fix build warnings
- Makefile: enable Werror flag to treat compile time warnings as errors
- fb.c: rectify invalid pointer assignment
bug
1211919
Change-Id: I920e4f8052573293dda86191915fba0b5298a112
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/409671
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Terje Bergstrom [Fri, 9 May 2014 12:13:08 +0000 (15:13 +0300)]
video: tegra: nvmap: Do not set DMA addr on carveout
Do not set DMA address on allocations from carveout.
Bug
1500983
Change-Id: Ic9620d09a2084104b7ca246a987252769b94650e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/412107
Reviewed-by: Sami Kiminki <skiminki@nvidia.com>
Tested-by: Sami Kiminki <skiminki@nvidia.com>
Arto Merilainen [Thu, 22 May 2014 08:57:21 +0000 (11:57 +0300)]
video: tegra: host: Fix postponed timeout
Postponed timeout is triggered if the submit currently waits for
a syncpoint that is not related to the current job.
Due to bad cbstat check we usually treated also other cbstat
conditions as waits and therefore triggered postponed wait too
easily. This patch fixes the check.
Change-Id: Ia87e4f8600d3000ef02a7a0b09acfc2dedfb4034
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/413139
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Arto Merilainen [Thu, 22 May 2014 09:00:04 +0000 (12:00 +0300)]
sync: Dump fence information on timeout
Currently we print only the fence memory address if the fence
times out. This is not enough for debugging *why* the fence timed
out.
This patch modifies timeout routine so that we print the syncpoints
that relate to the current fence.
Bug
200006324
Change-Id: Iae103d4a4ba65584333e46de72240190699a0cef
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/413138
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Bibek Basu [Wed, 14 May 2014 09:21:27 +0000 (14:51 +0530)]
regulator: as3722: add enable_time for regulators
Add enable time of sd2/3,sd4,sd5 regulator
Bug
1481642
Change-Id: I73e8ff5c34e9db9f13a181e01a268c740ccfb410
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/409334
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Sumit Singh [Wed, 21 May 2014 09:48:10 +0000 (15:18 +0530)]
arm64: tegra: enable Werror flag
Enable Werror flag to treat compilation warnings as error
Bug
1211919
Change-Id: I8db3910386cf4693c679dc70d013e01873822a23
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/412573
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Sumit Singh [Mon, 19 May 2014 14:15:32 +0000 (19:45 +0530)]
arm64: tegra: fix build warning for hotplug driver
-tegra_suspend_in_progress(): function declaration
isn't a prototype
-cast from pointer to integer of different size
Bug
1211919
Change-Id: I31124a376e3cb034ba24252f8e3ee437c42c4fb9
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/411539
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Sumit Singh [Mon, 19 May 2014 13:36:39 +0000 (19:06 +0530)]
arm64: tegra: fix build warnings
Following functions defined but not used:
-e1735_suspend_dfll_bypass
-e1735_resume_dfll_bypass
-e1767_configure_dvfs_pwm_tristate
-e1767_suspend_dfll_bypass
-e1767_resume_dfll_bypass
Bug
1211919
Change-Id: I2a966c3b45fba4d5ad9cd2cd75a5e8f922309f82
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/411527
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Preetham Chandru R [Tue, 15 Apr 2014 10:03:45 +0000 (15:33 +0530)]
ARM: tegra: pm375: disable usb device mode
Disable usb device mode for pm375 rev A-D
Bug
1495952
Change-Id: I553d3c05f9a8421ff4900999d9d6e5c21dc5e596
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/404679
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Nitin Sehgal [Wed, 23 Apr 2014 17:13:07 +0000 (22:43 +0530)]
tegra: vcm30t124: Add defconfig and DT for VM
This change add defconfig and device tree dupport for
vcm30t124 based linux virtual instances.
bug
1503589
Change-Id: Iad3c8fcb80ff2fbdfd499a5dc1432b2ed6645eb5
Signed-off-by: Nitin Sehgal <nsehgal@nvidia.com>
Signed-off-by: Vlad Buzov <vbuzov@nvidia.com>
Signed-off-by: Nitin Sehgal <nsehgal@nvidia.com>
Reviewed-on: http://git-master/r/400444
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Preetham Chandru R [Thu, 15 May 2014 09:37:25 +0000 (15:07 +0530)]
ARM: tegra12: config: Disable modem configs
Bug
200004850
Change-Id: I4b3131addcf09cc044d2305f733272ab23f37392
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/410159
(cherry picked from commit
efc8e7d4a20deca5d6a38c907587d8fece29445f )
Reviewed-on: http://git-master/r/411863
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Arto Merilainen [Tue, 20 May 2014 09:47:20 +0000 (12:47 +0300)]
gpu: nvgpu: Disable pm runtime on shutdown
In some cases the gpu has still work pending while the device is
being suspended. This patch forces pm runtime to be disabled for
the device to avoid powering up the gpu unnecessarily.
Bug
1515437
Change-Id: I4b57d72eb34e794f0457d7a074d26c9d096a13b3
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/411968
(cherry picked from commit
ef6e80d5cd9268848a3dd82664577f17f4d9ab71 )
Reviewed-on: http://git-master/r/413240
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Laxman Dewangan [Thu, 22 May 2014 11:26:33 +0000 (16:56 +0530)]
rtc: max77620: devm_* allocated resource need not to free expliclty
Do not free the devm_* based allocation/registration.
Change-Id: Idad997b8a212871f6fa4c9927d03861ec8a28f50
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/413188
Reviewed-by: Chaitanya Bandi <bandik@nvidia.com>
Laxman Dewangan [Thu, 22 May 2014 11:22:08 +0000 (16:52 +0530)]
rtc: max77620: implement suspend/resume
Implement suspend/resume and prints alarm time on suspend and
wakeup time on resume for better debugging.
Change-Id: I320c124b33b00b9ecf80b0c5ed839a63472bf4de
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/413187
Reviewed-by: Automatic_Commit_Validation_User
Laxman Dewangan [Thu, 22 May 2014 11:15:23 +0000 (16:45 +0530)]
rtc: max77620: use module_platform_driver() macro
use module_platform_driver() macro and remove boilerplate code.
Correct copyright and remove of table also as this is not required.
Change-Id: I52ada3de912a1d77abf445732b50d48c74687a32
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/413186
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chaitanya Bandi <bandik@nvidia.com>
dmitry pervushin [Tue, 20 May 2014 10:41:01 +0000 (12:41 +0200)]
tegra: enable auto-dvfs on vdd-core related clocks
Setting auto_dvfs on clocks that have vdd_core rail shows the correct
vdd_core voltage even if the power rail is "disabled scaling"
Bug
1461662
Change-Id: I584487b6e4f9e566b03574914616c16dc2b8955f
Signed-off-by: dmitry pervushin <dpervushin@nvidia.com>
Reviewed-on: http://git-master/r/411991
Reviewed-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yousuf Aboobaker Sait <yousufa@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
dmitry pervushin [Mon, 12 May 2014 11:51:01 +0000 (13:51 +0200)]
tegra: dvfs: suppress warning on disabled rails
In case of disabled scaling on the rail and requested voltage == 0,
dvfs_update_rail should print no warning
Bug
1461662
Change-Id: I0c2c262a68c4ddaeea4700e7676a0b731376b543
Signed-off-by: dmitry pervushin <dpervushin@nvidia.com>
Reviewed-on: http://git-master/r/408196
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Seshagir.H [Tue, 13 May 2014 04:28:54 +0000 (09:58 +0530)]
arm: dts: vcm30t124: Enable USH-1 mode for SDMMC3
bug
1367536
bug
1454378
Change-Id: Ice3703a24be0e2a668f6ee4c5fb7565a0ceb3b55
Signed-off-by: Seshagir.H <sholi@nvidia.com>
Reviewed-on: http://git-master/r/408195
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Seshagir.H [Tue, 20 May 2014 09:15:10 +0000 (14:45 +0530)]
arm: dts: vcm30t124: Enable HS200 mode for SDMMC4
bug
1367536
Change-Id: I8e66c4080d1f1a4484a64cffdbac548c1798a27c
Signed-off-by: Seshagir.H <sholi@nvidia.com>
Reviewed-on: http://git-master/r/406912
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Laxman Dewangan [Wed, 21 May 2014 09:54:13 +0000 (15:24 +0530)]
ARM: tegra: configure UART properly for early prints
For Tegra124, configure debug UART properly for early prints
to avoid junk data on console due to misconfiguration.
Change-Id: I727a9056793bb2dcff5e2562f05064c9bab897b6
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/412631
GVS: Gerrit_Virtual_Submit
Sami Kiminki [Tue, 20 May 2014 15:15:54 +0000 (18:15 +0300)]
tegra: mc: Add missing mc error description
Add MC error description for combination INVALID_SMMU_PAGE +
DECERR_VPR + DECERR_EMEM.
Bug
1500983
Change-Id: I37158c843ff534ab22f9ada0c66ae1d3d76bf650
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-on: http://git-master/r/412102
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
Chien-Yu Chen [Thu, 15 May 2014 23:50:59 +0000 (16:50 -0700)]
platform: tegra210: no power gating on asim
Do not power gating on asim.
bug
1482370
Change-Id: Id02e2ee4d9d74aec92d067ead5d7e79630088aa6
Signed-off-by: Chien-Yu Chen <chichen@nvidia.com>
Reviewed-on: http://git-master/r/411032
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Deepak Nibade [Thu, 22 May 2014 07:05:55 +0000 (12:35 +0530)]
arm: tegra: loki: add missing break statement
Fix Coverity issue of missing break in a switch
Coverity id : 26480
Bug
1416640
Change-Id: Iae74fae2083651f57835ee64ea8664819d297ff0
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/411413
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>
Timo Alho [Thu, 22 May 2014 09:08:00 +0000 (12:08 +0300)]
arm: tegra: sysedp: 2nd update of AP+DRAM table for T132
Bug
1469388
Change-Id: I1342e6a0cfdde83ee98163a0cc1080e5cf2e564a
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/413157
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Antoine Chauveau [Thu, 22 May 2014 10:17:28 +0000 (13:17 +0300)]
video: tegra: host: improve nvhost_fence doc
Fix typos and better document how the interface can
be used with either raw syncpoints or sync fence fds.
Bug
1356557
Change-Id: Id69053d77c7b10cfd7fc90f4fec3e635765354c4
Signed-off-by: Antoine Chauveau <achauveau@nvidia.com>
Reviewed-on: http://git-master/r/413148
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Min-wuk Lee [Thu, 22 May 2014 07:28:34 +0000 (16:28 +0900)]
arm: dts: have 64bit address and size
address-cells and size-cells are set to 2
in parent node, therefore, it needs to have
64-bit address and size values.
Bug
1371533
Change-Id: I81159b4f9bd30ee014d6d49af2eecf3c56902a56
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/400637
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Adeel Raza <araza@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Jeetesh Burman [Wed, 14 May 2014 08:45:12 +0000 (14:15 +0530)]
ARM: tegra: fuse: added chip revision for T124
Chip revision for T124 was not present in struct chip_revision,
hence T124 chip revision added.
Bug
1486361
Change-Id: Icad37ed895b84bf94e6e868a38e4af1f5c115ee8
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/409312
(cherry picked from commit
b76ac1b25e1f31aeeabf3361be4e2782afddb4b2 )
Reviewed-on: http://git-master/r/411859
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Min-wuk Lee [Thu, 24 Apr 2014 01:59:42 +0000 (10:59 +0900)]
arm: dts: remove tegra-panel.dtsi
tegra-panel.dtsi was added as a common panel dtsi, that
includes all available panels' dtsi, however, considering
DTB size limit, it is necessary to include required
panel dtsi only in target platform dtsi:
If tegra-panel.dtsi is maintained, new panel dtsi will be
included additionally and DTB size may become bulky later.
Bug
1371533
Change-Id: I06017b264dd642a005b653bf017d0ef25c0bb460
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/400614
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Min-wuk Lee [Fri, 18 Apr 2014 06:13:25 +0000 (15:13 +0900)]
arm: dts: tn8-e1922: display system device tree
display system device tree for tn8-e1922.
Bug
1371533
Change-Id: I771085af445df5099ab223cc80aedd8f0533420d
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/398105
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Min-wuk Lee [Fri, 18 Apr 2014 05:44:56 +0000 (14:44 +0900)]
arm: dts: tn8-e1784: display system device tree
display system device tree for tn8-e1874.
Bug
1371533
Change-Id: I05af5aff192ba0aece26734da39ef91c05d4b734
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/398089
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Min-wuk Lee [Thu, 17 Apr 2014 11:25:38 +0000 (20:25 +0900)]
arm: dts: tn8-p1761: display system device tree
display system device tree for tn8-p1761.
Bug
1371533
Change-Id: I136ee3e8f7836abcc5a330459323362a0325244e
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/400598
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Min-wuk Lee [Tue, 13 May 2014 06:49:31 +0000 (15:49 +0900)]
video: tegra: dc: vblank short cmd club in DT
With this change, club option of short packet
VBLANK commands can be specified in device
tree.
Bug
1371533
Change-Id: I31bf3e92de253829fddea914ad0a0efa024428dc
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/408650
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Min-wuk Lee [Fri, 18 Apr 2014 01:50:51 +0000 (10:50 +0900)]
arm: tegra: panel-a-1200-800-8: remove sd code
Current code does not have smartdimmer calibration data
and does not enable smartdimmer, hence, remove redundant
smartdimmer code.
Bug
1371533
Change-Id: I1d78a82c2adcb56a9446eab7a7addf58adef1c29
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/398003
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Min-wuk Lee [Fri, 18 Apr 2014 01:41:09 +0000 (10:41 +0900)]
arm: tegra: panel-a-1200-800-8: fix active area
According to the data-sheet, this panels' active area
is 107[mm](H) X 172[mm](V).
Bug
1371533
Change-Id: I32106ac32c6b2361b916cea76537f97e8485975b
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/398000
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Min-wuk Lee [Thu, 17 Apr 2014 08:12:51 +0000 (17:12 +0900)]
arm: tegra: tn8-ffd: DT support for display system
This includes board-panel and panel code changes
to support device tree for tn8-ffd's panels, which
are auo wuxga 8" panel and auo wxga 8" one.
Bug
1371533
Change-Id: Iceeae8fd3235344f030814fd38a8759063fce876
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/397580
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Seshagir.H [Tue, 20 May 2014 09:16:33 +0000 (14:46 +0530)]
mmc: tegra: Add support for HS200 mode
- Update coeffs values for 198Mhz t124
- update soc speedo value using function
tegra_soc_speedo_0_value
bug
1367536
Change-Id: I49df96cf72c6737fef538754ccbde06a3efb71f7
Signed-off-by: Seshagir.H <sholi@nvidia.com>
Reviewed-on: http://git-master/r/411954
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Pavan Kunapuli [Tue, 13 May 2014 11:22:42 +0000 (16:52 +0530)]
mmc: tegra: Ignore err if dvfs overrides are disabled
If dvfs overrides are disabled, continue tuning execution by
treating the dvfs override API return values as expected.
Change-Id: I8d27969029ce7b318d23c227e8dfb19793282fea
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/408784
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Tested-by: Sandeep Trasi <strasi@nvidia.com>
Alex Waterman [Mon, 28 Apr 2014 18:27:17 +0000 (11:27 -0700)]
video: tegra: nvmap: Consolidate zeroed mem config
Consilidate the NVMAP_FORCE_ZEROED_USER_PAGES config to only
two locations. Both are in nvmap_handle.c and ensure that
the module param zero_memory is enabled and unchangable when
NVMAP_FORCE_ZEROED_USER_PAGES is set.
Change-Id: Ied1c6ffb57b427bb2c7f8e9270ecea6c8bc34ec6
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/403038
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Alex Waterman [Thu, 24 Apr 2014 23:24:44 +0000 (16:24 -0700)]
video: tegra: nvmap: Fix build error for cache maint
When CONFIG_NVMAP_CACHE_MAINT_BY_SET_WAYS is not defined some
code in nvmap's cache flush code references undefined variables.
Change-Id: I0971c56cff7df4bedaea0cca5372774e6c50fc8d
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/401114
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Vincent Chen [Wed, 2 Apr 2014 03:13:54 +0000 (20:13 -0700)]
arm: ardbeg: tn8: add tn8 a03 raydium touch
bug
1482112
Change-Id: I794d925eaed88fffa56c98a252b72a713f345684
Signed-off-by: Vincent Chen <zochen@nvidia.com>
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/401083
(cherry picked from commit
089f379cddfcaa60234649f99da29fa5b899f28e )
Reviewed-on: http://git-master/r/404578
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Vincent Chen [Wed, 2 Apr 2014 03:13:20 +0000 (20:13 -0700)]
input: touchscreen: raydium: update driver to 62.3
62.2 changes:
[1] fix error/warning from checkpatch
[2] add keybit
[3] Device tree support
[4] All the sysfs nodes are moved to 'sys/devices/virtual/misc/touch'
and also rename the device as 'touch'
[5] Using default path to loading all libraries instead of absolute path
[6] Remove PM suspend/resume operations to prevent from LP0 resume
failure due to race condition
[7] Touch performance refine (palm, stylus, ......)
[8] fix slowscan issue
[9] Add TLK support
[10] Add TN8 support
62.3 changes:
[1] fix checkpatch error.
[2] improve TN8 stylus performance.
[3] improve TN8 finger performance.
[4] add error code in selftest function.
[5] add TN8 noise hopping function.
[6] add codes for x64 system."
Bug
1446493
Bug
1482112
Bug
1469135
Bug
1468629
Bug
1465587
Bug
1453371
Bug
1437076
Bug
1405258
Change-Id: I633cddb8b65a9c7fe741f6a782d4a4f5fd792c58
Signed-off-by: Vincent Chen <zochen@nvidia.com>
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/401082
(cherry picked from commit
37d7fa65b3f8471e65cbe3ea8ed05419bcdf2342 )
Reviewed-on: http://git-master/r/404576
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Rohit Khanna [Wed, 14 May 2014 21:24:18 +0000 (14:24 -0700)]
arm64: optimize el0_sync branch prediction
el0_sync manually sets the link register(lr) with ret_from_exception. This
is not recommended since it causes branch misprediction on RET. This patch
makes use of bl and adds an extra branch to tradeoff for the branch
misprediction.
Bug
1488764
Change-Id: I378754cb5fef46aacea42e3fe6c8db327e2a7a96
Signed-off-by: Rohit Khanna <rokhanna@nvidia.com>
Reviewed-on: http://git-master/r/410430
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Peter De Schrijver [Fri, 9 May 2014 14:59:49 +0000 (17:59 +0300)]
ARM: Tegra: add debugfs node for cluster switch
Change-Id: Ib9e617c69a37aeaa6989f6fa0139daafbdd05979
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/407636
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
Hoang Pham [Sat, 17 May 2014 06:28:05 +0000 (23:28 -0700)]
clock: tegra21: Update max freq for dmic
Change-Id: I186018d1d27ecf6cc2ca8fec020733bdc2c3aa4f
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/411154
Reviewed-by: Bo Yan <byan@nvidia.com>
Hoang Pham [Tue, 20 May 2014 19:12:44 +0000 (12:12 -0700)]
clock: tegra21: Fix merge issue
For some reason the CL 407561
removed some part of CL 408052.
Restoring it back.
Change-Id: I17602baceff805eb8c68f5507931771a6933e422
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/412206
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Alex Waterman [Tue, 29 Apr 2014 17:03:53 +0000 (10:03 -0700)]
video: tegra: nvmap: Make page pool params modifiable
Export several sysfs nodes to dynamically control the following
configuration variables:
NVMAP_PP_DEF_FILL_THRESH
NVMAP_PP_DEF_ZERO_MEM_FILL_MIN
NVMAP_PP_DEF_MIN_AVAILABLE_MB
They have defaults but such defaults may be necessary to change.
Change-Id: I236fa4b9cbd40db9008b20cd4c5c726b68ba4185
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Alex Waterman [Mon, 28 Apr 2014 21:31:09 +0000 (14:31 -0700)]
video: tegra: nvmap: Fix misleading comment
The comment would have led one to believe that the
NVMAP_PP_ZERO_MEM_FILL_MIN define would disable the page pools
entirely but that is not the case, instead it essentially
disables the background allocator. This is due to the fact that
without zero'ed pages memory is inserted right back into the
page pools instead of being freed to the system.
Change-Id: Id6e7664609f4a6d776febcfc9b9d751755806ac0
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Alex Waterman [Thu, 24 Apr 2014 23:33:23 +0000 (16:33 -0700)]
video: tegra: nvmap: Add get func for pool size
Add a function to get the page pool's size without requiring
users to traverse the nvmap structs.
Change-Id: I40e633a1454d696a3602352b2c708ba56f8e2bb3
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/401169
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Prafull Suryawanshi [Thu, 8 May 2014 06:02:43 +0000 (11:32 +0530)]
mmc: core: add null pointer check before dumping info.
While trying to dump all sdmmc files debug data, on TN8,
card is not present on few sdmmc controllers resulting in
null pointer access. This change fixes this by adding check.
bug
1508535
Change-Id: I4ce6ff7b95b81e53684aed2602f932d6214f1221
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
(cherry picked from commit
6a17f1ac0f24e6d9e2218d4ea3f32db784ffd1e5 )
Reviewed-on: http://git-master/r/406766
Tested-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/410891
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Prafull Suryawanshi [Tue, 6 May 2014 13:26:21 +0000 (18:56 +0530)]
ata: Skip ahci dump call if module probe not ivoked.
Bug
1508535
Change-Id: I208ce8765d86d8f35b1f9c6fc9519c159de5522a
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
(cherry picked from commit
1ce382c5f334408da85ba314e46a999a3aa420a7 )
Reviewed-on: http://git-master/r/405845
Reviewed-on: http://git-master/r/410889
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Ishwarya Balaji Gururajan [Mon, 5 May 2014 19:12:20 +0000 (12:12 -0700)]
ARM: T132: add sku fuses to cpu/gpu speedo_id 1
add sku fuses 0x0f and 0x83 to cpu/gpu speedo id 1
Bug
1442659
Change-Id: Ie6f8aa080cdf736633b3a9595b8bb3144060b097
Signed-off-by: Ishwarya Balaji Gururajan <igururajan@nvidia.com>
Reviewed-on: http://git-master/r/405371
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Ishwarya Balaji Gururajan [Tue, 20 May 2014 00:55:56 +0000 (17:55 -0700)]
ARM: T132: update DVFS tables for E1971
update emc DVFS and derated tables for E1971
Bug
1434354
Change-Id: I91a35ad71be7022bd2b24f6b964096004271443f
Signed-off-by: Ishwarya Balaji Gururajan <igururajan@nvidia.com>
Reviewed-on: http://git-master/r/411742
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Hoang Pham [Fri, 16 May 2014 20:49:57 +0000 (13:49 -0700)]
clock: tegra21: Decouple bus limits from bus state
Select BUS_RATE_LIMIT flag for cap, and floor users of Tegra12 shared
buses: c2bus, c3bus, gbus, and host1x bus. Hence, applying/removing
(enabling/disabling) the limits won't affect bus enable/disable state.
Made sure that bus rate is retained in case when only limit clocks are
enabled (for gbus that supports rate retention).
Note that bus caps were already initialized as always on clocks, and
that effectively decoupled caps from the parent bus state; floors,
however, are decoupled by this commit.
Also add gbus edp capping clock
Ported from tegra12: Change-Id: I905e9fbeafd9c2afe10f0e417477a0551d598bcb
Ported from tegra12: Change-Id: I2e2cbd0582f1051d7c78aa367df427565f3c70f0
Change-Id: I6dacc0f2878820b3767ecf0993290318d83065fb
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/411029
Reviewed-by: Bo Yan <byan@nvidia.com>
Alex Van Brunt [Fri, 16 May 2014 19:37:06 +0000 (12:37 -0700)]
mutex: save power with better cpu_relax
Use cpu_relaxed_read and cpu_read_relax to allow more architectures to be able
to "relax" instead of busy spinning.
Bug
1440421
Change-Id: I48e36d7b3c953fe43ebb23ea814de7738c91e394
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/410997
Reviewed-by: Sumit Singh <sumsingh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Fri, 18 Apr 2014 06:51:55 +0000 (12:21 +0530)]
ARM: tegra: configure battery thermal charging for TN8-DVT2 more precisely
Configuring the charger for foowing profile:
T <= 0: Charging disabled by charger.
0 < T <= 10: 1040mA/4352mV
10 < T <= 15: 1040mA/4352mV
15 < T <= 25: 2600mA/4352mV
25 < T <= 45: 5200mA/4352mV
45 < T <= 60: 2600mA/4200mV
60 < T : Charging disabled by charger.
bug
1435980
bug
1472161
Change-Id: I90a5f0e9ccff6b8e95ed52b1d12376762c393d84
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/398119
Laxman Dewangan [Tue, 15 Apr 2014 13:26:49 +0000 (18:56 +0530)]
ARM: tegra: add thermal voltage/current profiling for charger on P1761-A03
Configure the voltage/current thermal profiling of battery for charging:
T<= 10 deg C: 1024mA/4350mV
10 < T <= 15 deg C: 2048mA/4350mV
15 < T <= 45 deg C: 5200mA/4350mV
45 < T <= 60 deg C: 2600mA/4200mV
The SoC adjustment is 2 to 100% of FG -> 0 to 100%.
bug
1472161
Change-Id: If77ccadfee3f05fbc704a54e8a4c89119cc23221
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/396452
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/409173
Sami Kiminki [Tue, 20 May 2014 15:37:50 +0000 (18:37 +0300)]
media: tegra: nvavp: Handle missing DMA address
If DMA address is not defined, use the physical address.
Bug
1500983
Change-Id: Ib2ceea2c910f3dbb9ea61580669dd4ae52ddba29
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-on: http://git-master/r/412106
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Shreshtha Sahu [Mon, 3 Feb 2014 14:02:30 +0000 (19:32 +0530)]
arm: tegra: select MAX98090 codec for MACH_LAGUNA
Bug
1377308
Change-Id: I77b2fca9d6f9a75b1688c21950ecfc46bddde704
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/362917
(cherry picked from commit
422b6d15ed922dae79cd6885f6ba42dbb9daba72 )
Reviewed-on: http://git-master/r/402738
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Shreshtha Sahu [Tue, 29 Apr 2014 10:52:55 +0000 (16:22 +0530)]
mmc: core: export trace points symbols for module
This patch exports trace point symbols so that it
is defined for mmc as a module.
Bug
1499809
Change-Id: I36a7a1d1644ef1a0ba6f334db41b04bb50ec57d6
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/402918
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Shreshtha Sahu [Tue, 29 Apr 2014 10:07:38 +0000 (15:37 +0530)]
mmc: tegra: remove vcore override late_initcall
This patch removes vcore override late_initcall
as it is no longer required for new tuning algo.
In addition this removes two initcalls from
same module and thus let mmc to compile as module.
Along with this unused vairables are removed.
Bug
1499809
Change-Id: Id68d9f4115a860b152703ee6c3fe677eb0230193
Signed-off-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/402916
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Ravindra Lokhande [Wed, 16 Apr 2014 15:37:59 +0000 (21:07 +0530)]
ALSA: compress: add support for 32bit calls in a 64bit kernel
compress offload does not support calls from a 32bit userspace in a
64 bit kernel. This patch adds support for ioctls from a 32bit
userspace in a 64bit kernel
Change-Id: I145f8414d27fbdda534375b607295edde18072f8
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/399784
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
(cherry picked from commit
6c2a151e545412a8817af4295cfcee2ddca4efaa )
Reviewed-on: http://git-master/r/402883
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Ravindra Lokhande [Wed, 9 Apr 2014 09:51:10 +0000 (15:21 +0530)]
ASoC: Tegra: fix offload for 64bit platform
Bug
1501400
Change-Id: I50d43d6d042b40475a0594e90495baee63c19c7c
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/399786
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
(cherry picked from commit
9886fce8ce56b4298e33259ef92b3f3d116cae5e )
Reviewed-on: http://git-master/r/402884
Reviewed-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Jitendra Kumar [Mon, 12 May 2014 13:16:25 +0000 (18:46 +0530)]
media: tegra: nvavp: Handle runtime race condition
Protect nvavp_runtime_get with lock to prevent race condition.
Bug
1487327
Signed-off-by: Jitendra Kumar <jitendrak@nvidia.com>
Change-Id: I8c21bc6378457c630516d1c0d18a659f1f61d857
Reviewed-on: http://git-master/r/408225
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bhanu Murthy V <bmurthyv@nvidia.com>
Reviewed-by: Praveen Kumar Reddy M.V. <pkreddy@nvidia.com>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Terje Bergstrom [Thu, 15 May 2014 10:57:09 +0000 (13:57 +0300)]
gpu: nvgpu: Remove deferred ELPG enable
Prevent the disable ELPG routine from calling deferred re enablement of
ELPG. Remove code related to deferred ELPG enable..
Change-Id: I9401e6e0f26a4e332e50eb38439e2ef6fcb4225d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/410203
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Terje Bergstrom [Wed, 14 May 2014 12:22:00 +0000 (15:22 +0300)]
gpu: nvgpu: Add PMU sent/recvd messages to dbg log
Add debug log entries for received and sent PMU messages.
Change-Id: I94cecca76257d74785c13f1c5f97a7233361019f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/410202
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Ashutosh Patel [Wed, 7 May 2014 06:32:38 +0000 (12:02 +0530)]
driver: spi slave: Add FIFO Flush logic
Changes:
- Flush TX/RX Fifo before each transfer
bug
1481569
Change-Id: I5a1740ddb1aaa02be5b87633da53af50bb46bb61
Signed-off-by: Ashutosh Patel <ashutoshp@nvidia.com>
Reviewed-on: http://git-master/r/405630
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
shravanid [Tue, 20 May 2014 07:06:43 +0000 (12:36 +0530)]
arm64: dts: Use gpio PZ4 for sdmmc3 voltage switch
Add GPIO PZ4 pin support for voltage switching
Bug
1487334
Change-Id: I68c7dceb9888cee8b75ba3560937f24021d2a26c
Signed-off-by: shravanid <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/407556
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
shravanid [Sat, 10 May 2014 11:34:01 +0000 (17:04 +0530)]
gpio: tegra: save/restore gpio debounce registers
Save and restore gpio debounce registers to retain
them during the LP0 cycle
Change-Id: I06c897d95c09a90ae216fca80644b97ed4919fee
Signed-off-by: shravanid <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/407903
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
shravanid [Sun, 11 May 2014 04:48:23 +0000 (10:18 +0530)]
pinctrl: tegra124: Remove LPMD from padctrl regs
LPMD bits are deprecated from pad strength
registers. Remove them from pinctrl driver.
Bug
200002536
Change-Id: Ib65934635a78aa63c5fc76dc2bfa0137991b57e4
Signed-off-by: shravanid <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/407922
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
shravanid [Fri, 16 May 2014 09:46:46 +0000 (15:16 +0530)]
arm64: dts: Add pinmux dt nodes for UART4 pins
Add pinmux DT nodes for UART4 pins which are
pinmuxed for UART_APE
Bug
200005294
Change-Id: I41478db6d1c24a49eb1c0f94cf28f39336bbb7d6
Signed-off-by: shravanid <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/410785
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
shravanid [Fri, 16 May 2014 09:36:45 +0000 (15:06 +0530)]
pinctrl: tegra210: Correct name for UART_APE func
Rename the uart function name to uart_ape
as UART_APE is the correct function pinmuxed with
UART4
Bug
200005294
Change-Id: I47420763de176148a75edc004ad54de7e48f2049
Signed-off-by: shravanid <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/410781
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Pavan Kunapuli [Mon, 21 Apr 2014 10:42:02 +0000 (16:12 +0530)]
mmc: tegra: Abort tuning if device is removed
For removable devices, check for the card presence status before
issuing each tuning command. If the device is removed, abort tuning
and return -ENOMEDIUM error.
Change-Id: I19d5dfe8e8bf4b9fc7ecc2c00cdfa01343012e68
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/398855
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Deepak Nibade [Mon, 19 May 2014 15:51:39 +0000 (21:21 +0530)]
video: tegra: host: remove redundant syncpt debug function
- remove redundant syncpt debug fuction from host1x_syncpt.c
- define just one debug function nvhost_syncpt_debug() inside
debug.c/h and use it everywhere
Bug
1305024
Change-Id: I0c7b0638f85278e89f9177363c1d0333892e5b24
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/411550
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Deepak Nibade [Mon, 19 May 2014 13:49:16 +0000 (19:19 +0530)]
video: tegra: host: add previous client data for syncpts
Add new field "last_used_by" in nvhost_syncpt to store name
of client which previously used (and now has released)
this syncpt id
This name is copied in "last_used_by" from "syncpt_names"
while freeing the syncpt in nvhost_free_syncpt()
Export nvhost_syncpt_get_last_client() to get name of last client
and call this API during nvhost syncpt debug spew
Bug
1305024
Change-Id: I92598e16e5778472af1d9a963f192d6b84db7df9
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/411163
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>