4 years agoof: reserved_mem: fix cell count for memory-region property
Sri Krishna chowdary [Fri, 28 Aug 2015 05:37:15 +0000]
of: reserved_mem: fix cell count for memory-region property

cell count represents the number of cells following a phandle
that are relevant to the phandle. There are 0 such cells for
memory-region property, it contains phandles entirely

Bug 200133729

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

4 years agoARM: configs: tegra13: remove CONFIG_ANDROID
Sri Krishna chowdary [Mon, 24 Aug 2015 17:11:41 +0000]
ARM: configs: tegra13: remove CONFIG_ANDROID

remove android specific configs from l4t defconfig.

Bug 200027296

Change-Id: I2645442d9858e905ecd7e2c10a946691c4129487
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/788278
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

4 years agotegra: adma: fix reg offset in channel_set_field
Viraj Karandikar [Mon, 24 Aug 2015 06:21:01 +0000]
tegra: adma: fix reg offset in channel_set_field

Add missing channel base offset in channel_set_field().
Without the base offset, value from first channel was
read, modified and invalid value was being written to
the channel of interest.

When updating bits in CTRL register, the invalid value
can result in change of direction in middle of transfer.
Specific timing of this change of direction in middle
of transfer can hang ADMA state machine.

ADMA hang can result in incomplete transaction at ABRIDGE,
blocking all further transactions to/from APE modules.
In one particular case, ADSP transactions were getting
blocked causing ADSP hang.

Bug 200123443
Bug 1631557

Change-Id: I5d3392a052f400234ad2fb09e15123094a538132
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/787974
(cherry picked from commit 7a34cae8d03cce61d763ee52f07125f3de46a7a3)
Reviewed-on: http://git-master/r/791041
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>

4 years agosecurity: tlk_driver: pass device info to DMA API
Amit Sharma (SW-TEGRA) [Tue, 25 Aug 2015 08:11:09 +0000]
security: tlk_driver: pass device info to DMA API

API: circ_buf_init() allocates a shared buffer in DMA memory for TLK logging.
For this it calls dma_alloc_coherent() API with first arg: device as NULL.
However, in order to monitor the DMA'able memory in debugfs "/d/dma/usage",
we need the device name info of each client which uses the DMA memory API's
like: dma_{alloc/free}_coherent.

Inorder to get the device info do following:
1) change  startup sequence from arch_initcall to module_init
2) extern declaration of tlk_misc_device in 'ote_protocol.h' and pass
   'tlk_misc_device.this_device' info to DMA API's.

Bug 200134203

Change-Id: Idfb805f84cfd9df1d4c1762740628852c0acca9c
Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/788697
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agomm: disable kswapd for ZONE_HIGHMEM in android only
Amit Sharma (SW-TEGRA) [Fri, 14 Aug 2015 09:05:59 +0000]
mm: disable kswapd for ZONE_HIGHMEM in android only

Disable the kswapd for ZONE_HIGHMEM only for android when ZRAM is disabled.

Bug 200118847

Change-Id: If9c507ebd9cf9be375935321895830c3838916ec
Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/783552
(cherry picked from commit 8a488335b059af9445296c217137cf6e2d1bd37f)
Reviewed-on: http://git-master/r/791513
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>

4 years agomm: avoid kswapd for normal zone when dma32 zone exist in android only
Amit Sharma (SW-TEGRA) [Wed, 19 Aug 2015 05:30:57 +0000]
mm: avoid kswapd for normal zone when dma32 zone exist in android only

Disable the kswapd for normal zone only for android when dma32 zone exists and
ZRAM is disabled.

Bug 200118847

Change-Id: I0de08b194f9271a40f091278c8da8bc59ad14494
Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/785745
(cherry picked from commit fa98a595b0b5029e02338a98e29617dd20e3ddee)
Reviewed-on: http://git-master/r/791514
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agoasoc: tegra-alt: fix admaif channel status check
Dara Ramesh [Thu, 20 Aug 2015 07:59:22 +0000]
asoc: tegra-alt: fix admaif channel status check

-fix incorrect channel status check for playback
and record path

Change-Id: I51ad4541e3e2b6eb68265ab1d712fb0c2082600a
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/786430
(cherry picked from commit c85528601c3f60ec94fab8b081088e4bd5365a15)
Reviewed-on: http://git-master/r/790885
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Viraj Karandikar <vkarandikar@nvidia.com>

4 years agoplatform: nvadsp: Support for static app instances
Ajay Nandakumar [Thu, 25 Jun 2015 17:42:55 +0000]
platform: nvadsp: Support for static app instances

Adding support multi-instance static apps for adsp as adsp build and
load format is changing from elf to bin format.

Bug 200118616

Change-Id: I589343cc6f0ccabae6b8145154e119d2c528c0e5
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/762418
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agopower: max77620: power off the device with SFT_RST
Laxman Dewangan [Thu, 27 Aug 2015 10:41:36 +0000]
power: max77620: power off the device with SFT_RST

Power off device using SFT_RST = 1 and SFT_RST_WK=0 instead of
SFT_RST=1 and PWR_OFF =1.

This will avoid PMIC malfunctioning sometime and cause system to
not power on by power key.

bug 1676570

Change-Id: I58aaed9834e2a7f6458a1107b7950f2c5fcc162a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 715a7655eb535f2bbd140eb4fc222694d62df503)
Reviewed-on: http://git-master/r/791512

4 years agomfd: max77620: disable WK_EN0 on suspend only
Laxman Dewangan [Thu, 27 Aug 2015 11:05:00 +0000]
mfd: max77620: disable WK_EN0 on suspend only

Keep enabling WK_EN0 always and disable only when system
enters into suspend. The WK_EN0 need to disable to avoid
power on sequence violation.

This will avoid the system state where it is not getting power
on even after pressing power key.

Change-Id: I13e545985cdfa7b35f78646e2f5c83bb664ee06a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit f93943056e7d3a2ea2da444bd922160a422580c2)
Reviewed-on: http://git-master/r/791511

4 years agoARM64: t210: always include non-shim DTB on shim DTB
Laxman Dewangan [Tue, 25 Aug 2015 14:56:01 +0000]
ARM64: t210: always include non-shim DTB on shim DTB

Make the SHIM-DTB such that it includes the non-shim DTB and
SHIM override.

This way it will avoid the duplications of nodes and entries.

Change-Id: I98cf233559233c6fffd3849baa9a5bc0c9b527d8
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit ab43f164784a67d990314bcf54eb5791c5efac8e)
Reviewed-on: http://git-master/r/790382

4 years agoARM64: t210: consider cable state VBUS+RID-B as RID-B cable
Laxman Dewangan [Tue, 25 Aug 2015 09:44:59 +0000]
ARM64: t210: consider cable state VBUS+RID-B as RID-B cable

Consider the cable state VBUS+RID-B as the RID-B cable.

bug 200134143

Change-Id: Iec8d7f27781a13ad57d7604b26c0e4ce1a293c1a
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/788772
(cherry picked from commit 657c09de572e11232030205401967dc21165c89b)
Reviewed-on: http://git-master/r/790381

4 years agoarm: dt: p1761: Add rid-b support for xlate
Mallikarjun Kasoju [Fri, 21 Aug 2015 13:48:01 +0000]
arm: dt: p1761: Add rid-b support for xlate

Add rid-b support for xlate and update the handle number
in udc dt.

