5 years agogpu: nvgpu: support gk20a virtualization
Aingara Paramakuru [Tue, 6 May 2014 01:14:22 +0000]
gpu: nvgpu: support gk20a virtualization

The nvgpu driver now supports using the Tegra graphics virtualization
interfaces to support gk20a in a virtualized environment.

Bug 1509608

Change-Id: I6ede15ee7bf0b0ad8a13e8eb5f557c3516ead676
Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/440122
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agogpu: nvgpu: manage phys pages at runtime
Deepak Nibade [Wed, 27 Aug 2014 12:48:35 +0000]
gpu: nvgpu: manage phys pages at runtime

Current implementation is based on config GK20A_PHYS_PAGE_TABLES
to have APIs to create/free/map/unmap phys pages

Remove this config based implementaion and move the APIs so that
they are called at runtime based on tegra_platform_is_linsim()

In generic APIs, we first check if platform is linsim and if it
is then we forward the call to phys page specific APIs

Change-Id: I23eb6fa6a46b804441f18fc37e2390d938d62515
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/488843
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: isp: correct operator usage
Sachin Nikam [Fri, 21 Mar 2014 07:19:29 +0000]
video: tegra: host: isp: correct operator usage

Fix Coverity Defect 25963:Wrong operator used

Bug 1416640
Bug 1501533

Change-Id: Ia030d8485386fcad7896ca35fa9120cf10b11842
Signed-off-by: Ming Wong <miwong@nvidia.com>
Reviewed-on: http://git-master/r/448534
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>

5 years agoarm: tegra: vcm30t124:fix indentation
sreenivasulu velpula [Tue, 19 Aug 2014 08:56:04 +0000]
arm: tegra: vcm30t124:fix indentation

Bug 200024866

Change-Id: Iec122ba9d04cd82369f524d158d1363f91b60490
Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com>
Reviewed-on: http://git-master/r/481949
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoarm: dt: vcm30t124: Map KEY_POWER
Rajesh Hosakote [Tue, 26 Aug 2014 10:49:36 +0000]
arm: dt: vcm30t124: Map KEY_POWER

Support KEY_POWER by PWR_INT_N (PMU_INT_N) for SLEEP_WAKE*.

Bug 1360277

Change-Id: I73863735c4c9de985a10d89ee7197d52cdfb6516
Signed-off-by: Rajesh Hosakote <rhosakote@nvidia.com>
Reviewed-on: http://git-master/r/488132
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Tested-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoARM: tegra13: configs: Enable ZRAM
Sri Krishna chowdary [Fri, 22 Aug 2014 08:58:14 +0000]
ARM: tegra13: configs: Enable ZRAM

Set CONFIG_ZRAM=y

Bug 200031574

Change-Id: I7501f12abc6cdbbd113a372f2fceb3d486128ffd
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/486895
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoARM: tegra12: configs: Enable ZRAM
Sri Krishna chowdary [Fri, 22 Aug 2014 10:15:24 +0000]
ARM: tegra12: configs: Enable ZRAM

Set CONFIG_ZRAM=y

Bug 200031575

Change-Id: Idae235744edfb75ca942b447668910bff7928364
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/486896
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoASoC: tegra-alt: Miscellaneous fixes for T124
Arun Shamanna Lakshmi [Fri, 15 Aug 2014 23:14:16 +0000]
ASoC: tegra-alt: Miscellaneous fixes for T124

1. Add soft reset for ADX and AMX before dynamic mapping change
2. Flush AMX/ADX map table before sucessive mapping changes
3. Restore i2s_ctrl and offset after soft reset
4. Fix dailink pointer and formats in hwdep file

Bug 1531057

Change-Id: Id97fa7c3ff6369191326aa8855e0f7df00d8751b
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Reviewed-on: http://git-master/r/457291
GVS: Gerrit_Virtual_Submit
Reviewed-by: Justin Kim (SW-TEGRA) <juskim@nvidia.com>

5 years agoARM: tegra: Notify cpufreq with actual set rate
Sai Gurrappadi [Thu, 7 Aug 2014 22:24:02 +0000]
ARM: tegra: Notify cpufreq with actual set rate

Notify the cpufreq framework layer with the actual clock rate rather
than assuming the rate requested is the rate set. This could potentially
happen if the rate requested doesn't match the rate output by CL-DVFS
due to the granularity it supports.

Not doing so could potentially ruin the state of some cpufreq governors
due to the feedback loop.

Bug 1536224

Change-Id: I6d61b45689b9ae2c492d117b720f6dd106b300c2
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/454162
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agoi2c: fpdlink: ds90uh949 HDMI-FPD Serializer driver
Ravi Chandra SV [Mon, 11 Aug 2014 11:15:49 +0000]
i2c: fpdlink: ds90uh949 HDMI-FPD Serializer driver

This i2c driver initializes the HDMI to FPDLink Serializer for
proper operation.

bug 1529121

Change-Id: Id45960404fb72f2ddf9cafebf65776a9984f5f57
Signed-off-by: Ravi Chandra SV <ravichandrav@nvidia.com>
Reviewed-on: http://git-master/r/455062
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoarm: tegra: p2360: remove FPDLink GPIO control.
Ravi Chandra SV [Mon, 11 Aug 2014 11:13:29 +0000]
arm: tegra: p2360: remove FPDLink GPIO control.

Move the FPDLink GPIO control to driver file.

bug 1529121

Change-Id: I3938e54dee2d9e9e31481c43d1613c8f329cbd62
Signed-off-by: Ravi Chandra SV <ravichandrav@nvidia.com>
Reviewed-on: http://git-master/r/455061
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoarm: configs: ds90uh949 HDMI-FPD Serializer driver
Ravi Chandra SV [Mon, 11 Aug 2014 11:11:26 +0000]
arm: configs: ds90uh949 HDMI-FPD Serializer driver

This i2c driver initializes the HDMI to FPDLink Serializer for
proper operation.

bug 1529121

Change-Id: I88b2942950f0ca33a35667ced2a0771f1ec95486
Signed-off-by: Ravi Chandra SV <ravichandrav@nvidia.com>
Reviewed-on: http://git-master/r/455060
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>

5 years agoarm: dt: ds90uh949 HDMI-FPDLink Serializer driver
Ravi Chandra SV [Mon, 11 Aug 2014 11:03:00 +0000]
arm: dt: ds90uh949 HDMI-FPDLink Serializer driver

This i2c driver initializes the HDMI to FPDLink Serializer for
proper operation.

bug 1529121

