5 years agopalmas: regulator: do not support charge-pump regulator for non-tps80036
Laxman Dewangan [Thu, 26 Sep 2013 07:55:34 +0000]
palmas: regulator: do not support charge-pump regulator for non-tps80036

Bypass the regulator registration of CHARGE_PUMP regulator for non-tps80036
Palmas devices.

Change-Id: Ie5ed3b8619f7825a77aac7b0a72b5a932feea868
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/279230
(cherry picked from commit 2ae7fd6b43fe0df6bccd13530e568baeda574c60)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agomfd: palmas: add support for DT
Laxman Dewangan [Thu, 26 Sep 2013 07:31:43 +0000]
mfd: palmas: add support for DT

Add DT support for Palmas mfd driver.

Change-Id: Id96e62031790c77d9e9ee333068e49901c0126e3
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 4897d990b665cc27cc3645ea437a51585cabaab0)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agomfd: palmas: cleanup error path
Laxman Dewangan [Thu, 26 Sep 2013 07:23:39 +0000]
mfd: palmas: cleanup error path

Fix the resource leak and clean the error path.

Change-Id: I4b5697ab2cedb8bd7cc00a49e572071d7c91ab8d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 62c91240337bed836e654a685d81e326b71e4b5c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoextcon: palmas: add extcon connection name property for DT
Laxman Dewangan [Thu, 26 Sep 2013 09:56:00 +0000]
extcon: palmas: add extcon connection name property for DT

Add property to set the extcon connection name so that the name
can be configure from DT.

Change-Id: Ifdee07cb60d2e29a764eea31989954ca5f4e2300
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/279285
(cherry picked from commit ed979fecab6c4edfe2d3eb8452aee029f6c3e580)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agofury: add default dts for project fury
Hayden Du [Thu, 26 Sep 2013 03:54:37 +0000]
fury: add default dts for project fury

Change-Id: I12b868aae65493790d579340d7ad0b1851ab9aaa
Signed-off-by: Hayden Du <haydend@nvidia.com>
(cherry picked from commit 0c73453d229391d73ea76563391fd3b6e436af04)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: gk20a: add elpg_enable sysfs node
Prashant Malani [Tue, 17 Sep 2013 21:31:57 +0000]
video: tegra: gk20a: add elpg_enable sysfs node

Add the ability to toggle elpg on/off at runtime.

Bug 1365937

Change-Id: I2cae49f0eddd116406c50e87a61b6cfab49c4fdf
Signed-off-by: Prashant Malani <pmalani@nvidia.com>
(cherry picked from commit beb42c16d939d2df932dcd174ba38b888ad93b46)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: Remove board specific data
Ashwin Joshi [Tue, 1 Oct 2013 07:30:44 +0000]
ARM: tegra: Remove board specific data

Remove board specific data from common code. It should be set in board
file or passed through a DT.

Bug 1371545

Change-Id: I435bbefd83a9d007b670fcd098dd65e43c6b2fa8
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/280630
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: Ardbeg: Update SATA platform data
Ashwin Joshi [Tue, 1 Oct 2013 07:32:15 +0000]
ARM: tegra: Ardbeg: Update SATA platform data

Pass all board specific data for SATA from board file. Earlier it was
set in common code, moved it to board file.

Bug 1371545

Change-Id: Ice2642e3ee57cad5821224f4607b14559c4a785e
Signed-off-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-on: http://git-master/r/280631
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: mm: fix mm merge conflict
Adeel Raza [Tue, 1 Oct 2013 00:23:43 +0000]
arm: mm: fix mm merge conflict

Bug 1379902

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

5 years agoMerge 3.8 changes up to main-promo-2013.09.30-C1.1
Dan Willemsen [Tue, 1 Oct 2013 18:20:23 +0000]
Merge 3.8 changes up to main-promo-2013.09.30-C1.1

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

5 years ago!FIXUP:power: fix compilation issues
Ajay Nandakumar [Tue, 1 Oct 2013 14:04:52 +0000]
!FIXUP:power: fix compilation issues

Change-Id: I90ed898f9e55684374b2b5f3dc22384924da40b3
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agommc: core: Enable secure sanitize for eMMC4.5
R Raj Kumar [Wed, 4 Sep 2013 13:08:28 +0000]
mmc: core: Enable secure sanitize for eMMC4.5

Enabled secure sanitize operation for eMMC4.5 devices.

Bug 1360376

Reviewed-on: http://git-master/r/270113
(cherry picked from commit 038d9880a2b9ab322e2f76d82e752ff23f95f3ee)
Change-Id: I79de7263803ea9026050b3cf2386d4e5d3013b8a

Signed-off-by: R Raj Kumar <rrajk@nvidia.com>
Change-Id: I86c49d339cc415321c49a31f88c1ce4a30ff36df
Reviewed-on: http://git-master/r/277625
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
(cherry picked from commit 9bf2b9a4cac4c7f8ccfbce014e495288b57f4dc3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: phy:Do not enable pmc during id unplug
Rakesh Bodla [Mon, 2 Sep 2013 05:40:03 +0000]
ARM: tegra: phy:Do not enable pmc during id unplug

Do not enable pmc when id cable is unplugged
from the system.

Bug 1357517

Change-Id: I6e8adae9da6b15ac44987f8169d7607194983a50
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/268916
(cherry picked from commit 19b2ee63c2b55973b7e01898d2b2feb194192851)
Reviewed-on: http://git-master/r/276614
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit efae144ed3807fe41cde9b57cd23a6017f8c52a8)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: nvmap: remove obsolete NvMap API
Krishna Reddy [Wed, 25 Sep 2013 21:01:45 +0000]
video: tegra: nvmap: remove obsolete NvMap API

remove obsolete NvMap API nvmap_mmap/_munmap/_kmap/_kunmap,
nvmap_sg_table/_free_sg_table/_set_host_private/_get_host_private,
nvmap_flush_deferred_cache/duplicate_handle_user_id and
nvmap_get_handle_user_id/_put_handle_user_id.
remove unused macros as well from public header.