Change-Id: Iaa7fad04da76640bbeeed67194e1067db28b2bb8
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
(cherry picked from commit 5bfc91e1c1cb885b348018435d2af80c27617e5c)
Reviewed-on: http://git-master/r/788554
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoextcon: cable-xlate: Increase cable detection delay
Mallikarjun Kasoju [Fri, 21 Aug 2015 13:44:35 +0000]
extcon: cable-xlate: Increase cable detection delay

Change-Id: I63595d9c00bc09bd826cc78db4dbb9770ad551b8
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
(cherry picked from commit 704b8e357a4485480fcb3bed49e71f1ac212c451)
Reviewed-on: http://git-master/r/788553
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agonet: wireless: bcmdhd: update disconnect event to upper layer
Om Prakash Singh [Wed, 19 Aug 2015 06:43:43 +0000]
net: wireless: bcmdhd: update disconnect event to upper layer

When driver receives back to back connect/disconnect events,
sometimes driver state gets stuck in DISCONNECTING state.
On next connect/disconnect cycle, disconnect is not propagated
to upper layers since driver is in DISCONNECTING state.
Originally DISCONNECTING state check was added to send DISASSOC
only if driver state is not DISCONNECTING but notification to
upper layers is also added in the condition. Moving the notification
out of the condition to resolve this issue.

Bug 200120612

Change-Id: Ibd3cc207e1f7558b9d2da7a524b4e2729e85ae8b
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/787926
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agoata: ahci: Place SATA in reset before uphy init
Preetham Chandru R [Fri, 21 Aug 2015 10:23:49 +0000]
ata: ahci: Place SATA in reset before uphy init

Place SATA, SATA cold and SATA OOB in reset state
before uphy is initialized.

Bug 200107569

Change-Id: Ia9c9175012406079182e5533856886c45e358bd0
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Signed-off-by: Venkata Jagadish <vjagadish@nvidia.com>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/759448
(cherry picked from commit 267b7c1506782b8ad524728deadfe98115a9fae2)
Reviewed-on: http://git-master/r/775506
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agoARM: mm: init reserved-memory regions before mdesc->reserve()
Sri Krishna chowdary [Mon, 6 Jul 2015 06:46:28 +0000]
ARM: mm: init reserved-memory regions before mdesc->reserve()

reserved memory should be the only way to reserve any of the
carveouts in future. So, start giving preference to it.

Bug 200027296

Change-Id: I885dc6a6b9a902693a6232eeba44e77f40489266
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/766526
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agoARM64: dts: adding E3326 support on jetson cv
David Wang [Wed, 15 Jul 2015 02:31:02 +0000]
ARM64: dts: adding E3326 support on jetson cv

Adding necessary device tree changes for E3326 module with
ov5693 support.

Bug 1665026.

Change-Id: Ifa084f949561358c9bec11fa16fa75527ba79a23
Signed-off-by: David Wang <davidw@nvidia.com>
(cherry picked from commit 5cb50ca42c0ee4efd7cdac76fd6da1bd6351cb1b)
Reviewed-on: http://git-master/r/775199
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jihoon Bang <jbang@nvidia.com>

4 years agovideo: tegra: hdmi: Add hdmi2.0 resume support
Aly Hirani [Tue, 26 May 2015 22:14:54 +0000]
video: tegra: hdmi: Add hdmi2.0 resume support

This adds the change to re-kick the hpd worker when the hdmi2.0 driver
comes out of suspend

Bug 200106797
Bug 200092037

Change-Id: I4d907a2c97add5ca9c6548f171ff6db6f2279842
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/759098
(cherry picked from commit 5ead42a426e678a466c944a670b517568ebcb11d)
Reviewed-on: http://git-master/r/781244
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

4 years agogpu: nvgpu: use gk20a_free_sgtable to free sgtable
Yogish Kulkarni [Wed, 19 Aug 2015 10:20:03 +0000]
gpu: nvgpu: use gk20a_free_sgtable to free sgtable

Use gk20a_free_sgtable to free sgtable

Bug 200130473

Change-Id: I6ddffb848a289ce81804502b7628feb5a4a8d000
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: http://git-master/r/785884
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Supriya Sharatkumar <ssharatkumar@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agoselinux: enable genfscon labeling for sysfs and pstore files
Stephen Smalley [Wed, 20 May 2015 16:33:16 +0000]
selinux: enable genfscon labeling for sysfs and pstore files

Support per-file labeling of sysfs and pstore files based on
genfscon policy entries.  This is safe because the sysfs
and pstore directory tree cannot be manipulated by userspace,
except to unlink pstore entries.
This provides an alternative method of assigning per-file labeling
to sysfs or pstore files without needing to set the labels from
userspace on each boot.  The advantages of this approach are that
the labels are assigned as soon as the dentry is first instantiated
and userspace does not need to walk the sysfs or pstore tree and
set the labels on each boot.  The limitations of this approach are
that the labels can only be assigned based on pathname prefix matching.
You can initially assign labels using this mechanism and then change
them at runtime via setxattr if allowed to do so by policy.

Change-Id: If5999785fdc1d24d869b23ae35cd302311e94562
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Suggested-by: Dominick Grift <dac.override@gmail.com>
Reviewed-on: http://git-master/r/786336
Reviewed-by: Inamdar Sharif <isharif@nvidia.com>
Tested-by: Inamdar Sharif <isharif@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agoselinux: enable per-file labeling for debugfs files.
Stephen Smalley [Tue, 19 May 2015 17:59:12 +0000]
selinux: enable per-file labeling for debugfs files.

upstream commit 6f29997f4a3117169eeabd41dbea4c1bd94a739c

Add support for per-file labeling of debugfs files so that
we can distinguish them in policy.  This is particularly
important in Android where certain debugfs files have to be writable
by apps and therefore the debugfs directory tree can be read and
searched by all.

Since debugfs is entirely kernel-generated, the directory tree is
immutable by userspace, and the inodes are pinned in memory, we can
simply use the same approach as with proc and label the inodes from
policy based on pathname from the root of the debugfs filesystem.
Generalize the existing labeling support used for proc and reuse it
for debugfs too.

[sds:  Back-ported to 3.10.  superblock_security_struct flags field
is only unsigned char in 3.10 so we have to redefine SE_SBGENFS.
However, this definition is kernel-private, not exposed to userspace
or stored anywhere persistent.]

Change-Id: I6460fbed6bb6bd36eb8554ac8c4fdd574edf3b07
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Reviewed-on: http://git-master/r/786335
Reviewed-by: Inamdar Sharif <isharif@nvidia.com>
Tested-by: Inamdar Sharif <isharif@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agotegra-alt:rt565x/rt5639: add compr_ops for machine
Viswanath L [Wed, 19 Aug 2015 11:54:05 +0000]
tegra-alt:rt565x/rt5639: add compr_ops for machine

ALSA compress does not call hw_params. Add compr_ops so that
set_params gets called to configure hw params.

Also fix in es755 machine driver to set ops for both PCM devices.

Bug 200132890
Bug 200127533

Change-Id: Ifcfc6b5c4673961afd2d5e00318c97f8f2d0df18
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
(cherry picked from commit d27fd571a4c1789732109b3a8c245e59db26909c)
Reviewed-on: http://git-master/r/787165
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agotegra-alt: rt565x: Add control to set codec rate
Viswanath L [Wed, 19 Aug 2015 06:44:08 +0000]
tegra-alt: rt565x: Add control to set codec rate