Change-Id: Iff92d35caed17d5721f3410e62ad3e9c7f4cc229
Signed-off-by: Ravi Chandra SV <ravichandrav@nvidia.com>
Reviewed-on: http://git-master/r/455054
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoARM: tegra12: dvfs: Add column for 1.04 V
Ashwin Joshi [Fri, 22 Aug 2014 11:27:13 +0000]
ARM: tegra12: dvfs: Add column for 1.04 V

vdd_core=1.04 for vcm30t124 platforms. So, add a separate column
corresponding to that in core DVFS table.

Bug  200020185

Change-Id: Ia4640bfccd0b8a628baf3bae746b126c2595d858
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/486928
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoARM: tegra12: dvfs: Remove 1.11 V entry
Ashwin Joshi [Fri, 22 Aug 2014 10:14:27 +0000]
ARM: tegra12: dvfs: Remove 1.11 V entry

Remove 1.11 V entry from DVFS table as this voltage is not anymore
supported for vdd_core.

Bug 200020185

Change-Id: Ic2dcfe68927dca851cab2eb7d13586830a0fd03e
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/486927
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agopcie: host: tegra: Limit number of probe deferrals
Vipin Kumar [Tue, 19 Aug 2014 02:25:13 +0000]
pcie: host: tegra: Limit number of probe deferrals

bug 200005063

Change-Id: Iae3e96acf5facd3201f93afdbae97f81cc210cc5
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-on: http://git-master/r/481794
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Jay Agarwal <jagarwal@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agommc: core: debugfs: fix sdmmc clock for HS200 mode
kirankumar Bobbu [Fri, 22 Aug 2014 06:31:13 +0000]
mmc: core: debugfs: fix sdmmc clock for HS200 mode

Sdhci host clock takes on 163 MHz instead of 198 Mhz when mode
switch from DDR50 to HS200 mode .
This is because sdhci host parameters are changed before
claiming the host during mode switch. This change fixes it.

bug 1445977

Change-Id: I1e0bb62e818a2cf5676c074fe6e0cad831627ec2
Signed-off-by: kirankumar Bobbu <kbobbu@nvidia.com>
Reviewed-on: http://git-master/r/486803
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavitra Kumar <pavitrak@nvidia.com>
Reviewed-by: Seshagiri Holi <sholi@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agovideo: tegra: host: fix dereference before Null check
Deepak Nibade [Wed, 20 Aug 2014 06:56:59 +0000]
video: tegra: host: fix dereference before Null check

Fix Coverity issue of dereferencing "cpuvaddr" pointer before Null check
Coverity id : 27757

Bug 1416640

Change-Id: Ifd425c66a0c1ec7ca35dd57021bfd0ba75c4589a
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/482397
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Sharath Sarangpur <ssarangpur@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agoarm: tegra124: p2360: Enable UBI and UBIFS
Vipin Kumar [Mon, 25 Aug 2014 06:28:32 +0000]
arm: tegra124: p2360: Enable UBI and UBIFS

bug 1528224

Change-Id: I7cdcb77d12c0e84183a7f765cbb21b8b995ba6f9
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-on: http://git-master/r/487555
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoarm: tegra: p2360: Correct GPU regulator address
Vipin Kumar [Mon, 18 Aug 2014 10:31:59 +0000]
arm: tegra: p2360: Correct GPU regulator address

GPU regulator address for A00 board and A01 boards are different so
adapt the code based on the board rev

Additionally, this patch also initializes TV Enable GPIOs for all
non-A00 boards. This is with the expectation that future boards would
remain more compatible with A01 rather than A00

bug 200006908

Change-Id: Ia339938478121d56e036a7eff8bef41c236bf3d6
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-on: http://git-master/r/457709
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Tested-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoARM: tegra: remove unused tegra-swgid header file
Sri Krishna chowdary [Tue, 26 Aug 2014 05:34:46 +0000]
ARM: tegra: remove unused tegra-swgid header file

Bug 200030678

Change-Id: Ib10ebac1ac5f3cee95daa8062f715b3c2f875a30
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/482443
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoiio: meter: ina230: power on if current_threshold defined
Roger Hsieh [Fri, 4 Jul 2014 05:29:49 +0000]
iio: meter: ina230: power on if current_threshold defined

Power it on after initializatin in case current_threshold
is defined in device tree, or power it down.

Bug 200012361

Change-Id: Ic1b463af1812bf47b01ce04dc7714fb7965629e0
Reviewed-on: http://git-master/r/434620
(cherry picked from commit 4971feec8b024b77827b8373e3f359e616ea05f0)
Signed-off-by: Roger Hsieh <rhsieh@nvidia.com>
Reviewed-on: http://git-master/r/439177
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoASoC: tegra-alt: Add BT-SCO dai_ops and init
Arun Shamanna Lakshmi [Fri, 22 Aug 2014 23:13:01 +0000]
ASoC: tegra-alt: Add BT-SCO dai_ops and init

Bug 1534075

Change-Id: I39bf6522c4717df33c53a2a2238956e31b997705
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Reviewed-on: http://git-master/r/487177
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>

5 years agoarm: vcm30t124: Enable BT-SCO for I2S2
Arun Shamanna Lakshmi [Fri, 22 Aug 2014 23:12:19 +0000]
arm: vcm30t124: Enable BT-SCO for I2S2

Configure I2S2 interface with BCM43241-b4
1. Mode: DSP_A
2. Bclk: 512kHz
3. Fsync: 8khz
4. Params: 1ch x 16bit
5. Interface: APBIF8

Bug 1534075

Change-Id: I2de6aaa565510cc8a8648d5f2938478488e6fea1
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Signed-off-by: Simon Je <sje@nvidia.com>
Reviewed-on: http://git-master/r/487172
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>

5 years agoarm: dts: Add fsync-width param for I2S2
Arun Shamanna Lakshmi [Fri, 22 Aug 2014 23:10:56 +0000]
arm: dts: Add fsync-width param for I2S2

Bug 1534075

Change-Id: I07b9468fac69d94bdd97c652ea852950e3a8eb50
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Reviewed-on: http://git-master/r/487169
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>

5 years agoASoC: tegra-alt: Upgrade I2S driver for T124
Arun Shamanna Lakshmi [Thu, 21 Aug 2014 22:51:52 +0000]
ASoC: tegra-alt: Upgrade I2S driver for T124

1. Remove set_sysclk from I2S and retreive srate from params
2. Try to retrieve fsync-width from DT file, if not default as 31
3. Add mono channel support in FSYNC mode
4. Override set_bclk_ratio for I2S
5. Set i2s bclk_ratio as 1 for FSYNC mode in machine driver
6. Fix dai_link_idx API to get link_idx from unique name identifier
7. Add tdm_slot mask API for tx/rx mask settting

Bug 1531057

Change-Id: Ibbf96600c5ea3deeb03c6df96c74c5752eb167de
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Reviewed-on: http://git-master/r/486634
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>

