]>
nv-tegra.nvidia Code Review - linux-3.10.git/log
Xiaohui Tao [Thu, 24 Jul 2014 22:54:11 +0000 (15:54 -0700)]
Move sensor module to be built-in module
Bug
1536713
Bug
200023257
Bug
1529965
Change-Id: Ic31e50937cade08a51ac3e0016fde927fd35835f
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/442085
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Seshendra Gadagottu [Mon, 28 Jul 2014 21:13:08 +0000 (14:13 -0700)]
arm64: tegra: t210ref: Update gm20b alias name
Gm20b will be using generic name "gpu" for sysfs node names.
Bug
1420765
Change-Id: Iebe2ef19420fcaf9dc43633ab45c99a42dbb8dbf
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/448249
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Megha Dey [Sat, 19 Jul 2014 01:35:06 +0000 (18:35 -0700)]
arm64 : tegra : moving tegra_suspend_dram check
BUG
1512081
Change-Id: I7dab6d53f602b4e991c4165ad82e2e31a680a543
Signed-off-by: Megha Dey <mdey@nvidia.com>
Reviewed-on: http://git-master/r/420208
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Diwakar Tundlam [Tue, 15 Jul 2014 00:01:21 +0000 (17:01 -0700)]
arm: tegra: Move SOC_THERM driver to platform area
Moved the SOC_THERM driver to platform driver area.
Obtain clk-reset register offset from DT.
Bug
200004664
Change-Id: I5f1f09d44c986b3950d4ce59c045446204b26c70
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/448197
VENKAGAJAGADISH P [Tue, 15 Jul 2014 05:55:59 +0000 (11:25 +0530)]
ata: ahci: add multiple pex gpio support to SATA
Bug
1517879
Change-Id: I097f915814d484f3afcecad891ea12f14b41ae05
Signed-off-by: VENKAGAJAGADISH P <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/437980
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Daniel Fu [Wed, 16 Jul 2014 14:04:35 +0000 (22:04 +0800)]
arm: tegra: clean up tegra_aes device
We don't use tegra_aes after T30. Clean it up.
Bug
200020855
Change-Id: Iab69bbc1d7c60b62fcbdff40d4814af00085fa87
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/438744
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Daniel Fu [Thu, 24 Jul 2014 09:19:04 +0000 (17:19 +0800)]
arm64: tegra: fix registration for thermal senasor
E2141 have thremal sensor(nct72) on Bus I2C-0, and skin sensor on
Bus I2C-1. But both of them register on I2C-1 now. Fix it.
Bug
200020205
Change-Id: I98295bce3f7236b46f42217aeb5a249e9fcbe5a8
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/437590
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Darren Sun <darrens@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Seshendra Gadagottu [Fri, 25 Jul 2014 18:49:04 +0000 (11:49 -0700)]
gpu: nvgpu: gm20b: update gpu headers
Keep gm20b headers upto date with script output
Change-Id: I0916df7c43616b1d9231436a512290c2fa901d64
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/447725
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Seshendra Gadagottu [Mon, 28 Jul 2014 18:22:39 +0000 (11:22 -0700)]
clock: tegra21: Update gm20b clock name
Use generic clock name tegra_gpu isntead of
tegra_gm20b for gm20b.
Bug
1420765
Change-Id: Ie1258124ef17b9e5204055d65f6231988a1309e9
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/448201
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Alex Frid [Fri, 25 Jul 2014 04:44:59 +0000 (21:44 -0700)]
gpu: nvgpu: Update GM20b GPCPLL parameters
Updated GPCPLL parameters according to GM20b specification.
Modified PLL programming, since on GM20b PLL post divider value is
equal to divider setting (which was not the case on GK20a this code
was inherited from).
Bug
1450787
Change-Id: Ia455ac49040047a3dbcd5d5211f2fbc71dc332ae
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/447751
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Tested-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Alex Frid [Fri, 25 Jul 2014 06:18:20 +0000 (23:18 -0700)]
gpu: nvgpu: Update GM20b GPCPLL initial configuration
- Set initial output rate to 1/3 of VCO minimum.
- Cleared global BYPASSCTRL to get ready for enabling PLL (this
won't bring PLL out of bypass, since SEL_VCO register is cleared).
- Added debugfs nodes for BYPASSCTRL and SEL_VCO state.
Bug
1450787
Change-Id: I10b068b006b7e9fbdf7854eff0cfd5cfdc1dd546
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/447750
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Tested-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Min-wuk Lee [Tue, 8 Jul 2014 07:05:56 +0000 (16:05 +0900)]
arm: dts: display system for laguna_t124
Bug
1371533
Change-Id: Ib8bb5b23152dc8b769e13a693bb10924c93ebfb6
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/435515
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Min-wuk Lee [Tue, 8 Jul 2014 10:56:29 +0000 (19:56 +0900)]
arm: tegra: laguna: DT for display
Board side change for laguna_t124 display
system device tree.
Bug
1371533
Change-Id: I83a7dbb38ffbb089fdcc4de9975faaf8b87faeab
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/435602
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Min-wuk Lee [Thu, 10 Jul 2014 10:48:47 +0000 (19:48 +0900)]
video: tegra: dc: sn65dsi86 device tree
ti sn65dsi86 device tree support
Bug
1371533
Change-Id: I2406764a54b50055a1594ded6efeb0b635bc94c4
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/436604
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Min-wuk Lee [Tue, 8 Jul 2014 06:01:16 +0000 (15:01 +0900)]
video: tegra: dc: prerequisite lvds dt support
This change is the driver side change to support
device tree for LVDS panel.
Bug
1371533
Change-Id: Id479bff4cd2a21bcf8c4b79064841f682f667fc6
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/435486
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Min-wuk Lee [Thu, 10 Jul 2014 06:25:05 +0000 (15:25 +0900)]
arm: tegra: clean up panel gpios
Clean up panel gpios.
- Delete unnecessary gpios
- If device tree indicate gpio, use that.
Bug
1371533
Change-Id: If79f6b888c389625caf513ba2cffefa24c9fcd4d
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/436470
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Yousuf A [Mon, 21 Jul 2014 05:58:22 +0000 (11:28 +0530)]
spi: tegra114-slave: xfer sz should be ceil(bpw/8)
This change adds the check for the transfer size
of spi packet to be a multiple of bits_per_word/8
rounded to next higher integer.
Bug
200021342
Change-Id: I2b77763bae8ad735e02880b16803af3ba3de1c01
Signed-off-by: Yousuf A <yousufa@nvidia.com>
Reviewed-on: http://git-master/r/438664
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-by: Ashutosh Patel <ashutoshp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Yousuf A [Mon, 21 Jul 2014 05:59:16 +0000 (11:29 +0530)]
spi: tegra114 slave: disable spi-cs inactive intr
Currently spi slave interrupts on seeing clock toggles
while cs is inactive. This could happen when master
communicates with another slave or if CPOL spi mode
is selected. The change disables the cs-inactive
interrupt.
Bug
200021802
Change-Id: I17e459f662d40958666da7089b480d582ae63a57
Signed-off-by: Yousuf A <yousufa@nvidia.com>
Reviewed-on: http://git-master/r/438657
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-by: Ashutosh Patel <ashutoshp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Ravi Chandra SV [Mon, 14 Jul 2014 06:09:27 +0000 (11:39 +0530)]
tegra: dc: conditionaly call tegra_dpaux_pad_power
tegra_dpaux_pad_power() should not be called from
_tegra_dc_controller_enable() unless dpaux node
is defined in dt.
Change-Id: I941050800757e4942d3620dfa80a4f25f870f5b0
Signed-off-by: Ravi Chandra SV <ravichandrav@nvidia.com>
Reviewed-on: http://git-master/r/437589
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Bo Yan [Thu, 24 Jul 2014 00:13:29 +0000 (17:13 -0700)]
clocksource: t210: set irq affinity only for SMP
irq affinity is not applicable for a uni-processor build,
call affinity setting functions only for SMP build.
bug
1487099
Change-Id: I44f1803fe7d4379351f737ecb31fbaedf31eb00f
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/441475
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Gaurav Sarode [Wed, 16 Jul 2014 19:58:40 +0000 (12:58 -0700)]
ARM: tegra: clock:Fix Sleeping while atomic in LP0
After enabling CONFIG_DEBUG_ATOMIC_SLEEP,during LP0 we see warning
regarding sleep in atomic region for clk_enable and clk_disable.
To fix this, we need to use clk_enable_locked and clk_disable_locked
instead.These functions do not acquire locks.
Bug
1534913
Change-Id: I7ca661a8030308107c3467d9d524c79b6ec374e8
Signed-off-by: Gaurav Sarode <gsarode@nvidia.com>
Reviewed-on: http://git-master/r/438904
(cherry picked from commit
908ff199970a093a022f4434afc1689ba979bfed )
Reviewed-on: http://git-master/r/440466
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Alex Frid [Sat, 26 Jul 2014 05:30:37 +0000 (22:30 -0700)]
gpu: nvgpu: Expand GM20b PLL fields header
Added masks for GM20b GPCPLL input and post dividers.
Bug
1450787
Change-Id: I39a9c7ffb740fa9ef3a614deb2591412e34ef263
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/447857
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Arun Shamanna Lakshmi [Tue, 1 Jul 2014 22:20:14 +0000 (15:20 -0700)]
ASoC: tegra-alt: Add T210 DAI links in the utility
Bug
1442940
Change-Id: I19f8c03abed3acccf703ebd66598e5ca57c91b84
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Reviewed-on: http://git-master/r/433344
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Justin Kim (SW-TEGRA) <juskim@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Songhee Baek [Thu, 3 Jul 2014 23:59:48 +0000 (16:59 -0700)]
ASoC: tegra-alt: adding tegra_machine_hwdep device
This change is for adding hwdep device to update AMX/ADX
mapping table so user can access AMX/ADX mapping table through
hwdep device.
Bug
1531057
Change-Id: I3c0053ca6548a05b0a44e30b9d6c4a76f9fc3521
Signed-off-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-on: http://git-master/r/434526
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Ashok Mudithanapalli [Fri, 11 Jul 2014 11:44:49 +0000 (17:14 +0530)]
arm64: tegra210: hda device registration
add hda device entry to dt for t210-interposer.
bug
200008321
Change-Id: Ic489cffdc13730c293990824902814149b553911
Signed-off-by: Ashok Mudithanapalli <ashokm@nvidia.com>
Reviewed-on: http://git-master/r/437144
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Deepa Madiregama [Wed, 2 Jul 2014 06:15:20 +0000 (11:45 +0530)]
ASoC: Tegra: Add effects capture for norrin
- Add dai link for effects capture
Bug
1399923
Reviewed-on: http://git-master/r/433496
(cherry picked from commit
e452c87dcc23d91e1ad5c8ffeaa581f26496d54d )
Change-Id: Ie361aad3cedb1c47b8800fc9eac221e4fcaccc97
Signed-off-by: Deepa Madiregama <dmadiregama@nvidia.com>
Reviewed-on: http://git-master/r/441177
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Deepa Madiregama [Fri, 23 May 2014 09:53:51 +0000 (15:23 +0530)]
ASoC: Tegra: Add support for effects capture
Add capture node to get the effects data from AVP
Bug
1399923
Reviewed-on: http://git-master/r/414091
(cherry picked from commit
4e914c4dc48b6ba8d9cc92a3d788bf80aceea102 )
Change-Id: I854de0966a40fe7867001a25058626da63b87b92
Signed-off-by: Deepa Madiregama <dmadiregama@nvidia.com>
Reviewed-on: http://git-master/r/441175
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Deepa Madiregama [Tue, 22 Apr 2014 11:36:13 +0000 (17:06 +0530)]
ASoC: Tegra: Add compress offload volume control
Add alsa control for volume changes during compress
offload playback.
Bug
1498475
Change-Id: I5572338648a2fefdcf3095702bcbade35f1b0565
Reviewed-on: http://git-master/r/399682
(cherry picked from commit
ff271dcc374f2dfc41228feaef2f369c5151a30a )
Signed-off-by: Deepa Madiregama <dmadiregama@nvidia.com>
Change-Id: I8709109f80523fbd9ec2272f87c138d15045c338
Reviewed-on: http://git-master/r/441172
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Joshua Cha [Fri, 25 Jul 2014 06:45:52 +0000 (15:45 +0900)]
arm: tegra: ardbeg-vcm30-t124: update dt for refactoring
dtsi file for vcm30t124 mcm is included.
Move disp registration to DT
Bug
1527003
Bug
200006908
Change-Id: I553954aa6838bb236c392acbb956238da6103105
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/447479
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Tested-by: Sandeep Trasi <strasi@nvidia.com>
Joshua Cha [Thu, 24 Jul 2014 09:01:00 +0000 (18:01 +0900)]
ARM: tegra: vcm30t124: Fix dt setting for bcm43241-b4
- add dt node for pca9539 for address 75
- add dt node for bluedroid_pm
- set ENABLE_MISC_BUF to high for enabling ADG3308
- remove bluedroid_pm registration in board file
Bug
1534075
Bug
200018032
Bug
200021509
Change-Id: Ifff1c5ab5934e83ebe3fb3fbeb905b2920e181b1
Signed-off-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-on: http://git-master/r/441747
Reviewed-by: Phoenix Jung <pjung@nvidia.com>
Tested-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Animesh Kishore [Fri, 25 Jul 2014 15:44:14 +0000 (21:14 +0530)]
video: tegra: hdmi: Populate eld
Populate eld and set eld valid and hda presence
to notify hda controller of monitor attached.
Bug
200006291
Change-Id: If4ca54edeb68e16a5337c67f9d794e2f8667b274
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/447657
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Animesh Kishore [Wed, 23 Jul 2014 12:33:37 +0000 (18:03 +0530)]
video: tegra: hdmi: Implement suspend/resume
Bug
200006291
Change-Id: Ib54bbbbca8b8d897c0b7f200427415782c6c40d7
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/441767
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Supriya [Thu, 24 Jul 2014 08:44:32 +0000 (14:14 +0530)]
nvgpu: new gpmu ucode compatibility
For LS PMU new ucode needs to be used.
Ucode has interface header file changes too.
This patch also has fixes for pmu dmem copy failure
Bug
1509680
Change-Id: I8c7018f889a82104dea590751e650e53e5524a54
Signed-off-by: Supriya <ssharatkumar@nvidia.com>
Reviewed-on: http://git-master/r/441734
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Alex Waterman [Thu, 26 Jun 2014 20:53:59 +0000 (13:53 -0700)]
gpu: nvgpu: Update gm20b GPU name
Change the name of gm20b's sysfs and related names. This also
includes changing the clock names as tegra's clock framework
expects the clock name to be based on the GPU device's name.
Bug
1420765
Change-Id: I12ba47b3de86373dc0e8cafa8e8566a7fa940968
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Joy Wang [Mon, 28 Jul 2014 06:17:27 +0000 (14:17 +0800)]
xusb_padctl: Not access padctl register on FPGA
On FPGA, some acefile do not have xusb padctl implemented.
No accessing padctl register on FPGA to avoid hang.
Bug
200009146
Change-Id: I1e730d38cb7d2a2b237b37051158d199401a58eb
Signed-off-by: Joy Wang <joyw@nvidia.com>
Reviewed-on: http://git-master/r/447950
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Min-wuk Lee [Fri, 25 Jul 2014 10:00:22 +0000 (19:00 +0900)]
ARM: tegra: dt: modify iommus property for dc
Bug
1371533
Bug
200008311
Change-Id: I1185ebeeaee2696eeb9b2d6d35d130210046f7a6
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/447562
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Ashok Mudithanapalli [Mon, 7 Jul 2014 09:31:24 +0000 (15:01 +0530)]
arm64: tegra210: hda device registration
add hda device to dt.
bug
200008321
Change-Id: I7a53d8f55517587df47e30021c4eafec2a06b57a
Signed-off-by: Ashok Mudithanapalli <ashokm@nvidia.com>
Reviewed-on: http://git-master/r/435080
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Sri Krishna chowdary [Mon, 23 Jun 2014 13:30:07 +0000 (19:00 +0530)]
staging: iio: light: iqs253: add iqs263 support
- add i2c routines for iqs263
- seperate out routines for iqs263 and iqs253
- auto detect iqs253 vs iqs263 and apply appropriate settings
- set HW suggested init settings to improve settings for iqs263
- Move code to appropriate places i.e., iqs253 first handshake
need not happen for iqs263
- fix regulator logic to match regulator_enable and regulator_disable
Bug
1499925
Change-Id: I8970d2b17322598d8197022189016e4c02a76bd5
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/427198
(cherry picked from commit
9e2d7b22653fd70b99e8b14332af908e4f2d6113 )
Reviewed-on: http://git-master/r/438104
(cherry picked from commit
5561f730fc2ea69d6ab522c123f0c2bf4c29dc58 )
Reviewed-on: http://git-master/r/447911
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Sri Krishna chowdary [Mon, 23 Jun 2014 10:52:52 +0000 (16:22 +0530)]
staging: iio: light: iqs253: update sensor code
1. clean up obsolete code paths
2. modify init sequence
3. modify i2c communication protocol
4. re init on power on reset detection
5. modify proximity detection thresholds and ATI registers
bug
1499925
Change-Id: Icd81346259e5e689ce64854a421b6e53f1d67d05
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/427154
(cherry picked from commit
ae2861e7b8439574e36b0ccd41bf9e07a7c4a964 )
Reviewed-on: http://git-master/r/434009
(cherry picked from commit
7a925fc2aacfd3cb1af89a13efeaf8d9fd884d9c )
Reviewed-on: http://git-master/r/433450
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Varun Wadekar [Mon, 21 Jul 2014 06:40:24 +0000 (12:10 +0530)]
cpuidle: tegra210: fix default C/CCx/SC7 state values
Instead of passing ID=0 for C7, set id = TEGRA210_CPUIDLE_C7.
Set affinity_level=2 for SC7 state.
Change-Id: I43308c8908122dc105e545034fbf75368e381b0d
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/440227
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Dara Ramesh [Wed, 23 Jul 2014 09:05:39 +0000 (14:35 +0530)]
arm64: tegra: tegra210: add audio dtsi changes
Add T210-ERS dtsi files for audio drivers.
bug
200021127
Change-Id: Ib36e1d5c3538f06de95985d60be6b60f34cf237b
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/441096
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Reviewed-by: Daniel Fu <danifu@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Deepak Nibade [Fri, 25 Jul 2014 07:18:07 +0000 (12:48 +0530)]
usb: xhci: tegra: fix Coverity issue of function arguement order
API memset() is called with wrong order of function arguements
Fix it by correcting the order
Coverity id : 26672
Bug
1416640
Change-Id: I564268727399ae99b0c7f323c67afffc1058dcb6
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/447533
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Deepak Nibade [Fri, 25 Jul 2014 07:05:45 +0000 (12:35 +0530)]
misc: tegra-profiler: fix Coverity issue of NULL dereference
Pointer "pt_regs *regs" is first dereferenced and then checked for NULL
To fix this move NULL checking to beginning of function
Coverity id : 26686
Bug
1416640
Change-Id: I40e97e38e5a61a5d77ea68fa511e996f24385cfc
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/447532
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Deepak Nibade [Fri, 25 Jul 2014 06:57:20 +0000 (12:27 +0530)]
ARM: tegra: fix Coverity issue of unchecked return value
Fix Coverity issue of unchecked return value from API memblock_remove
Coverity id : 26816
Bug
1416640
Change-Id: Ia7e0a29fbf9fe0deb036742a72c15c1c6f35360b
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/447531
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Mitch Luban [Sat, 26 Jul 2014 01:15:34 +0000 (18:15 -0700)]
arm: tegra: t124: fix indentation in t124 dtsi
Change-Id: I79a02b51ed8ec12bdc76ad0f8e6c51a76b4e05ff
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/448015
kirankumar Bobbu [Mon, 21 Jul 2014 10:21:11 +0000 (15:51 +0530)]
mmc: core: fix sysfs entry speed update
switching between the speed modes for emmc through sysfs
interface doesnot update the sysfs entry speed, even
though host and card switches to new mode.
Bug
200004027
Change-Id: I578e8fe9012d731da0907f0e291cc5c860aa3f1b
Signed-off-by: kirankumar Bobbu <kbobbu@nvidia.com>
Reviewed-on: http://git-master/r/440328
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshagiri Holi <sholi@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Sri Krishna chowdary [Thu, 24 Jul 2014 13:05:58 +0000 (18:35 +0530)]
iommu/tegra: smmu: modify error path in tegra_smmu_get_of_swgids
do not continue searching in case an invalid iommu property is found.
Just report error and fallback.
Bug
1463797
Change-Id: I13b2c5ee1a134d811ec08ed4ac191241eba8eee6
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/441806
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Darren Sun [Wed, 16 Jul 2014 12:49:44 +0000 (12:49 +0000)]
ARM64: Tegra: Enable Raydium Touch DT for t210 interposer
Bug
200020676
Change-Id: Ib0a5b35890c754b4675d143dcc43c5982d4dfc7d
Signed-off-by: Darren Sun <darrens@nvidia.com>
Reviewed-on: http://git-master/r/438703
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Darren Sun [Fri, 25 Jul 2014 03:21:35 +0000 (03:21 +0000)]
ARM64: Tegra: remove board file of Raydium Touch for t210 interposer
Bug
200020676
Change-Id: I272a4ee64ab94e59d4514ba393f808c746a3ab4e
Signed-off-by: Darren Sun <darrens@nvidia.com>
Reviewed-on: http://git-master/r/438704
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Krishna Reddy [Fri, 25 Jul 2014 19:33:22 +0000 (12:33 -0700)]
linux: nvmap: remove nvmap_get_platform_dev API
Remove obsolete API nvmap_get_platform_dev.
Change-Id: I46d745e0e8cdc5a4c959b819b652fd36bba2ed0a
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/447730
Reviewed-by: Automatic_Commit_Validation_User
Laxman Dewangan [Fri, 25 Jul 2014 14:48:31 +0000 (20:18 +0530)]
gpio: gpiolib-of: Initialise gpio only when status of node enabled
During gpio registration, gpio library initailise the gpio provided
through device node.
Add support to check whether status is enabled or not before initialising
it.
Bug
200024061
Change-Id: Ibe272280971a8cf1a78efbd386099d383485f98d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Laxman Dewangan [Fri, 25 Jul 2014 13:43:30 +0000 (19:13 +0530)]
ARM: tegra: register console ports from board files for t210-interposer
Register conole port for T210 interposer from board files.
Change-Id: I0c577db28a3680ed7ac5878be007a1c99de6d82a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Bo Yan [Tue, 22 Jul 2014 19:45:52 +0000 (12:45 -0700)]
arm64: config: tgra210: enable perf tracing
Change-Id: Ia061c7de9f482dfa50351a7e7c9207120050d060
Signed-off-by: Bo Yan <byan@nvidia.com>
Frank Chen [Fri, 18 Jul 2014 01:29:44 +0000 (18:29 -0700)]
arm64: tegra: Update T210 interposer camera file
Update camera board file for T210 interposer
Change-Id: I67debdac8403385a8e7711ac69c4522251c2c07a
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/439584
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Daniel Fu <danifu@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Krishna Reddy [Thu, 24 Jul 2014 19:29:48 +0000 (12:29 -0700)]
arm64: mm: dma: support DMA32 coherent allocations
Support DMA32 coherent allocations for devices with 32-bit mask.
Bug
1454889
Change-Id: Ieaa996166761c6057eedc9d6e4e1ffc3a3f11d69
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/441917
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
GVS: Gerrit_Virtual_Submit
Pantelis Antoniou [Fri, 13 Jun 2014 12:00:35 +0000 (15:00 +0300)]
net: tegra hypervisor network driver
Introducing a tegra hypervisor based network driver.
A relatively straightforward network driver for HV enabled
Tegra systems, using standard IVC services.
Bug
1417482
Change-Id: I065c403bdc3e55d618125ce32795cad213466b02
Signed-off-by: Pantelis Antoniou <pantoniou@nvidia.com>
Signed-off-by: Bahadir Balban <bbalban@nvidia.com>
Change-Id: I8c5f68a1624afaa8459b6b6be67d8d3f0bf2f064
Reviewed-on: http://git-master/r/432812
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Pantelis Antoniou [Fri, 18 Apr 2014 08:16:31 +0000 (11:16 +0300)]
serial: tegra: hv: Tegra IVC serial driver
Add a Tegra IVC based serial driver. By using it you can have
a cross IVC emulated serial port between guests, allowing you to
run consoles and whatever else you care about over it.
Bug
1417482
Change-Id: I2dec78608b14e5d38a7c4a0619ed6f19ada238d6
Signed-off-by: Pantelis Antoniou <pantoniou@nvidia.com>
Signed-off-by: Bahadir Balban <bbalban@nvidia.com>
Reviewed-on: http://git-master/r/428394
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Rich Wiley [Thu, 10 Jul 2014 00:36:06 +0000 (17:36 -0700)]
nvhost: kzmalloc small jobs
use kzmalloc for jobs <= PAGE_SIZE, which is faster and lighter
weight than using vzmalloc
bug
1532644
Change-Id: Ibc63c7262b12aad71743232b41b87bbff4761122
Signed-off-by: Rich Wiley <rwiley@nvidia.com>
Reviewed-on: http://git-master/r/#/c/436375/
(cherry picked from commit Ia012ea40f6c5bed5b31ca3b75e76e5c09d5c4449)
Reviewed-on: http://git-master/r/437275
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Frank Chen [Thu, 24 Jul 2014 01:15:01 +0000 (18:15 -0700)]
arm64: tegra: Enable new camera and focuser
Add IMX214 sensor and DW9714 focuser to config
file
Bug
200013490
Change-Id: I27ddbd7ab2ce4fbbc4002ad051b4d111a5a57ef0
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/441535
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Sri Krishna chowdary [Thu, 24 Jul 2014 13:02:45 +0000 (18:32 +0530)]
iommu/tegra: smmu: fix possible null dereference
In case mapping is null, do not dereference it.
Coverity-id: 26807
Bug
1416640
Change-Id: I4c0e766aa67601e1d47bda627d7fd92c6cd1c2d1
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/441805
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Sri Krishna chowdary [Thu, 17 Jul 2014 10:06:34 +0000 (15:36 +0530)]
iommu/tegra: smmu: get mapping details from iommus
1. Add logic to get mapping related properties from iommus
2. If map is not yet created, use these details to create one
3. If map exists, then check if the current device's properties
are consistent with existing map and warn if they are not
4. If there is no valid iommus property, then skip step 2 and 3
and fallback to the legacy way of creating and retrieving mapping.
Also, show an error if a smmu client tries to register to a map before
smmu_handle is initialized.
bug
1463797
Change-Id: I8d82d190e12eecc45d7b1ea0bc1cd386e6c22ad7
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/434123
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Sri Krishna chowdary [Thu, 24 Jul 2014 06:54:15 +0000 (12:24 +0530)]
iommu/tegra: smmu: modify tegra_smmu_get_mapping
arm_iommu_detach_device checks gets map from dev->archdata.mapping
and checks for NULL. Remove redundant check for map while detaching.
Modify tegra_smmu_get_mapping to
1. always create mapping in case mapping is not initialized yet.
2. take swgids as argument to avoid redundant call.
bug
1463797
Change-Id: Ib0efd2741d0e24acc9601464dc7b0d694d44bf6f
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/441724
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Sri Krishna chowdary [Wed, 23 Jul 2014 20:30:51 +0000 (02:00 +0530)]
iommu/tegra: smmu: modify error handling in platform notifier
If smmu client's probe completes before tegra-smmu is initialized,
then show an error.
Although, it is slightly reduntant to call tegra_smmu_of_get_swgids here,
we are guaranteed that any iommu_op is called only after smmu_handle
is initialized.
bug
1463797
Change-Id: I50f9db9e3cb00c36bb72059e374b05a22c1b005f
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/441371
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Alex Frid [Thu, 24 Jul 2014 07:04:05 +0000 (00:04 -0700)]
gpu: nvgpu: Use GPU device name in clock get operation
Used GPU device name in clock get operation (instead of fixed name),
to make operation is common for GK20A and GM20B. Updated clock ids
in tegra clock framework accordingly.
Bug
1450787
Change-Id: Ifd5b9c3a6fd8db5b06e6dcd989285e8410794803
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/441711
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Alex Frid [Thu, 24 Jul 2014 06:42:35 +0000 (23:42 -0700)]
gpu: nvgpu: Make clock operations static
Made GK20A and GM20B clock operations static, since they are invoked
only via HAL interfaces.
Bug
1450787
Change-Id: Ia30218ad4244bd8790b5ef96d1963678d0ba39e1
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/441710
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Hoang Pham [Thu, 24 Jul 2014 08:32:29 +0000 (01:32 -0700)]
clock: tegra21: Fix pex_uphy clock
The pex_uphy clock should have only reset clock operation
Bug
1489337
Change-Id: I70d84eea3fbbd4a7654085f38cd422c3733fcf0e
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/441725
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jay Agarwal <jagarwal@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Hoang Pham [Thu, 24 Jul 2014 01:47:44 +0000 (18:47 -0700)]
gpu: nvgpu: Switch to use GM20B hw header files
Bug
1450787
Change-Id: Id28bd49eadae7b2310410c1676d73b37f57d1443
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/441543
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Bo Yan [Tue, 22 Jul 2014 19:42:39 +0000 (12:42 -0700)]
arm64: dts: tegra210: add PMU device node
this is needed for perf and tracing.
Change-Id: I696d123f419b55068cc75cad6d4d3c6fec8c9001
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/440850
Scott Long [Tue, 8 Jul 2014 18:43:10 +0000 (11:43 -0700)]
security: tlk_driver: new ss protocol support
The new secure storage protocol design allows the tlk daemon
to exchange data directly with the secure storage TA.
The only role the tlk_driver now plays is in the scheduling path
between the tlk daemon and the secure storage TA.
A summary of the corresponding changes:
* add support for persistent mem buffer parameter type (the
mapping to these buffers persist for the duration of the
session); persistent mem buffers are kept on a separate
shared memory descriptor list and are tracked by session id
* modified ioctl interface between tlk daemon and tlk_driver to
involve only a single command; the integer value passed down
by the tlk daemon indicates whether it is ready for a new
request or has just completed the last request
* fixed up various warnings
Note that support for old protocol will be left intact until the
corresponding changes are applied to the TLK components.
Change-Id: Ibcaad4f0e00c8b1f107af5c1e82ea0aa4dd57398
Signed-off-by: Scott Long <scottl@nvidia.com>
Reviewed-on: http://git-master/r/435709
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chris Johnson <cwj@nvidia.com>
Allen Yu [Fri, 25 Jul 2014 08:48:14 +0000 (16:48 +0800)]
usb: gadget: tegra: set vbus_in_lp0 flag in prepare callback
Problem description:
To support charing in LP0, we set udc->vbus_in_lp0 flag
in tegra_udc_suspend(), so charging current won't be set
to zero and also wakeup event (power supply changed) won't
be reported by tegra_otg_suspend(). This works only if the
order of calling udc and otg _suspend() is guaranteed.
However, in existing code, udc device is added before otg
device. During device tree initialization, devices are
created/added according to the order of nodes in device
tree, then added to the PM core's list (dpm_list) in the
same order. During system suspend, device_suspend() is
called in the _reverse_ order of dpm_list. As a result,
tegra_otg_suspend() is called before tegra_udc_suspend(),
causing device fails to enter lp0 due to fake wakeup event
reported by otg suspend.
Fix description:
This change moves vbus_in_lp0 flag setting to _prepare()
callbacks, so it can always be set before calling
tegra_otg_suspend(), regardless of which device gets added
first during boot.
Bug
200023180
Change-Id: Iba746146b334dcaa3e7e3303b88d343c202d34c5
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/441856
Reviewed-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
R Raj Kumar [Wed, 2 Jul 2014 06:31:38 +0000 (12:01 +0530)]
ARM64: DT: Add SDHCI DT support on T210 interposer
Added SDHCI DT support for T210 Interposer based
E2141 board.
Bug
200015385
bug
200002163
bug
200014925
bug
200011966
Change-Id: I2b120fdcff7f39bbe4d8521fe7ac70db30f2e8d3
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/433509
Reviewed-on: http://git-master/r/435115
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
R Raj Kumar [Wed, 2 Jul 2014 09:10:39 +0000 (14:40 +0530)]
ARM: tegra: Define aux data config for SDMMC
Defined separate aux data config for SDMMC
- ardbeg and t210ref board file updated
Bug
200015385
bug
200002163
bug
200014925
bug
200011966
Change-Id: I73b09815b62a1de66495f726a9c6d46a7f9612c3
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/433565
Reviewed-on: http://git-master/r/435114
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Bitan Biswas [Fri, 4 Jul 2014 14:16:16 +0000 (19:46 +0530)]
ARM: tegra: mmc: update DT bindings
bug
200002163
bug
200014925
bug
200011966
Change-Id: I5e31a24e15143c8440740690090ba4a1b5720b8c
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/434792
Reviewed-by: Automatic_Commit_Validation_User
Bitan Biswas [Mon, 21 Jul 2014 14:32:01 +0000 (20:02 +0530)]
mmc: host: sdhci: tegra: updated DT support
Changes are as follows:
- Added support for DT bindings as follows:
default_drive_type, disable-clk-gate
Bug
200015385
bug
200002163
bug
200014925
bug
200011966
Change-Id: Id5fbf3b60ae8524308a3bfdccd92f93467323d99
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/440402
Reviewed-by: Automatic_Commit_Validation_User
Darren Sun [Thu, 24 Jul 2014 07:29:23 +0000 (07:29 +0000)]
ARM64: Tegra: add device name for GPIO KEYS
Add the device name for GPIO Keys on T210
Bug
200021424
Change-Id: I60046deba9e68bdd5111a87af95816e0f9c9bc05
Signed-off-by: Darren Sun <darrens@nvidia.com>
Reviewed-on: http://git-master/r/441695
Reviewed-by: Hayden Du <haydend@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Rahul Mittal [Tue, 22 Jul 2014 12:02:34 +0000 (17:32 +0530)]
ASoC: tegra-alt: Add Tegra210 DMIC driver
Add Tegra210 DMIC driver
Add DAI links and DAPM map for dmic
Add unit fpga specific clock programming
Bug
1456155
Change-Id: I80475761716dd2965627596500e77aa3f66e0ac9
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/422710
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Rahul Mittal [Fri, 13 Jun 2014 08:02:15 +0000 (13:32 +0530)]
arm64: dts: Add Tegra210 DMIC sound entry
Add Tegra210 DMIC sound entry
Bug
1456155
Change-Id: Id35387c1b36efd90f43027239ee50de0a14bf423
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/423153
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Viraj Karandikar [Thu, 10 Jul 2014 06:06:45 +0000 (11:36 +0530)]
ASoc: tegra: use event instead of semaphore in APM
Change-Id: I299142b5493e7fe63a6e8ddbc1f3ff4c978afd7f
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/437745
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Krishna Yarlagadda [Thu, 10 Jul 2014 09:57:24 +0000 (15:27 +0530)]
ARM: usb: xhci: update prod settings for T124/T132
Apply production settings for pex pll p0 during
usb3 port init.
Bug
1485506
Change-Id: I70d596c44f977d638385dc6b274d4ffd43545b80
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/436591
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Krishna Yarlagadda [Wed, 25 Jun 2014 18:17:58 +0000 (23:47 +0530)]
Arm: tegra: usb: set falcon clk rate to 336MHz
Bug
1485506
Change-Id: Ia06dfdf8dc73bd424aa3cbbc14dff2d06b176d75
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/428426
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Krishna Yarlagadda [Thu, 10 Jul 2014 10:08:24 +0000 (15:38 +0530)]
usb: phy: tegra: fix XCVR VREG mask
UTMIP_XCVR_VREG_MASK should start from bit 9 and not 10
to cover bit 9,10 & 11. Fixed it.
Bug
1499560
Change-Id: I9d87590b4e178bd037b194716d4836d5194a4370
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/436595
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Nitin Sehgal [Thu, 24 Jul 2014 05:05:10 +0000 (01:05 -0400)]
tegra: vcm30t124_vm2: Disable soc_therm in dt.
bug
200021411
Change-Id: I580bb641cad72d383f88784bf7b91b4355de651e
Signed-off-by: Nitin Sehgal <nsehgal@nvidia.com>
Reviewed-on: http://git-master/r/441622
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Vidya Sagar [Wed, 16 Jul 2014 10:03:42 +0000 (15:33 +0530)]
PCI: Configure ASPM when enabling device
We can't do ASPM configuration at enumeration-time because enabling it
makes some defective hardware unresponsive, even if ASPM is disabled later
(see
41cd766b0659 ("PCI: Don't enable aspm before drivers have had a chance
to veto it"). Therefore, we have to do it after a driver claims the
device.
We previously configured ASPM in pci_set_power_state(), but that's not a
very good place because it's not really related to setting the PCI device
power state, and doing it there means:
- We incorrectly skipped ASPM config when setting a device that's
already in D0 to D0.
- We unnecessarily configured ASPM when setting a device to a low-power
state (the ASPM feature only applies when the device is in D0).
- We unnecessarily configured ASPM when called from a .resume() method
(ASPM configuration needs to be restored during resume, but
pci_restore_pcie_state() should already do this).
Move ASPM configuration from pci_set_power_state() to
do_pci_enable_device() so we do it when a driver enables a device.
Fixes: db288c9c5f9d ("PCI / PM: restore the original behavior of pci_set_power_state()")
Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Bug
200011678
(cherry picked from commit
1f6ae47ecff7f23da73417e068018b311f3b5583 )
repo : git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git
Change-Id: I0f8eebcd472c1ec1d5099bc560742af55d7d5aba
Link: https://bugzilla.kernel.org/show_bug.cgi?id=79621
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Vidya Sagar <sagar.tv@gmail.com>
Change-Id: I0f8eebcd472c1ec1d5099bc560742af55d7d5aba
Reviewed-on: http://git-master/r/440348
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Chandrakanth Gorantla [Fri, 25 Apr 2014 13:49:57 +0000 (19:19 +0530)]
ASOC: DPCM: Allow pause state as prev state for stop state
In case of seek, pause <-> stop <-> resume is the general
sequence, so allow pause state to come before stop.
Bug
1405523
Change-Id: Ib90d5c6cb780bdb5c9cedd33ae114f78603b2649
Reviewed-on: http://git-master/r/401556
(cherry picked from commit
97fdd73057b273016fc87a7413fca561c7c0f814 )
Signed-off-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
Reviewed-on: http://git-master/r/440330
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Laxman Dewangan [Thu, 24 Jul 2014 12:21:39 +0000 (17:51 +0530)]
input: gpio-keys: set key name as node name if name property missing
When registering gpio keys from DT and if gpio-keys,name property missing
then set input name as the node name.
Change-Id: Ibe83e002437d26460892648bf21215e1267b785f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/441792
Sri Krishna chowdary [Wed, 23 Jul 2014 12:40:43 +0000 (18:10 +0530)]
iommu/tegra: smmu: remove unused as field
the as * in smmu_client is not used anymore. Remove it.
Bug
1380107
Change-Id: I8ceb2711e5aa2ca85d2f6c0fb24568dffc859ec1
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/441198
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Min-wuk Lee [Thu, 26 Jun 2014 05:36:58 +0000 (14:36 +0900)]
arm64: dts: display dt node for t210
Prepare T210 dt nodes that are related with display
systems.
Bug
1371533
Bug
200008311
Change-Id: Ic8908f2db875ef7e772ae43d350b20bc98eb85fe
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/428722
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
Laxman Dewangan [Wed, 23 Jul 2014 12:46:59 +0000 (18:16 +0530)]
ARM: tegra: remove extcon name and compatible for AS3722 childs
Remove extcon names from the pmic file and correct the path of this
property on top level file.
Remove compatible from the as3722 childs as this is not used.
Change-Id: I0a7102e457cec8cf4e2bfe5330a8b5a0298ec967
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/441200
Jay Agarwal [Tue, 15 Jul 2014 10:41:51 +0000 (16:11 +0530)]
arm64: tegra: e2220: Add pcie dt node
Bug
200018531
Change-Id: Ifa4e6543f0f4f2f9589b7e54c5748d6e10bcaf31
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/438109
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Vidya Sagar [Fri, 13 Jun 2014 04:36:36 +0000 (10:06 +0530)]
pci: restructure to align with upstream driver
following things depends on dtb
-> pad, afi and cs register info
-> available root ports and thier addresses
-> port config spaces, io, prefetchable,
non-prefetchable memory ranges
-> number of lanes per port
It also removes global variable 'tegra_pcie' and
makes it as part of driver private data.
Bug
200012096
Change-Id: I458a7a3156b2b58a39b076388af5a8cf50111a87
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/436732
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Ashwin Joshi [Tue, 15 Jul 2014 06:47:58 +0000 (12:17 +0530)]
ARM: tegra12: vcm30t124: p2360: update defconfig
Update defconfigs for vcm30t124 and p2360 to disable Simon support.
Bug
1451212
Change-Id: If72ef84766985a354b5d6d67050fc23b90ce5294
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/428836
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Ashwin Joshi [Tue, 1 Jul 2014 07:30:12 +0000 (13:00 +0530)]
ARM: tegra12: simon: Fix bug in simon code
Use #ifdef instead of #if in the code.
Bug
1451212
Change-Id: Iaf857438dccd31495612b165e7c772df4fc75f0e
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/433066
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Ashwin Joshi [Thu, 26 Jun 2014 08:14:08 +0000 (13:44 +0530)]
ARM: tegra: Simon: Make SiMon code configurable
SiMon code was setting up data structures unconditionally. Move it under
CONFIG_TEGRA_USE_SIMON.
Bug
1451212
Change-Id: Ib40fe87421f20e6fdd8ea301602be13815ad1ace
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/428277
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Prashant Gaikwad [Thu, 24 Jul 2014 11:57:09 +0000 (17:27 +0530)]
arm: tegra: fix io_dpd2 lsb
LSB=5 was valid for T30, it has changed to 30 from T114.
Not adding any config as T30 is no longer in dev-kernel.
Change-Id: I9239cade3eb2405c12829b768245ce004d2b9951
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/441784
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Arto Merilainen [Fri, 18 Jul 2014 08:25:56 +0000 (11:25 +0300)]
video: tegra: host: Add interrupt debug routines
In some rare cases the interrupts are kept disabled even if we
are waiting for a syncpoint interrupt. This patch adds a
routine to dump the current interrupt register values.
Bug
1532688
Change-Id: Idd94aeb84d59cc46c316ac6a2d333330c269dae3
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/439773
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Steve Rogers [Mon, 21 Jul 2014 21:08:29 +0000 (16:08 -0500)]
arm: tegra: add soctherm DT interrupt_controller
Bug
200004664
Change-Id: I0e5cefc47017d47d40b90c07483220df077ad56b
Signed-off-by: Steve Rogers <srogers@nvidia.com>
Reviewed-on: http://git-master/r/440511
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
Ravindra Lokhande [Tue, 15 Jul 2014 13:39:12 +0000 (19:09 +0530)]
Tegra: Audio: add new members to shared structure
added new variables to shared audio structure. These are needed to
track timestamp, starvation and fragments.
Bug
4186818
Change-Id: Ib451483e68887db3e70d56ce153c231a3724bad2
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/438197
(cherry picked from commit
bbb11a825a891b5e429db098bc68baa8eb3c8dea )
Reviewed-on: http://git-master/r/441755
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Puneet Saxena [Mon, 21 Jul 2014 13:19:01 +0000 (18:49 +0530)]
tegra: adsp: Add adsp cpu dfs
Add adsp cpu dfs. It adds mechanism to set adsp freq
calculated by ape_actmon device dynamically.
Bug
1506829
Change-Id: I5f7f656c2cf7339cf8c4018e1177ee5d175a8b2e
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/437691
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Deepak Nibade [Thu, 24 Jul 2014 12:06:56 +0000 (17:36 +0530)]
Revert "gpu: nvgpu: return error from mutex_acquire() if pmu not initialized"
This reverts commit
50497d4031103df1067f14ce4c1e14b15713efb9 .
Simply returning error from mutex_acquire() causes the code
to call disable_elpg() which decreases elpg refcount
But we already have a race condition between pmu initialization
where we initialize elpg and runlist update where we call
this mutex_acquire and decrease the refcount
As a result of this race and returned error we might mess up
with the elpg refcount and cause abnormal behaviour
Hence revert this change for now until we have clean fix
considering this race as well
Bug
200024116
Change-Id: Ie64ca36f70aba6b15c2acc235a5d36d13c9025aa
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/441793
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Mark Kuo [Tue, 22 Jul 2014 07:32:46 +0000 (15:32 +0800)]
arm64: tegra: add modem node in T210 DTS
Add modem node to T210 DTS
Bug
200012894
Change-Id: I2c84db13aa6f5f786b6a11929384b5e896e56215
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
Reviewed-on: http://git-master/r/439073
Tested-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>