Revert "Revert "asoc: tegra: Add TDM mode support""

This reverts commit ce6bccb7f34259a7814d96f3e1d0d9ccd602eaf8.
video: tegra: host: move chip_support out of nvhost_master

- currently, nvhost_master holds the reference to struct
chip_support
- the struct chip_support hides the chip specific implementation
for channel submit, cdma, push buffer operations etc. so
it exposed all the internal structures through nvhost_master
- move chip_support to be a part of nvhost_bus since it only has
function pointers to chip specific api implementations
- nvhost_master is host1x device specific private data so
ideally it should not hold reference to chip specifics

Bug 871237

Change-Id: I4f3f48ee5fc47a90288d110ea8eef905150275a0
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/94421
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit

Conflicts:
	drivers/video/tegra/host/dev.h
	drivers/video/tegra/host/t20/t20.c
	drivers/video/tegra/host/t30/t30.c
video: tegra: nvavp: Add a clock request ioctl

Add nvavp_force_clock_stay_on ioctl which provides way for user-mode driver
to request the VDE/BSEV clocks. This change is to fix a hang during DRM
session close. The AVP driver may have already turned
the clocks off since playback was paused prior to session teardown. This
situation can cause the OTF driver on secure side to hang if the VDE/BSEV
clocks are not explicitly enabled prior to calling session terminate.

Bug 960130
Bug 961015
Bug 979102

Change-Id: I3c09a6766f50a01ed04fbfd03e723ad9e978909f
Reviewed-on: http://git-master/r/102024
Reviewed-by: Prajakta Gudadhe <pgudadhe@nvidia.com>
Tested-by: Prajakta Gudadhe <pgudadhe@nvidia.com>

Conflicts:
	drivers/media/video/tegra/nvavp/nvavp_dev.c
ARM: config: tegra3: enable CONFIG_REGULATOR_USERSPACE_CONSUMER

By enabling the user space regulator consumer, it is possible
to control the rail from userspace through sysfs.

bug 966960

Change-Id: I0f4a7a0afdc998d58e6448e4f621ee4e430a7ef6
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/100320
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Conflicts:
	arch/arm/configs/tegra3_android_defconfig
arm: tegra: kai: change SD1 power up period

To reduce delay between CORE_PWR_REQ and VDD_CORE, changed SD1 power up
period from 1 to 0.

Bug 930883

Change-Id: I50ea110d0cb72402b5d03c3e260e6ab340d87fbe
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/92704
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
arm: tegra kai:fix screen flicker when kernel boot up.

set vdd_pnl as 'boot_on' to avoid dropping panel VDD.
Bug 965398 959819

Signed-off-by: Linqiang Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/95398
(cherry picked from commit 9f423c83e391fa8581de2c088b4dea8248da8ae1)

Change-Id: I513e004f7ec1a46c155825af9e6278c46ca444c5
Reviewed-on: http://git-master/r/96643
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
net: wireless: sd8797: Integrate M2614311 Release

Integrate Marvell SD8797 M2614311-GPL driver release
Package Ver: T3T-14.69.11.p122-M2614311_A0B0-MGPL

Bug 954218

Change-Id: Ic4c110cc06f45cf3f612df323e68c75edeb46e11
Signed-off-by: Mohan T <mohant@nvidia.com>
Reviewed-on: http://git-master/r/100052
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
video: tegra: host: Do not panic on hardware timeout

nvhost panics if hardware does not respond within 30 seconds. Remove
this behavior, as it causes problems in emulation and simulation.
Panic should be used only to prevent corruption.

Submits are now given a default timeout of 30 seconds. The clients
can still override with their own timeout value.

MPE doesn't provide the number of slots for context save/restore.
This information is needed to be able to use the submit timeout for
MPE.

Bug 982946

Change-Id: I0f54d639df0fb726cc3163b317bf9c90bf56798b
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/100246
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
regulator: max8973: implement regulator driver for maxim8973

This driver supports ivoltage regulator driver for MAX8973
voltage regulator chip. The MAX8973 high-efficiency, three-phase,
DC-DC step-down switching regulator delivers up to 9A of
output current.

bug 981355

Change-Id: I6e4ff62139face4e47e2be269554a64c2654e74b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/102148
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
video: tegra: host: Simplify robustness

nvhost attempts to purge all buffers from timed out contexts. This is
very error prone, and not necessary. Change behavior so that only the
hung job, and the immediately following jobs from same context are
purged. This simplifies code, and corrects bug where the push buffer
modifications caused panics.

Bug 982946

Change-Id: Ifb26484cf02ef40f8d5b20338eebc0a731f453cf
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/102234
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
ARM: tegra: emc: add eack_disable functionality

Bug 946110

Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>

Change-Id: I0d4c716c4ab7a60011018d6c13be4265cc9f7290
Reviewed-on: http://git-master/r/87061
(cherry picked from commit a7dad880dcea36fcb8223cf0b34cc1091d725a9f)
Reviewed-on: http://git-master/r/102360
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Conflicts:
	arch/arm/mach-tegra/tegra3_emc.c