5 years agoarm: vcm30t124: Add dai-link name to pdata
Arun Shamanna Lakshmi [Thu, 21 Aug 2014 22:49:49 +0000]
arm: vcm30t124: Add dai-link name to pdata

Add link name to platform data for unique identification of the
dai link

Bug 1531057

Change-Id: Iebeb95c5e8f2fc854cfc17978a24b12f9d76b0dd
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Reviewed-on: http://git-master/r/486630
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>

5 years agoASoC: Tegra: support raw aac for compress offload
Sayak Ghosh Choudhury [Tue, 24 Jun 2014 12:02:14 +0000]
ASoC: Tegra: support raw aac for compress offload

raw aac support is added for compress decoding on avp.

Bug 200013486

Reviewed-on: http://git-master/r/427720
(cherry picked from commit c8715e4a23bbe7cc53e8d8352a0bc6c5a21574bb)

Change-Id: I355bc8b1636811fb51abb4c4c6ca23f207ec5064
Signed-off-by: Sayak Ghosh Choudhury <sayakc@nvidia.com>
Reviewed-on: http://git-master/r/487767
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>

5 years agoARM: tegra21: configs: Enable ZRAM
Sri Krishna chowdary [Fri, 22 Aug 2014 10:23:45 +0000]
ARM: tegra21: configs: Enable ZRAM

Set CONFIG_ZRAM=y

Bug 200031575

Change-Id: I0c0c12cc23ade5fbce7e9e427a2868e353b17eca
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/486898
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agoARM: mm: Remove dependency on mapping's alignment
Sri Krishna chowdary [Tue, 26 Aug 2014 09:04:50 +0000]
ARM: mm: Remove dependency on mapping's alignment

Do not rely on mapping's alignment to decide whether to
use DMA_ATTR_SKIP_IOVA_GAP or not, instead, give priority
to DMA_SKIP_IOVA_GAP always.

This patch confirms if the dma paths which are not using
DMA_ATTR_SKIP_IOVA_GAP are still sane.

Bug 1463797

Change-Id: I3cee5d5ab5c63ea61a4ffcbd3c9f745d68d7e6af
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/488091
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoiommu/tegra: smmu: Avoid using SWGID macro
Sri Krishna chowdary [Tue, 26 Aug 2014 05:33:42 +0000]
iommu/tegra: smmu: Avoid using SWGID macro

Use TEGRA_SWGROUP_BIT macro instead of SWGID.

Bug 200030678

Change-Id: Ic18df03d3729b75a7fd265935a3c516b3dff491a
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/488001
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoARM: tegra: remove unused tegra_swgid.h include
Sri Krishna chowdary [Tue, 26 Aug 2014 05:32:55 +0000]
ARM: tegra: remove unused tegra_swgid.h include

Bug 200030678

Change-Id: I49665601630f8ea8406a3aa9649ebd4c3f3a9899
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/488000
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agoarm: tegra: vcm30t124: Enable NVHDCP
Raghavendra VK [Tue, 15 Apr 2014 06:15:56 +0000]
arm: tegra: vcm30t124: Enable NVHDCP

Enable the HDCP support for vcm30t124 platform (Jetson Pro).

Bug 1501844

Change-Id: Ie1f02c4f9e4efb09e5434e242e36b8aba5ae6e61
Reviewed-on: http://git-master/r/396225
(cherry picked from commit c677483c2a24e41653dfb69ad4c2fa1a4385208e)
Signed-off-by: Sungwook Kim <sungwookk@nvidia.com>
Signed-off-by: Sandeep Trasi <strasi@nvidia.com>
Reviewed-on: http://git-master/r/415559
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra: dt: limit dc and gpu iova to 4GB
Sri Krishna chowdary [Tue, 19 Aug 2014 07:29:59 +0000]
ARM: tegra: dt: limit dc and gpu iova to 4GB

iova cannot go beyond 4GB.

iova for gpu can go beyond 4GB on T210 but for now, setting
the limit to 4GB only.

Bug 1463797

Change-Id: Iaf924b457e3aaca44d0345b21d8958d90b5d3a5a
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/481933
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agovideo: tegra: nvmap: reform page pool size calculation
Sri Krishna chowdary [Thu, 14 Aug 2014 02:52:52 +0000]
video: tegra: nvmap: reform page pool size calculation

Make page pool size calculation independent of memunit

Bug 1526131

Change-Id: Ibe2aab0e9b64a564cb520bd2b3533b5012a1c9cd
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/454949
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agotegra: dc: unregister switch dev correctly
Shawn Joo [Fri, 1 Aug 2014 10:14:07 +0000]
tegra: dc: unregister switch dev correctly

If switch_dev_register is called on probe failure
switch dev should be unregistered.
Call switch_dev_unregister at the right place.
In addition check switch_dev_register is called successfully
1. when switch_dev_unregister is called.
2. when switch class api is called. e.g. switch_set_state()

Bug 200026182

Change-Id: Idaefd693b9bc483e3006f8931d2f1d61d2eae5d1
Signed-off-by: Shawn Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/450287
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agousb: xhci: tegra: Fix uninitialized variable
amit sharma [Tue, 19 Aug 2014 06:36:47 +0000]
usb: xhci: tegra: Fix uninitialized variable

Fix coverity issue of uninitialized variable 'ret'
in xhci-tegra and remove unnecessary code.

Coverity-ID 26879

Bug 1416640

Change-Id: I21f1dcd5fe79f4c1f2effdd10fed3232b1fbbbb1
Signed-off-by: amit sharma <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/481914
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoRevert "Staging: ZRAM: Enable ZRAM"
Sri Krishna chowdary [Fri, 22 Aug 2014 08:26:11 +0000]
Revert "Staging: ZRAM: Enable ZRAM"

This reverts commit ab3fdf31e9a4badbd52505ae1463a57cbf8459fb.

Reverting this commit to keep things similar to what upstream kernel
has.

bug 200031575

Change-Id: I5e6fb66fe7509f7db62f24a10a1356add8a292d8
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/486893
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agodma:coherent: manage resizable memory with single device
Krishna Reddy [Fri, 22 Aug 2014 08:55:48 +0000]
dma:coherent: manage resizable memory with single device

This is necessary to avoid unusable memory between device nodes.

Bug 1517584

Change-Id: I37ac104fa5e512758a4df299424fa0456f368bb6
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/486855
(cherry picked from commit 5c76b9162730826191c71fcf082d3457e5496bc0)
Reviewed-on: http://git-master/r/488263
Reviewed-by: Vandana Salve <vsalve@nvidia.com>

