6 years agoHACK: Disable HDA driver, causing suspend/resume failures
Dan Willemsen [Tue, 19 Feb 2013 19:29:01 +0000]
HACK: Disable HDA driver, causing suspend/resume failures

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoHACK: Turn off ALSA SoC Tegra support
Dan Willemsen [Thu, 31 Jan 2013 07:57:38 +0000]
HACK: Turn off ALSA SoC Tegra support

Fails to boot

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: config: Disable SD8797 and SD8897 for T124
Dan Willemsen [Mon, 26 Aug 2013 06:54:07 +0000]
ARM: config: Disable SD8797 and SD8897 for T124

These don't build on 3.10 right now.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: config: Disable TRACEDUMP
Dan Willemsen [Thu, 22 Aug 2013 21:13:05 +0000]
ARM: config: Disable TRACEDUMP

Doesn't compile with some of the API changes in 3.10. Specifically this
one: ae63b31e4d0e2ec09c569306ea46f664508ef717

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra12: clock: use updated tegra_emc_apply_efficiency definition
Nitin Kumbhar [Sat, 22 Jun 2013 13:13:27 +0000]
ARM: tegra12: clock: use updated tegra_emc_apply_efficiency definition

Change-Id: Ia7162b279c3e631dc4a2ee3dd50320502a1deec5
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agonet: wireless: Update SD8797 driver for 3.10
Dan Willemsen [Mon, 26 Aug 2013 05:09:05 +0000]
net: wireless: Update SD8797 driver for 3.10

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: dts: Remove T114 versions of Ardbeg & Laguna
Dan Willemsen [Mon, 26 Aug 2013 05:01:10 +0000]
ARM: dts: Remove T114 versions of Ardbeg & Laguna

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agovideo: tegra: fix build issues of k340 cherrypicks
Nitin Kumbhar [Sat, 22 Jun 2013 13:18:22 +0000]
video: tegra: fix build issues of k340 cherrypicks

- Use updated nvhost_memmgr_pin()/nvhost_memmgr_unpin()
- Use renamed header file nvmap_priv.h instead of nvmap.h

Change-Id: Ie716956e29c3fdc5d64c99bfe4f0332b8fe95c01
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agousb: phy: Turn off -Werror for tegra-otg
Dan Willemsen [Mon, 26 Aug 2013 04:23:00 +0000]
usb: phy: Turn off -Werror for tegra-otg

Until the regulator_* APIs are checked for return values

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agofixup! staging: iio: adc: Add Palma gpadc support
Dan Willemsen [Mon, 26 Aug 2013 03:38:15 +0000]
fixup! staging: iio: adc: Add Palma gpadc support

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoRevert "regulator: tps51632: add dt parsing for ramp delay"
Dan Willemsen [Mon, 26 Aug 2013 03:35:52 +0000]
Revert "regulator: tps51632: add dt parsing for ramp delay"

This reverts commit f0f4c8a5f1943fd6dbf14e976f4b271da1966e41. This
parameter isn't in the upstream driver.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agomedia: video: tegra: Disable -Werror
Dan Willemsen [Mon, 26 Aug 2013 02:35:44 +0000]
media: video: tegra: Disable -Werror

It's not enabled in android-tegra-nv-3.8, disable it here.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra: pluto: enable HS UART through DT
Ajay Nandakumar [Tue, 4 Jun 2013 12:38:09 +0000]
ARM: tegra: pluto: enable HS UART through DT

-Enabling HS UART 0,1,2 through device tree for Dalmore.
-Enable HS UART3 using board platform data if requested
from odm-data.

Bug 1299472

Change-Id: Ib1a2ebf52558147b527677a390e266ba6ac84918
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/235461
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Preetham Chandru <pchandru@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: Disable -Werror
Dan Willemsen [Mon, 26 Aug 2013 02:03:18 +0000]
ARM: tegra: Disable -Werror

It's disabled in android-tegra-nv-3.8, disable it here too

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoPartial Revert "tegra: fixup: fix issues after K3.4 cherry-picks"
Dan Willemsen [Sat, 24 Aug 2013 21:52:43 +0000]
Partial Revert "tegra: fixup: fix issues after K3.4 cherry-picks"

This partially reverts commit e94d2d45256f2739ffe32afe35754a9d017d472b,
which was reverted in android-tegra-nv-3.8 by a merge.

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

6 years agoARM: tegra11: power: Cap core voltage on deficient regulator
Alex Frid [Sun, 30 Jun 2013 07:46:46 +0000]
ARM: tegra11: power: Cap core voltage on deficient regulator

If core regulator is not able to supply 6A or above current, cap core
voltage at default 1.12V.

Bug 1316883

Change-Id: Id6ecf6712a13b85656a007f300cf77ee538322c4
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/243726
(cherry picked from commit 9dd352e214373db624ae27b5a7d7a10e09910e3e)
Reviewed-on: http://git-master/r/245969
(cherry picked from commit ffc3e9e9750f98ab0c73b0998e22168d4d058403)
Reviewed-on: http://git-master/r/264547
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: t124: Allow tegra-nvmap device to register
Bibek Basu [Tue, 20 Aug 2013 11:17:34 +0000]
ARM: t124: Allow tegra-nvmap device to register

If CONFIG_TEGRA_DC is disabled, kernel panics because
nvmap_probe is not happening.

Bug 1343356

Change-Id: Ia801780a5bed4b91ed7b9600267c69df8dd8f424
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/263864
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Tested-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>