Change-Id: Ib8ceacb892a8a648543b4ce1b86f2331aa0d5190
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/279025
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
(cherry picked from commit 7c46dee98669e2b08b5e5f72b0be93c9a82c0f5d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: nvmap: remove nvmap_alloc/__free API
Krishna Reddy [Wed, 25 Sep 2013 20:51:41 +0000]
video: tegra: nvmap: remove nvmap_alloc/__free API

remove the obsolete nvmap_alloc/_free API from public
header and convert these to private for internal use in NvMap.
remove unused _nvmap_free API as well.

Change-Id: I0f3e9ce3bcbdfd425d255bbdde62683fac17809b
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/279022
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit 4645b20750a5ae56a03a416d7b358a280a9c6fa3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agohwmon: ina230: convert suspend/resume to dev_pm_ops
Laxman Dewangan [Wed, 25 Sep 2013 10:59:33 +0000]
hwmon: ina230: convert suspend/resume to dev_pm_ops

In place of implement the suspend/resume in legacy way,
converting it to dev_pm_ops.

This will fix the following warning:
i2c-core: driver [ina230] using legacy suspend method
i2c-core: driver [ina230] using legacy resume method

Change-Id: Ibdd0323fdb2eabb3e83054482ee89ab95795d192
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/278860
GVS: Gerrit_Virtual_Submit
(cherry picked from commit b873084131c6ec10de6abe3e203bf66a1189eb4e)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agodrivers: misc: therm_est: remove shutdown function
Sri Krishna chowdary [Tue, 10 Sep 2013 09:01:40 +0000]
drivers: misc: therm_est: remove shutdown function

Bug 1332127

Change-Id: Idad3bb293e972718485af932ff3e88e1fd5c4250
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/272440
(cherry picked from commit a2b0ae56425c0bd73e83559323e79e0a234d52cd)
Reviewed-on: http://git-master/r/278891
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
(cherry picked from commit 3de10e2e3e1dcb8ff405471ea42a0366bd238f82)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: mm: Invalid pte for DEBUG_PAGEALLOC
Hiroshi Doyu [Wed, 25 Sep 2013 12:23:40 +0000]
ARM: mm: Invalid pte for DEBUG_PAGEALLOC

Invalid pte temporary for debug instead of using read-only page. This
could oops at illegal read too.

Bug 1365298

Change-Id: Ibe3f0f969cb1b1c16cd9fda26d029d8179f2c3b4
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/278900
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
(cherry picked from commit f2a12070ed983b4f2fce1610c59fb86bfc8a57b9)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: mm: Add pte_mk{,in}valid()
Hiroshi Doyu [Wed, 25 Sep 2013 12:21:35 +0000]
ARM: mm: Add pte_mk{,in}valid()

Add accessors to make pte {,in}valid.

Bug 1365298

Change-Id: I4070791cd00cca4c17d550a004aa5df9dd4e0065
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/278899
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
(cherry picked from commit 73dceb29e1d69524e79d54d0391f2bec1cf5d573)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoRevert "ARM: tegra: t124: Disable smmu for sdmmc"
Hiroshi Doyu [Wed, 25 Sep 2013 17:52:13 +0000]
Revert "ARM: tegra: t124: Disable smmu for sdmmc"

This reverts commit 7cf79307649e150d59163cc3d0c8efa173ed3c77.

No point to disable IOMMU for SDMMC.

Bug 1374895

Change-Id: I07338c6c7975c5a055092ddfd2bf53762fed712b
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/278981
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
(cherry picked from commit 181221542ed96bbb882b1e91247a8cd6d04436ca)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agomedia: v4l2: remove videobuf2-dma-nvmap.c
Bryan Wu [Tue, 24 Sep 2013 23:17:53 +0000]
media: v4l2: remove videobuf2-dma-nvmap.c

NvMap is not really necessary for v4l2-core. Remove the dependencies
on NvMap and delete related driver videobuf2-dma-nvmap.c.

Change-Id: I1d8ab709baf262c2127a7fdaa007e5794b193b1e
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/278536
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
(cherry picked from commit 174ec53c55e4236a3214152a1b4179764f0e898f)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agomedia: tegra: use videobuf2-dma-contig.c driver for V4L2
Bryan Wu [Tue, 23 Jul 2013 21:00:00 +0000]
media: tegra: use videobuf2-dma-contig.c driver for V4L2

videobuf2-dma-contig.c driver works fine with Tegra V4L2 driver, so
we don't need to use our own nvmap version of that.

This patch convert Tegra V4L2 driver to use videobuf2-dma-contig.c.

Change-Id: I85348d557fe0171cfce02d6b15a9aad254f62f36
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/278535
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
(cherry picked from commit 7b9440482a663444e9befc616e03e3d7d74664ef)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra11: clock: Move auto-refresh control to CCFIFO
Alex Frid [Sun, 19 May 2013 06:23:27 +0000]
ARM: tegra11: clock: Move auto-refresh control to CCFIFO

Disabled/Enabled auto-refresh during EMC clock change using CCFIFO
mechanism.

Bug 1339693

Change-Id: I00fc1cc4fe4668ed84c1e7a4e105ebbb684b0ca5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/230986
(cherry picked from commit 2c25e71aa46170784809683c2457a885d704373f)
Reviewed-on: http://git-master/r/275554
(cherry picked from commit 1abf6e4757cd5afabe7c3069ff1db60709314fb8)
Reviewed-on: http://git-master/r/277519
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit fc32b7e487d05c26c28e51343cc3d13066327434)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: dc: remove nvmap client creation
Krishna Reddy [Tue, 24 Sep 2013 23:59:53 +0000]
video: tegra: dc: remove nvmap client creation

remove nvmap client creation, which is no longer
necessary.

Change-Id: Ia90a1b5eb948bacbfe00ed9403e656519a31e547
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278551
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Robert Morell <rmorell@nvidia.com>
(cherry picked from commit 39a3fcc0d2c39ce9fdb728e3f88830ef4d1ae81e)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: gk20a: Remove unused debugfs entries
Kaz Fukuoka [Tue, 24 Sep 2013 17:36:26 +0000]
video: tegra: gk20a: Remove unused debugfs entries

Removed the following obsolete debugfs entries.
- /d/gk20a/cap
- /d/gk20a/cap_thermal
- /d/gk20a/init

Change-Id: Ibf16163983cfa20cfc6d5601053545db9f1754c6
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/278427
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit 3c43e41145739bc67a26cc455239de9c2ce654ca)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: tegra12: nvmap: enable nvmap marshal
Krishna Reddy [Wed, 25 Sep 2013 05:49:14 +0000]
arm: tegra12: nvmap: enable nvmap marshal