5 years agoArm: config: tegra12: Enable interactive governor
Rajkumar Kasirajan [Tue, 26 Aug 2014 06:18:35 +0000]
Arm: config: tegra12: Enable interactive governor

The interactive governor provides better performance than
ondemand governor. Enable it to improve the performance.

Bug 1359622

Change-Id: Ibc51285531ce2ef0d20fc668e240ef59db1322b1
Signed-off-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-on: http://git-master/r/488018
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agocpufreq: ondemand: Remove redundant return statement
Stratos Karafotis [Thu, 31 Oct 2013 18:27:36 +0000]
cpufreq: ondemand: Remove redundant return statement

After commit dfa5bb622555 (cpufreq: ondemand: Change the calculation
of target frequency), this return statement is no longer needed.

Bug 1359622

Change-Id: I277187f3e5cbbc205524d678f95a36d65e6c8ff8
Reported-by: Henrik Nilsson <Karl.Henrik.Nilsson@gmail.com>
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 880eef041655b35f9aa488726ea3c4303a4f2204)
Reviewed-on: http://git-master/r/486261
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agocpufreq: governors: Remove duplicate check of target freq in supported range
Stratos Karafotis [Mon, 26 Aug 2013 18:37:28 +0000]
cpufreq: governors: Remove duplicate check of target freq in supported range

Function __cpufreq_driver_target() checks if target_freq is within
policy->min and policy->max range. generic_powersave_bias_target() also
checks if target_freq is valid via a cpufreq_frequency_table_target()
call. So, drop the unnecessary duplicate check in *_check_cpu().

Bug 1359622

Change-Id: I2057504a85cc773f98497285cf9e62e5a15c09ea
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 934dac1ea072bd8adff8d6a6abba561731e093cf)
Reviewed-on: http://git-master/r/486260
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agocpufreq: Clean up header files included in the core
Viresh Kumar [Tue, 6 Aug 2013 17:23:03 +0000]
cpufreq: Clean up header files included in the core

This patch addresses the following issues in the header files in the
cpufreq core:
 - Include headers in ascending order, so that we don't add same
   many times by mistake.
 - <asm/> must be included after <linux/>, so that they override
   whatever they need to.
 - Remove unnecessary includes.
 - Don't include files already included by cpufreq.h or
   cpufreq_governor.h.

Bug 1359622

[rjw: Changelog]
Change-Id: I3d69d7243b982cd2e32abfdfb9dd750843a07629
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 5ff0a268037d344f86df690ccb994d8bc015d2d9)
Reviewed-on: http://git-master/r/486259
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agocpufreq: ondemand: Change the calculation of target frequency
Stratos Karafotis [Wed, 5 Jun 2013 16:01:25 +0000]
cpufreq: ondemand: Change the calculation of target frequency

The ondemand governor calculates load in terms of frequency and
increases it only if load_freq is greater than up_threshold
multiplied by the current or average frequency.  This appears to
produce oscillations of frequency between min and max because,
for example, a relatively small load can easily saturate minimum
frequency and lead the CPU to the max.  Then, it will decrease
back to the min due to small load_freq.

Change the calculation method of load and target frequency on the
basis of the following two observations:

 - Load computation should not depend on the current or average
   measured frequency.  For example, absolute load of 80% at 100MHz
   is not necessarily equivalent to 8% at 1000MHz in the next
   sampling interval.

 - It should be possible to increase the target frequency to any
   value present in the frequency table proportional to the absolute
   load, rather than to the max only, so that:

   Target frequency = C * load

   where we take C = policy->cpuinfo.max_freq / 100.

Tested on Intel i7-3770 CPU @ 3.40GHz and on Quad core 1500MHz Krait.
Phoronix benchmark of Linux Kernel Compilation 3.1 test shows an
increase ~1.5% in performance. cpufreq_stats (time_in_state) shows
that middle frequencies are used more, with this patch.  Highest
and lowest frequencies were used less by ~9%.

[rjw: We have run multiple other tests on kernels with this
 change applied and in the vast majority of cases it turns out
 that the resulting performance improvement also leads to reduced
 consumption of energy.  The change is additionally justified by
 the overall simplification of the code in question.]

Bug 1359622

Change-Id: Ibcbee5afef154c47e3ae45e133f3a0435d2a4fec
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit dfa5bb622555d9da0df21b50f46ebdeef390041b)
Reviewed-on: http://git-master/r/486258
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Tested-by: Rajkumar Kasirajan <rkasirajan@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoarm: tegra: loki: enable cpu_balanced node for bthrot_cdev node
Sumit Singh [Sat, 23 Aug 2014 12:26:58 +0000]
arm: tegra: loki: enable cpu_balanced node for bthrot_cdev node

Board files were moved to DT with http://git-master/r/449116.
Patch http://git-master/r/453242 disabled cpu_balanced node
in bthrot_cdev device tree node for loki.
Therefore,it was giving below prints during superstress tests,
and causing it to fail too early:

[ 9575.401677] thermal thermal_zone3: critical temperature reached(101 C),shutting down

Therefore, enable cpu_balanced node in bthrot_cdev device
tree node in loki DT.

Bug 200028216

Change-Id: I519a252a3ee0a7ff8c28422aa85fdc361680e556
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/487342
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agovideo: tegra: dc: Avoid FRAME_END_INT conflict
Daniel Solomon [Fri, 15 Aug 2014 00:50:15 +0000]
video: tegra: dc: Avoid FRAME_END_INT conflict

Allowing for dc->lock to be acquired by the
caller in function tegra_dc_config_frame_end_intr
can result in FRAME_END_INT mask register being
overwritten if the lock is actually acquired by
another thread.

Refactor the critical section into its own function
and allow callers to call either function. Also
Change the name of tegra_dc_wait_for_frame_end
to indicate that it should be called with dc->lock
locked.

Bug 1534724

Change-Id: I87b1fc529f29f707a1bdadf18efa6bb19d6966b3
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/456988
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>

5 years agoplatform: tegra: remove redundant irq.c
Bo Yan [Fri, 22 Aug 2014 19:45:21 +0000]
platform: tegra: remove redundant irq.c

the irq.c in drivers/platform/tegra was created when
its functionality didn't exist in arm64, now it's supported
in arch/arm64/kernel, so this file becomes redundant and
unused, remove it.

Change-Id: I6b662ce169319862dc1e2b5ed1fd8570ee2cda37
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/487101
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peng Du <pdu@nvidia.com>

5 years agotherm_est: t210: Add DT data for therm_est
Arun Kumar Swain [Fri, 8 Aug 2014 23:17:35 +0000]
therm_est: t210: Add DT data for therm_est

1. Add device tree related data for therm_est for
sensor for t210 platform. This data might change
during the process of tunning.
2. Remove board files related data for therm_est
for t210 platform.