6 years agodrivers: video: tegra: detect platform at runtime
Chetan Kumar N G [Thu, 27 Jun 2013 17:55:34 +0000]
drivers: video: tegra: detect platform at runtime

This change is a part of the effort to enable runtime
platform detection and reduce compile-time conditionals.

Bug 1333554

Change-Id: Ie70edf370e361a07f58b610d58bc09eebe156ffd
Signed-off-by: Chetan Kumar N G <chetankumarn@nvidia.com>
Reviewed-on: http://git-master/r/264030
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

6 years agovideo: tegra: nvmap: validate args in get_params
Krishna Reddy [Thu, 22 Aug 2013 17:22:44 +0000]
video: tegra: nvmap: validate args in get_params

few minor checks as well.

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

6 years agoregulator: core: add support to set startup delay from platform
Laxman Dewangan [Wed, 7 Aug 2013 09:24:25 +0000]
regulator: core: add support to set startup delay from platform

The startup delay of rail depends on the PMIC design and the platform
design. The startup delay is provided based on PMIC datasheet through
regulator callback.

Add support to provide the platform specific startup delay during
regulator registration through regulator constraints.

The actual delay will be taken from constraints and if it is zero
then based on datasheet.

bug 1317941

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

Change-Id: I3a0d439e6f52a963a32e191145a6cdd36bc5e01b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/265530
GVS: Gerrit_Virtual_Submit

6 years agoregulator: add support for rail to be off during boot
Laxman Dewangan [Wed, 31 Jul 2013 13:48:12 +0000]
regulator: add support for rail to be off during boot

Add option "boot_off" if any rail is require to be OFF
during booting of system.

bug 1326594

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

Change-Id: Ic9b52a2d1e22dc8fb1051d752090ce7f2c66cce9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/265529
GVS: Gerrit_Virtual_Submit

6 years agoiommu/tegra: smmu: fix dma_map_linear_attrs to handle phys address > 32-bit
Krishna Reddy [Tue, 13 Aug 2013 23:00:23 +0000]
iommu/tegra: smmu: fix dma_map_linear_attrs to handle phys address > 32-bit

Bug 1341658

Change-Id: I0eb5a3f5179da580600a5e75664c6b7da3b4c895
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/265319
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

6 years agovideo: tegra: host: detect platform at runtime
Chetan Kumar N G [Thu, 27 Jun 2013 17:51:41 +0000]
video: tegra: host: detect platform at runtime

This change is a part of the effort to enable runtime
platform detection and reduce compile-time conditionals.

Bug 1333554

Change-Id: Id45b6f136f37f691742d40aa2a40131a4e5b7b3c
Signed-off-by: Chetan Kumar N G <chetankumarn@nvidia.com>
Reviewed-on: http://git-master/r/264031
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoARM: tegra: pluto: add kbc support through DT on pluto
Ashwini Ghuge [Tue, 13 Aug 2013 09:40:47 +0000]
ARM: tegra: pluto: add kbc support through DT on pluto

Added kbc support through DT on pluto but not
enabled yet.

Bug 1173844

Change-Id: Ie8c58625ec56ee74d6b1b587c4776f3e9122af1c
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/264793
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoregulator: max15569: Add regulator driver.
Ashwin Joshi [Tue, 6 Aug 2013 12:15:05 +0000]
regulator: max15569: Add regulator driver.

Add regulator driver for max15569 chip. This chip is present on
automotive platform.

Bug 1319925

Change-Id: Ib02f94376ee3560c2891b78ec355c3f246b00dd4
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/262306
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: pinmux: Fix pinmux for SDMMC2B
Ashwin Joshi [Tue, 6 Aug 2013 12:13:07 +0000]
ARM: tegra: pinmux: Fix pinmux for SDMMC2B

Fix pinmux table entries for SDMMC2B. These are required for automotive
board.

Bug 1319925

Change-Id: Ie7bc1fcceadc48f2436db6a7e249f41baf3ce8f5
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/262301
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: config: tegra12: Add defconfig for vcm30_t124
Ashwin Joshi [Tue, 6 Aug 2013 12:10:59 +0000]
arm: config: tegra12: Add defconfig for vcm30_t124

Add defconfig file for vcm30_t124 which is an automotive platform for
T124.

Bug 1319925

Change-Id: I30bc34453402bc142781ae041e8c0326f827ddc4
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/262296
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agovideo: tegra: nvmap: rename the nvmap_get_dmabuf
Krishna Reddy [Thu, 22 Aug 2013 02:14:19 +0000]
video: tegra: nvmap: rename the nvmap_get_dmabuf

rename nvmap_get_dmabuf to nvmap_dmabuf_export to be more explicit
on what it is intended for.
Bug 1290869

Change-Id: I86b2f35869b48713ee3de5b27c028fdc9f0e017f
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/264671
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: nvmap: implement dmabuf_mmap
Krishna Reddy [Thu, 22 Aug 2013 01:46:15 +0000]
video: tegra: nvmap: implement dmabuf_mmap

Bug 1290869

Change-Id: Ia768662ea3b26341c6acb52a1091fb5fe3d4a14b
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/264664
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: host: Use nvmap_pin only for default ASID
Terje Bergstrom [Tue, 20 Aug 2013 07:55:46 +0000]
video: tegra: host: Use nvmap_pin only for default ASID

Retrieve the default ASID via tegra_smmu_get_asid(). If we're mapping
buffer to a non-default ASID, skip the nvmap_pin() path and map via
DMA Mapping API.

Bug 1351530