Change-Id: I9483ec0698cd54e4a1435f52763a6241d6475da4
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278744
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit bf2dbaf856b83885bb0a3a74df8ccdb185076d1d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: Increase enable time of LDO6
Jeetesh Burman [Tue, 24 Sep 2013 04:28:53 +0000]
ARM: tegra: Increase enable time of LDO6

NCT temperature sensor is powered from LDO6 and it is
observed that it is required to have 1000 microseconds
enable time for regulator to work sensor properly.

Configuring LDO6 rail's enable time to 1000 microseconds.

Bug 1365575

Change-Id: I71def3c1e2c707e6e319573784ab6fc8e94c1e74
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/278132
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 0bd8cc9a0c9b39ea1e4fe1ec88ad28b35967a17b)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: Tegra: Dalmore: Added dvdd supply in dalmore
Jeetesh Burman [Fri, 23 Aug 2013 11:43:50 +0000]
ARM: Tegra: Dalmore: Added dvdd supply in dalmore

Added dvdd supply for device 2-0010 to camera OV9772 module
in dalmore board specific file, so that while trying to get
regulator for device 2-0010 with supply dvdd, won't throw
error message.

Bug 1199043

Change-Id: I262402506bfe4ae9effb905b28cb181058c3b110
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/265520
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 99637f5084e01b0a274b41abc19cb89c4d8fc375)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra Fix warnings in compiling pm.c
Philip Rakity [Thu, 5 Sep 2013 10:24:06 +0000]
ARM: tegra Fix warnings in compiling pm.c

remove unnecesssary typecast in pmc_read/write
remove typecast printk for phys_addr_t

Change-Id: I161ddb3f34ae5bb54845fb9bac507a125f5ebddb
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/270754
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 246be84a48c706e19e8bcb1c5c4127f89d8761e3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: remove warnings on board roth
Philip Rakity [Thu, 5 Sep 2013 12:33:51 +0000]
ARM: tegra: remove warnings on board roth

remove unused variables
move definitions to before code to avoid ISO error

Change-Id: Ied020a11a3b01caa7d091a0c1fb8d25adc2071f0
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/270821
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit eb3c3d4e1f1cbb5e7b1163bbe04a9f31214ec99b)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: ardbeg/loki: Set sdmmc autocal offsets
Pavan Kunapuli [Mon, 16 Sep 2013 15:25:12 +0000]
ARM: tegra: ardbeg/loki: Set sdmmc autocal offsets

Passing 1.8V and 3.3V auto calibration offsets and the UHS modes
in which 1.8V calibration offsets need to be set.

Bug 1347531

Change-Id: Id6762301d474e2c2e6f70d2e8e837bf2b9831a0e
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/275198
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
(cherry picked from commit 2f0a934c2851b4faabc542dff3a069a3c84730c1)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agommc: tegra: Do calibration after uhs mode setting
Pavan Kunapuli [Mon, 16 Sep 2013 15:12:54 +0000]
mmc: tegra: Do calibration after uhs mode setting

To handle overshoot/undershoot in some modes, auto calibration needs
to be run with different offsets. Adding support to run calibration
if required after setting uhs mode.

Bug 1347531

Change-Id: I4b7a72618e5614ff4ebe8ed3baf03c18d3b9e3ca
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/275197
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
(cherry picked from commit 51144fd4c76cf837af41b880effc98c0883e7ec2)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: dsi: Update dvfs during OSidle
Animesh Kishore [Tue, 24 Sep 2013 07:13:09 +0000]
video: tegra: dsi: Update dvfs during OSidle

Bug 1372849

Change-Id: I783730ae6ec6cf565ad1655dfd885299b5501ea1
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/278272
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
(cherry picked from commit 8804ab60c8aee8c7b00943337c29f8212a65ff0e)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: tegra: laguna: Add irq entry for DP
Animesh Kishore [Fri, 20 Sep 2013 14:15:39 +0000]
arm: tegra: laguna: Add irq entry for DP

Bug 1371504

Change-Id: I9581a0186c0e8a50fcde0c2688d92f5285b104b4
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/277229
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
(cherry picked from commit 2eccfc0f958dfb9920b5d9bc4f53e8c0c1c05e7e)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: loki: Enable Hall Effect Sensor
Ankita Garg [Tue, 10 Sep 2013 00:33:14 +0000]
ARM: tegra: loki: Enable Hall Effect Sensor

Bug 1346464

Change-Id: I5516049a3bccb5a10feab9dcc62b1bc1d7fbb593
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/272233
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit dc01e43f1ee1f45aa82723fdda078f2b1065ef8c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: dp: Implement irq handler and hpd
Animesh Kishore [Fri, 20 Sep 2013 14:18:09 +0000]
video: tegra: dp: Implement irq handler and hpd

1. Implement interrupt handler
2. Wait for hpd plug before auxilary transaction

Bug 1371504

Change-Id: I290a34926b17f2f74c926db664d46a488e0a14e8
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/277230
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
(cherry picked from commit 272069a43f18fbd1d812549b25bfbaf17a4f91eb)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: tegra: laguna: Add pinmux for DP
Animesh Kishore [Fri, 20 Sep 2013 14:14:23 +0000]
arm: tegra: laguna: Add pinmux for DP

Bug 1371504

Change-Id: Ic95e4024ab35311e3ccb9d79d4488703b697675a
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/277228
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
(cherry picked from commit 71b1762a64600dd3ee381a35a1a962c4a8ec9d6a)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: config: Removed RM31080A from L4T defconfig
Jeetesh Burman [Wed, 11 Sep 2013 06:31:26 +0000]
arm: config: Removed RM31080A from L4T defconfig

Since CONFIG_TOUCHSCREEN_RM31080A is not required for l4t
defconfig, so removing this config from l4t defconfig.

Bug 1353958

Change-Id: I450e9726d27ef689cca96458265ecf3664197d54
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/272960
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 2f185311fc50ec9ee648e431387354cd87c8ad63)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: pinmux: update Fsafe options for T124
Ashwini Ghuge [Mon, 23 Sep 2013 12:12:25 +0000]
ARM: tegra: pinmux: update Fsafe options for T124

Bug1319925

Change-Id: I6d3c9100fbcffb4434817e5a3f64063101b69570
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/277880
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit abc86efc9035c8c2e7cb781a373fd8a2a9c4d772)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agofs: eventpoll fix unused variable warning
Philip Rakity [Thu, 19 Sep 2013 13:13:45 +0000]
fs: eventpoll fix unused variable warning