Add control to set codec rate. This is used to force codec
rate when SFC is used.

Increase xbar clock to support 44.1kHz to 48kHz SRC.

Bug 200127533

Change-Id: Ie53660697d8506fdae203d9911ff13e2721fc049
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
(cherry picked from commit 34a3131378ad641e4ee32b43b52f86bab680b067)
Reviewed-on: http://git-master/r/787161
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agoarm64: dts: jetsonCV: add adsp_audio node
Viswanath L [Thu, 13 Aug 2015 09:32:31 +0000]
arm64: dts: jetsonCV: add adsp_audio node

Add ADSP audio node.
Add dai-link for I2S3.

Bug 200127533

Change-Id: I3a041a63f434e7651373159df6cf13721f855a11
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/782917
(cherry picked from commit 0491b10082779e6d7a5262b5af816180a8d7fe76)
Reviewed-on: http://git-master/r/787114
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agovideo: tegra: host: correct VI_IOCTL names
Shridhar Rasal [Fri, 21 Aug 2015 04:57:43 +0000]
video: tegra: host: correct VI_IOCTL names

Correct VI ioctl names for better readability.

Change-Id: Ifbe6e002715f979c48b7ceb7f0d95596eca2349d
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/787047
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>

4 years agoARM64: tegra210: hawkeye: set FPS timing to 5120us
Laxman Dewangan [Mon, 10 Aug 2015 18:32:18 +0000]
ARM64: tegra210: hawkeye: set FPS timing to 5120us

Set FPS period to 5120 to allow more discharge time to cpu and gpu.

Change-Id: I737a11d440d3b1c4bfde91371bc49b1d4268ac13
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit a84f0ef0b3732dc4194d4e23afd79859742fe42b)
Reviewed-on: http://git-master/r/787795
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

4 years agogpio: tegra: bypass pinctrl on gpio request, free on suspend
Laxman Dewangan [Tue, 18 Aug 2015 11:57:32 +0000]
gpio: tegra: bypass pinctrl on gpio request, free on suspend

Bypass the pinctrl APIs from GPIO driver  on gpio request
and gpio free if it is called from suspend.

bug 1650903

Change-Id: Ic5e70015d6d99d976191d67a7ff62b0955993432
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit 578e235224a81026d6027eba357fc651dde5705c)
Reviewed-on: http://git-master/r/787794
GVS: Gerrit_Virtual_Submit

4 years agogpio: lib: Add support to change pin in GPIO mode on suspend
Laxman Dewangan [Tue, 18 Aug 2015 11:50:11 +0000]
gpio: lib: Add support to change pin in GPIO mode on suspend

Add support to parse DT property "gpio-suspend-to-sfio" from
DT node of device which convert the pins in GPIO mode to
SFIO mode.

bug 1650903

Change-Id: Ia12e37de37f0dd1e376a7c1d840b3efc5a85dd00
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
(cherry picked from commit d3d81839bb6afe319155321a53fa31b19090f8f5)
Reviewed-on: http://git-master/r/787793
GVS: Gerrit_Virtual_Submit

4 years agoarm: dts: panel-o-720p-6-0-01
Kenneth Kwak [Wed, 19 Aug 2015 08:18:33 +0000]
arm: dts: panel-o-720p-6-0-01

Fix the missing one line on LCD

Bug 200132480
Bug 1661203

Change-Id: I03b4c554934df68666619a30f78cf533007dbf9e
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/785825
(cherry picked from commit fb74cd17ee9c92d4dca5c985b1eb51412a26320b)
Reviewed-on: http://git-master/r/786984
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Tested-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

4 years agoarm: dts64: abca2 panel orientation chnage
Min-wuk Lee [Tue, 4 Aug 2015 02:28:55 +0000]
arm: dts64: abca2 panel orientation chnage

set nvidia,out-rotation to 270 degree

Bug 1661203

Change-Id: I32a03b429e2386a109ae6d42898e737c957125e4
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/778161
(cherry picked from commit 6fd558095dd69f7bcf21e95cd3f24104180c6469)
Reviewed-on: http://git-master/r/786983
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agoarm64: dts: add panel-o-720p-6-0-01
Min-wuk Lee [Thu, 30 Jul 2015 07:29:38 +0000]
arm64: dts: add panel-o-720p-6-0-01

Add panel-o-720p-6-0-01 in the ABCA2 platform.

Bug 1661203

Change-Id: I5f22a0df95029991efaa888c87e2df83de8caa64
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/776663
(cherry picked from commit 68b792c4948feb420103720451cfab00dc79c585)
Reviewed-on: http://git-master/r/786982
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agoarm: tegra: panel-o-720p-6-0-01
Min-wuk Lee [Thu, 30 Jul 2015 06:45:35 +0000]
arm: tegra: panel-o-720p-6-0-01

Prepare panel-o-720p-6-0-01 panel file
and change common board-panel file,
accordingly. This is for internal panel
for ABCA2 platform.

Bug 1661203

Change-Id: I50d932b3b68f89dd0b50e279c8e414e24b369724
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/776641
(cherry picked from commit a065ab7b9ebc0a5d1cd072334abe35edc9fc0411)
Reviewed-on: http://git-master/r/786981
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

4 years agoarm: dts: panel-o-720p-6-0-01.
Min-wuk Lee [Thu, 30 Jul 2015 06:31:20 +0000]
arm: dts: panel-o-720p-6-0-01.

panel-o-720p-6-0-01 is for 720p 6" panel for ABCA2
platform.

Bug 1661203

Change-Id: I16f5af62164dbb6c10fb1a9929deb81e5d530f78
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/776635
(cherry picked from commit ee126f38005283523286eec3f6a4fd5700b17bc7)
Reviewed-on: http://git-master/r/786980
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

4 years agovideo: tegra: nvmap: cache sync even when CacheSyncAtReserve is present
Sri Krishna chowdary [Wed, 29 Jul 2015 05:54:59 +0000]
video: tegra: nvmap: cache sync even when CacheSyncAtReserve is present

user space takes responsibility of not calling reserve and cache op at same
time. Given that promise, some times it is better for performance to avoid zap
when concurrent access by cpu and device is guaranteed in some other way.

Bug 200092803

Change-Id: I20d7e2106fd6114712b63991204d5e556912af21
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/776097
(cherry picked from commit 464cb9fe1e6415446d8c9744761460abe628c8df)
Reviewed-on: http://git-master/r/787695
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agovideo: tegra: dc: handle tegra_dc_sync_windows error
Bibek Basu [Mon, 17 Aug 2015 11:18:59 +0000]
video: tegra: dc: handle tegra_dc_sync_windows error

In case tegra_dc_sync_windows is interrupted by signal,
return the error to caller application

Bug 200090492

Change-Id: Id69fbe38d0abe0b3e71eb5a413db241ebcf0a0ae
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/785146
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

4 years agoiio: nvi: Add ICM20630 support
Erik Lilliebjerg [Fri, 14 Aug 2015 19:48:53 +0000]
iio: nvi: Add ICM20630 support

Change-Id: I1a32d532adaa983b06e6fab2c90edc2375498651
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/783891
(cherry picked from commit 8c50d90ddf8239da58685de9bfb5b7e937724475)
Reviewed-on: http://git-master/r/786803
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>

4 years agodts: sensors: Move compass to bottom of board.
Robert Collins [Tue, 21 Jul 2015 23:04:28 +0000]
dts: sensors: Move compass to bottom of board.