Bug 200014181

Change-Id: Ib0e5dcce2ea64b2e093d56fe8ff234953b750f94
Signed-off-by: Arun Kumar Swain <arswain@nvidia.com>
Reviewed-on: http://git-master/r/454670
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agotegra: therm-est: Clean up therm-est driver code
Arun Kumar Swain [Fri, 15 Aug 2014 03:33:35 +0000]
tegra: therm-est: Clean up therm-est driver code

Remove unnecessary code from therm-est driver
implementation.
1.Unused variables in therm-est after DT
implementation are removed.
2.Code segments related to timer trip info are
removed since it is not being used anymore.

Update device tree documentation for therm_est
binding.

Change-Id: I5f421f01b25c72d02e833075f1d1419989d28741
Signed-off-by: Arun Kumar Swain <arswain@nvidia.com>
Reviewed-on: http://git-master/r/456999
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agotherm_est: tegra: Add DT data for therm_est
Arun Kumar Swain [Thu, 14 Aug 2014 22:14:45 +0000]
therm_est: tegra: Add DT data for therm_est

1. Add device tree related data for therm_est for
sensor for t124/t132 platform.
2. Remove board files related data for therm_est
for these platforms.

Change-Id: Ie1a31d38efff52d923655b1c825801fba534d96c
Signed-off-by: Arun Kumar Swain <arswain@nvidia.com>
Reviewed-on: http://git-master/r/456898
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agotegra: therm-est: DT support for therm-est driver
Arun Kumar Swain [Fri, 8 Aug 2014 22:51:32 +0000]
tegra: therm-est: DT support for therm-est driver

1.Read platform data for therm_est driver from
device tree.
2.Remove zone registration inside the probe
function of this driver since zones will be
registered separately using upstream method.
3.Register this sensor to the thermal framework
using upstream method.

Bug 200014181

Change-Id: I7f8e3498782ebad6599c7e90a674eb1d1a219b70
Signed-off-by: Arun Kumar Swain <arswain@nvidia.com>
Reviewed-on: http://git-master/r/454659
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

5 years agowatchdog: tegra: enable suspend/resume recovery
Arun Kannan [Thu, 14 Aug 2014 18:59:21 +0000]
watchdog: tegra: enable suspend/resume recovery

Enable suspend/resume hang recovery using watchdog

Bug 1523573

Change-Id: I4e953a7189855bc8e35a6cee1c3df9d73158a884
Signed-off-by: Arun Kannan <akannan@nvidia.com>
Reviewed-on: http://git-master/r/456782
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoARM: Tegra: eliminate tegra_cpu_dvfs_alter
Matt Longnecker [Thu, 21 Aug 2014 22:21:12 +0000]
ARM: Tegra: eliminate tegra_cpu_dvfs_alter

Eliminate the vestigial tegra_cpu_dvfs_alter.

Change-Id: If59f8529e8d216f5b5803a205a7ca8729232b22f
Signed-off-by: Matt Longnecker <mlongnecker@nvidia.com>
Reviewed-on: http://git-master/r/486620
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoarch: tegra: Add sysedp cpulp power support
Steve Rogers [Tue, 12 Aug 2014 19:03:04 +0000]
arch: tegra: Add sysedp cpulp power support

Bug 1536691

This change modifies the way that cpu-tegra.c and edp.c
interact to implement sysedp management over CPU power.
Now with each call,  cpu-tegra passes in a parameter
indicating which CPU cluster to use.

Change-Id: I8e44b1e0492cd1c94f5d66c2feecbda45548fbd1
Signed-off-by: Steve Rogers <srogers@nvidia.com>
Reviewed-on: http://git-master/r/455712
Reviewed-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agovideo: tegra: host: support syncpt virtualization
Aingara Paramakuru [Tue, 22 Apr 2014 00:56:27 +0000]
video: tegra: host: support syncpt virtualization

nvhost now supports using the Tegra graphics virtualization
interfaces to manage syncpoints in a virtualized environment.

Bug 1509608

Change-Id: Ie32eabf01e2e71aa6158cb27babb0245c5769385
Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/440121
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: virt: add virtualization interfaces
Aingara Paramakuru [Tue, 22 Apr 2014 00:44:50 +0000]
video: tegra: virt: add virtualization interfaces

Tegra graphics virtualization (host1x syncpoint and gpu) is now
exposed to client drivers (nvhost and nvgpu). These interfaces
rely on a communication framework to communicate with the server
driver that actually implements the back-end routines.

Bug 1509608

Change-Id: I5277f4b024953772a2215d33afa178162f5f9232
Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/440120
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: host: define usable syncpt range
Aingara Paramakuru [Fri, 18 Apr 2014 16:20:55 +0000]
video: tegra: host: define usable syncpt range

In a virtualized environment, syncpoint allocations will
be restricted to a subset of the total syncpoints supported
by the HW.

Bug 1509608

Change-Id: I831c18d8b4d098d74276a072eb8f0719dfd7ed37
Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/440119
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: nvmap: enable vpr resize based on tegra_vpr_resize
Vandana Salve [Fri, 1 Aug 2014 13:12:25 +0000]
video: tegra: nvmap: enable vpr resize based on tegra_vpr_resize

Replace CONFIG_NVMAP_USE_CMA_FOR_CARVEOUT with
parameter tegra_vpr_resize

bug 1517584

Change-Id: Ifa7474c3b6eb24e51c226188bee9e10827e33b80
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/450350

5 years agoARM: tegra12: dvfs: update vcm30t124 dvfs table
Ashwin Joshi [Thu, 21 Aug 2014 11:40:04 +0000]
ARM: tegra12: dvfs: update vcm30t124 dvfs table

Update DVFS values for the following clocks:

1. CPU_LP
2. SBUS
3. VIC
4. TSEC
5. MSENC
6. SE
7. VDE
8. HOST1X
9. PLLC
10. PLLC2
11. PLLC3

Bug 200020185

Change-Id: Ie23254b201d7cf30a508a97fd3928f357e92cce6
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/486452
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoARM: tegra12: vcm30t124: Update rate for some clocks
Ashwin Joshi [Thu, 21 Aug 2014 11:39:37 +0000]
ARM: tegra12: vcm30t124: Update rate for some clocks

Make following changes for vcm30t124 clocks:

1. Change VDE to 450 MHz and derive it from PLLC3
2. Set MSENC, SE to 327 MHz
3. Set TSEC and VIC to 564 MHz
4. Set SCLK to 282 MHz
5. Set HOST1X t 282 MHz
6. Set MSELECT to 204 MHz

Bug 200020185