Change-Id: I5078033e71f759901e6e4bd8a27ede5f1d5fbc37
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/263758
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: loki: remove unused variable
Laxman Dewangan [Thu, 22 Aug 2013 13:16:45 +0000]
ARM: tegra: loki: remove unused variable

Remove unused variable to remove the compilation warning.

Change-Id: Ie7cd5f373686843f8a4d8caf64a60881c11e5703
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264896
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: move i2c registration to DT
Laxman Dewangan [Thu, 22 Aug 2013 12:43:53 +0000]
ARM: tegra: move i2c registration to DT

Move I2C registratioon to DT for the Ardbeg, TN8, Loki and Laguna.

Change-Id: I64e79a266b221222d35e3a3134bfa341d32e84c4
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264894

6 years agoARM: tegra: make i2c driver as tegra12-i2c for T124
Laxman Dewangan [Thu, 22 Aug 2013 11:22:48 +0000]
ARM: tegra: make i2c driver as tegra12-i2c for T124

Make Tegra I2C driver name as tegra12-i2c for the T124 SoCs.

Change-Id: Ib05b0e5ca61bb8bff97ff0bea533c5a822ed642f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264893

6 years agoARM: tegra: clock: I2C does not require fast clock for T124
Laxman Dewangan [Thu, 22 Aug 2013 11:03:16 +0000]
ARM: tegra: clock: I2C does not require fast clock for T124

Removing the fast clock entry for I2C as it does not require
fast clock on T124.

Change-Id: I26eb55071888e7a17744c6719c97c0c3e03a4fe2
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264892

6 years agocrypto: tegra-se:Correct RSA context save sequence
Shravani Dingari [Thu, 22 Aug 2013 08:56:53 +0000]
crypto: tegra-se:Correct RSA context save sequence

While saving LP0 context, save RSA modulus first and
then RSA exponent

Bug 1346862

Change-Id: Ib3c6d30cb492c112dcfef5128399d5fe807e8129
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/264776
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoArdbeg: Add LDO8 tracking flag for TI PMIC Ardbeg
Terry Wang [Wed, 21 Aug 2013 09:03:41 +0000]
Ardbeg: Add LDO8 tracking flag for TI PMIC Ardbeg

The change is for Ardbeg with TI PMIC E1735.
Add flag to enable LDO8 tracking and to disable LDO8 tracking in LP0.

Bug 1317293

Change-Id: I37aeaee0e21ae41b44592725dad1a10892b19f9f
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/264223
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoi2c: tegra: add compatible and platform id for Tegra124
Laxman Dewangan [Thu, 22 Aug 2013 10:58:26 +0000]
i2c: tegra: add compatible and platform id for Tegra124

Add compatible and platform id for T124 I2C and keeping
the HW chip specific paramter is same as T14x.

Change-Id: Ic222abf1c8835850b6ff1e794c4cb0e67ac34352
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264891
Reviewed-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>

6 years agoARM: tegra: enable GPIO from DT for all T124 platform
Laxman Dewangan [Thu, 22 Aug 2013 10:46:54 +0000]
ARM: tegra: enable GPIO from DT for all T124 platform

Enable GPIO from DT for all T124 platform.

Change-Id: Ib2e39b982bd02762d3c27cd8a6a857f63418cfae
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264890
Reviewed-by: Hayden Du <haydend@nvidia.com>

6 years agoarm: tegra12x: iomap: fix VDE base address
Varun Wadekar [Tue, 20 Aug 2013 05:30:06 +0000]
arm: tegra12x: iomap: fix VDE base address

Bug 1348346

Change-Id: I7ab61cf803e9596ae970ce6c97780e1b015a5b4a
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/264175
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: config: enable sata tegra12_defconf
Bibek Basu [Wed, 14 Aug 2013 10:45:36 +0000]
ARM: tegra: config: enable sata tegra12_defconf

Enable sata in L4T defconfig for t124
SATA_AHCI_TEGRA

Bug 1275005

Change-Id: Idedf09be0d3c96e08454f9c100eb92649b85a52f
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/263259
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

6 years agoARM: dma-mapping: Fix IOVA end addr check strictly
Hiroshi Doyu [Thu, 22 Aug 2013 18:52:33 +0000]
ARM: dma-mapping: Fix IOVA end addr check strictly

At IOVA area allocation, its end address check isn't enough strict in
the case of __alloc_iova_at().

Bug 1353121
Bug 1343762

Change-Id: Iebb1b100313ff70c23bbf262dddddfde1a52727b
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/265018
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agovideo: tegra: nvmap: Export dmabuf for all handles
Alex Waterman [Thu, 18 Jul 2013 00:27:16 +0000]
video: tegra: nvmap: Export dmabuf for all handles

Export a dma_buf object for all handles during allocation. Ref counting
for the underlying dma_buf follows the creation of nvmap_handle_refs.

Bug 1290869

Change-Id: I738e83ccd5063f6eb14b1baaa24868f6a19a572e
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/264089
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra12: dvfs: Move GPU voltage limits to cvb table
Alex Frid [Thu, 22 Aug 2013 04:31:41 +0000]
ARM: tegra12: dvfs: Move GPU voltage limits to cvb table

Moved specifications of GPU minimum and maximum voltages to cvb table.
The former was defined as bin independent gpu rail limit - kept it as
a base for voltage statistic; that latter was defined as sku-dependent
nominal voltage - removed the respective definitions/API completely,
since cvb table is sku/bin dependent.

Bug 1273253