Bug 1662566
Bug 200089138

Change-Id: I63154c944d5015840f133430332ff29331c7ff6b
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/766725
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
(cherry picked from commit 9b872a01973e9734d527a307a5481b5194c75781)
Reviewed-on: http://git-master/r/786749
Reviewed-by: Automatic_Commit_Validation_User

4 years agoarm64: context-switch user tls register tpidr_el0 for compat tasks
Will Deacon [Wed, 27 May 2015 14:39:40 +0000]
arm64: context-switch user tls register tpidr_el0 for compat tasks

Since commit a4780adeefd0 ("ARM: 7735/2: Preserve the user r/w register
TPIDRURW on context switch and fork"), arch/arm/ has context switched
the user-writable TLS register, so do the same for compat tasks running
under the arm64 kernel.

Reported-by: AndrĂ© Hentschel <nerv@dawncrow.de>
Tested-by: AndrĂ© Hentschel <nerv@dawncrow.de>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Change-Id: I6badb27e7c4db282fbf8d5b416f155947afbc8f9
Reviewed-on: http://git-master/r/776455
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>

4 years agoASoC: tegra-alt: Add one more ADSP PCM device
Gaurav Tendolkar [Thu, 20 Aug 2015 11:25:03 +0000]
ASoC: tegra-alt: Add one more ADSP PCM device

Bug 200127533

Change-Id: Ie5ca287d0da4e180ab711e2816c28db18a60d601
Signed-off-by: Gaurav Tendolkar <gtendolkar@nvidia.com>
Reviewed-on: http://git-master/r/786550
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Tested-by: Ravindra Lokhande <rlokhande@nvidia.com>

4 years agovideo: tegra: dp: Fix CTS 4.2.2.9
Animesh Kishore [Thu, 20 Aug 2015 15:44:18 +0000]
video: tegra: dp: Fix CTS 4.2.2.9

CTS description: E-DDC 4 block edid read

Bug 200103501

Change-Id: I76503dc2a21369514816650d308d5b823d4540c7
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/786624
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

4 years agovideo: tegra: dp: add debugfs support to change bpp
Santosh Reddy Galma [Wed, 19 Aug 2015 15:45:32 +0000]
video: tegra: dp: add debugfs support to change bpp

support added to change the bits per pixel dynamically
through debugfs interface. Supported bpp values are 18
and 24.

Bug 200127167

Change-Id: I33a304d02598c665ed25e3d33e4fa68baae2ed38
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/786016
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agosysedp: Jetson-CV: Scale back reactive capping
Anand Prasad [Thu, 23 Jul 2015 19:11:16 +0000]
sysedp: Jetson-CV: Scale back reactive capping

Add warning node to the sysedp reactive capping device-tree structure.
Add specific warnings to be used for Jetson-CV.
Scale back Jetson sysedp reactive capping.
Disable soctherm h/w throttling for the battery overcurrent monitor.

Bug 1665297

Change-Id: I5611349ce25f1a6afe01a0c129fbde890979f6cc
Signed-off-by: Anand Prasad <anprasad@nvidia.com>
Reviewed-on: http://git-master/r/774643
(cherry picked from commit bd914fcb44d8b8d1fa7040a8d0fa0daf7c55c659)
Reviewed-on: http://git-master/r/786105
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>

4 years agosysedp: Add support for trip event Warnings
Anand Prasad [Thu, 23 Jul 2015 19:11:16 +0000]
sysedp: Add support for trip event Warnings

Add support to print out ratelimited warnings every time we receive a software
interrupt to reactively cap our budget.

Bug 1665297

Change-Id: Ie5c7c27d94f1f4ea3c6289fb097bde242c29575c
Signed-off-by: Anand Prasad <anprasad@nvidia.com>
Reviewed-on: http://git-master/r/774042
(cherry picked from commit 715683c58a89dca979f720c42f681dc8860fbef9)
Reviewed-on: http://git-master/r/786102
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>

4 years agodrivers:misc: Setup gamepad_reset gpio only on loki
Ankita Garg [Thu, 22 Jan 2015 21:29:54 +0000]
drivers:misc: Setup gamepad_reset gpio only on loki

Bug 1587415

Change-Id: I304bd5f92918e0dc9c1632f9abed66721c62ff17
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/745798
(cherry picked from commit 432ac02d26e0515587202dd97d5333215018d8e0)
Reviewed-on: http://git-master/r/779479
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>

4 years agousb: xhci: reset gamepad when xhci controller dies
Ankita Garg [Tue, 7 Jul 2015 23:14:23 +0000]
usb: xhci: reset gamepad when xhci controller dies

Reset gamepad when device does not respond to set_address request
and the host controller dies

Bug 1587415

Change-Id: Ia4e6b9c5515451a90c50640331d4e78f2802fe2b
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/767297
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Tested-by: Ashutosh Jha <ajha@nvidia.com>

4 years agousb: xhci: reset gamepad after xhci reinit
Ankita Garg [Tue, 7 Jul 2015 23:07:53 +0000]
usb: xhci: reset gamepad after xhci reinit

Sometimes due to a potential bug in the loki JS firmware,
the gamepad does not respond to set address from the
USB host. This change triggers a gamepad reset
if this error happens.

Bug 1587415

Change-Id: I29bd526581359a215b1522d377c43fd5c4812870
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/767293
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: ChihMin Cheng <ccheng@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

4 years agovideo: tegra: host: vi/isp: CLK-BW ioctls support
Sudhir Vyas [Fri, 24 Jul 2015 14:55:35 +0000]
video: tegra: host: vi/isp: CLK-BW ioctls support

Add new ioctls GET_CLK and SET_LA_BW support in
VI and ISP drivers.
These will replace SET_EMC ioctl, but still
keep it until user drivers are using it.

Bug 1666597

Change-Id: Ia63ad120e0f06eefc64bdb50753c2f6b974bd407
Signed-off-by: Sudhir Vyas <svyas@nvidia.com>
Reviewed-on: http://git-master/r/774484
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Charles Kong <charlesk@nvidia.com>

4 years agogpu: nvgpu: Handling null pointer
Gagan Grover [Fri, 10 Jul 2015 08:04:30 +0000]
gpu: nvgpu: Handling null pointer

Handling null pointer in gk20a_fence_is_expired.

Bug 200117724

Change-Id: I0f9307a5f8b82bf990b6ddaea1a408d4f3f376fb
Signed-off-by: Gagan Grover <ggrover@nvidia.com>
Reviewed-on: http://git-master/r/768831
(cherry picked from commit 82a613714ef75781a44499cdad8511a4bb0297cd)
Reviewed-on: http://git-master/r/777796
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agobcmdhd: fix set_channel api
Om Prakash Singh [Tue, 28 Jul 2015 09:37:21 +0000]
bcmdhd: fix set_channel api

set channel bandwidth as per capability in firmware.

Bug 200124304
Bug 1665253

Change-Id: I1b261a46404898fbee4599c45009dff0abce05ce
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/775611
(cherry picked from commit 04391244407dbeab7ea3d8bbb6ac206c833ef831)
Reviewed-on: http://git-master/r/785795
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agovideo: tegra: dp: Fix CTS 700.1.1.2
Animesh Kishore [Wed, 19 Aug 2015 09:13:51 +0000]
video: tegra: dp: Fix CTS 700.1.1.2

CTS description: Additional DPCD handling
test 2

- Fix corrupted DPCD link capabilities

Bug 200103501

Change-Id: I7ebeb055284f73140a5f284bf8dc74da5662dc3d
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/785852
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

4 years agovideo: tegra: dp: Fix CTS 4.2.2.7
Animesh Kishore [Tue, 18 Aug 2015 14:43:26 +0000]
video: tegra: dp: Fix CTS 4.2.2.7

CTS description: Branch device detection
upon HPD plug event

Bug 200103501

Change-Id: Ie6e1dd567f665c342303a8724b127d8d786fe579
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/785420
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

4 years agovideo: tegra: host: push adjacent words
Sam Payne [Fri, 24 Jul 2015 17:48:53 +0000]
video: tegra: host: push adjacent words

adds the ability to guarantee that a set
of words pushed to a buffer will be adjacent.
That is, the words will not be split across
the pushbuffer wrap around boundary.

If the set of words cannot be written before
the pushbuffer wrap around boundary, noops
will be pushed to the pushbuffer until the
boundary is passed.

This feature is in preparation for operations
which require more than two adjacent opcodes.

bug 1659110

Change-Id: I3ddd645c70626cf8d460ebd8c24966af6128d59f
Signed-off-by: Sam Payne <spayne@nvidia.com>
Reviewed-on: http://git-master/r/774517
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>

4 years agoplatform: nvadsp: Check if app is started
Ajay Nandakumar [Wed, 19 Aug 2015 06:30:41 +0000]
platform: nvadsp: Check if app is started

Checking if App is started on ADSP. If not, an error is returned and
the app instance is deleted and session is returned NULL.

Bug 200118616

Change-Id: Iae58f2b3b819d5589564a7ab1fe8a3f8fd5e03ab
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/785775
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

4 years agoarm64:dts: Add Pinmux dtsi for T210 Darcy Platform
Shravani Dingari [Tue, 2 Jun 2015 07:49:05 +0000]
arm64:dts: Add Pinmux dtsi for T210 Darcy Platform

Add Pinmux table for T210 Darcy Platform (Low cost
Foster) to Device Tree. Also add manual pinmux
settings into separate dtsi file

Bug 200105702

Change-Id: If8de9b766a5c7da541d55e5c6a19505254b3bcd0
Signed-off-by: Shravani Dingari <shravanid@nvidia.com>
Reviewed-on: http://git-master/r/744769
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Tested-by: Vinayak Pane <vpane@nvidia.com>
(cherry picked from commit e6189c037b2cbaf1f226981d48177a8efc233b42)
Reviewed-on: http://git-master/r/744120
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Martin Gao <marting@nvidia.com>
Tested-by: Martin Gao <marting@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agoarm64: dts: darcy: add top level DT files
Vinayak Pane [Tue, 26 May 2015 20:50:22 +0000]
arm64: dts: darcy: add top level DT files

- Create Darcy dt files
- Separate out darcy and foster pinmux
- Separate out darcy and foster pcie
- create EMC dvfs tables for Darcy

Bug 200105702

Change-Id: I1581ec971bdefaa0a639feb6d6ee3bd7614639ec
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/744668
Reviewed-on: http://git-master/r/780133
Reviewed-by: Gaurav Sarode <gsarode@nvidia.com>

4 years agomisc: tegra-fuse: read t210 a02 rev
Vinayak Pane [Tue, 21 Jul 2015 20:28:24 +0000]
misc: tegra-fuse: read t210 a02 rev

Read A02 chiprev and bootrom patch version

Bug 1659022

Change-Id: I55f6ae799e32a17d0a656ff8630964db399c91e0
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/773527
Reviewed-on: http://git-master/r/780134
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agodrivers: media: platform: tegra: change i2c read
Anurag Dosapati [Fri, 15 May 2015 21:02:04 +0000]
drivers: media: platform: tegra: change i2c read

Change i2c read to use i2c_transfer instead of
i2c_master_send/i2c_master_rcv so that there is no stop bit in between
i2c_master_send and i2c_master_rcv when reading.

Bug 1652583

Change-Id: Id00507765fec439484b66de9fa6b8eb7685370b7
Signed-off-by: Anurag Dosapati <adosapati@nvidia.com>
Reviewed-on: http://git-master/r/743405
(cherry picked from commit 3500064a877bef126d9723d7bd0f18fcc081efee)
Reviewed-on: http://git-master/r/768521
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-by: Arun Shamanna Lakshmi <aruns@nvidia.com>

4 years agot124: dts: p2360: Add isc-mgr entry for ADV7281
Anurag Dosapati [Mon, 18 May 2015 23:57:35 +0000]
t124: dts: p2360: Add isc-mgr entry for ADV7281

Bug 1652583

Change-Id: I1ee941dc4606f9cd2b0dbc49e579511d3f540f6d
Signed-off-by: Anurag Dosapati <adosapati@nvidia.com>
Reviewed-on: http://git-master/r/744081
(cherry picked from commit 1754c8b04d1112155b77001f4b87dd2ba055d159)
Reviewed-on: http://git-master/r/783241
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-by: Arun Shamanna Lakshmi <aruns@nvidia.com>

4 years agoplatform: tegra: emc: Periodic calibration filtering
Alex Waterman [Thu, 9 Jul 2015 19:31:19 +0000]
platform: tegra: emc: Periodic calibration filtering

Filter periodic calibration OSC samples to help reduce power supply noise.

Change-Id: I5108b51681d7a72050a4939b8adb37b47960c724
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/768924
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

4 years agokernel: include: video: Support csc for nvdisplay.
Vinod G [Wed, 7 Jan 2015 22:14:03 +0000]
kernel: include: video: Support csc for nvdisplay.

New csc struct is added for nvdisplay.

bug 1593466

Change-Id: I1a75daffd18e110f90d897f588c16567987bb8bf
Signed-off-by: Vinod G <vinodg@nvidia.com>
Reviewed-on: http://git-master/r/768117
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

include: video: Color space support

Add code support for de-gamma, input range and
inout color space selections.

bug 1593466

Change-Id: Id0214de33c7b26a986007c7939a03da41cf61cb0
Signed-off-by: Vinod G <vinodg@nvidia.com>
Reviewed-on: http://git-master/r/784908
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

4 years agoasoc: es755: fix audio crackling for HRA usecase
Srinivas Anne [Tue, 11 Aug 2015 22:58:18 +0000]
asoc: es755: fix audio crackling for HRA usecase

Fixed audio corruption observed during 96Khz HRA + capture usecase.

Bug 1670069

Change-Id: I5cd38df572733c8f58887e2f7b8dfd13395c3915
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/782159
(cherry picked from commit af44c5262b477d182843d813a6e00700989046f5)
Reviewed-on: http://git-master/r/785803
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agogpu: nvgpu: wakeup semaphores after clearing the interrupt
sujeet baranwal [Tue, 11 Aug 2015 23:40:54 +0000]
gpu: nvgpu: wakeup semaphores after clearing the interrupt

Currently, we first invoke semaphore workqueue on all channels
and then clear the interrupt
This delay in clearing the interrupt can sometimes lead to
dropping of new interrupt

If that happens, we never invoke gk20a_channel_semaphore_wakeup()
for new semaphore interrupts and semaphore waiting
never completes.

Fix this by moving gk20a_channel_semaphore_wakeup() after
we clear the interrupt

Bug 200083084
Bug 200117718

Change-Id: I7278cb378728e3799961411c4ed71d266d178a32
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Signed-off-by: sujeet baranwal <sbaranwal@nvidia.com>
Reviewed-on: http://git-master/r/783092
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>

4 years agogpu: nvgpu: Prepare for per-GPU CDE program numbers
Sami Kiminki [Mon, 17 Aug 2015 18:05:19 +0000]
gpu: nvgpu: Prepare for per-GPU CDE program numbers

Add gpu_ops for CDE, and add get_program_numbers function pointer for
determining horizontal and vertical CDE swizzler programs. This allows
different GPUs to have their own specific requirements for choosing
the CDE firmware programs.

Bug 1604102

Change-Id: Ib37c13abb017c8eb1c32adc8cbc6b5984488222e
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Reviewed-on: http://git-master/r/784900
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

4 years agovideo: tegra: host: add fast notify action handler
Shridhar Rasal [Wed, 19 Aug 2015 08:01:54 +0000]
video: tegra: host: add fast notify action handler

- Add new NVHOST_INTR_ACTION_FAST_NOTIFY action and respective
  action and register notifier handler as to run part of high
  priority threads.

Bug 1576453

Change-Id: Ie8e59d1c48a77f71949d380d3c6d6ddcdbeb42c1
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/785818
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>

4 years agocrypto: tegra-se: lower priority for AES
Eric Miao [Wed, 7 Jan 2015 01:48:34 +0000]
crypto: tegra-se: lower priority for AES

Lowering the priority of AES crypto algorithms for TEGRA_SE
from 300 to 100, which will favor the ARMv8 crypto algorithms
with default priority of 300.

TEGRA_SE is still needed for LP0.

Change-Id: Icc94635cea738dcbd9051a3078f256661fcb5b8f
Signed-off-by: Eric Miao <emiao@nvidia.com>
Reviewed-on: http://git-master/r/669951
Reviewed-on: http://git-master/r/755347
(cherry picked from commit 2eac711a89d8eee9c71d1c5798ed78de76865ddb)
Reviewed-on: http://git-master/r/761506
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Shih <rshih@nvidia.com>
Tested-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agovideo: tegra: host: disable IRQ in ISR
Shridhar Rasal [Mon, 17 Aug 2015 08:23:46 +0000]
video: tegra: host: disable IRQ in ISR

- To avoid interrupt storm, disable IRQ in ISR and
   re-enable through worker handler.

Bug 1659953

Change-Id: If867ea1b8e3c595a5654714f223a237780d4cf97
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/784646
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>

4 years agovideo: tegra: dc: make local function static
Amit Sharma (SW-TEGRA) [Wed, 19 Aug 2015 04:02:58 +0000]
video: tegra: dc: make local function static

Fixed the following sparse warning by making the local function as static:
- dphdcp.c:: warning: symbol 'dphdcp2_downstream_worker' was not declared.
              Should it be static?

Bug 200067946

Change-Id: Ia7c392eb6a729cfbd7ea2656c6b2910a62b862a7
Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/785715
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agoclock: tegra21: boosting sclk clock
Anubhav jain [Tue, 18 Aug 2015 10:09:38 +0000]
clock: tegra21: boosting sclk clock

Bug 200128606

Change-Id: Ia3c9ba840d6897a2052f5aaa10e1cf2bf451ef7a
Signed-off-by: Anubhav jain <anubhavj@nvidia.com>
Reviewed-on: http://git-master/r/781812
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agovideo: tegra: dp: Fix CTS 4.2.2.6
Animesh Kishore [Tue, 18 Aug 2015 14:01:38 +0000]
video: tegra: dp: Fix CTS 4.2.2.6

CTS description: EDID corruption detection

Bug 200103501

Change-Id: Ib7308f6c108d7d72b1c6545e237a66ea200e0b05
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/785358
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

4 years agovideo: tegra: dp: Fix CTS 4.4.3
Animesh Kishore [Mon, 17 Aug 2015 10:28:49 +0000]
video: tegra: dp: Fix CTS 4.4.3

CTS description: Monitor power saving entry/exit

Bug 200103501

Change-Id: I8631e55fd6a317a4cd59f958f142e9177637ae7e
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/784725
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

4 years agovideo: tegra: dp: Fix CTS 4.2.2.2
Animesh Kishore [Wed, 12 Aug 2015 11:37:35 +0000]
video: tegra: dp: Fix CTS 4.2.2.2

CTS description: DPCD sink capability read
upon HPD

Bug 200103501

Change-Id: Iba000486c4fd72e651394710037eebd17dd02eec
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/782416
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

4 years agoASoC: tegra-alt: Correct DMIC numbering
Viswanath L [Fri, 24 Jul 2015 10:32:57 +0000]
ASoC: tegra-alt: Correct DMIC numbering

DMIC numbering is fixed so that mixer controls are listed
with correct DMIC numbering

Bug 200108603

Change-Id: Ifdeb6cbf2e713f87867951e918cb329a5f026f36
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/774395
(cherry picked from commit c1c68e90455555c11cc9ac0b47908e041d805eaf)
Reviewed-on: http://git-master/r/782835
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agotegra-alt: adsp: use nvadsp_mbox_send() for mailbox send
Viraj Karandikar [Thu, 6 Aug 2015 15:19:59 +0000]
tegra-alt: adsp: use nvadsp_mbox_send() for mailbox send

Use nvadsp_mbox_send() to send mailbox message. This allows
blocking functionality with time out when sending messages.

Add runtime PM get/put when sending APM messages from widget
events as it was seen that this function is called even when
runtime resume had failed in one of the error cases.

Bug 200123443

Change-Id: I29e0860eadc73af2f32af58c1ca614806741709b
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/779898
(cherry picked from commit 7cb1c2b7b51010ab97e4125825f4658b32479487)
Reviewed-on: http://git-master/r/785351
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agocodec: es755: fix firmware crash during device switch
Srinivas Anne [Fri, 17 Jul 2015 00:06:03 +0000]
codec: es755: fix firmware crash during device switch

This change should fix the audience firmware crash observed while
switching between speaker and headphone devices during simultaneous
playback and capture usecase

Change summary:
Updatedthe Audience kernel driver to not send stop route
twice in a row when switching between speaker and headphone
during simultaneous playback and capture.

Change-Id: I62f5c6d5be58d3718a08dce6ef6c7984ef90e85b
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/771360
(cherry picked from commit fc19a43d2deb0b70094a4c4babb13ed658697549)
Reviewed-on: http://git-master/r/784943
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>
Tested-by: Dara Ramesh <dramesh@nvidia.com>

4 years agomedia: platform: tegra: change ov5693 setmode
Amey Asgaonkar [Thu, 23 Apr 2015 02:34:29 +0000]
media: platform: tegra: change ov5693 setmode

changing the way setmode is performed in the kernel
driver by removing the awb and lsc writes. Also
removing group hold writes by exposure_wr function.

Bug 1636345

Change-Id: I11c6f7da859d414d1f5d2609d726a4fe459588b0
Signed-off-by: Amey Asgaonkar <aasgaonkar@nvidia.com>
Reviewed-on: http://git-master/r/735757
Reviewed-on: http://git-master/r/758303
(cherry picked from commit bb3beaf37d7fc1e264f39a8a7276c81f9262ddbb)
Reviewed-on: http://git-master/r/737489
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Gaurav Batra <gbatra@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agotegra: dc: Update dt-binding doc for new bindings
Arun Swain [Wed, 27 May 2015 21:29:22 +0000]
tegra: dc: Update dt-binding doc for new bindings

1. Add dt entry to make the default color space
as adobeRGB.
2. While parsing this entry make default as sRGB
if entry not found. This is to make it backward
compatible.
3. Update the devicetree binding doc for
nvidia,default_color_space, nvidia,cmu-lut1 and
cmu_adobe_rgb dt entries

Bug 1649854

Change-Id: Ic3fd44630ad64f80894ab2c52ac6021b8294a6a6
(cherry picked from commit 05296e421abfc5c1e4354d7b4ed93ad069c7e150)
Reviewed-on: http://git-master/r/747956
Signed-off-by: Arun Swain <arswain@nvidia.com>
Reviewed-on: http://git-master/r/783731
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

4 years agotegra: cpc: correct length check logic
Sang-Hun Lee [Mon, 17 Aug 2015 20:32:27 +0000]
tegra: cpc: correct length check logic

 - as size_t is an unsigned integer, checking for
   a negative value would always fail

Bug 1416640

Change-Id: I15764e4a189b946ff7dfa56b02401e9dce4c361e
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/784952
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>

4 years agogpu: nvgpu: wakeup semaphores after clearing CE2 interrupt
Deepak Nibade [Mon, 17 Aug 2015 10:49:09 +0000]
gpu: nvgpu: wakeup semaphores after clearing CE2 interrupt

In gk20a_ce2_nonstall_isr(), we first invoke semaphore workqueue
on all channels and then clear the interrupt
This delay in clearing the interrupt can sometimes lead to
dropping of new interrupt

If that happens, we never invoke gk20a_channel_semaphore_wakeup()
for new semaphore interrupts and semaphore waiting
never completes.

Fix this by moving gk20a_channel_semaphore_wakeup() after
we clear the interrupt

Bug 200131938

Change-Id: I26d72f04a8b49f4a3ac326bf6037cd04c741a920
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/784770
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>

4 years agovideo: tegra: dc: platform check with debugfs
Vinod G [Thu, 25 Jun 2015 23:42:09 +0000]
video: tegra: dc: platform check with debugfs

Simulation checking can be done through debugfs
Application can use this to provide high timeout value
to avoid syncpt wait errors.

Change-Id: Ie55d737817657610d63cedc2f568b3c37bad725f
Signed-off-by: Vinod G <vinodg@nvidia.com>
Reviewed-on: http://git-master/r/762656
Reviewed-on: http://git-master/r/779286
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>

4 years agovideo: tegra: hda: Make local func/variable static
Rahul Mittal [Tue, 18 Aug 2015 06:27:17 +0000]
video: tegra: hda: Make local func/variable static

Make local functions/variable as static to fix warnings.

Bug 200067946

Change-Id: Idf7ee51d710d849789a936661dde236908f76b4b
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/785190
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agommc: debugfs: corrected speed value
Anubhav jain [Wed, 12 Aug 2015 12:34:23 +0000]
mmc: debugfs: corrected speed value

-speed value for high speed card were
not getting updated properly, added condition
to check MMC_TIMING_SD_HS for high speed card.

Bug 200128747

Change-Id: I8a449653b4a5b9d80bdc01f793c8a6a37707b77c
Signed-off-by: Anubhav jain <anubhavj@nvidia.com>
Reviewed-on: http://git-master/r/782961
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Kirankumar Bobbu <kbobbu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>

4 years agoarch: arm: tegra: configs: remove VI_ONE_DEVICE
Shridhar Rasal [Tue, 18 Aug 2015 03:54:22 +0000]
arch: arm: tegra: configs: remove VI_ONE_DEVICE

Bug 1650530

Change-Id: I1a8821bc24e3bfa743778295b5d60222e2036c10
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/785103
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Tested-by: Arto Merilainen <amerilainen@nvidia.com>

4 years agotegra-alt: adsp: add runtime get failure checks
Viraj Karandikar [Fri, 22 May 2015 09:51:32 +0000]
tegra-alt: adsp: add runtime get failure checks

Add pm_runtime_get* failure checks. This also captures any
failures in starting ADSPOS.

Remove redundant pm_runtime_* calls from DAPM widget events.
These are not needed as driver's runtime resume and suspend
functions are called before starting and after stoppping the
playback.

Bug 200123443

Change-Id: I2c1f8fcff892634d4129e6cb08d6e21a7d63fdcd
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Signed-off-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-on: http://git-master/r/746123
(cherry picked from commit 093dc626c51467f3f85d10c3deb97df861ff85dc)
Reviewed-on: http://git-master/r/784832
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

4 years agoasoc: codec: es755: audience mainline fw binary
Srinivas Anne [Fri, 10 Jul 2015 21:06:59 +0000]
asoc: codec: es755: audience mainline fw binary

FW version: M90.5.2.12_B57877_NVidia_Hawkeye_MCFFillIn_STREAM.bin

New firmware release from Audience mainline branch.

Summary:
1)Actual fix for audio crackling issue. (fw change)
    a) Optimized scheduler that is handling  the low priority and
       high priority message queues.
    b) Increased linear frame buffer pool from 40 to 48 buffers to enhance
       the resource headroom during stress scenarios.