/nvidia/DEV_KERNEL/kernel/fs/eventpoll.c:
In function 'get_epoll_file_task':
/nvidia/DEV_KERNEL/kernel/fs/eventpoll.c:1682:21:
warning: unused variable 'whead' [-Wunused-variable]

Change-Id: I605474bff372c6dae0603caa26b33e1c62f07ab5
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/276697
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit f82a5acac38fdd91ba5e1fa35cf31c67048dfdaf)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: configs: build bq2477x by default
Andy Park [Wed, 11 Sep 2013 23:55:55 +0000]
arm: configs: build bq2477x by default

BQ24773 is the default battery charger on ardbeg PMIC. Enabling the
build by default.

Bug 1344257

Change-Id: I4dc50f19add294a3be60d1c012c94ecc65b825fb
Signed-off-by: Andy Park <andyp@nvidia.com>
Reviewed-on: http://git-master/r/273408
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit b2b4e49466c6004de376261423f8b0376d298008)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoregulator: as3722: fix unused var warning
Philip Rakity [Tue, 24 Sep 2013 11:54:58 +0000]
regulator: as3722: fix unused var warning

/nvidia/DEV_KERNEL/kernel/drivers/regulator/as3722-regulator.c:
In function 'as3722_ldo3_set_mode':
/nvidia/DEV_KERNEL/kernel/drivers/regulator/as3722-regulator.c:404:6:
warning: unused variable 'val' [-Wunused-variable]

Change-Id: I1b96a5750b6589adc4d9a3d76cd3848f466811b9
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/278344
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 7887902cf31f4ea819c41f34c4a3099a50b43b52)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: tegra: fury: add NCT chip id to /sys
Chun Xu [Wed, 18 Sep 2013 12:54:44 +0000]
arm: tegra: fury: add NCT chip id to /sys

Read

accelerometer_id
charger_id
compass_id
gps_id
gyroscope_id
lcd_id
light_id
touch_id

from NCT into /sys/kernel/tegra_nct/.

Bug 1361476

Change-Id: Ieac5b33cfd0c8dfaae7cc8512a56de9451ff91b7
Signed-off-by: Chun Xu <chunx@nvidia.com>
Reviewed-on: http://git-master/r/276301
Reviewed-on: http://git-master/r/277607
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 0677f7650d3007f617cb1da97411d45ecd96282d)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: Ardbeg:LDO8 tracking functionalization
Terry Wang [Thu, 12 Sep 2013 11:49:09 +0000]
ARM: tegra: Ardbeg:LDO8 tracking functionalization

Change VDD_RTC voltage to 0.8V in LP0 for T124
Enable LDO8 tracking mode in LP0.

bug 1366215

Change-Id: I339cae35bd27e1bd3560afabd5d5ce09266b4468
Signed-off-by: Terry Wang <terwang@nvidia.com>
Reviewed-on: http://git-master/r/273754
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hunk Lin <hulin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit d61509fda38ce01a1a0b897fa12822a4e3a41f79)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoregulator: core: set current constraints while setting machine constraints
Laxman Dewangan [Fri, 20 Sep 2013 07:43:02 +0000]
regulator: core: set current constraints while setting machine constraints

Machine constraints is configured during regulator register. If current
constraints are provided through machine constraints then it is observed
that sometime the current configured on rail is out of range what machine
constraint has.

Set the current constraints when setting machine constraints to make
sure that rail's current is within the range of given machine constraints.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit f8c1700dd7d2ce9b2238b20d364317b2968ac76b)

Change-Id: I0d533a9ef0e3cc61e9d31263ebec56c1767073b3
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/277823
(cherry picked from commit 80c105e54d3450f286815ef9ff3a424b2d13d982)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoregmap: add helper macro to set min/max range of register
Laxman Dewangan [Fri, 20 Sep 2013 12:30:10 +0000]
regmap: add helper macro to set min/max range of register

Add helper macro to set the min and max value of the register range.

This is useful when initialising the register ranges of the device like

static const struct regmap_range readable_ranges[] = {
regmap_reg_range(DEVICE_REG0, DEVICE_REG10),
};

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 6112fe60ac1bd1e68da8cc4248289d6e48015f9b)

Change-Id: Id7a06d69f8c9f180ce7da067d148b00f79c82c83
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/277831
GVS: Gerrit_Virtual_Submit
(cherry picked from commit 71dbe9c2d15b52c205982ae1ef54da6f299231fd)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoregulator: core: add support for configuring turn-on time through constraints
Laxman Dewangan [Mon, 23 Sep 2013 10:50:00 +0000]
regulator: core: add support for configuring turn-on time through constraints

The turn-on time of the regulator depends on the regulator device's
electrical characteristics. Sometimes regulator turn-on time also
depends on the capacitive load on the given platform and it can be
more than the datasheet value.

The driver provides the enable-time as per datasheet.

Add support for configure the enable ramp time through regulator
constraints so that regulator core can take this value for enable
time for that regulator.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
(cherry picked from commit 00c877c69ba315d6c565a4df51c71b11e82cdeb8)

Change-Id: I2fa17ec0edcc1a2071f88892f8e15b1ae60009b9
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/277822
GVS: Gerrit_Virtual_Submit
(cherry picked from commit dd27579000b7ab44b1e996cdb00327dcdc47b49c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agousb: otg: tegra: Acquire temopary wakelock
Rohith Seelaboyina [Fri, 13 Sep 2013 09:40:47 +0000]
usb: otg: tegra: Acquire temopary wakelock

Acquire temporary wakelock to resume roothub
in the case when interrupt is seen and otg port is in
host mode and bus is suspended and device is entering lp0.

Bug 1341131

Change-Id: If206756624fb89544c53a34ae934ed6c581fe5e8
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/274260
(cherry picked from commit ab586818b5e23fccec89d1b1aa4865a8dc0df1d3)
Reviewed-on: http://git-master/r/274342
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit d76cb524887a1cadf79f62510a1aa57153bbc3d4)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agosound: pci: hda: fix compilation error
Krishna Reddy [Tue, 24 Sep 2013 21:10:31 +0000]
sound: pci: hda: fix compilation error

fix compilation error and warnings.