Change-Id: I048452c36c8229595191a488dcfd7ed2fd75bb9e
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/486450
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoARM: tegra12: clocks: Update PLLCx fixed rates.
Ashwin Joshi [Thu, 21 Aug 2014 11:31:09 +0000]
ARM: tegra12: clocks: Update PLLCx fixed rates.

Update fixed rates of PLLCx:

1. Set PLLC to 564 MHz
2. Set PLLC2 to 372 MHz
3. Set PLLC3 to 450 MHz
4. Set PLLC_OUT1 to 282 MHz

Bug 200020185

Change-Id: I45b14996b84a7232ab61456100a6bb0f41da0588
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/486449
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoplatform: tegra: iommu: Do not use SWGID macro
Sri Krishna chowdary [Wed, 20 Aug 2014 11:52:46 +0000]
platform: tegra: iommu: Do not use SWGID macro

Identify swgroups using TEGRA_SWGROUP_BIT macro.
This allows us to remove redundant SWGID macro.

Bug 200030678

Change-Id: I8f158f1d4a752a58a2cf8ab49f0636ad3772539a
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/482442
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agogpu: nvgpu: Set PB timeout only in gk20a
Terje Bergstrom [Thu, 21 Aug 2014 07:39:14 +0000]
gpu: nvgpu: Set PB timeout only in gk20a

PB timeout has been removed in gm20b, so write it only in gk20a.

Change-Id: I2aab92fe7d1d5de151dad768f8b3f6901ec0bbb0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/486358
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>

5 years agopwm: Add sysfs interface
H Hartley Sweeten [Tue, 11 Jun 2013 17:38:59 +0000]
pwm: Add sysfs interface