Change-Id: I0f437250700538ae1f84a6ed43e4ff19cea7a407
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/264698
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: dvfs: Use common cvb dvfs structure
Alex Frid [Thu, 22 Aug 2013 04:06:45 +0000]
ARM: tegra: dvfs: Use common cvb dvfs structure

Used common cvb dvfs structure to specify CPU, GPU and core dvfs data.

Bug 1273253

Change-Id: I2550ddaa940a1792f3e0627bc604798f5dbfa5e6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/264697
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra12: dvfs: Use GPU speedo in cvb algorithm
Alex Frid [Thu, 22 Aug 2013 03:27:17 +0000]
ARM: tegra12: dvfs: Use GPU speedo in cvb algorithm

Bug 1273253

Change-Id: I4cdbbbc30c8c120de79d0ec675baaa19bfee243b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/264687
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: Disable pre-si features at run time
Jeff Smith [Wed, 14 Nov 2012 18:13:47 +0000]
ARM: tegra: Disable pre-si features at run time

Disable the the remainder of the silicon only features at
run time instead of the Kconfig file. This change covers
THERMAL_THROTTLE, EDP_LIMITS and DYNAMIC_PWRDET.

Change HZ to 100 for all pre-si configs, not just FPGA. We
cannot change this field at run time. A faster tick doesn't
help sim or Qt CPUs go faster.

This change is a part of the effort to enable runtime
platform detection and reduce compile-time conditionals.

Bug 1333554

Change-Id: I24a865bf192347e487c743fdae3a3369e3ba89d1
Signed-off-by: Jeff Smith <jsmith@nvidia.com>
Signed-off-by: Chetan Kumar N G <chetankumarn@nvidia.com>
Reviewed-on: http://git-master/r/264034
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>

6 years agoARM: tegra: clock: Re-factor core bus limit structures
Alex Frid [Sun, 21 Jul 2013 07:06:21 +0000]
ARM: tegra: clock: Re-factor core bus limit structures

Combined core_bus_cap_table and core_bus_floor_table structures into
one core_bus_limit_table structure.

Change-Id: I9531d7c765597d79e73aa1d9391972b9f436e26b
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251671
(cherry picked from commit 6ccb58d5a588475c4de846e6565781d80f94b325)
Reviewed-on: http://git-master/r/254753
(cherry picked from commit 2789b867935bcf17de96ec324cdb40bc5ccdbc62)
Reviewed-on: http://git-master/r/264678
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: clock: Add gpu sysfs floor
Alex Frid [Thu, 18 Jul 2013 06:45:45 +0000]
ARM: tegra11: clock: Add gpu sysfs floor

Change-Id: Id1df835e0b60da703b67fc289b2ed21087f2c0c3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250928
(cherry picked from commit dff57ab9fba624e009ddc4763dd371c8835561ab)
Reviewed-on: http://git-master/r/254752
(cherry picked from commit 601df453fb0e338df66d799cc2dd495765c13254)
Reviewed-on: http://git-master/r/264677
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: clock: Add emc and host1x sysfs floors
Alex Frid [Wed, 17 Jul 2013 21:23:25 +0000]
ARM: tegra11: clock: Add emc and host1x sysfs floors

Change-Id: Ib00775ecbded79cb865cdeaed8e05ba2e06e486a
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250417
(cherry picked from commit 03dc8a991ab22e4cd0e048b3157b6f63a0ddc27f)
Reviewed-on: http://git-master/r/254751
(cherry picked from commit 1d3b6927079e3cf6ec91c3a957756e764684172a)
Reviewed-on: http://git-master/r/264676
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: clock: Add sysfs interface for bus floors
Alex Frid [Wed, 17 Jul 2013 05:47:55 +0000]
ARM: tegra: clock: Add sysfs interface for bus floors

Added mechanism to install sysfs objects for tegra shared bus floors.
Currently no floor objects are installed.

Change-Id: I4940b096fe7013f09213813b18b1cfe71fce9336
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/250416
(cherry picked from commit ec8651cf8f8822253dc6a6221a390ea79568a638)
Reviewed-on: http://git-master/r/254750
(cherry picked from commit 5eba5ed2d405fb99787fed57e33f4cbc17b44ce0)
Reviewed-on: http://git-master/r/264675
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra: dvfs: Decouple nominal and detached voltages
Alex Frid [Sat, 13 Jul 2013 02:58:41 +0000]
ARM: tegra: dvfs: Decouple nominal and detached voltages

DVFS rail nominal voltage is minimum voltage required to run all
associated clocks at maximum allowed rates. DVFS rail can be detached
from clocks during initial boot, on suspend entry/exit, or when
voltage scaling is disabled. So far, rail voltage in any detached mode
was set to nominal level. This commit introduced separate voltages for
each detached mode. If any of these levels is not specified, backward
compatible nominal voltage is used.

Since, suspend voltage may now be different from nominal (below), it
is important for dvfs to suspend after suspend edp rate caps are set,
and resume before edp. Hence, priorities of dvfs suspend notifiers
were adjusted accordingly.

Change-Id: I17bf2d5ee30a8278b7c838280e730761608db249
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/248949
(cherry picked from commit 2303fe049be0cd8361588b80491d9143737ce6b1)
Reviewed-on: http://git-master/r/254674
(cherry picked from commit ce542a286a998083be69ebad542366d50cdb0e42)
Reviewed-on: http://git-master/r/264548
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agovideo: tegra: nvmap: support passing handle as arg
Krishna Reddy [Wed, 21 Aug 2013 22:19:22 +0000]
video: tegra: nvmap: support passing handle as arg