Change-Id: I3edc04b7677c23282bf21bfd20631d88ea660b29
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278501
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit 16aec429bf803f63df02b6da4f8788cf69e12fa3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: dsi: Fix DSI prod settings
Vineel Kumar Reddy Kovvuri [Fri, 13 Sep 2013 06:21:15 +0000]
video: tegra: dsi: Fix DSI prod settings

Bug 1319070

Change-Id: I1ed7688f8d225207dc8cbd2f0ddbe30ed85e8eb6
Signed-off-by: Vineel Kumar Reddy Kovvuri <vineelkumarr@nvidia.com>
Reviewed-on: http://git-master/r/274119
(cherry picked from commit 46561ea76de59428a579197659c418b384787c53)
Reviewed-on: http://git-master/r/278261
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit c1d9853f3354037c5098d5f2d35a7efed94a6fab)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: dtv: fix qos request warnings
Mallikarjun Kasoju [Tue, 24 Sep 2013 11:16:23 +0000]
video: tegra: dtv: fix qos request warnings

qos reqeust is being done with IRQs disabled. Fixed it by
moving qos request outside of spin_lock_irqsave/spin_unlock_irqrestore

Bug 1350300

Change-Id: I5539a04baa31fbef516cca9b3870a361e50367ed
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/278334
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit 976200ea85854f80fb79eb658782d79e82b797ee)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: tegra: iovmm: remove iovmm header file
Krishna Reddy [Tue, 24 Sep 2013 17:11:23 +0000]
arm: tegra: iovmm: remove iovmm header file

remove unused iovmm header file.

Change-Id: Ib5bcaf238db61fe5dddba0cbb518fbc89499fa5e
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278416
(cherry picked from commit 50dd50c8d031e8f54703b7e40d39afb71dd3a756)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: tlk: Disable redundant l1 d$ inval
Scott Long [Wed, 28 Aug 2013 23:52:43 +0000]
ARM: tegra: tlk: Disable redundant l1 d$ inval

tlk issues an l1 dcache invalidate that covers both secure and non-secure
worlds.  This makes the l1 dcache invalidate in __invalidate_cpu_state
redundant when tlk is enabled.

Disabling this redundant dcache invalidate shaves ~25usecs off our lp2
wake time (as measured by lp2_latency.sh).

Test coverage included:

 * ran 1000 iterations of targeted_lp_kpi.sh
 * numerous runs of lp2_latency.sh
 * testapp in a loop for 10+ minutes

Bug 1358982

Change-Id: I627c307f4d539a9db29f324760e25abeee2698e3
Signed-off-by: Scott Long <scottl@nvidia.com>
(cherry picked from commit a7de348dc0f2978db79d62e886eb3f63af85aced)
Reviewed-on: http://git-master/r/278100
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: James Zhao <jamesz@nvidia.com>
Tested-by: James Zhao <jamesz@nvidia.com>
Reviewed-by: Chris Johnson <cwj@nvidia.com>
(cherry picked from commit 383ff8faf08a338412ef8a584f194ea092dc0ad2)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoarm: tegra: update dvfs table add pllc_out entry
Xue Dong [Tue, 17 Sep 2013 23:43:58 +0000]
arm: tegra: update dvfs table add pllc_out entry

Change-Id: I986d261c9a2fc03fcfbce84aec07f281d5721c00
Signed-off-by: Xue Dong <xdong@nvidia.com>
Reviewed-on: http://git-master/r/270380
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit d2f698c9c653c5098eb5d121038dd362785c8b0e)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: nvmap: create dmabuf with handle
Krishna Reddy [Mon, 23 Sep 2013 21:51:13 +0000]
video: tegra: nvmap: create dmabuf with handle

Create dmabuf during handle creation. This is necessary
to support using Fd's for handles.

Change-Id: Ifd8980afb54e03588eddfe37947f017b121ebdea
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278006
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit 66f3222c4a25808ffa188ab3a63fdb57ce23d495)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: nvmap: marshal/unmarshal id
Krishna Reddy [Mon, 23 Sep 2013 21:24:46 +0000]
video: tegra: nvmap: marshal/unmarshal id

marshal/unmarshal id differently to allow using
Fd's to represent NvMap handles.

Change-Id: I86d0391132700b7c493fd20e48d752a82a658039
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/271081
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit d8038011f1cf34abe28fb539acfead23843364d0)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: host: gk20a: Add EMC scaling
Arto Merilainen [Tue, 24 Sep 2013 07:13:48 +0000]
video: tegra: host: gk20a: Add EMC scaling

This patch enables EMC scaling on gk20a. We use the same quadratic
relationship that we have used on earlier SoCs.

Bug 1374521

Change-Id: I16cc7b7ec114394d67143387f2bb6fc94ab523b9
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/278232
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ilan Aelion <iaelion@nvidia.com>
Tested-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit 3acb168651fa1c4f5022a9af35703b9da5261f4c)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: host: gr3d: Separate EMC parameters
Arto Merilainen [Tue, 24 Sep 2013 06:46:11 +0000]
video: tegra: host: gr3d: Separate EMC parameters

EMC parameter calucation and usage was interwoven with gr3d
initialisation and clock scaling, however, we wish to use similar
approach in clock scaling on other devices.

This patch refactors gr3d devfreq device profile so that emc scaling
parameters can be estimated and used without using the actual gr3d
devfreq profile.

Bug 1374521

Change-Id: Ibf9a74556f3cb6734c3c3fb4b1939f6835c6e782
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/278231
Reviewed-by: Ilan Aelion <iaelion@nvidia.com>
Tested-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit 27276d9f8b56be9bc1c01f1980e4f86f9da3184b)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agomisc: tegra-profiler: guard pl310 with kernel config
Matt Craighead [Fri, 20 Sep 2013 18:28:42 +0000]
misc: tegra-profiler: guard pl310 with kernel config

Don't attempt to access the PL310 unless the kernel config
indicates that it exists.

Change-Id: I07eeb0eead095ecd0f3caa36393fce1697b87d56
Signed-off-by: Matt Craighead <mcraighead@nvidia.com>
Reviewed-on: http://git-master/r/277313
Reviewed-by: Edgardo Handal <ehandal@nvidia.com>
Tested-by: Edgardo Handal <ehandal@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>
(cherry picked from commit 023737d7ca069684172e70f979784d9f344bfcb3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agosound: pci: hda: use DmaBuf interface
Krishna Reddy [Mon, 23 Sep 2013 23:45:19 +0000]
sound: pci: hda: use DmaBuf interface

Use DmaBuf interface instead of NvMap.

Change-Id: Iae5c5e3e15f336626a4601f05523332a6f0718cb
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278045
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit 6d564f7a33ab65364f2c6251ab94957247a03006)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agoARM: tegra: delete invalid cache init for tegra12
Bo Yan [Tue, 24 Sep 2013 08:09:25 +0000]
ARM: tegra: delete invalid cache init for tegra12

