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>
video: tegra: host: new syncpoint max interface

Add the NVHOST_IOCTL_CTRL_SYNCPT_READ_MAX ioctl for reading max value
of a syncpoint.

Bug 1039058

Change-Id: I61c348c3007a4fb919fbe48993907d46f38c5fa8
Signed-off-by: Michal Pecio <mpecio@nvidia.com>
Reviewed-on: http://git-master/r/132387
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
arm: tegra: pcie: Fix Coverity issue

Fixed data type mismatch.
As irq was unsigned int following code was skipped always.

Bug 1046331

Change-Id: I5b04c72dfeafb3fb2f2d97cdf4c10fc5ad53dc1b
Signed-off-by: Sri Krishna chowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/131366
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
usb: serial: fix redefinition warnings
dvfs: set proper cold offset values
net: disable ipv6 iptables debug also
board-endeavoru-panel: lower default brightness
board-endeavoru-panel: add and enable smartdimmer settings
patch: fix various warnings format '%d' expects argument of type 'int', but argument 4 has type 'char *'
board-endeavoru-panel: fix warning passing argument 5 of 'setup_timer_key' makes integer from pointer without a cast
cable_detect: fix warning type defaults to 'int' in declaration of 'LIST_HEAD'
pwm: tegra: resource allocation through devm_*

Using the devm_* for memory region allocation and clock handler
request. As a result, there is no need to explicitly free them and
hence saving some code.

Change-Id: Id69d40bd44622105ea4f8a37426dd83a694adb8d
Signed-off-by: Kunal Agrawal <kunala@nvidia.com>
Reviewed-on: http://git-master/r/121581
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
arm: tegra: usb_phy: fix null pointer dereference

Fixing the null pointer dereference crash. Also
modifying USB driver not to give up in case if there
is no avdd_usb regulator.

Bug 1029852

Change-Id: I3232b7fa1580a0dc1aadd47b138e5eeae05af6f0
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/121984
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
(cherry picked from commit 48d8c7c91ea5acddf23f74abc801c89c9f16680f)
Reviewed-on: http://git-master/r/123486
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
usb: gadget: tegra_udc: Enable DR IRQ in udc_start

Currently dr_controller_run() is called only during otg state
change.
When we unload a gadget driver, for example g_mass_storage
gadget driver, dr_controller_stop() is called but when it is
loaded back dr_controller_run() won't get called becasue of the
if condition failure. i.e
	if (!udc->transceiver) {
		dr_controller_run(udc);
	}

So when the gadget driver is loaded for the second time
without removing the cable (i.e without otg state change),
the device won't get enumerated on the host because DR
IRQs are not enabled.

This CL fixes the above issue.

Bug 1012787
Signed-off-by: Preetham Chandru <pchandru@nvidia.com>

Change-Id: Ia127630e24dbe4c1e418163c2b858efb3baa8e45
Reviewed-on: http://git-master/r/114592
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
ARM: tegra: usb: handle device connect in lp0

When a otg cable is connected along with device during lp0
system will wakeup but might not complete device enumeration
before going back to lp0. In this case we have to handle pmc
disable.

Bug 1024456

Change-Id: I9acbf434e58776c3d58de1b28d442d6b20b256d0
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/123383
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
usb: gadget: tegra: remove unnecessary bus resume

Current Tegra UDC driver share same IRQ with OTG driver, and it will call
bus_resume() even if there is no UDC IRQ pending.

This patch will check UDC IRQ source and will not cause bus resume if no
IRQ pending for UDC driver.

BUG 1015685

Change-Id: Ifc5634ae5d1f7f1435c64bc527ab2e9fb8d0e36b
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/121896
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
misc: cable_detect: enable ac charger for unknown chargers
touchscreen: synaptics_3200: disable SYN_CALIBRATION_CONTROL
board-endeavoru: volume wake fix
board-endeavoru: remove obsolete nluns defines