add supoprt for pin/unpin/mmap/munmap/kmap/kunmap operations
to pass handle as arg.
Bug 1290869

Change-Id: I6e3dfe7e55fe103233e94248c3bf09f4013cdadc
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/264609
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>

6 years agovideo: tegra: nvmap: allow NULL client pointer
Krishna Reddy [Wed, 21 Aug 2013 21:46:20 +0000]
video: tegra: nvmap: allow NULL client pointer

allow NULL client pointer during pin/unpin.
prepare for dmabuf support.
Bug 1290869

Change-Id: Ib3961d6ae99a62ec3a4f77a7604b268c768980cc
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/264599
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>

6 years agovideo: tegra: nvmap: remove dev from nvmap_client
Krishna Reddy [Wed, 21 Aug 2013 21:31:35 +0000]
video: tegra: nvmap: remove dev from nvmap_client

prepare for dmabuf support.
Bug 1290869

Change-Id: I791f341ea20b4e90082a3199844919d176064c68
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/264592
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>

6 years agovideo: tegra: nvmap: remove share from client
Krishna Reddy [Wed, 21 Aug 2013 21:09:51 +0000]
video: tegra: nvmap: remove share from client

prepare for dmabuf support.
Bug 1290869

Change-Id: Ie7b413d495244ec64275e2123d9e1c20c9ab38cc
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/264576
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>

6 years agoarm: tegra11: config: disable CONFIG_MACH_CERES
Naveen Kumar S [Thu, 22 Aug 2013 05:53:37 +0000]
arm: tegra11: config: disable CONFIG_MACH_CERES

Ceres is a T14x board and hence tegra11_defconfig doesn't need
CONFIG_MACH_CERES to be enabled.

bug 1349695

Change-Id: If3c314b18f959633d4c10bd60a9953c60eec6cc7
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/262385
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agovideo: tegra: host: Use freq list from profile
Arto Merilainen [Fri, 10 May 2013 11:12:04 +0000]
video: tegra: host: Use freq list from profile

This patch modifies the power-on-demand governor to take the
frequency list from the device profile instead of creating own.

Bug 1330780

Change-Id: Ie614a12cb6808f61a78d4d97c2ee0dae0ff90a61
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/263238
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: Add devfreq freq tables
Arto Merilainen [Mon, 29 Apr 2013 12:24:15 +0000]
video: tegra: host: Add devfreq freq tables

This patch adds support for generating a frequency table of
supported frequencies for devfreq.

Bug 1330780

Change-Id: I700654921a926f8ea2100ea1bd401ad8d24ee76b
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/263237
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: gk20a: Unify devfreq profile
Arto Merilainen [Mon, 29 Jul 2013 11:15:15 +0000]
video: tegra: host: gk20a: Unify devfreq profile

This patch unifies the gk20a devfreq profile to behave similarly as the
generic device profile (i.e. devfreq is initialised only if a governor is
specified). The patch also removes duplicate type from headers.

Bug 1330780

Change-Id: I41b6c16a43704b67287fbb6d0c7d787744403f21
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/263236
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: gk20a: Implement round rate
Arto Merilainen [Tue, 30 Jul 2013 06:21:12 +0000]
video: tegra: host: gk20a: Implement round rate

We need to round rate often while doing clock scaling. This patch
adds support for rounding GPU clock rates.

Bug 1330780

Change-Id: I8b43e4a1fa12ac77c9bd5341125b4bb2b5ba1fd4
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/263235
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: gk20a: Read cooling freqs
Arto Merilainen [Thu, 1 Aug 2013 13:09:30 +0000]
video: tegra: host: gk20a: Read cooling freqs

This patch modifies the gk20a clock code to read cooling frequencies
from the DVFS.

Bug 1330780

Change-Id: I6fdbb7eb590c617b7d511f6cdece09f69d43b75c
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/263234
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoARM: tegra: Change GPU freq unit from Mhz to Hz
Hyungwoo Yang [Thu, 22 Aug 2013 00:00:23 +0000]
ARM: tegra: Change GPU freq unit from Mhz to Hz

GPU interface has changed its frequency unit from Mhz to Hz.

Bug 1340657

Change-Id: I12d67294688a3cf712b65a821e3a80c6de29de02
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/264632
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Tested-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: gk20a: Use Hz in clk iface
Arto Merilainen [Thu, 1 Aug 2013 08:53:22 +0000]
video: tegra: host: gk20a: Use Hz in clk iface

gk20a clock interface used PLL frequency in MHz in set_rate(),
get_rate() and round_rate(). The common way to deliver clock
frequencies is to give the frequency in Hz for the unit directly.
This patch makes the necessary changes to the clock code to allow
more consistent usage of gk20a clock.

Bug 1340657
Bug 1330780

Change-Id: I32edbf4da2b85fd7808d9e44876f03156306b3e7
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/263233
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agovideo: tegra: host: gk20a: Read load from perfmon
Arto Merilainen [Mon, 29 Jul 2013 11:38:10 +0000]
video: tegra: host: gk20a: Read load from perfmon

The code used GPU load counters directly to estimate load value.
However, this solution does not work well due to wrapping.

This patch modifies the pmu code to activate perfmon on PMU
always. Perfmon automatically samples load counters to determine
normalised load value and stores this value into dmem. The code
modifies PMU driver to read normalised load directly from dmem.

Bug 1330780

Change-Id: Ib6b871bbb8d9adca3e4c2d6de32b39a00de7101e
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/263232
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