T124 has no PL310. The cache init is invalid.

Change-Id: I21095e0d613900a5d11cd54b58f229bbc524aecc
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/278264
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com>
Reviewed-by: Adeel Raza <araza@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
(cherry picked from commit 80b5a63c27420f38130a2b7a5ebeef1b3557d3f7)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: gk20a: GPCPLL sliding and slowdown
Kaz Fukuoka [Tue, 6 Aug 2013 21:09:54 +0000]
video: tegra: gk20a: GPCPLL sliding and slowdown

- If P and M do not change, use NDIV sliding.
- Otherwise, use slowdown and bypass.

bug 1341729

Change-Id: I2cdb02cbbbe79f3aa04afce029e02fe7f42b1985
Signed-off-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-on: http://git-master/r/273961
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit 0f3e428c77fb8aa5017761bc892ee06e74331990)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: host: ptimer scale factor sysfs node
Adeel Raza [Wed, 31 Jul 2013 23:52:00 +0000]
video: tegra: host: ptimer scale factor sysfs node

Add sysfs node which shows the gk20a ptimer scaling factor. Real time
can be calculated using ptimer time, ptimer scaling factor, and the
following equation:
    real_time = ptimer_time * ptimer_saling_factor

Bug 1321168

Change-Id: I684bd137479f47de0b27b11dd89f9c2ddecaa29c
Signed-off-by: Adeel Raza <araza@nvidia.com>
Reviewed-on: http://git-master/r/276786
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Ken Adams <kadams@nvidia.com>
(cherry picked from commit d9e5eed437e4955f9076f053b78628517819174a)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agovideo: tegra: nvmap: set inner cache maint threshold correct
Krishna Reddy [Tue, 6 Aug 2013 00:05:33 +0000]
video: tegra: nvmap: set inner cache maint threshold correct

set inner cache maint threshold correct for t124.
use permission macros for debugfs nodes.

Change-Id: I6b4c2a7c11e018dd13c91c5b752fbe7ca1e4d6e7
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278107
(cherry picked from commit d16cb9915916371f394193110bae727fd778bf25)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>

5 years agousb: host: tegra: fix spinlock lockup from ehci shutdown
Nitin Kumbhar [Tue, 28 May 2013 13:24:34 +0000]
usb: host: tegra: fix spinlock lockup from ehci shutdown

The ehci_silence_controller() function takes care of ehci's spinlock.
There is no need to explicitly grab this lock during shutdown of
tegra ehci.

Bug 1282033

Change-Id: I6cda8fe970dda907efc2a6275e37342952d4b433
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/279342
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Ashwin Joshi <asjoshi@nvidia.com>
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: config: tegra11: set correct firmware path
Preetham Chandru R [Fri, 27 Sep 2013 12:50:31 +0000]
ARM: config: tegra11: set correct firmware path

Change the firmware path of bcm43241

Bug 1310450

Change-Id: I8677dcd8fa559735711d30fbc3643544221826d3
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/279825
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agonet: wireless: bcmdhd: add bcmdhd 1.28.28
Om Prakash Singh [Thu, 26 Sep 2013 14:48:34 +0000]
net: wireless: bcmdhd: add bcmdhd 1.28.28

Integrate bcmdhd 1.28.28 from android-tegra-nv-3.8 branch

Bug 1310450

Change-Id: Ied5cc5741fb0119524d3b4bff4170fbe4fb4208e
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/279379
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoRevert "cfg80211: enforce lack of interface combinations"
Om Prakash Singh [Tue, 16 Apr 2013 09:29:19 +0000]
Revert "cfg80211: enforce lack of interface combinations"

This reverts commit 8e8b41f9d8c8e63fc92f899ace8da91a490ac573.

Bug 1211946

Change-Id: Ie30436e7e2528708d6d9752f231172e784bca917
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/219753
(cherry picked from commit b1983bf9f869d08595d333ff464a2ffc655a8ae9)
Reviewed-on: http://git-master/r/279378
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: ardbeg/damore: disable UHS mode for WiFi
Om Prakash Singh [Fri, 27 Sep 2013 05:13:02 +0000]
arm: tegra: ardbeg/damore: disable UHS mode for WiFi

disabled UHS mode for now as card enumeration is failing is this
mode. revert this change once UHS mode enabled for sdmmc1

Bug 1310450

Change-Id: Ic73433b93657d3ec13d6a985e84ddf436dd84098
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/279672
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: config: tegra12: enable WIFI_CONTROL_FUNC
Om Prakash Singh [Fri, 27 Sep 2013 05:04:29 +0000]
arm: config: tegra12: enable WIFI_CONTROL_FUNC

Bug 1310450

Change-Id: Icbb6ebaab2d6d608ad902d556c743f493b3c0875
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/279671
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years ago!FIXUP: boot issues with latest merge from main
Bharat Nihalani [Mon, 30 Sep 2013 11:11:06 +0000]
!FIXUP: boot issues with latest merge from main

Change-Id: I47e7cbfd840df5871d24664fdf15311e7ba65e23
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/280243
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Tested-by: Ajay Nandakumar M <anandakumarm@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoMerge 3.8 changes up to main-promo-2013.09.26-B1
Dan Willemsen [Fri, 27 Sep 2013 02:48:35 +0000]
Merge 3.8 changes up to main-promo-2013.09.26-B1

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

5 years agoarm: tn8: add regulator client for OV5693
Hayden Du [Tue, 24 Sep 2013 09:34:13 +0000]
arm: tn8: add regulator client for OV5693

bug 1349826

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

5 years agoxhci: tegra: Add support for xusb use sata lane
joyw [Thu, 12 Sep 2013 06:47:54 +0000]
xhci: tegra: Add support for xusb use sata lane

For some boards, Laguna, use sata lane for SS port 1. Add
support to set relevant register,XUSB_PADCTL_IOPHY_MISC_PAD_S0_CTL_*_0,
in pad ctontrol.

Bug 1366525

Change-Id: I409843c9a8d67ab5438357d550f7ddda0fda4495
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/273556
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

