arm: tegra: usb: USB hotplug detection using PMC

Add logic for detection of USB hotplug using PMC.

Bug 1057339
Bug 1171244

Change-Id: I0064fa95ce99ead0f16fe38de75db9ed107fc5c9
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/161275
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Conflicts:
	arch/arm/mach-tegra/tegra11x_usb_phy.c
sound: soc: tegra: rise audio gain 50%
defconfig: raw_ip_net as built-in
makefile: fix module loading when building with linaro
arm: tegra: fb: Update fix line_length

Update framebuffer's fix line_length parameter when changing
video mode dynamically.The new line_length should be according
to new x resolution. On addition, check the return value from
dc driver while setting a mode.

Bug 1163682
Bug 1056767
Bug 1056782
Signed-off-by: Shashank Sharma <shashanks@nvidia.com>
Change-Id: Ib0ab48474f0af3235556a7f7f0d8354af3b50994
Reviewed-on: http://git-master/r/147511
(cherry picked from commit 5856c4afde9459ba6afaf2cdcb07361d9fbf8c79)
Reviewed-on: http://git-master/r/160788
Tested-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

Conflicts:

	drivers/video/tegra/fb.c
defconfig: update config from TripNRaVeR
video: tegra: dc: Remove the delay while reading out crc checksum for sim

Change-Id: If6193bb74299f809f60e3edaddafd7e181b3719d
Signed-off-by: Chao Xu <cxu@nvidia.com>
Reviewed-on: http://git-master/r/93026
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
usb: serial: fix redefinition warnings
dvfs: set proper cold offset values
android: logger: enforce GID and CAP check on log flush

Restrict log flushing to those in the logs group, or
anyone with CAP_SYSLOG.

Change-Id: I5d6977d1c0d60ffe8487771cc195789e5db95454
Signed-off-by: Charndeep Grewal <csgrewa@tycho.ncsc.mil>
video: tegra: dc: remove enable/disable in set_par

Remove a work around that is no longer necessary. This fixes a strobing display
issue when scrolling or double buffering.

Bug 1161314

Change-Id: I7f74c089461b01c2f2933e14094e3190cef4726a
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/162135
Reviewed-by: Automatic_Commit_Validation_User
defconfig: update config from TripNRaVeR #2
defconfig: update config from TripNRaVeR #3
tty: serial: tegra: check function's return value

Platform_get_irq returns int. So, the check should
be (int)irq < 0 not irq < 0 which has no effect as irq
is unsigned.

Bug 1046331

Change-Id: I6599f34ef42bcd286908b4bdd029639231fb9a3d
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/159553
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
video: tegra: nvmap: Add config to fill page pools at init.

This config option allows disabling page pool fill during page pool init
and avoids increase in boottime.

Change-Id: Icdffd5c3e7114d9c368c8900c53adf72be2f3462
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/123545
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
htc: patch to 3.1.10-8580daa
patch: remove TREE_RCU depency from RCU_FAST_NO_HZ
video: tegra: 3d register read patch (see commit msg)

move 3d register read operations to the 3d device itself
and let 3d devices on tegra3 use direct to memory to read
the operations

Conflicts:

	include/linux/nvhost.h