Add a simple sysfs interface to the generic PWM framework.

  /sys/class/pwm/
  `-- pwmchipN/           for each PWM chip
      |-- export          (w/o) ask the kernel to export a PWM channel
      |-- npwm            (r/o) number of PWM channels in this PWM chip
      |-- pwmX/           for each exported PWM channel
      |   |-- duty_cycle  (r/w) duty cycle (in nanoseconds)
      |   |-- enable      (r/w) enable/disable PWM
      |   |-- period      (r/w) period (in nanoseconds)
      |   `-- polarity    (r/w) polarity of PWM (normal/inversed)
      `-- unexport        (w/o) return a PWM channel to the kernel

Based on work by Lars Poeschel.

Bug  200028381

Change-Id: I0c9c6ad2ca7173e6fc3fbe1d3cd3963cde00539a
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Lars Poeschel <poeschel@lemonage.de>
Cc: Ryan Mallon <rmallon@gmail.com>
Cc: Rob Landley <rob@landley.net>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
(cherry picked from commit 76abbdde2d95a3807d0dc6bf9f84d03d0dbd4f3d)
Reviewed-on: http://git-master/r/455068
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agonvdumper: Add configuration file
Nathaniel Adkins [Fri, 22 Aug 2014 14:54:59 +0000]
nvdumper: Add configuration file

Embed the configuration for nvdumper within vmlinux. This will
prevent the need to build and keep track of an external
configuration file.

Bug 1525687

Change-Id: Id2926b2839c73a625b991351bcab165fe0c92eb3
Signed-off-by: Nathaniel Adkins <nadkins@nvidia.com>
Reviewed-on: http://git-master/r/486978
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yifei Wan <ywan@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoiommu/tegra: smmu: rm debugfs entires cleanly
Hiroshi Doyu [Thu, 21 Aug 2014 16:51:01 +0000]
iommu/tegra: smmu: rm debugfs entires cleanly

Bug 1546169
Bug 200031739

Change-Id: I8dab3435107a728a9fe38fbbfa0b3abb719afde1
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/486520
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Tested-by: Sri Krishna Chowdary <schowdary@nvidia.com>

5 years agoiommu/tegra: smmu: fix atomic sleep for debugfs
Hiroshi Doyu [Thu, 21 Aug 2014 16:17:14 +0000]
iommu/tegra: smmu: fix atomic sleep for debugfs

debugfs_remove_recursive() can sleep so that this needs to be called out
side of spinlock held.

Bug 1546169
Bug 200031739

Change-Id: I9e053f0c1fe47f7164b018703ad26ed819fb5302
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/486519
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Tested-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoiommu/tegra: smmu: fix issue with detach_dev
Sri Krishna chowdary [Thu, 21 Aug 2014 06:37:59 +0000]
iommu/tegra: smmu: fix issue with detach_dev

While detaching a device, make sure the debugfs_root of client
is marked as NULL. In case the device re-attaches itself with SMMU,
the stale pointer from debugfs_root will be used to create debugfs
and can cause kernel panic.

Bug 1546169
Bug 200031739

Change-Id: If0f58e4106ca2fe4b761c7fe185b17272824f76d
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/486335
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>

5 years agomedia: tegra: nvavp: avoid racing in nvavp_uninit
Allen Yu [Wed, 20 Aug 2014 03:39:59 +0000]
media: tegra: nvavp: avoid racing in nvavp_uninit

nvavp_init() might be called when open_lock is dropped in nvavp_uninit(),
which will mess up the _init/_uninit sequence. To eliminate the racing,
removes the unnecessary cancel_work_sync() and also the _unlock/_lock
around it. It is safe to do so since nvavp_uninit() sets nvavp->pending
to false in nvavp_halt_vde(), and the work handler will do nothing if
nvavp->pending is false.

Bug 200013513

Change-Id: If0a84545815c61388ba351e6cd1cc78bd99f809e
Signed-off-by: Allen Yu <alleny@nvidia.com>
Reviewed-on: http://git-master/r/482340
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agoRevert "nvdumper: Add configuration file"
Mitch Luban [Thu, 21 Aug 2014 21:41:17 +0000]
Revert "nvdumper: Add configuration file"

This reverts commit b88dbb77378f815d59b0cbd20c8b5507eb8caa20.

Change-Id: I9062d34ea711ca3f6adc4e94a556a49e7438d4a0
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/486607

5 years agonvdumper: Add configuration file
Nathaniel Adkins [Wed, 20 Aug 2014 20:03:55 +0000]
nvdumper: Add configuration file

Embed the configuration for nvdumper within vmlinux. This will
prevent the need to build and keep track of an external
configuration file.

Bug 1525687

Change-Id: I76c784ad5a92210965111b3a28b05a18c50c2f46
Signed-off-by: Nathaniel Adkins <nadkins@nvidia.com>
Reviewed-on: http://git-master/r/482597
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yifei Wan <ywan@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

5 years agovideo: tegra: dp: fix kernel hang by an eDP panels
Sungwook Kim [Tue, 3 Jun 2014 08:32:18 +0000]
video: tegra: dp: fix kernel hang by an eDP panels

An eDP panel causes kernel hang during the boot time in the DP
driver when it reads the EDID information over DPAUX channel I2C
bus.
- Fix the DPAUX channel I2C block read failure by I2C NACK due to
  slow I2C bus response by certain eDP panel.
- Fix the mutex deadlock at tegra_dc_i2c_read() routine when I2C
  read fails.
- change tegra_dp_aux_tx_config() API to use the actual size
  value instead of one less.

bug 1508965

Change-Id: Id1bd0d97bcefcc5e4988c4ae1880000187877161
Signed-off-by: Sungwook Kim <sungwookk@nvidia.com>
Reviewed-on: http://git-master/r/418193
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

5 years agoMerge "Merge remote-tracking branch 'origin/dev/tcherry-t210' into HEAD" into dev...
Tom Cherry [Thu, 21 Aug 2014 00:08:01 +0000]
Merge "Merge remote-tracking branch 'origin/dev/tcherry-t210' into HEAD" into dev-kernel-3.10

5 years agoMerge remote-tracking branch 'origin/dev/tcherry-t210' into HEAD
Tom Cherry [Wed, 20 Aug 2014 22:44:00 +0000]
Merge remote-tracking branch 'origin/dev/tcherry-t210' into HEAD

Change-Id: I72dfd2c2809bea10a3d2e877f91f90c0713ae194
Signed-off-by: Tom Cherry <tcherry@nvidia.com>

5 years agoarm64: tegra210: restrict CPU number to 4
Bo Yan [Wed, 20 Aug 2014 02:07:49 +0000]
arm64: tegra210: restrict CPU number to 4

Change-Id: If4058e6bdefa52d9cee6eacb3ecf1afeaef2d584
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/482300

5 years agoclocksource: t210: init only one timer for UP
Bo Yan [Tue, 19 Aug 2014 21:50:21 +0000]
clocksource: t210: init only one timer for UP

Currently, the device tree entries are read for all 4 CPUs,
even for uni-processor build. This is unnecessary, so fix it.

Change-Id: I5d334ff2184bd14f9f3766c66d3f8a1088bda8bf
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/482292
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoRevert "TEMP: arm64: t210: workaround for unknown timer problem"
Bo Yan [Tue, 19 Aug 2014 19:43:53 +0000]
Revert "TEMP: arm64: t210: workaround for unknown timer problem"

This reverts commit 2ce249949dc49b7c6b2d885797028d67d8374e3b.

Change-Id: Id4ffe7a5638b2db9a504d4666279da7ef507ec9b
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/482294

5 years agoRevert "TEMP: disable SMP config"
Bo Yan [Wed, 20 Aug 2014 01:53:04 +0000]
Revert "TEMP: disable SMP config"

This reverts commit e432992b3e6253f68ec8ce1a5adab0e204bf7e46.

Change-Id: I5ad954d666d2c57ffd8c6df3689ab83fb8a4c333
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/482293

5 years agoarch: arm64: configs: Disable GK20A_PHYS_PAGE_TABLES
Lauri Peltonen [Wed, 20 Aug 2014 04:15:35 +0000]
arch: arm64: configs: Disable GK20A_PHYS_PAGE_TABLES

Change-Id: I5a019ec3532d2f8ee3ecf60fda46da9a740eb3d5
Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com>
Reviewed-on: http://git-master/r/482332

5 years agoTEMP: Power on the fan on ERS
Johnny Qiu [Sun, 17 Aug 2014 20:50:50 +0000]
TEMP: Power on the fan on ERS

Change-Id: I12d89219010016c8df07b65f6c9697c8e427862c
Signed-off-by: Johnny Qiu <joqiu@nvidia.com>
Reviewed-on: http://git-master/r/457594
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

5 years agoarm64: tegra: dts: invert the PMU interrupt signal
Daniel Fu [Sun, 17 Aug 2014 19:55:07 +0000]
arm64: tegra: dts: invert the PMU interrupt signal

invert the PMU interrupt signal for Loki-e

Change-Id: I1ed44e5d0c3963e5a44b84452f88987b6288cee0
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/457541
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Tao Xie <txie@nvidia.com>
Tested-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Mallikarjun Kasoju <mkasoju@nvidia.com>

5 years agoRevert "TEMP: ARM64: tegra21: config: disable gpu"
Seshendra Gadagottu [Sat, 16 Aug 2014 14:22:36 +0000]
Revert "TEMP: ARM64: tegra21: config: disable gpu"

This reverts commit c7531d3af5be68ebe44c71265d52b702cf983898.

Change-Id: I956c086f1dadc0fcc8c3d8b8aee81d97944f926d
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/482124
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Lauri Peltonen <lpeltonen@nvidia.com>
Tested-by: Lauri Peltonen <lpeltonen@nvidia.com>

5 years agovideo: tegra: host: fix bw clock calculation
Charles Kong [Tue, 19 Aug 2014 20:58:45 +0000]
video: tegra: host: fix bw clock calculation

Fixed the per-type aggregation of clock contraints. Corrected
the calculation of bw clock.

Bug 200026186

Change-Id: Ie97ef00543e64d96077ad05934fed99a20fe1bf0
Signed-off-by: Charles Kong <charlesk@nvidia.com>
Reviewed-on: http://git-master/r/482197
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>

5 years agoarch: arm: configs: disable config option NVMAP_USE_CMA_FOR_CARVEOUT
Krishna Reddy [Mon, 11 Aug 2014 04:05:07 +0000]
arch: arm: configs: disable config option NVMAP_USE_CMA_FOR_CARVEOUT

Disable config option NVMAP_USE_CMA_FOR_CARVEOUT.

Change-Id: I350cb0ceb8c0123bb73397218a4288e8a3733d25
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/454870

5 years agousb: phy: tegra: handle null pointer error case
Edgardo Handal [Wed, 20 Aug 2014 16:39:40 +0000]
usb: phy: tegra: handle null pointer error case

In the case that phy->pllu_reg is NULL, tegra_usb_phy_get_clocks
should return a non-zero value.

Change-Id: I50fd28f1abeb3bc5c7f83c7360a1fd978b03b4e6
Signed-off-by: Edgardo Handal <ehandal@nvidia.com>
Reviewed-on: http://git-master/r/482542
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>

5 years agomedia: platform: tegra: FocusPos limit for DW9714
David Wang [Tue, 19 Aug 2014 23:51:46 +0000]
media: platform: tegra: FocusPos limit for DW9714

Changing the default lower focus position limit for DW9714 to make the
range 1024.

Bug 1534562

Change-Id: I47696645aabe543f92ae34c5e8fcc5d1369cf898
Signed-off-by: David Wang <davidw@nvidia.com>
Reviewed-on: http://git-master/r/482238
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naren Bhat <nbhat@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoplatform: tegra: add asim.c
Adeel Raza [Tue, 19 Aug 2014 22:54:08 +0000]
platform: tegra: add asim.c

Add asim.c for ASIM specific code. This code has been moved from
mach-tegra/common.c. There is probably more code that needs to moved to
asim.c but the current file is a good starting point.

Bug 1509349
Bug 1539889
Bug 1520609
Bug 1546024

Change-Id: I7be913b546ab746bf2ad42846174a5f613b07903
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/482223
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm: tegra: support vpr resize based command line arg
Vandana Salve [Fri, 1 Aug 2014 10:44:34 +0000]
arm: tegra: support vpr resize based command line arg

replace config CONFIG_NVMAP_USE_CMA_FOR_CARVEOUT
with parameter tegra_vpr_resize

bug 1517584

Change-Id: Ide5d272833d6cc7ff58ac682b435228717e2577b
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/450301

5 years agoarm: tegra: include T18x irqs header
Adeel Raza [Tue, 19 Aug 2014 22:37:50 +0000]
arm: tegra: include T18x irqs header

Include irqs-t18x.h in irqs.h.

Bug 1509349
Bug 1539889
Bug 1520609
Bug 1546024

Change-Id: I18b838365329aa257d9ecacc161888247c92d52f
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/482222
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoarm64: export functions for cpuidle drivers
Antti P Miettinen [Tue, 13 May 2014 08:06:59 +0000]
arm64: export functions for cpuidle drivers

If cpuidle driver is built as a module, cpu_suspend and
psci_power_state_pack need to be exported.

Change-Id: I39d42fc207098f5e88b8d427556599232cea74c6
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/408694
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agovideo: tegra: nvmap: clean cache during page allocations into page pool
Krishna Reddy [Tue, 5 Aug 2014 21:43:37 +0000]
video: tegra: nvmap: clean cache during page allocations into page pool

Clean cache during page allocations into page pool to
avoid cache clean overhead at the time of allocation.
Increase page pool refill size to 1MB from 512KB.

Bug 1539190

Change-Id: I046289f5e4b52986f477890663bbc7b2cda76c25
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/453197
(cherry picked from commit 39b0d737566adca113baac1de61f6550634da4ea)
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/456768
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

5 years agovideo: tegra: remove config option NVMAP_USE_CMA_FOR_CARVEOUT
Krishna Reddy [Mon, 11 Aug 2014 04:12:09 +0000]
video: tegra: remove config option NVMAP_USE_CMA_FOR_CARVEOUT

Change-Id: Ic2f3974fa8389043aed794e4aac26b2796359d46
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/454871

5 years agoarm64: nvmap: warn on use of 'uncached' nvmap memory type on arm64
Rich Wiley [Thu, 26 Jun 2014 00:53:18 +0000]
arm64: nvmap: warn on use of 'uncached' nvmap memory type on arm64

The NVMAP_HANDLE_UNCACHEABLE memory type maps to
architectural device memory, which is slow and should
be reserved for MMIO. Nvmap clients should use
NVMAP_HANDLE_WRITE_COMBINE instead.

bug 1443067

Change-Id: Ie68c458c35d390a16963ea20bff300d3d1e0a0cf
Signed-off-by: Rich Wiley <rwiley@nvidia.com>
Reviewed-on: http://git-master/r/411681
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

5 years agoARM: tegra12: documentation update
Ashwin Joshi [Mon, 4 Aug 2014 10:29:25 +0000]
ARM: tegra12: documentation update

Add documentation for common clock table and core dvfs table.

Bug 200022941
Bug 200007568

Change-Id: Iee864c47699c0daf30f887e2dafb5359d474cce2
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/450909
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>

5 years agoarch: arm64: dts: remove 'pmu_undershoot_gb' property initialization
Hridya Valsaraju [Thu, 17 Jul 2014 21:55:15 +0000]
arch: arm64: dts: remove 'pmu_undershoot_gb' property initialization

bug 1528672

Change-Id: I2219e9d06ddd0e72761397a265734e43c25a0c1b
Signed-off-by: Hridya Valsaraju <hvalsaraju@nvidia.com>
Reviewed-on: http://git-master/r/439485
(cherry picked from commit 7662ea2a07726f20901476d8541b15aae06ce94a)
Reviewed-on: http://git-master/r/453100
Reviewed-by: Chao Xu <cxu@nvidia.com>
Tested-by: Chao Xu <cxu@nvidia.com>

5 years agomisc: tegra-profiler: fix copy_to_user fails
Igor Nabirushkin [Tue, 19 Aug 2014 19:13:41 +0000]
misc: tegra-profiler: fix copy_to_user fails

Do not use copy_to_user while holding a spinlock, it is not safely.
This patch fixes tegra_profiler_test fails on Android L.

Bug 1543109
Bug 1545325

Change-Id: Iea7b89d879e1f3a003cd26e06bf6c4dea0b7b1dc
Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com>
Reviewed-on: http://git-master/r/482176
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Andrey Trachenko <atrachenko@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoiommu/tegra: smmu: trace bus notify event
Hiroshi Doyu [Mon, 18 Aug 2014 12:38:51 +0000]
iommu/tegra: smmu: trace bus notify event

Trace bus notify event for debugging

Change-Id: I8d58fbe20388a591a9b9ff4b06dac47b7bf989b0
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/457759

5 years agoiommu/tegra: smmu: swgroup ~0ULL as error code
Hiroshi Doyu [Mon, 18 Aug 2014 09:53:24 +0000]
iommu/tegra: smmu: swgroup ~0ULL as error code

'0' needs to be used for AFI so ~0ULL is used to return error code.

Bug 1190050

Change-Id: I07f76c1d86a0b647584326f48fd8d4249afcdbd4
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/457690

5 years agoiommu/tegra: smmu: parse iommus only once
Hiroshi Doyu [Wed, 13 Aug 2014 07:40:13 +0000]
iommu/tegra: smmu: parse iommus only once

Parse iommus bindings only once, store and refer to the stored data on
demand.

Change-Id: I8afa215cef1d9135d176f1ae6ac7c643c5c47a53
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/456649

5 years agoiommu/tegra: smmu: rename of_tegra_smmu_* prefix
Hiroshi Doyu [Wed, 13 Aug 2014 06:39:12 +0000]
iommu/tegra: smmu: rename of_tegra_smmu_* prefix

For naming consistency, use the same prefix for all DT parse functions.

Rename of_tegra_smmu_get_* to tegra_smmu_of_get_*

Change-Id: Ibbb5bf3f3e4d6047838647b48a0da7cd55b99b68
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/456648