5 years agoARM: tegra: pcie: Use DPD to save power
Jay Agarwal [Tue, 17 Sep 2013 15:20:21 +0000]
ARM: tegra: pcie: Use DPD to save power

Bug 1320273

Change-Id: I601a2c5ecc87c56dfa003f597ddcdf4bc27a2056
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/275813
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

5 years agovideo: tegra: host: Use version in vic fw name
Terje Bergstrom [Sun, 22 Sep 2013 11:31:08 +0000]
video: tegra: host: Use version in vic fw name

Use version in the name of vic firmware.

Change-Id: I298e8de9535172ed26a06abb17959eb72fd07c70
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/277595
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agovideo: tegra: host: Static syncpt data for Tegra12
Terje Bergstrom [Sun, 22 Sep 2013 11:27:53 +0000]
video: tegra: host: Static syncpt data for Tegra12

Assign sync points at compile time for Tegra12 clients.

Change-Id: I8968b7d415fdf55348e8ac30bdc2144f5c730fa4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/277594
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: dma-mapping: Undefined debug_dma_platformdata
Hiroshi Doyu [Tue, 24 Sep 2013 04:57:12 +0000]
ARM: dma-mapping: Undefined debug_dma_platformdata

Fix undefined reference to debug_dma_platformdata

Bug 1373902

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

5 years agoarm: tegra12x: add reference count for venc partition
Prashant Gaikwad [Fri, 20 Sep 2013 06:09:06 +0000]
arm: tegra12x: add reference count for venc partition

We need to have reference count for VE partition as it
has multiple clients in T124.

Bug 1310335

Change-Id: Iea326b8494bec17c7a1e7c2c22d7d112a0121f91
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/276962
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: nvmap: increase file id limit
Krishna Reddy [Wed, 4 Sep 2013 22:03:34 +0000]
video: tegra: nvmap: increase file id limit

increase file id limit to max for nvmap clients.

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

5 years agovideo: tegra: add NVMAP_USE_FD_FOR_HANDLE config
Krishna Reddy [Mon, 23 Sep 2013 20:54:20 +0000]
video: tegra: add NVMAP_USE_FD_FOR_HANDLE config

Add NVMAP_USE_FD_FOR_HANDLE config option to allow
enabling/disabling use of Fd's to represent NvMap
handles in user space.

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

5 years agovideo: tegra: host: use DmaBuf API
Krishna Reddy [Tue, 27 Aug 2013 19:25:20 +0000]
video: tegra: host: use DmaBuf API

use DmaBuf API under nvmap memmgr interface.
convert nvmap handle id/ref to dmabuf and use dmabuf API.
Bug 1356091

Change-Id: Ie171de3a918a94ee390d5ef13ea0aadd9f75b35c
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/266896
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agovideo: tegra: gk20a: add synchronous unmap
Kevin Huang [Sat, 21 Sep 2013 00:02:01 +0000]
video: tegra: gk20a: add synchronous unmap

Add synchronous unmap to FIXED_OFFSET buffers by polling ref-counts.

Bug 1341303

Change-Id: I105428eb3ac926c2e47e410e7af09be42f5e38da
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/277423
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

5 years agomisc: tegra-cec: Updates for T124
Ankita Garg [Tue, 17 Sep 2013 21:29:09 +0000]
misc: tegra-cec: Updates for T124

In T124, the RX_REGISTER_FULL interrupt is cleared
by reading the RX_REGISTER instead of writing to the
INT_STAT register as before.

Bug 1364229

Change-Id: Ib080a48910304553b0752a3ede55ab0d7653dd77
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/275982
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agovideo: tegra: hdmi: T148 Prod settings
Tom Cherry [Thu, 8 Aug 2013 01:07:09 +0000]
video: tegra: hdmi: T148 Prod settings

Bug 1250270
Bug 1316334

Change-Id: I652cc2dd49961bb6ed8cfecd6bd85f6f67699f28
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/261662
(cherry picked from commit 2b051b7000c36de9fdf4142f04379e375af300e3)
Reviewed-on: http://git-master/r/277970
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra11: power: Specify PMU undershoot gaurd-band
Alex Frid [Sun, 12 May 2013 07:06:36 +0000]
ARM: tegra11: power: Specify PMU undershoot gaurd-band

Specified PMU undershoot gaurd-band 100mV for tegratab, macallan, and
pluto boards.

Bug 1285525

Change-Id: I950630c1d3208657fde0a8dda7a538c60cfc706d
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/227756
(cherry picked from commit 31a740326f55b922edc0b3c89839dc2332b4ed35)
Reviewed-on: http://git-master/r/275555
(cherry picked from commit 5b96474ba092c4e32ddece3574d4c63b0ae5400a)
Reviewed-on: http://git-master/r/277520
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra12: dvfs: Set override property for sdmmc
Alex Frid [Sun, 22 Sep 2013 20:06:43 +0000]
ARM: tegra12: dvfs: Set override property for sdmmc

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

5 years agoARM: tegra11: dvfs: Increase DFLL Vmin for AP40/AP40X
Alex Frid [Wed, 21 Aug 2013 19:09:13 +0000]
ARM: tegra11: dvfs: Increase DFLL Vmin for AP40/AP40X

Increased DFLL Vmin for AP40/AP40X to 1.0V (from 0.9V).

Bug 1355044

Change-Id: Ifd95d34f21cc81877e350e287a5481ee28ea9d60
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/264513
(cherry picked from commit 14eb0ca9cce022f08e682728de138ec0036df10e)
Reviewed-on: http://git-master/r/275556
(cherry picked from commit 6216aa0f104fd59cf79e50ae664d9756be69fa0b)
Reviewed-on: http://git-master/r/277518
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: dvfs: Set override property for sdmmc
Alex Frid [Sun, 21 Jul 2013 05:09:18 +0000]
ARM: tegra11: dvfs: Set override property for sdmmc

Bug 1307369

Change-Id: I622ce0e85e6eb100a834241be5e03565a223b3f3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251663
(cherry picked from commit 1f32bf1bcc74b536142e985848ce148358d54b70)
Reviewed-on: http://git-master/r/275550
(cherry picked from commit b6769b239488f87b7c258f413aa00935d6ed974b)
Reviewed-on: http://git-master/r/277517
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra11: dvfs: Update sdmmc dvfs tables
Alex Frid [Mon, 1 Jul 2013 21:43:14 +0000]
ARM: tegra11: dvfs: Update sdmmc dvfs tables

