]>
rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/log
Mitch Luban [Mon, 22 Sep 2014 22:58:37 +0000 (15:58 -0700)]
Revert "ARM: tegra: skip USB resume from LP0"
This reverts commit
55837bf3e100bc3db1e839cfbaf326201991abd3 .
Bug
1556894
Change-Id: If0ff720f7f9025ae1ddc914ffee5a66c306e38fa
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/501392
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
David Dastous [Mon, 22 Sep 2014 17:56:27 +0000 (10:56 -0700)]
tegra: adsp: Disable emc dfs due to APE
Bug
1556941
Change-Id: Ife638675569980540bb52924b5b81d6d8b4e9b3a
Signed-off-by: David Dastous <ddastoussthi@nvidia.com>
Reviewed-on: http://git-master/r/501322
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
Arto Merilainen [Mon, 22 Sep 2014 17:28:32 +0000 (20:28 +0300)]
video: tegra: host: vii2c: Add NULL pointer check
VI-I2C close call did not check that the pointer was not NULL. This
caused a kernel panic if the device was not available.
This patch adds the missing NULL pointer check.
Change-Id: I90c6ba79b4dd70d46571002fcbd10636c590f9ce
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/501316
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Timo Alho <talho@nvidia.com>
Konsta Holtta [Mon, 22 Sep 2014 10:44:45 +0000 (13:44 +0300)]
NVIDIA-REVIEWERS: update storage module
Add tegra sdhci files discovered using gcov.
Change-Id: Icaf7ff24618d8bc63bd05924bf3fd29cbe4e3479
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/501209
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Zheng Liu [Tue, 2 Sep 2014 21:51:33 +0000 (14:51 -0700)]
arm: tegra12_defconfig: renormalize the defconfig
No actual configuration changes. Config items have shifted around,
causing confusion when making actuall configuration changes.
This defconfig is generated with the following process under the
kernel directory:
make tegra12_defconfig
make oldconfig
make savedefconfig
cp defconfig arch/arm/configs/tegra12_defconfig
Change-Id: Ic0c197cf6bad4cb4ddd7742215fab8a1e8d30a50
Signed-off-by: Zheng Liu <zhliu@nvidia.com>
Reviewed-on: http://git-master/r/494897
(cherry picked from commit
be010face4ec72da81bac0f84314a3f1c45d147e )
Reviewed-on: http://git-master/r/496620
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>
Zheng Liu [Fri, 29 Aug 2014 22:07:50 +0000 (15:07 -0700)]
tegra: sound: export symbols for module access
Export symbols so the sound driver can be built as a module.
Bug
1536426
Change-Id: I86fa8800df1988f630b4e45d4cbf1733c039c837
Signed-off-by: Zheng Liu <zhliu@nvidia.com>
Reviewed-on: http://git-master/r/494120
(cherry picked from commit
96919f55ac0cb4c28aee2e4447ecc1e18a593cfd )
Reviewed-on: http://git-master/r/496619
GVS: Gerrit_Virtual_Submit
Reviewed-by: Allen Martin <amartin@nvidia.com>
Johan Hovold [Mon, 26 May 2014 17:23:45 +0000 (19:23 +0200)]
USB: cdc-acm: fix runtime PM imbalance at shutdown
commit
5292afa657d0e790b7479ad8eef9450c1e040b3d upstream.
Make sure only to decrement the PM counters if they were actually
incremented.
Note that the USB PM counter, but not necessarily the driver core PM
counter, is reset when the interface is unbound.
Fixes: 11ea859d64b6 ("USB: additional power savings for cdc-acm devices
that support remote wakeup")
(cherry picked from commit
4421a014e97c6669db6eb8600ce83d29e5484842 )
Change-Id: Idf7965f1e60bdda475ed0be28b0db07e0b0b300a
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/500885
GVS: Gerrit_Virtual_Submit
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
Konsta Holtta [Mon, 22 Sep 2014 07:27:06 +0000 (10:27 +0300)]
platform: tegra: add GCOV_PROFILE in Makefiles
Enable GCOV profiling in Makefiles under tegra platform drivers. This
change has no effect if CONFIG_GCOV_KERNEL is not set in defconfig. This
patch only makes it easier to trigger GCOV for the kernel.
Change-Id: I6610c599aaaf8a9d50c8e4a6354a1112d1dae2a4
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/501112
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Arto Merilainen [Sun, 21 Sep 2014 13:43:56 +0000 (16:43 +0300)]
video: tegra: host: Fix building w/o gather filter
Change-Id: I376ac5f55d64f039951f6a73bf4f324c2c63136b
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/501054
Reviewed-by: Automatic_Commit_Validation_User
Arto Merilainen [Sun, 21 Sep 2014 13:41:12 +0000 (16:41 +0300)]
video: tegra: host: Get ch aperture per host1x
Currently, channel aperture is read in the host1x channel hardware
implementation. In order to make this suit needs in future chips,
move the aperture calculation to chip specific hardware includes.
Change-Id: Idee846f8b5086764c2eac8f7fa49f5220aba60b3
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/501053
Reviewed-by: Automatic_Commit_Validation_User
Arto Merilainen [Thu, 18 Sep 2014 08:22:38 +0000 (11:22 +0300)]
video: tegra: host: vii2c: Respect kconfig
vii2c was built always as part of nvhost. Make the driver respect
Kconfig and add necessary stub functions to allow that.
Change-Id: I089ad87c9f7507a034cf213cf2617fc35a88d458
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/500702
Reviewed-by: Automatic_Commit_Validation_User
Bharath H S [Wed, 3 Sep 2014 13:25:08 +0000 (18:55 +0530)]
kernel: Enable tegra-gmi-char support in K3.10
For kernel 3.10 tegra-gmi-char driver,
* Use __exit and __init instead of __devinit and __devexit
* Enable nor clk
* Set default CS based on platform device
bug
1530764
bug
200034937
Change-Id: I1b357a3dccac72ed95fb848c70be2eacbb332016
Signed-off-by: Bharath H S <bhs@nvidia.com>
Reviewed-on: http://git-master/r/495182
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Lauri Peltonen [Fri, 22 Aug 2014 01:08:31 +0000 (18:08 -0700)]
gpu: nvgpu: cde: Increase the number of cde contexts
Allocate four channels for cde jobs.
Bug
1546619
Change-Id: Id2637f71426f42c2d553d38cd74873b9f0628b55
Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com>
Reviewed-on: http://git-master/r/499671
Reviewed-by: Jussi Rasanen <jrasanen@nvidia.com>
Tested-by: Jussi Rasanen <jrasanen@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Rakesh Babu Bodla [Mon, 1 Sep 2014 14:49:10 +0000 (20:19 +0530)]
Revert "clock: tegra21: Disable hardware power sequencer"
This reverts commit
4e228d5aa88b7c4011f5d8d06e41c4efcea6830a .
Bug
1546103
Change-Id: I921333fc1a47f4e21f4165f3bf54d637cabe44b6
Signed-off-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/500144
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Petlozu Pravareshwar [Fri, 19 Sep 2014 16:04:17 +0000 (21:34 +0530)]
xhci: tegra: Check connect status for setting CDP
During LP0 resume, check the connect status of
USB2.0 utmi ports and enable CDP detection for
only the ports which are not connected.
For connected ports, we are anyhow re-enabling
the CDP upon removal of the device.
Bug
1522728
Change-Id: I7782c686d458ceae03fe619b211ef1a967761cc2
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/500832
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Shardar Shariff Md [Fri, 19 Sep 2014 12:31:20 +0000 (18:01 +0530)]
arm: dts: t124: add tn8 a00-01 dts file
add new tegra124-tn8-e1784-1101-a00-01.dts file
Bug
200022742
Change-Id: Ifaa3cc4c6a8c7fc308131b5dd50d3f67c252349a
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/500755
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Manikanta [Thu, 18 Sep 2014 08:51:40 +0000 (14:21 +0530)]
arm64: dt: tegra: add BT regulator entry in DT
bug
200039184
Change-Id: I8a2c544233c36130289d064e646b92848d360680
Signed-off-by: Manikanta <mmaddireddy@nvidia.com>
Reviewed-on: http://git-master/r/500219
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Vandana Salve [Mon, 15 Sep 2014 15:03:22 +0000 (20:33 +0530)]
dma:coherent: API dma_get_coherent_stats added
API to get base and size of dma coherent memory
bug
1519517
Change-Id: I72a2b92c2fcdad9a672f7b338f1ab9e7f9fe4c90
Signed-off-by: Vandana Salve <vsalve@nvidia.com>
Reviewed-on: http://git-master/r/498888
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Suresh Mangipudi [Fri, 13 Jun 2014 05:39:13 +0000 (11:09 +0530)]
ARM: tegra: skip USB resume from LP0
Change to skip USB resume from LP0 when wake source is other than USB
Bug
1410165
Change-Id: I8fd177a128aca837dee8f737a783b59a5925e3c2
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/454002
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit
6ea5e7c896c547cf23d1e0e8d54ff87503db92f1 )
Reviewed-on: http://git-master/r/498749
Arto Merilainen [Wed, 17 Sep 2014 09:58:57 +0000 (12:58 +0300)]
video: tegra: host: Use acm extensions
This patch moves Falcon drivers to use common ACM extensions for
resetting the engine and writing clockgating registers.
For now, add only the known prod values to T124 specific code.
On T210, add known disable values and the initial prod values.
The table needs to be recreated using a generator script once
it is available.
Bug
200006528
Change-Id: I932545fab74173ac6dde62336f5d848897e8ffcb
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/499788
Arto Merilainen [Wed, 17 Sep 2014 08:08:49 +0000 (11:08 +0300)]
video: tegra: host: Extend acm infrastructure
Falcon units have some special code paths for acm which are
this far implemented inside Falcon drivers. This patch adds
infrastructure to move some of the required infrastructure to
acm level.
Bug
200006528
Change-Id: I15fd1e010267c86f2204cc2f9ffdb2d8735fae51
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/499696
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Arto Merilainen [Wed, 17 Sep 2014 09:55:04 +0000 (12:55 +0300)]
video: tegra: host: Move falcon firmware sw inits
This patch moves falcon firmware to be loaded as part of falcon
boot process. In order to keep consistency over drivers, move the
sw initialisation in the beginning of corresponding boot function
in all falcon units.
Also fix build warning of unused variable in case bootloader is not
used.
Bug
200006528
Change-Id: I63f39627f854af3883d07f8ac71063185271205a
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/499787
Mitch Luban [Fri, 19 Sep 2014 23:26:53 +0000 (16:26 -0700)]
arm64: tegra: disable reboot on panic
Tegra WDT should take care of this situation.
Change-Id: I9e36d6078649122a0c9bf2b25ed14d2d2731771d
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/500937
Vineel Kumar Reddy Kovvuri [Fri, 19 Sep 2014 11:23:23 +0000 (16:53 +0530)]
tegra: dc: Add shutdown event callback
Add shutdown event callback to dc out ops.
This helps in notifying system shutdown event to DC clients
before calling dc disable.
- Fixes regulator disable failure when device is shutting down
Bug
1552858
Change-Id: I1e945e6ff7b0cd6a37f6e001b9257061978c1d58
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/500726
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
bhs [Fri, 22 Aug 2014 17:17:46 +0000 (22:47 +0530)]
tegra: vcm30t124: Enable UBIFS and UBI support
We need support for UBIFS and UBI layer for flashing UBI filesystem into
NOR for early video usecase in vcm30t14.
bug
1528224
Change-Id: Ibb60cb0b0b5aa739ad9e86e3ea041875fe789f6f
Signed-off-by: bhs <bhs@nvidia.com>
Reviewed-on: http://git-master/r/487044
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
sreenivasulu velpula [Mon, 1 Sep 2014 05:29:57 +0000 (10:59 +0530)]
arm: tegra: dvfs: documentation update
Bug
200007568
Change-Id: Ib6b51ae1be2d0761719886bc78419776e2fff35e
Signed-off-by: sreenivasulu velpula <svelpula@nvidia.com>
Reviewed-on: http://git-master/r/494354
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Steven Kao [Tue, 2 Sep 2014 10:57:26 +0000 (18:57 +0800)]
iio: light: Fixed read parameters failed from dtb
Bug
200030395
Change-Id: I79a33818e009981da2284eb4a9dd3a57b4476c42
Signed-off-by: Steven Kao <skao@nvidia.com>
Reviewed-on: http://git-master/r/494676
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Animesh Kishore [Sat, 20 Sep 2014 09:06:35 +0000 (14:36 +0530)]
video: tegra: hdmi: fix aval calculation
Bug
200032932
Change-Id: I1119014bf23e729c71cb01405a6d66f6535de7e3
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/501018
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Animesh Kishore [Wed, 17 Sep 2014 15:59:17 +0000 (21:29 +0530)]
video: tegra: hdmi: scdc watchdog support
Monitor scdc periodically to check for loss
of tmds config.
Bug
1553267
Change-Id: I664dd6e0d65236ebf89ffc2f8f0695db731c1cfd
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/501026
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Animesh Kishore [Wed, 17 Sep 2014 12:38:26 +0000 (18:08 +0530)]
video: tegra: hdmi: Add v2.0 support
Support 4K@60Hz, pclk upto 600MHz.
Bug
1553267
Change-Id: Icf21651f5eced637ea41c25f1a758e87df40e758
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/501015
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Animesh Kishore [Wed, 17 Sep 2014 12:36:07 +0000 (18:06 +0530)]
arm64: dts: Remove hdmi panel specific entries
Bug
1553267
Change-Id: I1cdc2fde9373de36735a46be69d98150cb1b8d63
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/501014
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
R Raj Kumar [Tue, 12 Aug 2014 05:16:32 +0000 (10:46 +0530)]
mmc: tegra: add NVQUIRK_UPDATE_PIN_CNTRL_REG qurik
Added NVQUIRK_UPDATE_PIN_CNTRL_REG quirk check for
updating SDMMC pinctrl settings.
Change-Id: I9355f7b196c2890bb011d0402d95b6f02226ce1c
Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-on: http://git-master/r/455367
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Sri Krishna chowdary [Thu, 4 Sep 2014 13:39:43 +0000 (19:09 +0530)]
platform: tegra: iommu: Cleanup unused code
tegra-smmu now gets address space properties from domains=
property in SMMU device tree node. So, devices which have DT
nodes and which do not, are initialized from map properties got
from DT.
So, __tegra_smmu_map_init_dev() is not used anymore. Clean it up.
Bug
200031968
Change-Id: I3f5f06f948a3adf0e0a96246043ce3c19396008e
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/494309
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Sri Krishna chowdary [Mon, 8 Sep 2014 07:54:03 +0000 (13:24 +0530)]
ARM: dt: tegra: set #iommu-cells to 1
Align iommus= property to what upstream recommends.
Bug
200032393
Bug
200031968
Change-Id: I221595b56b9176349025e88fc73679e88e19f24b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/496772
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Sri Krishna chowdary [Thu, 4 Sep 2014 13:12:44 +0000 (18:42 +0530)]
iommu/tegra: smmu: Dynamic swgid-asid support
Get swgid->asid mapping by traversing the list of
asprops populated during probe from domains= property.
Since adding domains= property, swgid for a device is sufficient
to retrieve the information needed to create a mapping. So, there is
no need to get the same information using non DT initialization.
Removing it as it is redundant.
Bug
200020468
Bug
200031968
Change-Id: I0d50c3166dad3b32564cf95b67182218181a3998
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/495654
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Sri Krishna chowdary [Tue, 16 Sep 2014 11:45:05 +0000 (17:15 +0530)]
iommu/tegra: smmu: retrieve AS props from domain
The address space properties were attached to each device,
this does not confirm to upstream iommus bindings and this
approach is not extendible to devices which still rely on fixup
tables.
Retrieve the asprop info from DT during probe and store it in
a list. Since, the number of domains are just 5, traversing the list,
although O(n) does not slowdown the initialization much.
Also, add support to retrieve swgids from iommus= as per upstream bindings.
At this point, we still support the downstream way of handling things but
it will be removed a little bit later.
Bug
200032393
Bug
200020468
Change-Id: I3c75207110e6aa79296d1fd7a45046f065e6a759
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/495653
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Seshagir.H [Wed, 17 Sep 2014 10:29:56 +0000 (15:59 +0530)]
mmc: tegra: update tap coeffs for sdmmc
bug
200035711
bug
1441833
Change-Id: I35ee45e0c37a931bc2036bb0125e5a936cb3d6d4
Signed-off-by: Seshagir.H <sholi@nvidia.com>
Reviewed-on: http://git-master/r/499744
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Seshagir.H [Wed, 17 Sep 2014 10:25:41 +0000 (15:55 +0530)]
arch: arm: vcm30t124: change sdmmc parent pllm to pllc
As per new POR frequency changes for pll's,
we need to select pll_p and pll_c are the pll
parents for SDMMC
bug
1548380
bug
200035711
Change-Id: I4dcf440237d184bf7d07fc4ae9ac355d3f7a08e5
Signed-off-by: Seshagir.H <sholi@nvidia.com>
Reviewed-on: http://git-master/r/499742
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Sang-Hun Lee [Sat, 20 Sep 2014 00:39:23 +0000 (17:39 -0700)]
Revert "clock: tegra21: Enable PLLE SS configuration"
This reverts commit
200e9be3c3c9a11f29039cde4817e6849fde338c .
- The above change prevents Foster HDD boot up
Bug
1556477
Change-Id: I9591ac9f54bacd967ebf5da6975e8e5390dd36a3
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/500964
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Jay Bhukhanwala [Wed, 17 Sep 2014 03:04:27 +0000 (20:04 -0700)]
arm64: dts: Remove bootargs from chosen node
The shim layer and cboot shall append to the kernel command line
present in the /chosen/bootargs.
Right now, cboot overwrites to this property anyway, to avoid conflicts.
Hence, we should be good to remove chosen/bootargs. This is done to be able to
add a property to command line easily, through the top level DTS, if needed,
later on.
Bug
1552234
Change-Id: Ia57a41ed1ea68e45bc3e0fea15b93e07b5c06b0c
Signed-off-by: Jay Bhukhanwala <jbhukhanwala@nvidia.com>
Reviewed-on: http://git-master/r/499591
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Rahul Mittal [Thu, 18 Sep 2014 16:16:50 +0000 (21:46 +0530)]
ASoC: tegra-alt: Allow mono in dai params
Allow mono config in dai params where missing.
Required for BT SCO where user space needs to
open alsa device with mono config
Bug
200032907
Change-Id: I2456700ea618dbf84ecece1cf45e67a6a9b14616
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/499374
Reviewed-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Tested-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Puneet Saxena [Sat, 20 Sep 2014 06:35:37 +0000 (12:05 +0530)]
tegra: adsp: Disable adsp DFS and adsp Actmon
Disable adsp dfs and actmon
Change-Id: I50b919ce96b8436a13b6f28c12b33c9c77833fe1
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/501007
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Bitan Biswas [Fri, 19 Sep 2014 16:24:53 +0000 (21:54 +0530)]
ARM64: tegra21: DT: sdmmc pwrdet
Chip specific SDMMC power detect bit passed
through DT
bug
1531762
bug
1548669
Change-Id: I5313d5c43f245705567a6f570384c73b2fdf3942
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/500840
Bitan Biswas [Fri, 19 Sep 2014 16:21:56 +0000 (21:51 +0530)]
mmc: tegra: Update bindings
SDMMC power detect bit for an instance passed
through DT if supported specific to a Tegra chip.
bug
1531762
bug
1548669
Change-Id: I7eea34f37dfe751bd2ab7e4048ad6cd8b85cb458
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/500839
Reviewed-by: Automatic_Commit_Validation_User
Bitan Biswas [Thu, 18 Sep 2014 11:23:04 +0000 (16:53 +0530)]
mmc: sdhci: tegra21: pwrdet config
Configure PMC pwrdet bits for SDMMC based
on set vddio calls.
- Chip specific DT file specifies the
"pwrdet-support" property for SDMMC instance
- If "pwrdet-support" is true, "pwrdet-bit"
DT property specifies PMC bit for the
SDMMC instance
Tegra21 TEMP change as follows no longer needed:
http://git-master/r/494144
bug
1531762
bug
1548669
Change-Id: I36feff08183812a68f4a830e4281c02d3583ea3f
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/500280
Ankita Garg [Wed, 17 Sep 2014 21:58:30 +0000 (14:58 -0700)]
arm64:tegra:loki: Set PMIC gpio2 to open drain
This is a SW WAR to make the hall sensor work. There
is going to be a BOM change to remove certain components
from the board, but with this SW WAR, the hall sensor
would work on existing loki boards.
Bug
1553858
Change-Id: I00f6417038c8319cd97c4695903ed05b2e5d7544
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/499584
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Shravani Dingari [Fri, 19 Sep 2014 11:23:30 +0000 (16:53 +0530)]
tegra: gpio: update lp1 gpio wake variables type
Change lp1 gpio wake variables type from
u8 to u32 as issues are seen when operations
are performed between wake_enb and these variables
Bug
200031843
Change-Id: I1fc20476a3f58b9648870351a46a3e4fac8b1b2e
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/500720
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Arun Shamanna Lakshmi [Wed, 17 Sep 2014 02:53:04 +0000 (19:53 -0700)]
ASoC: tegra-alt: Create t210ref machine driver
This change is for creating t210ref machine driver for automotive
Bug
1442940
Bug
1537191
Change-Id: I6f13a5acdd36973ed79bd950b5ffeba19246a4d6
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Signed-off-by: Junghyun Kim <juskim@nvidia.com>
Reviewed-on: http://git-master/r/499969
Arun Shamanna Lakshmi [Wed, 17 Sep 2014 02:51:16 +0000 (19:51 -0700)]
arm: tegra:add SPI_HV_PWR_DET power detect control
Bug
1442940
Bug
1537191
Change-Id: Icee1ddac9479d99e4b19532499d19f5799496d0e
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Signed-off-by: Junghyun Kim <juskim@nvidia.com>
Reviewed-on: http://git-master/r/499968
Arun Shamanna Lakshmi [Wed, 17 Sep 2014 02:41:00 +0000 (19:41 -0700)]
arm64: dts: add automotive audio entry for t210ref
1. Add audio entry and audio codec entry
2. Add pinmux configuration for dap2
3. Set i2s1 in master mode and i2s2 in slave mode
4. Change initial frequencies for i2s
Bug
1442940
Bug
1537191
Change-Id: I2283717b3ea0f0e457fe1e5338923eefe950d1e9
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Signed-off-by: Junghyun Kim <juskim@nvidia.com>
Reviewed-on: http://git-master/r/499967
Dara Ramesh [Fri, 19 Sep 2014 06:50:02 +0000 (12:20 +0530)]
adma: tegra210: fix usage of ahub clk_enable
- As ahub clock enable involves voltage change
and hence clk_enable shouldn't be called from
atomic context.
- its not required to enable/disable ahub clock
in adma driver as AHUB audio driver ensure ahub
clock always enable before dma stream open and close.
bug
1551046
Change-Id: I38eeb2285fe73847b3ab7c415dec6755de1ebe72
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/500618
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Terje Bergstrom [Fri, 19 Sep 2014 10:39:36 +0000 (13:39 +0300)]
gpu: nvgpu: Fix calculation of MMU debug address
Fix calculation of the debug buffer address.
Bug
1551221
Change-Id: I8d7921070549a1689dba0675d83bfdbf76ba5193
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/500705
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Riku Salminen <rsalminen@nvidia.com>
Tested-by: Riku Salminen <rsalminen@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Bitan Biswas [Thu, 18 Sep 2014 11:05:47 +0000 (16:35 +0530)]
ARM64: tegra21: DT: sdio props
Updated few SDIO properties for T210 DT
- sdhci nodes are being passed from loki
common file in loki/foster cases
- default-drv-type spelt correctly
- max-clk-limit set as POR
Change-Id: Ic7b0238303598578d4aa5d7a274a04940e98e4d4
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/500275
Hoang Pham [Thu, 18 Sep 2014 00:58:03 +0000 (17:58 -0700)]
clock: tegra21: Update vi source clocks
Add clk-m as a source
Change-Id: I07a0c14e015d0d71639cea997fd408b701ba2928
Signed-off-by: Hoang Pham <hopham@nvidia.com>
Reviewed-on: http://git-master/r/500058
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Anand Prasad [Wed, 17 Sep 2014 17:12:28 +0000 (10:12 -0700)]
Arm64: Configs: Add SYSEDP_FRAMEWORK to defconfig file.
Change-Id: I7074010272dad8e86c27245869f456fbf2c3437c
Signed-off-by: Anand Prasad <anprasad@nvidia.com>
(cherry picked from commit
d928be7c104618cfef57fb4703328e601bdfe28f )
Reviewed-on: http://git-master/r/499896
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
Alex Waterman [Sat, 9 Aug 2014 01:55:21 +0000 (18:55 -0700)]
arm: tegra: mc: Add SMMU regs to mc-regs-t12x.h
Add the PTSA registers for the SMMU to the mc-regs-t12x file.
Change-Id: I5f4c0c11331790f0d2241d2dd489df268d3aed10
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/499874
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Alex Waterman [Thu, 7 Aug 2014 20:36:09 +0000 (13:36 -0700)]
arm: tegra: mc: Add SMMU regs to mc-regs-t21x.h
Add the PTSA registers for the SMMU to the mc-regs-t21x file.
Normally all SMMU reigsters are filtered out of this header
but these registers don't really belong to the SMMU - they
belong to the MC.
Change-Id: I5b9e9487d5f8a874449a39b0528d2b8457178439
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/499873
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Alex Waterman [Tue, 29 Jul 2014 19:33:12 +0000 (12:33 -0700)]
arm: tegra: mc: Move LA code to tegra drivers
Move the latency allowance code to the tegra MC driver directory
from the mach-tegra directory. This is necessary since the
mach-tegra directory will be removed.
Change-Id: Iaafeb35b78fef54e59a7330b118b04334968cef4
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/499872
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Ankita Garg [Thu, 11 Sep 2014 23:41:55 +0000 (16:41 -0700)]
arm64:tegra:loki: Enable Hall Sensor on loki
Bug
1553858
Change-Id: I01cca348a1ac7ea606faf0283cbcb2546413d39e
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/498047
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Alex Frid [Fri, 29 Aug 2014 01:16:44 +0000 (18:16 -0700)]
ARM: tegra: Enable GPU DVFS on Tegra21 platforms
Change-Id: I2972a3c6ede8d6198551d358d812edd611a241b2
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/500068
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Alex Frid [Tue, 16 Sep 2014 20:24:58 +0000 (13:24 -0700)]
dvfs: tegra21: Set default GPU speedo to 2275
Changed default GPU speedo value to 2275.
Change-Id: I86923f959fb646792d8cfdbe3f8244ef78d8d9d6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/500066
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Alex Frid [Fri, 19 Sep 2014 02:27:02 +0000 (19:27 -0700)]
ARM: tegra: power: Adjust Tegra21 EMC actmon weight
Set Tegra21 EMC actmon weight to match 64-byte atom size on Tegra21.
Change-Id: I11e796844b194825d2621d6eeaa430757c06c65c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/500537
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Zheng Liu [Fri, 29 Aug 2014 22:03:24 +0000 (15:03 -0700)]
arm: tegra: export symbol for module access
Export tegra_get_board_info to allow sound driver to be
built as a module.
Bug
1536426
Change-Id: Id125cce6fbef1a70c438bec2eabadf5fdc698272
Signed-off-by: Zheng Liu <zhliu@nvidia.com>
Reviewed-on: http://git-master/r/494119
(cherry picked from commit
eac6d05eceb68465e2b98b2755a88fb4e11485af )
Reviewed-on: http://git-master/r/496618
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Allen Martin <amartin@nvidia.com>
Hui Fu [Tue, 16 Sep 2014 22:00:33 +0000 (15:00 -0700)]
arm64: dts: loki: enable USB3.0 device mode.
Enable USB3.0 device mode on MicroAB port.
Change-Id: I83bc556767af57ae9bd1a3ea6eeaa6079f1cc8d9
Signed-off-by: Hui Fu <hfu@nvidia.com>
Reviewed-on: http://git-master/r/499545
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Ajay Gupta [Wed, 17 Sep 2014 05:32:55 +0000 (22:32 -0700)]
arm64: tegra: dts: fix DT for xusb on Foster
Changes done to enable SS host on STD-A connector
and OTG host/device on micro-AB connector
- Added xudc to enable xudc device controller
- Fixed portmap, ss_portmap and lane_owner for Foster
- Corrected the regulator name for avddio_usb required for SS host
Change-Id: I423a97eefbc3023ffb0df303c6ae968898eea31e
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/499639
Reviewed-by: Hui Fu <hfu@nvidia.com>
Tested-by: Hui Fu <hfu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Jon Mayo [Thu, 18 Sep 2014 20:19:28 +0000 (13:19 -0700)]
video: tegra: dc: fix cursor prototype
The implementation and prototype for tegra_dc_cursor_image() did not use
the same parameter declaration. This change updates the interface to
match the implementation. There was little risk in the original as the
u32 and enum ended up being the same size on this driver's
architectures.
Bug
200032218
Change-Id: I1e0871c9c6ad4d44a416cbb6a2fab34f5e5df621
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/500437
Ajay Gupta [Tue, 16 Sep 2014 22:07:52 +0000 (15:07 -0700)]
usb: gadget: xudc: Fix SS port programming
Needed to enable different SS port mapped to OTG port such as,
ERS - UTMIP0 mapped to SS0 port
Foster - UTMIP0 mapped to SS3 port
Change-Id: I03d78e699a4dfbcb8e1f822c3d0917e418e965eb
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/499638
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Jon Mayo [Tue, 9 Sep 2014 21:19:44 +0000 (14:19 -0700)]
video: tegra: dc: provide debugfs to force hotplug
debugfs node tegradc.[01]/hotplug controls the override.
0 for normal hpd, 1 for force on, -1 for force off
This supports any output that supports hotplug. It does
not play well with systems that switch outputs dynamically.
Change-Id: I2f38c86c100e03b1303c05dcf7745804d63fb2e4
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/498933
Megha Dey [Thu, 11 Sep 2014 00:26:43 +0000 (17:26 -0700)]
PTM : tegra21 : Add PTM driver
Bug
1512961
Change-Id: I7ca11a31734e5c432af97d3b49aa3308a3261efa
Signed-off-by: Megha Dey <mdey@nvidia.com>
Reviewed-on: http://git-master/r/438358
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
Rohan Sreeram [Mon, 15 Sep 2014 23:21:08 +0000 (16:21 -0700)]
video: tegra: Export tegra_dc_get_bandwidth
Change-Id: I11dde09d7a2fc1f2aeb61a4bcaa0d3e6fb9a8fe8
Signed-off-by: Rohan Sreeram <rsreeram@nvidia.com>
Reviewed-on: http://git-master/r/499063
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Lael Jones <lajones@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Peter Newman [Mon, 18 Aug 2014 18:19:12 +0000 (11:19 -0700)]
tegra: ivc: skip ivc areas disabled by hypervisor
This change allows the partition configuration to override the device
tree's instantiation of an IVC shared area without impacting the
functionality of IVC communication with other guests.
Bug
1540840
Change-Id: Ic7bb135a4e81a9abd3087a2f417f94ea97e0018d
Signed-off-by: Peter Newman <pnewman@nvidia.com>
Reviewed-on: http://git-master/r/487766
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Arun Shamanna Lakshmi [Thu, 18 Sep 2014 23:35:26 +0000 (16:35 -0700)]
ASoC: tegra-alt: Fix DAPM map for BT-SCO
1. Fix the BT mapping for B00 (it was misplaced in a0x map)
2. Have unique spdif dummy codecs for each dai link interface
Change-Id: I05f9aaada8751ef89254827682d75f4e3dcdc0a4
Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Reviewed-on: http://git-master/r/500481
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Simon Je <sje@nvidia.com>
Reviewed-by: Justin Kim (SW-TEGRA) <juskim@nvidia.com>
GVS: Gerrit_Virtual_Submit
Alex Frid [Sat, 13 Sep 2014 01:36:18 +0000 (18:36 -0700)]
clock: tegra21: Scale down EMC before suspend
Bug
200035855
Change-Id: I76676ea6ea97330e994492e77d84d6742b1d4166
Signed-off-by: Alex Frid <afrid@nvidia.com>
(cherry picked from commit
f8165b64bde2dccb9f07bde239053aec863618f2 )
Reviewed-on: http://git-master/r/499661
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Alex Frid [Sat, 13 Sep 2014 01:36:18 +0000 (18:36 -0700)]
ARM: tegra: power: Add interface to check suspend mode
Added interface to check if selected suspend mode is LP0.
Bug
200035855
Change-Id: I7726bf93e1744555c5d71c42a46e0e0b212d3f23
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/500090
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Yan <byan@nvidia.com>
Shardar Shariff Md [Thu, 18 Sep 2014 15:15:30 +0000 (20:45 +0530)]
regulator: max77620: handle ramp delay for LDOx
Handle ramp delay for LDOx regulators
Bug
200036984
Change-Id: I58ac8ab6d18f1e3e1fdd773176b8c072fa49ea76
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/500330
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Shardar Shariff Md [Wed, 17 Sep 2014 18:47:00 +0000 (00:17 +0530)]
watchdog: max77620: add ping callback
add ping callback which will be called
through userspace to pet the watchdog
and remove workqueue implemenation for
petting
Change-Id: If5b045f3a1a399039fbe7b6605e87864b99ee86e
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/499907
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Mallikarjun Kasoju [Thu, 18 Sep 2014 09:35:40 +0000 (15:05 +0530)]
extcon: adc-jack: convert to adc value to its absolute value
convert adc value to its absolute value before using it to check for cable state.
Bug
200034528
Change-Id: Id8347860792494b8d0a9103a41975b9a9838f44c
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/500237
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Mallikarjun Kasoju [Thu, 18 Sep 2014 09:30:58 +0000 (15:00 +0530)]
staging: iio: adc: convert adc read value to interger
convert adc read value to integer before returning adc value.
Bug
200034528
Change-Id: If82079b22ef18f2434e8dbf219beb5940d3c77d6
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/500236
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Rene Houle [Wed, 30 Jul 2014 08:40:18 +0000 (01:40 -0700)]
ALC5639: Combining all Realtek tweaks
Cache sync optimization
Fix for pop on speaker
Class-D Amplifier tuning
Update provided by Realtek
Change-Id: Ic445ecbd7398d03a9b9bc59f46b5d75d921ced77
Signed-off-by: Rene Houle <rhoule@nvidia.com>
Reviewed-on: http://git-master/r/453165
GVS: Gerrit_Virtual_Submit
Reviewed-by: Manoj Gangwal <mgangwal@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Joy Wang [Thu, 18 Sep 2014 02:41:19 +0000 (10:41 +0800)]
platform: tegra: padctl: fix usb_calib fuse
Need to use USB_CALIB[28:22] to program utmi port2
HS_CURR_LEVEL.
Change-Id: If5abcbe4f81418a6a65efcea5b96870ce67f21a0
Signed-off-by: Joy Wang <joyw@nvidia.com>
Reviewed-on: http://git-master/r/500101
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Manoj Chourasia [Thu, 24 Apr 2014 12:07:50 +0000 (17:37 +0530)]
mtd: ubi: Remove incorrect assertion in ubi
mtd->writesize varies w.r.t NOR flash, the assert in ubi/build.c is incorrect.
Remove the meaningless assert in ubi layer.
bug
1492724
bug
1528224
Change-Id: Ibf658e02a021823a10825f0c2903ee75d2b99140
Signed-off-by: Manoj Chourasia <mchourasia@nvidia.com>
Signed-off-by: Bharath H S <bhs@nvidia.com>
Reviewed-on: http://git-master/r/400870
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Tested-by: Sandeep Trasi <strasi@nvidia.com>
Sang-Hun Lee [Thu, 18 Sep 2014 01:40:55 +0000 (18:40 -0700)]
ata: ahci: do not set PLLE_ENABLE_T210 bit
- Do not set PLLE_ENABLE_T210 bit as it causes a Foster boot failure
until the issue is root caused
Bug
1555570
Change-Id: I30ec813dfdc0abcb522f6219815aa5fe401bfef8
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/500070
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Sang-Hun Lee [Mon, 15 Sep 2014 22:47:59 +0000 (15:47 -0700)]
ata: ahci: do not use 7bit align detection
Bug
200035882
Change-Id: I9db4e416a65710a6411918addd7a4d82009007fd
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/499024
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Preetham Chandru <pchandru@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Tao Xie <txie@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Arto Merilainen [Thu, 18 Sep 2014 08:38:08 +0000 (11:38 +0300)]
gpu: nvgpu: gm20b: Require rework for DVFS and rg
Boards require a rework to make railgating and DVFS work realiably.
The information whether the board has been reworked or not will be
available on DTS.
This patch adds a DTS check to the GPU driver initialisation. If the
rework information is not available (or the rework has been marked as
disabled), railgating and DVFS are disabled.
Bug
1555485
Change-Id: Ie86fe35fb94377403472faffcbcaec645b6e40d9
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/500218
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Viraj Karandikar [Tue, 16 Sep 2014 11:23:31 +0000 (16:53 +0530)]
ASoC: tegra-alt: don't init ADSP at boot
Do not initialize ADSP using work queue. Initialization will be
done from userspace by setting mixer control "ADSP init" to 1.
Bug
1552863
Change-Id: I0fd435b581a4fb9e851e8505e451c52cf0746df2
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/499313
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Terje Bergstrom [Thu, 18 Sep 2014 11:55:21 +0000 (14:55 +0300)]
gpu: nvgpu: Clear invalid method
Invalid method needs to be cleared in gm20b to prevent getting same
interrupt again.
Change-Id: I4d83d1a27e5c711b5d82b95552be84d5f16a13e0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/500286
Darren Sun [Wed, 17 Sep 2014 12:36:00 +0000 (05:36 -0700)]
ARM64: Tegra: Add PowerMon DT node for E2220
Bug
200030812
Change-Id: I07f4de6f0d8f0f6eb8290b36fa3d64f63da3fcb8
Signed-off-by: Darren Sun <darrens@nvidia.com>
Reviewed-on: http://git-master/r/499789
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Deepak Nibade <dnibade@nvidia.com>
Rakesh Bodla [Fri, 11 Jan 2013 04:34:50 +0000 (10:04 +0530)]
ARM: tegra: usb_phy: update offsets for calib setup
Update calibration setup offsets. This is different
for different controllers.
Bug
1216168
Change-Id: Ice55cc62672dce4097ce7caf60d5572af60877a6
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/500178
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Terje Bergstrom [Thu, 31 Jul 2014 11:33:32 +0000 (14:33 +0300)]
gpu: nvgpu: FE object table has 4 elements
Restrict reading of FE object table to the number of entries
available.
Change-Id: I11275ecd14e53f0b763d00d65042adb4b1e8ae6f
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/449306
Terje Bergstrom [Thu, 18 Sep 2014 09:01:18 +0000 (12:01 +0300)]
gpu: nvgpu: Use polling to detect runlist switch
Runlist event is not sent in gm20b for updated runlist. Polling is
the preferred way also for gk20a.
Bug
1555239
Change-Id: I60de084db69f848f63451f1f3078f183ca51ba50
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/500241
Dara Ramesh [Thu, 18 Sep 2014 11:34:07 +0000 (17:04 +0530)]
asoc: codec: audience: update HPL and HPL_CTRL reg
- update cached HP_L gain and HPL_CTRL to HW,
firmware resets this register space to detecting
wired accessory.
Change-Id: I2a0db5699785bad2a5727ab14e6dbd794410dfd0
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/500281
Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Tested-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Dara Ramesh [Thu, 18 Sep 2014 06:13:50 +0000 (11:43 +0530)]
asoc: codec: audience: Don't clear cachedcmd_list
Don't clear cachedcmd_list from Algorithm kcontrol
The cachedcmd_list now holds the refcount information for each MUX which
is set twice. If it is cleared from the Algorithm kcontrol when it is
set to Off, it would erase the refcount information as well which is
required to update the power state of DAPM widgets when refcount reaches
to zero.
Added an extra check for skipping the power state update for DAPM
widget. In case of dragon board XML, if the playback is running and the
capture is started via Sound Recorder app, the MUXes are not set twice
as they are already set. But the disable sequence of playback gets
executed. In this case, the refcount of all the MUXes would be
decremented in disable sequence, and that would break the DAPM route
even if the TX (capture) stream is still active. The extra check of
active streams before updating the power state of DAPM widget will keep
the DAPM route as it is.
bug
200037978
Change-Id: I397a22e59d95fb4474d93aaf8e5a7def0d24c222
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/500174
Reviewed-by: Viraj Karandikar <vkarandikar@nvidia.com>
Tested-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Tested-by: Vinod Subbarayalu <vsubbarayalu@nvidia.com>
Konsta Holtta [Wed, 10 Sep 2014 14:23:31 +0000 (17:23 +0300)]
gpu: nvgpu: implement poll() for semaphores
Add poll interface and control ioctls for waiting for GPU job completion
via semaphores.
Poll on a gk20a channel file waits for events from pending semaphore
interrupts (stalling) of that channel. New ioctls enable and disable the
events, and clear a single interrupt event so that next poll doesn't
wake up for it again.
Bug
1528781
Change-Id: I5c6238966b5d0900c8ab263c6a7f8f2611901f33
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/497750
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Terje Bergstrom [Fri, 19 Sep 2014 05:09:21 +0000 (22:09 -0700)]
Revert "[mods] Window bandwidth check w/o ISO mgr support"
This reverts commit
d494a770aec5e0420129c2668621f63d2486463f . It causes build failure.
Change-Id: I072001eb52c81df85e957f25a638fca761c7c5b3
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/500555
Arto Merilainen [Thu, 18 Sep 2014 10:39:54 +0000 (13:39 +0300)]
Revert "[TEMP] arm:tegra:t210: SDMMC3 fix for power detect"
This reverts commit
2e9d2712f8062373d282718108f62f6f41c2a73c .
Bug
1555652
Bug
200038778
Change-Id: I898f18b9e975ba0dcf43f00b760c0a162c9b1ad8
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/500265
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Charlie Huang [Wed, 17 Sep 2014 22:08:50 +0000 (15:08 -0700)]
arm64: config: tegra21: enable vi-i2c support
the CONFIG flags were wiped out by other team, re-enable them.
bug
1546954
Change-Id: Id19e7bcfafd5c2378e86c6bca694ed3d2e3b16a1
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/499966
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Rakesh Babu Bodla [Wed, 17 Sep 2014 15:43:58 +0000 (21:13 +0530)]
ARM64: dts: tegra: enable y cable on loki
Enable y cable on loki.
Bug
200034528
Change-Id: I96efd324611b984c5a20a27256ff3bc13fc59860
Signed-off-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/499845
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Konsta Holtta [Fri, 5 Sep 2014 07:59:05 +0000 (10:59 +0300)]
gpu: nvgpu: ioctl support flags in gpu characteristics
Expose supported nvgpu ioctls to userspace via bits in the flags field
of nvhost_gpu_characteristics; currently define two bits for special
memory allocation support.
Bug
1539747
Change-Id: I1bc9333b12825d07a00b7a4136ae9d35816a5855
Signed-off-by: Konsta Holtta <kholtta@nvidia.com>
Reviewed-on: http://git-master/r/495942
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Rakesh Babu Bodla [Wed, 17 Sep 2014 15:15:38 +0000 (20:45 +0530)]
usb: otg: tegra: support y cable through extcon
Add support for y cable through extcon device
notifications.
Bug
200034528
Change-Id: Ibb225154c9b1ab55e53a1c6c2f3a910dbb5b3bfc
Signed-off-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/499844
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Arto Merilainen [Wed, 17 Sep 2014 07:08:38 +0000 (10:08 +0300)]
video: tegra: host: Move actmon init to acm
This patch removes unnecessary code duplication from Falcon drivers
by moving the actmon hw initialisation inside nvhost_acm.c
Bug
200006528
Change-Id: I5587f89378433a2a62445d5d389390f28efe55f4
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/499695