2) Fix to detect and recover from random silence behavior.
3) Droop filter setting to achieve 1 Vrms for 48KHz playback (driver+fw)
4) Fix fw crash when headset is plugged during LP0 (Driver change)
5) Avoid setting zero algo preset (driver change)
6) Improved debug message for digital MUX settings (host driver change)
7) Loud noise during HRA playback on headphone (host driver change)
8) DAC control moved from driver to FW ((host driver + FW change)

Bug 1622994
Bug 1629161
Bug 1648779
Bug 200121574

Change-Id: Ieecd9536e410d02d45aa55603f8d9f2eb7fc2408
Signed-off-by: Srinivas Anne <sanne@nvidia.com>
Reviewed-on: http://git-master/r/768997
(cherry picked from commit 31b34dd476aee7cf4f86550baa8bd232b50e4cf6)
Reviewed-on: http://git-master/r/784972
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dara Ramesh <dramesh@nvidia.com>

4 years agoplatform: tegra: nvadsp: Move dram logger buffer
Ajay Nandakumar [Wed, 24 Jun 2015 17:01:24 +0000]
platform: tegra: nvadsp: Move dram logger buffer

Moving DRAM logger buffer as part of shared memory. This is done so
that the host just needs to find one shared memory where all shared
segments that needs to shared can be found.

bug 200118616
bug 1637234

Change-Id: I957b172be15993227fb592c4c09367db8d811058
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/761906
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

4 years agoPM/Domain: Fix build warning
Sumit Singh [Tue, 11 Aug 2015 04:57:42 +0000]
PM/Domain: Fix build warning

When CONFIG_PM_RUNTIME is disabled, it gives below build error:
- implicit declaration of '__pm_genpd_poweroff' function

Fixed it by adding stub for CONFIG_PM_RUNTIME.

Bug 200128538

Change-Id: Ia47b1b3e959e4fc51fb950fab2908e4a077b14ad
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Reviewed-on: http://git-master/r/782977
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

4 years agovideo: tegra: host: remove VI_ONE_DEVICE config
Shridhar Rasal [Thu, 23 Jul 2015 03:38:03 +0000]
video: tegra: host: remove VI_ONE_DEVICE config

- As VI_ONE_DEVICE config not referenced anywhere, remove entry from
  from Kconfig

Bug 1650530

Change-Id: I8720b30281ca401059d3cae777a892c1aca14b27
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/773734

4 years agovideo: tegra: dc: Remove DPAUX powerdown for T210
Anand Prasad [Tue, 21 Jul 2015 19:28:49 +0000]
video: tegra: dc: Remove DPAUX powerdown for T210

Powering down DPAUX caused lockouts with the crc testing device midway
through the test. Post power-down, all subsequent i2c transactions
to/from the device were locked out.

Skipping the powering down sequence of the DPAUX pads is needed only on
T210 onwards, where the default behaviour is to have these pads powered off.

Bug 200111886
Bug 1659406
Bug 200114600

Change-Id: I2fdf226a76e1f3732b89a02cc244bf7c387725d9
Signed-off-by: Anand Prasad <anprasad@nvidia.com>
Reviewed-on: http://git-master/r/773093
(cherry picked from commit 0087651d511ce0c2f851517abbcaf5706e4823c3)
Reviewed-on: http://git-master/r/780528
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dp: fast LT with platform data
Shu Zhong [Thu, 9 Jul 2015 19:12:14 +0000]
video: tegra: dp: fast LT with platform data

Updated dp LT driver to perform fast LT with precalibrated settings
from DT.

Bug 200090090

Change-Id: Ie7fa0effe654a2bda7b6686c918c2df95b083395
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/769591
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

4 years agoarm64: tegra: dt: add DP prod settings to DT
Shu Zhong [Sat, 27 Jun 2015 01:51:26 +0000]
arm64: tegra: dt: add DP prod settings to DT

Moved prod settings common to all link configs to DT. LT-specific
settings will still be under "host1x/sor{0,1}/dp-display/dp-lt-settings".

Bug 200090090

Change-Id: I34a9d17a6e5666877cc88ac42190b070feba1261
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/769094
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Tested-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dp: hdcp: fix deadlock
Shu Zhong [Thu, 6 Aug 2015 18:48:30 +0000]
video: tegra: dp: hdcp: fix deadlock

hdcp mutex needs to be unlocked before mutex is locked
again in the case of an Ainfo write failure. This avoids
a potential deadlock scenario.

Bug 200125552

Change-Id: Ibb23849290a152b061194779fa01cfbfffdd5486
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/779964
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agovideo: tegra: dp: dpaux read/write retry attempts
Shu Zhong [Thu, 30 Jul 2015 19:28:19 +0000]
video: tegra: dp: dpaux read/write retry attempts

tegra_dc_dpaux_read/write_chunk_locked will currently skip the
last timeout/defer retry attempt. This patch changes the while
condition so that this doesn't happen.

Change-Id: I57b67fb454df2d9f253c26afe6eb489bf88cc12a
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/776960
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>

4 years agoarm: dts: jetson-tk1: disable clkreq
Vidya Sagar [Mon, 17 Aug 2015 03:43:28 +0000]
arm: dts: jetson-tk1: disable clkreq

disables clkreq input for jetson-tk1 because of a HW bug
in T124 which powers down PLLE when clkreq is enabled

Bug 200131803
Bug 200119319

Change-Id: I57f1b197a666a75b296421e3ad8b68f97cb70b0d
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/784695
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Tested-by: Arto Merilainen <amerilainen@nvidia.com>

4 years agomisc: tegra_cpc: use NULL instead of integer 0
Amit Sharma (SW-TEGRA) [Sun, 16 Aug 2015 04:35:59 +0000]
misc: tegra_cpc: use NULL instead of integer 0

Fixed the following sparse warning by using 'NULL' instead of integer '0':
- tegra_cpc.c:517:42: warning: Using plain integer as NULL pointer

Bug 200067946

Change-Id: I7caf2f551c4495c3ccb09d2ec63f6c149bb1d9ba
Signed-off-by: Amit Sharma (SW-TEGRA) <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/784019
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

4 years agopci: host: tegra: enable refclk override always
Vidya Sagar [Mon, 27 Jul 2015 09:48:13 +0000]
pci: host: tegra: enable refclk override always

enables refclk override always as this is just a gating mechanism
and doesn't really affect pll_e shutdown
This change also fixes code that comes into picture when clkreq
line is disabled

Bug 200119319

Change-Id: I32896c828801547a54e0590bc5ab28ef054e1fbe
Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-on: http://git-master/r/775036
(cherry picked from commit 15935ea0d210b6f5d58e5f255bb7a7c91c3402d3)
Reviewed-on: http://git-master/r/776935
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

4 years agodts: hawkeye: camera: fix front cam poweron timing
Charles Kong [Thu, 2 Jul 2015 20:46:27 +0000]
dts: hawkeye: camera: fix front cam poweron timing

Correct the timing for the front camera poweron.

Bug 200114160

Change-Id: I7df0c2bbe112b7b4409e2b2c5f733566e83df5c0
Signed-off-by: Charles Kong <charlesk@nvidia.com>
Reviewed-on: http://git-master/r/765446
(cherry picked from commit f655cb6a0646aca41d08fdaf0faefbebe62da16a)
Reviewed-on: http://git-master/r/782071
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jihoon Bang <jbang@nvidia.com>

4 years agodts: hawkeye: camera: wait after regulator off
Charles Kong [Tue, 16 Jun 2015 00:44:47 +0000]
dts: hawkeye: camera: wait after regulator off

AVDD_CAM_CAMRQ did not completely power down. This rail will down
to 868mV then power on again at boot.

Bug 200114160

Change-Id: I4c367aaf35e40fb4762bc73aa6ca91c1e543074a
Signed-off-by: Charles Kong <charlesk@nvidia.com>
Reviewed-on: http://git-master/r/758293
(cherry picked from commit b49b0394f94ad526793278a6dc43dcdac1adc12b)
Reviewed-on: http://git-master/r/782070
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jihoon Bang <jbang@nvidia.com>

4 years agoarm: tegra: Enable CFQ and deadline IO scheduler
Sang-Hun Lee [Wed, 10 Dec 2014 04:53:43 +0000]
arm: tegra: Enable CFQ and deadline IO scheduler

 - Enable CFQ and deadline IO scheduler
 - Keep NOOP as the default to allow individual platforms
   to use new schedulers only if explicitly specified

Bug 1593964

Change-Id: I80e152e2331c906ce46e8a80497c0bd95bd9e61e
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/731937
(cherry picked from commit 51dde9203a6e8019daaa66b1df0ff016b8e6b5ed)
Reviewed-on: http://git-master/r/783122
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>

4 years agohawkeye:dts:add bootloader-orienation-support prop
wahsu [Mon, 29 Jun 2015 03:27:41 +0000]
hawkeye:dts:add bootloader-orienation-support prop

To support seamless android booting in Hawkeye, we want to load different
image which depends on the device is in landscape or portrait mode.
It is not required in some other devices. Add this attribute into the device
node(/chosen) to ignore the angle value read from accelerometer device.

Bug 200115299

Change-Id: Ifaf368757eae35c72473867ba11c988c12367e44
Signed-off-by: wahsu <wahsu@nvidia.com>
(cherry picked from commit 5d881a9731597920dee2fbda2a2a02fccc9c3ef5)
Reviewed-on: http://git-master/r/777248
Reviewed-by: Gaurav Sarode <gsarode@nvidia.com>
Tested-by: Gaurav Sarode <gsarode@nvidia.com>