Splitted sdmmc dvfs tables between different Tegra11 skus/bins. Allowed
sdmmc maximum rates at the appropriate nominal voltage for each bin.

Bug 1161126
Bug 1307369

Change-Id: Ida3145ab10feb3ef0e2a170e69c4ef5f4c5a84ed
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/244014
(cherry picked from commit 754354fa55953ade5ac02d9bb79b468a49a4d033)
Reviewed-on: http://git-master/r/275549
(cherry picked from commit ae59844c708de8e2ef7758218f2e69208719a93e)
Reviewed-on: http://git-master/r/277516
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: dvfs: Restrict vdd core override
Alex Frid [Sun, 21 Jul 2013 03:06:24 +0000]
ARM: tegra: dvfs: Restrict vdd core override

Restricted vdd core override to clocks with dvfs override property.

Bug 1307369

Change-Id: Idaf20ac8ab6016b0ca306190ac7e1327354f99b3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251664
(cherry picked from commit dbce70c975587128c7c420b62e3ad0dc5737fbae)
Reviewed-on: http://git-master/r/277515
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra14: dvfs: Set override property for sdmmc
Alex Frid [Sun, 21 Jul 2013 02:33:18 +0000]
ARM: tegra14: dvfs: Set override property for sdmmc

Change-Id: I1dd2d57c0b9c948f28105f103d9e40d674b44615
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251658
(cherry picked from commit fde04c094f9365542fa434a27806cb2430ad227e)
Reviewed-on: http://git-master/r/277514
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra14: dvfs: Update dvfs tables and limits
Alex Frid [Sat, 20 Jul 2013 23:06:23 +0000]
ARM: tegra14: dvfs: Update dvfs tables and limits

- Set nominal core voltage 1.23V for all parts with soc_speedo_id 0
regardless of bin.
- Increased top dvfs table rated for sdmmc1/3 to 204MHz, sdmmc4
to 192MHz, and decreased low voltage sdmmc4 rates to 51MHz.
- Minor change in dvfs table layout for readability.

Bug 1246952

Change-Id: Ibe647f84766a8c0f795b84054ba0a99a440b8f49
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251657
(cherry picked from commit aba3bd957d9079bb142fc800eb3d1f36fd943188)
Reviewed-on: http://git-master/r/277513
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: dvfs: Add override property
Alex Frid [Sun, 21 Jul 2013 02:07:32 +0000]
ARM: tegra: dvfs: Add override property

Added "can override" property to dvfs structure. Skipped dvfs tables
with this property when evaluating available rail override range.

Change-Id: Iced4b7917c3d3edc1f7a5ce77009a854bc50a335
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/251656
(cherry picked from commit 8dab888fa3e0f136a69faf31494820e783d70274)
Reviewed-on: http://git-master/r/277512
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoTegra12: ARM: dvfs: support TN8 cl-dvfs
Seema Khowala [Tue, 17 Sep 2013 18:36:39 +0000]
Tegra12: ARM: dvfs: support TN8 cl-dvfs

Update the ardbeg board for TN8 cl-dvfs settings needed
for TI(I2C) PMIC (E1736)

Change-Id: Ie565f0d3dc92ed144c866f15fe45f830da824403
Signed-off-by: Seema Khowala <seemaj@nvidia.com>
Reviewed-on: http://git-master/r/275918
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agovideo: tegra: host: module debugger framework
Ken Adams [Tue, 17 Sep 2013 16:55:54 +0000]
video: tegra: host: module debugger framework

Framework and implementation of a gk20a
debugger/profiler session interface.

Adds work toward optimized handling of
context patch write sequences.  These introduce
cpu map/unmap operations and gpu l2 invaliates.
Unless we take care to coalesce them they occur
*per write*.

Change-Id: I8afc11a6f6782b80996404acbd01bffe9653ebdd
Signed-off-by: Ken Adams <kadams@nvidia.com>
Reviewed-on: http://git-master/r/274416

5 years agoARM: Tegra12: Clock: Update max frequency limits for soc clocks
Krishna Sitaraman [Fri, 20 Sep 2013 23:33:34 +0000]
ARM: Tegra12: Clock: Update max frequency limits for soc clocks

Update the max frequency limit for soc clock to allow the highest
frequency in the dvfs table.

Bug 1342499

Change-Id: Iad95373bbff10bc60bf6d5d6b92d038476be0071
Signed-off-by: Krishna Sitaraman <ksitaraman@nvidia.com>
Reviewed-on: http://git-master/r/277403
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Chao Xu <cxu@nvidia.com>

5 years agoARM: tegra: loki: add TEGRA_GRHOST=n support
siddardha naraharisetti [Wed, 18 Sep 2013 20:52:39 +0000]
ARM: tegra: loki: add TEGRA_GRHOST=n support

Update loki_host1x_init to support TEGRA_GRHOST=n

Bug 1357903

Change-Id: Ia0f0eec46fe0c6c3fd0e8c10059bf473619642bf
Signed-off-by: siddardha naraharisetti <siddardhan@nvidia.com>
Reviewed-on: http://git-master/r/276416
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoARM: tegra14: clock: show µs timer value at resume
Hervé Fache [Tue, 3 Sep 2013 08:29:58 +0000]
ARM: tegra14: clock: show µs timer value at resume

So we can evaluate the delay between BBC request and frequency boost,
which seems higher than it should be...

Bug 1309858

Change-Id: Ic0c36318b86b1c8baa5329f28cfc3a0430302237
Signed-off-by: Hervé Fache <hfache@nvidia.com>
Reviewed-on: http://git-master/r/269415
(cherry picked from commit 26863dbc1a837951e8a949741d816147db301288)
Reviewed-on: http://git-master/r/276292
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agostaging: nvshm: enable write access to data
Hervé Fache [Wed, 21 Aug 2013 11:58:00 +0000]
staging: nvshm: enable write access to data

Also, all symbols have been exported for use in modules.

Bug 1309858

Change-Id: Ia66424cbe5403f3af134cafd1bda8234086c9ebd
Signed-off-by: Hervé Fache <hfache@nvidia.com>
Reviewed-on: http://git-master/r/264365
(cherry picked from commit 9abc040b2695599aa63d281d6f6498d3d0db6ae1)
Reviewed-on: http://git-master/r/276291
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>