6 years agoARM: tegra: PMC DT support
Bitan Biswas [Fri, 19 Jul 2013 20:59:06 +0000]
ARM: tegra: PMC DT support

PMC DT support changes are as follows:
 - Downstream code needs local changes in addition
   to upstream PMC DT support change to compile fine.
   Common clock framework (CCF) is not enabled downstream
   today as a result we cannot switch to upstream version
   of the function set_power_timers today.
 - All PMC platform data from board files is not available
   in DT bindings upstream. Using the board passed
   values in such cases to ensure that functionality
   is intact.
 - Further, if DT attribute values do not match
   board platform data settings the board setting
   is used for the time being.

bug 1173104

Change-Id: Ife63ab84178c5aa4371bfee188ce919a99f651fc
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/263727

6 years agousb: otg: tegra: detect device cable through pmu
Rohith Seelaboyina [Wed, 21 Aug 2013 04:38:05 +0000]
usb: otg: tegra: detect device cable through pmu

Device cable and OTG cable should be detected through pmu
as extcon framework notifies when change is detected
in either vbus or id, registering for notifications to only
one of them will lead to handling notifications for
unwanted events.

Bug 1345401

Change-Id: I0da42fbf715bbcf32bf3741ab045997c43cebf77
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/263872
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: dts: tegra: add the PM configurations of PMC
Joseph Lo [Wed, 3 Apr 2013 11:31:52 +0000]
ARM: dts: tegra: add the PM configurations of PMC

Adding the PM configuration of PMC when the platform support suspend
function.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit a44a019d45820eaeeb449450caa9e43f1f00a09b)

bug 1173104

Change-Id: Ifb6a03ae1c4e73eda6dde4e7d792613497ccde2c
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/263726

6 years agoARM: dt: tegra: add bindings of power management configurations for PMC
Joseph Lo [Wed, 3 Apr 2013 11:31:46 +0000]
ARM: dt: tegra: add bindings of power management configurations for PMC

The PMC mostly controls the entry and exit of the system from different
sleep modes. Different platform or system may have different
configurations. The power management configurations of PMC is
represented as some properties. The system needs to define the
properties when the system supports deep sleep mode (i.e. suspend).

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 4b51ccbc469facb7b589a71c2a4ae47d3e425d02)

bug 1173104

Change-Id: Ib9c6430ffd39a4794898c3790bac176878a0474f
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/263723

6 years agoARM: tegra: moving the CPU power timer function to PMC driver
Joseph Lo [Wed, 3 Apr 2013 11:31:28 +0000]
ARM: tegra: moving the CPU power timer function to PMC driver

The CPU power timer set up function was related to PMC register. Now moving
it to PMC driver. And it also help to clean up the PM related code later.

The timer was calculated based on the input clock of PMC. In this patch, we
also get the clock from DT.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 0337c3e0c3cbbb3a4f411c292f52fcc314abae67)

bug 1173104

Change-Id: I03a80b2c0cfcb5223b1b113f395ef3899eafd06e
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/263722

6 years agoARM: tegra: add clock source of PMC to device trees
Joseph Lo [Wed, 3 Apr 2013 11:31:27 +0000]
ARM: tegra: add clock source of PMC to device trees

Adding the bindings of the clock source of PMC in DT.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 7021d1220584ab1e6efd3d59da47b65674d9896a)

bug 1173104

Change-Id: I29af11f2bfd60d6e16a67bf27112d35d2cca8125
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/263721

6 years agoARM: tegra: pmc: add specific compatible DT string for Tegra30 and Tegra114
Joseph Lo [Tue, 26 Feb 2013 16:27:42 +0000]
ARM: tegra: pmc: add specific compatible DT string for Tegra30 and Tegra114

The PMC HW is not 100% compatible across all Tegra series. We need to
specify each of them in the DT match table.

Signed-off-by: Joseph Lo <josephl@nvidia.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
(cherry picked from commit 88c4aba92bc57334119bcff58ac87152c3f2981e)

bug 1173104

Change-Id: If9c0324b37f48406104969e70a7dc360980794aa
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/263719

6 years agoARM: tegra12: clock: Disable VDE clock during init on Si
Somasundaram S [Mon, 19 Aug 2013 15:21:32 +0000]
ARM: tegra12: clock: Disable VDE clock during init on Si

Change-Id: I811d13e4a5ac4fa852e69d4391234f2fc5584f49
Signed-off-by: Somasundaram S <somasundaram@nvidia.com>
Reviewed-on: http://git-master/r/263386
Tested-by: Somu Sundaram <somasundarams@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: laguna: add delay for fixed regulator
Bibek Basu [Tue, 13 Aug 2013 09:32:46 +0000]
ARM: tegra: laguna: add delay for fixed regulator

add delay after fixed regulator initialization.
This prevents the race in accessing hdmi & audio
i2c before enabling the fixed regulator.

Bug 1342355

Change-Id: I4bcad3b8b63f06f6c0c79c37f7cb53c753565c4a
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/263258
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agotty: serial: full GCOV_PROFILE
Konsta Holtta [Tue, 20 Aug 2013 05:56:31 +0000]
tty: serial: full GCOV_PROFILE

Enable GCOV profiling in serial when enabled in defconfig.

Bug 1227962

Change-Id: I13a2ad9dfa3a8e5a58059bd7f5a207036f3d3d8e
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/264343
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: pcie: Fix LP0 functionality
Jay Agarwal [Thu, 8 Aug 2013 12:31:41 +0000]
ARM: tegra: pcie: Fix LP0 functionality

Remove unnecessary Flag to allow complete
PADS initialization in resume

Bug 1344668

Change-Id: I7bb56c51bb15338a3c8cb32aa534c7085388b242
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/263691
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>

6 years agoARM: tegra12: clock: Add "PERIPH_ON_APB" flag
Alex Frid [Wed, 21 Aug 2013 19:30:49 +0000]
ARM: tegra12: clock: Add "PERIPH_ON_APB" flag

Added "PERIPH_ON_APB" flag to SDMMC clocks.

Bug 1348234

Change-Id: Ibfa0197ace50985e2fb2d71f7b6253df8354850c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/264529
GVS: Gerrit_Virtual_Submit
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: ardbeg: Update SDMMC1,3 pad settings
Pavan Kunapuli [Wed, 14 Aug 2013 07:28:29 +0000]
ARM: tegra: ardbeg: Update SDMMC1,3 pad settings

Updating SDMMC1 and SDMMC3 pad settings based on the characterization
results.

Bug 1347531

Change-Id: Ib612a5866e158dd9df524b5bacb43a9cd4b1a4b3
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/264391
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

6 years agoARM: tegra: select PINCTRL_TEGRA114 for Tegra11 Soc
Laxman Dewangan [Wed, 21 Aug 2013 13:40:05 +0000]
ARM: tegra: select PINCTRL_TEGRA114 for Tegra11 Soc

Change-Id: I13810ba2461af82c4db161aeba50077c1d53c9de
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264386

6 years agoserial: tegra: move header to linux/platform_data
Laxman Dewangan [Wed, 21 Aug 2013 14:00:37 +0000]
serial: tegra: move header to linux/platform_data

Move serial-tegra header file to platform_data and renamed
as serial-tegra from serial_tegra.

Change-Id: I5c7b761192e40591453f626c3b6376742f9e5b70
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264389

6 years agoarm: t124: Populate tegra-gpio from device tree.
Hayden Du [Wed, 21 Aug 2013 07:58:31 +0000]
arm: t124: Populate tegra-gpio from device tree.

Bug 1352814

Change-Id: I840dbe7b2163ab413de0e02fbd23c8611d43cfa7
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/264257
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra12: config: enable AS3722_ADC_EXTCON config
Rakesh Bodla [Fri, 16 Aug 2013 03:56:26 +0000]
ARM: tegra12: config: enable AS3722_ADC_EXTCON config

Enable AS3722_ADC_EXTCON config to enable continuous scanning in
AMS3722 ADC channel.

Bug 1325641

Change-Id: Id3868fc1bff3d1fa9596a31f1d24fb220f09f2fe
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/264171
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoARM: tegra: ardbeg: USB ID detection using AMS PMU
Rakesh Bodla [Tue, 13 Aug 2013 08:42:26 +0000]
ARM: tegra: ardbeg: USB ID detection using AMS PMU

Enable USB ID detection using AMS PMU

Bug 1325641
Bug 1294722

Change-Id: If42683b5bc012c4598b8004c8b2d4f506a4864ad
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/264172
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agodrivers: media: video: detect platform at runtime
Chetan Kumar N G [Mon, 1 Jul 2013 21:43:11 +0000]
drivers: media: video: detect platform at runtime

This change is a part of the effort to enable runtime
platform detection and reduce compile-time conditionals.

Bug 1333554

Change-Id: Ia56fd49a0e4900f059e5f442a43734c21259a125
Signed-off-by: Chetan Kumar N G <chetankumarn@nvidia.com>
Reviewed-on: http://git-master/r/264033
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoarm: tegra: Register throttling once per platform
Diwakar Tundlam [Tue, 20 Aug 2013 20:07:58 +0000]
arm: tegra: Register throttling once per platform

Also removed tegra-hard from loki until really needed

Bug 1345131
Bug 1315460

Change-Id: I253e25ee698ce06f905c70a3b249eaa7779d5e97
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/264020
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>

6 years agoARM: tegra12: dvfs: enable GPU dvfs config
Prashant Malani [Fri, 19 Jul 2013 01:36:28 +0000]
ARM: tegra12: dvfs: enable GPU dvfs config

Change-Id: I7a2ff7cf4a3d3312cb25b7d975c8c630809058de
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/263494
Reviewed-by: Chao Xu <cxu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: ardbeg: decrease Vmin for vdd_gpu
Prashant Malani [Tue, 30 Jul 2013 01:27:48 +0000]
ARM: tegra: ardbeg: decrease Vmin for vdd_gpu

Decrease minimum possible voltage for gpu rail
for TI regulator devices to allow gpu DVFS Vmin
to be reached.

Bug 1329868

Change-Id: I2b27195a8bfab9d40054ec2f6e490a5cd60f25b9
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/263493
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agoARM: tegra: Disable temporal dithering for some board/panels
Chao Xu [Mon, 12 Aug 2013 21:40:16 +0000]
ARM: tegra: Disable temporal dithering for some board/panels

Temporal dithering causes DC to generate inconsistent CRC values,
which is inconvenient for the display tests.

Bug 1343680.

Change-Id: I5adbc35c20e92b7174278caffa71b75e952fa0ce
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/263435
Reviewed-by: Xue Dong <xdong@nvidia.com>

6 years agoARM: tegra12: dvfs: fix gpu dvfs settings
Prashant Malani [Tue, 20 Aug 2013 23:34:19 +0000]
ARM: tegra12: dvfs: fix gpu dvfs settings

Update vdd_gpu rail settings so that we can reach the lowest voltage
setting of 810 mV.

Also change the 700 MHz entry to 702 MHz, since GPU clock can not reach
700, Without this, setting 700 would result in voltage being set to the
next higher range.

Bug 1352610

Change-Id: I19b1f759a0b88acc4d52e2bf87966ef8407ded82
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
Reviewed-on: http://git-master/r/264115
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

6 years agovideo: tegra: gk20a: increase the timeout for clock registers.
Kevin Huang [Thu, 1 Aug 2013 16:12:45 +0000]
video: tegra: gk20a: increase the timeout for clock registers.

Bug 1340570

Change-Id: I2be4f43c242f6d3ecbc6466d4ebf2f38522433bd
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/263520
Reviewed-by: Ken Adams <kadams@nvidia.com>

6 years agoARM: tegra: powergate: Support unbalanced powergate/ungate
Chao Xu [Tue, 20 Aug 2013 20:11:18 +0000]
ARM: tegra: powergate: Support unbalanced powergate/ungate

In Ardbeg AMS system DC could generate unbalanced powergate/ungate
requests, depending on HDMI HPD state during dc probing phase. In
stead of fixing the requests from dc side, this change allows the
driver to tolerate this unbalanced requests.

Bug 1332587.

Change-Id: I7839894c2a3ff6ab7c223b639e5e300589293c85
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/264024

6 years agoarch: config: tegra update mods defconfig
Vivek Aseeja [Wed, 21 Aug 2013 00:34:51 +0000]
arch: config: tegra update mods defconfig

Enable SQUASHFS, RAISERFS, FSCACHE, TMPFS etc
Disable PPP support

Change-Id: I16eda205066ad64bac84a54edb4fdd88eb732c51
Signed-off-by: Vivek Aseeja <vaseeja@nvidia.com>
Reviewed-on: http://git-master/r/264118
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Lael Jones <lajones@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

6 years agovideo: tegra: gk20a: increase GVA space to 32GB.
Kevin Huang [Thu, 8 Aug 2013 18:44:34 +0000]
video: tegra: gk20a: increase GVA space to 32GB.

Bug 1240060

Change-Id: I8402a81d5faea4186e850a681d085cfbccb71bee
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/263530
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ken Adams <kadams@nvidia.com>

6 years agoarm: t124: Add "tegra-gpio" entry for Device Tree.
Hayden Du [Wed, 21 Aug 2013 07:00:33 +0000]
arm: t124: Add "tegra-gpio" entry for Device Tree.

Bug 1352814

Change-Id: I44752c2f453e9accb594a8c0c250cbd48165c703
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/264238
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: Assert reset when power ungating
Terje Bergstrom [Wed, 7 Aug 2013 10:06:26 +0000]
ARM: tegra: Assert reset when power ungating

On Tegra14, Ensure unit is in reset when powering it back on.

Bug 1329416
Bug 1331777
Bug 1322046

Change-Id: I91817d5f4f6f04e34e22f4c204fb88dec2dd180b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/259539
(cherry picked from commit 3cffcb33f0039a34ba70f582e42b4b011b6786e8)
Reviewed-on: http://git-master/r/264236
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

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

Ensure unit is in reset when powering it back on.

Bug 1329416
Bug 1331777
Bug 1322046

Change-Id: I8ef6646a8fe2ae85fdb836f3222678e5f77a784c
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/256139
(cherry picked from commit 814f276c512cd49abbf15c64e14f8a9bbeb22d39)
Reviewed-on: http://git-master/r/264235
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: make DTV config independent of TEGRA_SYSTEM_DMA
Laxman Dewangan [Wed, 21 Aug 2013 07:34:27 +0000]
video: tegra: make DTV config independent of TEGRA_SYSTEM_DMA

Config TEGRA_SYSTEM_DMA is going to be remove and hence removing
its reference.

Change-Id: Ida4a6c9ea809842cc12b1fdd4f0ee7540b08dacf
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264242

6 years agochromeos: config: remove TEGRA_SYSTEM_DMA
Laxman Dewangan [Wed, 21 Aug 2013 07:32:48 +0000]
chromeos: config: remove TEGRA_SYSTEM_DMA

This config is no more used and hence removing this.

Change-Id: Ib34e072ce5eeb178dce7e9e58e755e39c03b263a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/264241

6 years agoiommu/tegra: smmu: Use dma_map_linear to reserve
Hiroshi Doyu [Wed, 21 Aug 2013 04:58:26 +0000]
iommu/tegra: smmu: Use dma_map_linear to reserve

Use dma_map_linear instead of iommu_map to reserve this area against
being overwritten by other clients.

Bug 1297607

Change-Id: Iaef0a9d819dc64623a19d3124466fc90842563af
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/264254
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: dma-mapping: Set iommu_ops before attach
Hiroshi Doyu [Wed, 21 Aug 2013 04:59:44 +0000]
ARM: dma-mapping: Set iommu_ops before attach

Make iommu_ops available before iommu_attach_devce()

Bug 1297607

Change-Id: I41f6f8c71e7056f67f8245bbcddd1cd6f3ecf5bf
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/264253
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agovideo: tegra: Enable VI by default
Terje Bergstrom [Tue, 20 Aug 2013 08:15:03 +0000]
video: tegra: Enable VI by default

Enable building VI by default if nvhost is built in.

Change-Id: Ie8f03a2ccbe88a20e7e0151827bb32425e6f2a4a
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/263765