]>
rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/log
Jeetesh Burman [Thu, 27 Aug 2015 05:56:23 +0000 (11:26 +0530)]
mmc: sdhci: resume mmc_rescan at 700ms in LP0 exit
While resuming from LP0, all interrupts for sd card are not
enabled in early resume and during that if system sends any
command (e.g enumeration CMDs by plugin SD card), system
doesn't get any response for transmitted command, this causes,
driver throw sd dump registers.
350ms is not sufficient for Jetson-CV.
To fix this issue, resuming from LP0/1, "mmc_rescan" delayed
by 700ms, so that interrupts for SD card get enabled during this
period.
Bug
200108407
Change-Id: I64122764f5dd59aadb2d6e7b8963c8b6a87317c8
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/790156
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: R Raj Kumar <rrajk@nvidia.com>
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Daniel Solomon [Fri, 14 Aug 2015 00:05:24 +0000 (17:05 -0700)]
ARM: tegra: Hawkeye: make pin pex_l0_rst common
The pin pex_l0_rst is used by the bootloader as an
output GPIO. In order for this pin's pinmux to be
configured correctly by the bootloader, it needs to
be part of the common group. In addition, since it's
an output GPIO, this pin is no longer tristated.
(Previously all this was configured by the kernel, but now
we need this functionality in bootloader as well.)
Bug
1649961
Change-Id: If458767ecb191476d778630f1152e7636cb85a51
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/783341
(cherry picked from commit
c4961707ae44c77ce588568873643a6d38b248ca )
Reviewed-on: http://git-master/r/785015
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Harry Lin [Thu, 20 Aug 2015 06:45:13 +0000 (14:45 +0800)]
arm64: dts: hawkeye: Remove unused dt prop
long-press-power-key-on-enable is deprecated.
We now use only long-press-power-key-on-time.
Bug
200111953
Change-Id: Ia779db97e203b30bf33fabf620a6b1fd7bba9eb4
Signed-off-by: Harry Lin <harlin@nvidia.com>
Reviewed-on: http://git-master/r/786378
(cherry picked from commit
de93e92c64caa188d06a8e260f0f73ef7067a211 )
Reviewed-on: http://git-master/r/790202
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Om Prakash Singh [Sat, 16 May 2015 06:08:03 +0000 (11:38 +0530)]
staging: ozwpan: don't use audio priority for none audio packets
Bug
1522708
Bug
200094897
Change-Id: Ied5ec5f428084beddad110a8e11718d76e0fab38
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/743515
(cherry picked from commit
233117f0474df197b87ba7b16b91e68d7e5cf4e5 )
Reviewed-on: http://git-master/r/768437
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Daniel Solomon [Tue, 18 Aug 2015 22:15:25 +0000 (15:15 -0700)]
video: tegra: dsi: poll for end of DC stream
The function tegra_dsi_stop_dc_stream_at_frame_end()
is used to stop the DC stream and block until either
this happens or a timeout occurs. To determine that
DC stream stopped, it waits for on a conditional
variable that gets signaled in dc_irq(). However, since
this function gets called in dc->mutex locked context,
dc_irq() cannot acquire the mutex in order to signal
the frame-end conditional variable, so the function
consistently times out. This causes a noticeable pause
in data stream to the display, which is a problem on
some displays.
Instead of using a conditional variable, switch to a
simple polling loop and wait on GENERAL_ACT_REQ to
clear. Polling time is expected to be short,
less than 1 frame, and happens only during major
transitions (display on/off, MIPI command
transmission, etc.).
Bug
1673450
Change-Id: Icdf457c72c45820f18f8a66b55c32d6b1a48f817
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/785601
(cherry picked from commit
44fa2c85094232c34f0afa4a05f05d0dd2017e83 )
Reviewed-on: http://git-master/r/796603
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Bibhay Ranjan [Fri, 4 Sep 2015 09:03:47 +0000 (14:33 +0530)]
net: wireless: bcmdhd: bump thread priority
For the latency sensitive data on wifi, the
thread priority needs to be increased.
Bug
200122028
Change-Id: Ia350ecb6f78fac7a5397296a8549b7dd845b374b
Signed-off-by: Bibhay Ranjan <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/794251
(cherry picked from commit
803af873c1f8f663c3134d53e4af1254e52646ef )
Reviewed-on: http://git-master/r/798610
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Shu Zhong [Fri, 4 Sep 2015 02:09:17 +0000 (19:09 -0700)]
backlight: lp855x: add check_fb to bl ops
Add check_fb function to bl ops so that lp855x driver
only responds when correct fb device is blanked/unblanked.
Change-Id: I944d5dbbaf2deb6f721fd62c754b5738438957e9
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/794055
(cherry picked from commit
bdedec2028e9af1fd7ad8386a29c7e68702fcf18 )
Reviewed-on: http://git-master/r/797980
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Praveen Mallaiah [Thu, 13 Aug 2015 00:51:57 +0000 (06:21 +0530)]
dvfs: tegra: update dvfs table as per POR sheet
Updated CPU DVFS table as per POR sheet
Bug
1661819
Change-Id: I69cf4d87d48298870b3b7fc7a51bbfc13352199b
Signed-off-by: Praveen Mallaiah <pmallaiah@nvidia.com>
Reviewed-on: http://git-master/r/782705
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumeet Gupta <sumeetg@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yue-Herng Lin <yueherngl@nvidia.com>
Reviewed-by: Luis Dib <ldib@nvidia.com>
Reviewed-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-by: Sreenivasulu Velpula <svelpula@nvidia.com>
Reviewed-by: Paul Giglio <pgiglio@nvidia.com>
Xianhui Wang [Wed, 19 Aug 2015 04:26:42 +0000 (12:26 +0800)]
tegra: nvmap: fix the possible dead lock
bug
200107851
When a process call nvmap_iovmm_get_client_mss it will hold mutex_lock(&h->lock)
and try to get down_read(&mm->mmap_sem), at the same time if the related
process is calling nvmap_vma_close, it have hold mm->mmap_sem for write when
it entering vm_munmap, and try to get mutex_lock(&h->lock). Then the problem
happen, many process become "uninterruptable sleep" with the two process.
Then bugreport will not work.
Try to fix the problem and let nvmap_iovmm_get_client_mss get mmap_sem firstly
then it will align with nvmap_vma_close.
The call stack:
<6>[68949.696132] memory_usage.sh D
ffffffc000086b1c 0 2771 1 0x00000000
<7>[68949.696140] Call trace:
<7>[68949.696146] [<
ffffffc000086b1c >] __switch_to+0x3c/0x48
<7>[68949.696151] [<
ffffffc000b90410 >] __schedule+0x4b4/0x5e0
<7>[68949.696156] [<
ffffffc000b90588 >] schedule+0x4c/0x68
<7>[68949.696161] [<
ffffffc000b91234 >] __down_read+0xb8/0xe0
<7>[68949.696166] [<
ffffffc000b8f85c >] down_read+0x28/0x38
<7>[68949.696174] [<
ffffffc0004705b8 >] nvmap_iovmm_get_client_mss+0xf8/0x1ac
<7>[68949.696180] [<
ffffffc0004706fc >] nvmap_debug_iovmm_procrank_show+0x90/0x124
<7>[68949.696185] [<
ffffffc0001c8b94 >] seq_read+0x178/0x3d4
<7>[68949.696190] [<
ffffffc0001a30c8 >] vfs_read+0x94/0x158
<7>[68949.696195] [<
ffffffc0001a3a78 >] SyS_read+0xbc/0x16c
<6>[68949.696870] nvtest64 D
ffffffc000086b1c 0 9220 1 0x00000000
<7>[68949.696877] Call trace:
<7>[68949.696883] [<
ffffffc000086b1c >] __switch_to+0x3c/0x48
<7>[68949.696888] [<
ffffffc000b90410 >] __schedule+0x4b4/0x5e0
<7>[68949.696893] [<
ffffffc000b90588 >] schedule+0x4c/0x68
<7>[68949.696898] [<
ffffffc000b90a04 >] schedule_preempt_disabled+0x10/0x24
<7>[68949.696904] [<
ffffffc000b8f42c >] __mutex_lock_slowpath+0x19c/0x264
<7>[68949.696909] [<
ffffffc000b8f534 >] mutex_lock+0x40/0x60
<7>[68949.696914] [<
ffffffc00046ede8 >] nvmap_vma_close+0x64/0x234
<7>[68949.696919] [<
ffffffc000182e64 >] remove_vma+0x3c/0x6c
<7>[68949.696924] [<
ffffffc000184110 >] remove_vma_list+0x68/0x9c
<7>[68949.696928] [<
ffffffc000184b60 >] do_munmap+0x1d8/0x250
<7>[68949.696932] [<
ffffffc000184c18 >] vm_munmap+0x40/0x64
<7>[68949.696937] [<
ffffffc000184cc8 >] SyS_munmap+0x8c/0x11c
Change-Id: Icee67329c2dbbd05b10a7ddf0dcc4167191623d3
Signed-off-by: Xianhui Wang <xianhuiw@nvidia.com>
Reviewed-on: http://git-master/r/785721
(cherry picked from commit
306af7c0b904d04300c8a6e202bdf7eea6acd5af )
Reviewed-on: http://git-master/r/788685
Reviewed-by: Maneet Maneet Singh <mmaneetsingh@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Naveen Kumar S [Mon, 24 Aug 2015 11:54:41 +0000 (17:24 +0530)]
video: tegra: hdmi: fix mode_filter mode rejection
When comparing Pixel clock in Pico Seconds, we should reject
those modes which are less than maximum supported pixel clock
in pico seconds. This is equivalent to rejecting modes that
need a higher pixel clock frequency than maximum pixel clock.
bug
200130894
Change-Id: Ie9b0f64867533ad9b4234216d15c56e9062d4a4e
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/788160
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Kerwin Wan [Thu, 10 Sep 2015 10:39:39 +0000 (18:39 +0800)]
arm64: tegra: jetson_cv: disable SAR on super module
SAR will cause gpio expander fail to work and system
become very stuck. Disable it now until the issue is
fixed.
Bug
200137392
Change-Id: Ia7c453a6f5e5667fd767707a66d27b57b135e005
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/796998
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>
Laxman Dewangan [Fri, 11 Sep 2015 14:18:32 +0000 (19:48 +0530)]
platform: tegra: add support for board specific prod
Add support for board specific prod settign also.
Currently, prod settings are chip specific. On this,
add the board specific prod setting as child node to
configure for given board.
prod-device {
prod = < chip specific>;
board-specific {
prod = <board specific>;
};
};
bug
200119447
Change-Id: Ieb0dd1037b5fd7a2f05e4eb458b0fe374df0671f
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/797770
GVS: Gerrit_Virtual_Submit
Dhruvaraja Kunjar [Fri, 6 Feb 2015 04:39:08 +0000 (10:09 +0530)]
net:wireless:bcmdhd: Enable PMF support
Enable the Protected Management Frames feature which
is mandatory for 802.11-ac certification.
Bug
200060786
Change-Id: I60cf958f9320fc3e92712d9aff192f8d21a3d190
Signed-off-by: Kasturi Raghavender <kraghavender@nvidia.com>
Reviewed-on: http://git-master/r/681820
(cherry picked from commit
f3c9e1de630a0ae2a6fd9f055ea372644521f27b )
Reviewed-on: http://git-master/r/696336
Reviewed-on: http://git-master/r/791749
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-on: http://git-master/r/796415
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
kraghavender [Thu, 3 Sep 2015 18:58:06 +0000 (00:28 +0530)]
net: wireless: bcmdhd: Synchronize p2p deletion
dhd_dpc thread gets tainted when 'dhd_rx_frame' access the p2p
interface data strcuture which is deleted by cfg layer
asyncronous call back 'wl_cfg80211_del_virtual_iface'.
There is no proper synchronization between p2p interface deletion by
cfg and interface access data structure in 'dhd_rx_frame'.
This will fix syncronization issues between cfglayer p2p
interface deletion and 'dhd_rx_frame' access of p2p interface data
structure. Instead of deleting the p2p interface in cfglayer
asynchronous call, mark the p2p interfacelist as NULL when p2p firwmare
delete event is given to DHD and delete it in cfg layer delete
virtual interface call.
Bug
200134576
Change-Id: I17a29d2fa355436003af734ae994a42dcf7a7726
Signed-off-by: Kasturi Raghavender <kraghavender@nvidia.com>
Reviewed-on: http://git-master/r/796406
GVS: Gerrit_Virtual_Submit
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Prafull Suryawanshi [Thu, 20 Aug 2015 09:03:52 +0000 (14:33 +0530)]
video: tegra: dsi: attempt retry for dsi write fail
This logic adds retry attempts for possible dsi write
failure. It also takes care of error to be propagated to
caller.
bug
200124422
Change-Id: I652ac4c6e513585a4f94048b6596e4aec9f22b4b
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/786469
(cherry picked from commit
e9f89cda70103526c1a524576de6d310fed434f2 )
Reviewed-on: http://git-master/r/786467
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Prafull Suryawanshi [Thu, 3 Sep 2015 10:45:46 +0000 (16:15 +0530)]
video: tegra: dc: mark crc_pending false frame end
In one of the instance, found that crc_pending needs
to set false at the time of frame end interrupt. It is
already handled for one shot irq and now adding for
continuous irq.
bug
200117718
Change-Id: I6c071ce95804cf07ba4eadc0e8004a4d8369ed70
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/793706
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Bibek Basu [Mon, 17 Aug 2015 11:18:59 +0000 (16:48 +0530)]
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
(cherry picked from commit
da2221aad86f84908072420b975c5ef0d6502a53 )
Reviewed-on: http://git-master/r/795624
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Krishna Yarlagadda [Mon, 6 Jul 2015 18:07:52 +0000 (23:37 +0530)]
xhci: tegra: Set trigger to boost frequency
Boost cpu frequency only when buffer of bulk and isoc
transfers exceeds particular size configured by dt
Bug
200115844
Change-Id: Ia6948395d893e426600ba0554f50f209f6d921d4
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/769451
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
Tested-by: Shreshtha Sahu <ssahu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Krishna Yarlagadda [Mon, 6 Jul 2015 18:24:23 +0000 (23:54 +0530)]
arm64: jetson: dts: set default boost for xhci
Jetson boards have ethernet device on xhci and this
will cause cpu boost to be always on which is not desired
Removed dt change to load default boost frequency 800MHz
Bug
200115844
Change-Id: Iad8d370f4036b08b5491b033d1d8e147c522845e
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/769452
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Naveen Kumar Arepalli [Tue, 8 Sep 2015 04:05:40 +0000 (09:35 +0530)]
ARM64: dtsi: Support eMMC on sdmmc3
-Add eMMC Support on SDMMC for jetson-cv-p2597-2180
Bug
200137330
Change-Id: I6409dc7567c578f16ae576607e115c3c9a0f6b8f
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/795312
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shreshtha Sahu <ssahu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>
Shreshtha SAHU [Mon, 7 Sep 2015 11:36:07 +0000 (17:06 +0530)]
arm64: dts: enable INA3221 in P2180
Enable INA3221 in P2180 for power measurements.
Bug
1674705
Change-Id: Ib65e3349943b815b0d5e31c7f4f703e4f4bf5fa4
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/795255
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
Douglas Anderson [Wed, 28 Aug 2013 23:08:01 +0000 (00:08 +0100)]
ARM: 7829/1: Add ".text.unlikely" and ".text.hot" to arm unwind tables
It appears that gcc may put some code in ".text.unlikely" or
".text.hot" sections. Right now those aren't accounted for in unwind
tables. Add them.
I found some docs about this at:
http://gcc.gnu.org/onlinedocs/gcc-4.6.2/gcc.pdf
Without this, if you have slub_debug turned on, you can get messages
that look like this:
unwind: Index not found
7f008c50
bug
200110987
bug
200120060
Change-Id: I5f70de5aa2ecc71e00e32908ca8d690e1edb9032
Signed-off-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
(cherry picked from commit
849b882b52df0f276d9ffded01d85654aa0da422 )
Change-Id: I82456cd2d538f8635ecba34bfad107d2a5145170
Reviewed-on: http://git-master/r/784820
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Stephen Rothwell [Tue, 21 May 2013 03:49:35 +0000 (13:49 +1000)]
Finally eradicate CONFIG_HOTPLUG
Ever since commit
45f035ab9b8f ("CONFIG_HOTPLUG should be always on"),
it has been basically impossible to build a kernel with CONFIG_HOTPLUG
turned off. Remove all the remaining references to it.
bug
200110987
bug
200120060
Change-Id: I36c04ae841a55cd2c85b6cf2483ae3f691ee8c9f
Cc: Russell King <linux@arm.linux.org.uk>
Cc: Doug Thompson <dougthompson@xmission.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Steven Whitehouse <swhiteho@redhat.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
(cherry picked from commit
40b313608ad4ea655addd2ec6cdd106477ae8e15 )
Change-Id: Ia685a4b416755a918c6f0c760a85d75e4dd29043
Reviewed-on: http://git-master/r/784819
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Ankita Garg [Tue, 25 Aug 2015 23:15:03 +0000 (16:15 -0700)]
HID: hidraw: Fix potential memory leak in list->buffer
Bug
1677312
Change-Id: I4fe6296b3d944c7ebf81f3af2aa73256688a4613
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/789231
(cherry picked from commit
78d9ee9ad113e31193fdfae30f3743a0febcb8ca )
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/791185
GVS: Gerrit_Virtual_Submit
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Eric Chuang <echuang@nvidia.com>
Ankita Garg [Tue, 25 Aug 2015 22:55:39 +0000 (15:55 -0700)]
HID: hidraw: Fix memory leak in list->buffer
Deallocate memory allocated to list->buffer[x].value on
release
Bug
1677312
Change-Id: Iaf320327e917b3e78b07230819d51053e43e2c25
Signed-off-by: Ankita Garg <ankitag@nvidia.com>
Reviewed-on: http://git-master/r/791189
GVS: Gerrit_Virtual_Submit
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Eric Chuang <echuang@nvidia.com>
Shardar Shariff Md [Tue, 8 Sep 2015 14:20:52 +0000 (19:50 +0530)]
arm64: dts: hawkeye: set gen2 prod settings
set gen2 recommended prod settings for 100KHz
and remove earlier settings done for 400KHz
Bug
200114347
Change-Id: Iae0b89e071233fbca3b24e8668242b21dc833b63
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/795802
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Vipin Kumar [Tue, 25 Aug 2015 04:42:19 +0000 (10:12 +0530)]
t124: vcm30t124: Enable disable-clock-request for PCIE ports
Because of a HW bug in T124, clkreq line from the endpoint is not
honored by the PCIE host. A new DT property "disable-clock-request"
handles it such that the driver enables clkref irrespective of clkreq.
Both vcm30t124 based platfroms (p1859 and p2360) use clkreq line from
the EP. So, this patch defines this property for all vcm30t124 based
platforms.
bug
200132704
Change-Id: Iaff60db64ed2512aa21058f576072f97336bf1ad
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-on: http://git-master/r/788587
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Josh Kuo [Fri, 21 Aug 2015 08:14:54 +0000 (16:14 +0800)]
HACK: modify smc calls mapping for foster_e
rel-23 will enable retail foster_e with a stock android build.
The fused unit of foster_e uses the existing tos prebuilt from rel-22,
which is based on legacy smc calls mapping.
Need to roll back the smc mapping to legacy ones for retail foster_e
Bug
1676875
Bug
200116003
Change-Id: I3dd1fcef04c96034455badae3d5154a6f4494697
Signed-off-by: Josh Kuo <joshk@nvidia.com>
Reviewed-on: http://git-master/r/787163
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>
Josh Kuo [Fri, 21 Aug 2015 08:10:21 +0000 (16:10 +0800)]
HACK: dt: roll back psci version for foster_e
rel-23 will enable retail foster_e with a stock android build.
The fused unit of foster_e uses existing bootloader prebuilt on unit,
which is based on legacy bpmp.
roll back psci version due to bpmp compatibility.
Bug
1676875
Bug
200116003
Change-Id: I670b795bd2309354892f4695391b80f2a0da335a
Signed-off-by: Josh Kuo <joshk@nvidia.com>
Reviewed-on: http://git-master/r/787155
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>
Spencer Sutterlin [Wed, 29 Jul 2015 19:03:11 +0000 (12:03 -0700)]
HID: Fix Blake vibration
Remove the check for application in HID report. Blake fails this
check and doesn't initialize Force Feedback.
Bug
1625921
Change-Id: Ifb4d7b82c63aee4535022d7b6bb697275b721ac1
Signed-off-by: Spencer Sutterlin <ssutterlin@nvidia.com>
Reviewed-on: http://git-master/r/776459
(cherry picked from commit
11dbd3089a693df4923244c2b83d13f0ee19d1b3 )
Reviewed-on: http://git-master/r/792805
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Spencer Sutterlin [Wed, 29 Jul 2015 19:12:26 +0000 (12:12 -0700)]
Revert "Revert "HID: remove extra kfree""
Needed to prevent system hangs when Blake disconnects/connects
with force feedback (FF) enabled
Bug
1625921
This reverts commit
4e22eef0777eddfef50687395c87997a16498aac .
Change-Id: Ie423f456a3305325a9f87d273eeb5511cf6092b7
Signed-off-by: Spencer Sutterlin <ssutterlin@nvidia.com>
Reviewed-on: http://git-master/r/776458
(cherry picked from commit
dcfe20d7df7cd303c7c8fe8630e961b21574c970 )
Reviewed-on: http://git-master/r/792804
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Om Prakash Singh [Fri, 21 Aug 2015 06:24:19 +0000 (11:54 +0530)]
net: wireless: bcmdhd: Send DISASSOC to FW if status of wlan is connecting
Bug
200094442
Bug
200104476
Change-Id: I18a1f633f2019cd160cd342f39319a313637ffd6
Signed-off-by: lungtsai_lin <lungtsai_lin@htc.com>
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/744280
(cherry picked from commit
a1418f5f2b871f362050ca858c7c7aa6c6815a83 )
Reviewed-on: http://git-master/r/787093
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Naveen Kumar S [Tue, 1 Sep 2015 06:35:54 +0000 (12:05 +0530)]
video: fbcon: Keep atleast one mode in modelist
Framebuffer console init requires atleast one valid
mode to exist for it to succeed.
Virtual terminals relies on the success of fbcon_init
without really checking the return value of this function.
tegra_dc_vga_mode already defined in dc.c. Removed duplicate
defination in hdmi.c and hdmi2.0.c
bug
200036424
bug
200130124
bug
200129681
Change-Id: Ia34da6ab3814f667a485d23ef88e1a52f8b5519b
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/707309
(cherry picked from commit
73a561a53469912d94c0dea866646c87ec257bef )
Reviewed-on: http://git-master/r/792235
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Anubhav jain [Tue, 18 Aug 2015 10:09:38 +0000 (15:39 +0530)]
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>
Reviewed-on: http://git-master/r/793613
GVS: Gerrit_Virtual_Submit
Naveen Kumar S [Fri, 4 Sep 2015 13:34:06 +0000 (19:04 +0530)]
video: tegra: use vga mode if no edid upon hotplug
When hdmi cable is connected but we do not get EDID from
sink for some reason, fallback to default vga mode so that
upper layers won't hang due to null mode.
bug
200102964
Change-Id: I0c898f26644472e39101ade4aa04be741487089d
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/794362
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
sujeet baranwal [Mon, 31 Aug 2015 22:32:13 +0000 (15:32 -0700)]
gpu: nvgpu: Add CDE bits in FECS header
In case of CDE channel, T1 (Tex) unit needs to be promoted to 128B
aligned, otherwise causes a HW deadlock. Gpu driver makes changes in
FECS header which FECS uses to configure the T1 promotions to aligned
128B accesses.
Bug
200096226
Change-Id: Ic006b2c7035bbeabe1081aeed968a6c6d11f9995
Signed-off-by: sujeet baranwal <sbaranwal@nvidia.com>
Reviewed-on: http://git-master/r/792051
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Daniel Solomon [Tue, 1 Sep 2015 23:14:35 +0000 (16:14 -0700)]
tegra: dc: ext: fix Coverity dead code issue
Forcing has_timestamp to flase on Android causes
dead code.
Fix for Coverity CID 19586.
Bug
200116059
Change-Id: I3082f660d0a3d3c63d2d37e0cbbb80230e57a431
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/792746
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Laxman Dewangan [Sat, 5 Sep 2015 00:40:53 +0000 (06:10 +0530)]
arm-dt: Enable DT proc updates.
This simple patch enables dynamic changes of the DT tree on runtime
to be visible to the device-tree proc interface.
This is based on patch
31982e52f0f5d6d51e69d5c4c4a7be5d52307c6e
bug
200137206
Change-Id: I6c8ec8b13943d4ea12f495e0f92ebf52f96e08d1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/794621
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Sat, 5 Sep 2015 00:33:37 +0000 (06:03 +0530)]
of: add support for plugin manager for board-id based DT update
Add support for plugin manager which identify the board ID
of platform and update the DT before kernel populate devices
based on the DT.
This way, the single DTS file can work with multiple module with
proper overlay.
bug
200137206
Change-Id: Iad1a2551620a9a4a441a116b713b76e2096dcd53
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/794620
GVS: Gerrit_Virtual_Submit
Shu Zhong [Thu, 20 Aug 2015 23:18:35 +0000 (16:18 -0700)]
video: tegra: dc: no hotplug for eDP
tegra_dc_hotplug_supported should be false for
eDP panels. Currently, we still need it to return
true for VCM30T124 to prevent inadvertent sanity failures
on p1859.
Bug
200113686
Change-Id: Ic9619c75a427546c9a536ada215c964a10764ce7
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/793873
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Santosh Reddy Galma [Mon, 17 Aug 2015 11:51:40 +0000 (17:21 +0530)]
video: tegra: dp: WAR to disable hdcp for dp
Change-Id: Iee25c4486f530ac53b4d5ceab8d6279d793e7abe
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/784761
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Santosh Reddy Galma [Mon, 10 Aug 2015 14:49:52 +0000 (20:19 +0530)]
video: tegra: dp: fix dp switch handling
skip hpd switch and audio switch registration for
eDP as they are not required for eDP. Also perform
switch related calls only for DP.
Bug
200128097
Change-Id: Ic320f4be2be92a80ba4d62fa9e7d65af2139deb5
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/781143
(cherry picked from commit
b187863c5f4cc112e125f83a7ac996f2edf943be )
Reviewed-on: http://git-master/r/782806
(cherry picked from commit
c13abf6e77a5e59d4f3a476c63c5f11466dfc385 )
Reviewed-on: http://git-master/r/784730
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Santosh Reddy Galma [Mon, 17 Aug 2015 10:19:52 +0000 (15:49 +0530)]
video: tegra: dp: fix integration errors
fixed compilation errors caused for integrations to
rel23 codetree.
Bug
200128097
Change-Id: Ia825fafae8830b9f13eb4ff25f6e78f5d13c38ee
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/784713
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Animesh Kishore [Fri, 10 Jul 2015 17:03:16 +0000 (22:33 +0530)]
video: tegra: dp: Add eDP support
Bug
200113686
Change-Id: Ia21ad07d253026337f9590c3dc6482e005e26cd2
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/767154
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mitch Luban <mluban@nvidia.com>
(cherry picked from commit
e4a90cb18ca3033b33645235fff83bd2d5fe0a83 )
Reviewed-on: http://git-master/r/781172
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
Animesh Kishore [Mon, 8 Jun 2015 18:01:52 +0000 (23:31 +0530)]
video: tegra: dp: Add hotplug support
Hotplug support with unified hpd driver
and new link architecture.
Bug
200113686
Change-Id: Ib32c3661b3653007080c40cc6c9a9f00201c941c
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/766601
(cherry picked from commit
b720f8d058d4d90d97a1db3a2481baa43254cf48 )
Reviewed-on: http://git-master/r/781170
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Animesh Kishore [Mon, 29 Jun 2015 13:09:52 +0000 (18:39 +0530)]
video: tegra: hpd: Add hotplug driver
Generic hotplug driver to cater all
external display interfaces.
Bug
200077478
Bug
200113686
Change-Id: I2af3e02e4bd86f73d84b1d41e9855df8c6d8cf71
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/766599
(cherry picked from commit
0133d7fcdbd18b5519bb0fa96bfe24f8e23e3e5e )
Reviewed-on: http://git-master/r/781165
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Animesh Kishore [Mon, 8 Jun 2015 17:58:36 +0000 (23:28 +0530)]
video: tegra: dp: Add link training driver
Bug
200113686
Change-Id: If545957c34da8d69d0184f214847260ed3874882
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/766600
(cherry picked from commit
f02c1d7bd062f0d2233cf49a5058889fb61517cb )
Reviewed-on: http://git-master/r/781164
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Animehs Kishore [Mon, 29 Jun 2015 13:53:12 +0000 (19:23 +0530)]
video: tegra: sor: Fix detach sequence
- Add polling for head op mode sleep completion
- fix head op mode final state
- refactor for better code utilization across all chips
Bug
200103501
Change-Id: Iede7d004558149e29e5c9e7d90010ff8f606215f
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/762361
(cherry picked from commit
c5c4e9217ccbe4d6eb2a9fef3998cab642b6a2b6 )
Reviewed-on: http://git-master/r/780903
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Animesh Kishore [Mon, 8 Jun 2015 17:31:49 +0000 (23:01 +0530)]
Revert "video: tegra: dp: add hotplug support"
This reverts commit
7378658fc6b568e26ea154f1c905500cb3a140ac .
Display port new architecture to be added after removing old
architecture.
Change-Id: I5b87e1b40bfe60f2abb20f05f3919951f79c72b3
Signed-off-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-on: http://git-master/r/766598
Reviewed-on: http://git-master/r/781162
Reviewed-by: Santosh Galma <galmar@nvidia.com>
Reviewed-by: Shu Zhong <shuz@nvidia.com>
Tested-by: Shu Zhong <shuz@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
nagaraj [Sat, 15 Aug 2015 02:44:15 +0000 (19:44 -0700)]
Net:bcmdhd: Fix persistent scan failures
Handle escan failure from firmware and
reduce scan retry count for faster recovery.
Bug
200130449
Change-Id: I758d85a4544b0752d883cf997e5b0509ce45a625
Signed-off-by: nagaraj <nannaiah@nvidia.com>
Reviewed-on: http://git-master/r/783962
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Srinivas Ramachandran <srinivasra@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-on: http://git-master/r/788301
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Prafull Suryawanshi [Mon, 17 Aug 2015 09:16:42 +0000 (14:46 +0530)]
video: tegra: dsi: limit dsi sync timeout.
As for hawkeye panel, dsi needs commands while shutdown,
dsi syncpoint timeout causing shutdown to stall. To unblock
it, limiting the timeout for the dsi sync writes. Earlier
it was max, now changing it to 500 msec. This is safe to
detect faiure as dsi sync write atmost takes 60 msec.
bug
200124422
Change-Id: I706498d566fdf0d9d4443452b1dacf24a759a07e
Signed-off-by: Prafull Suryawanshi <prafulls@nvidia.com>
Reviewed-on: http://git-master/r/785188
(cherry picked from commit
dfb766b06b3a2663501b11e9d8e4f24a3cdb5153 )
Reviewed-on: http://git-master/r/784680
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Michael Hsu [Thu, 6 Aug 2015 02:34:58 +0000 (19:34 -0700)]
net: wireless: bcmdhd: Add pno timing to custom scan policy.
Allow PNO (preferred network offload) scanning timing parameters to
be configured via the bcmdhd driver sysfs node.
Write this character string to the bcmdhd sysfs node for scan configuration:
pno <time> <repeat> <freq_expo_max> <pno-timing-parameter>...
where <pno-timing-parameter> is one of these options:
-H home_away_time
-n nprobes
-a active_time
-p passive_time
-h home_time
Change-Id: I0ac75a6935dad2af53c998f871d4f5bbab9cc4de
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/782133
(cherry picked from commit
265c05f28b74c2886efecc4b76c1e99a4650f8f7 )
Reviewed-on: http://git-master/r/779545
Tested-by: Nagaraj Annaiah <nannaiah@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Songhee Baek [Fri, 21 Aug 2015 22:12:23 +0000 (15:12 -0700)]
arm: tegra: p2360: add runtime-pwrctrl-off in isc
Bug
1675354
Change-Id: I381a6eb5e65503bafba4642b5615c73a19be641c
Signed-off-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-on: http://git-master/r/788376
(cherry picked from commit
52a5df32b8ab9ad26064fb57feda7aa9002bfafe )
Reviewed-on: http://git-master/r/787592
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Anurag Dosapati <adosapati@nvidia.com>
Reviewed-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Songhee Baek [Fri, 21 Aug 2015 21:53:23 +0000 (14:53 -0700)]
drivers: media: platform: tegra: auto: pwr ctrl
Added runtime-pwrctrl-off property for user to control power up
timing.
Bug
1675354
Change-Id: Ia5d77f0786f4cfa34faba2dd1ee0635bbce79f31
Signed-off-by: Songhee Baek <sbaek@nvidia.com>
Reviewed-on: http://git-master/r/788375
(cherry picked from commit
1f164e541454187fd98232bd14ee034a351db700 )
Reviewed-on: http://git-master/r/787591
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Anurag Dosapati <adosapati@nvidia.com>
Reviewed-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Arun Kannan [Tue, 18 Aug 2015 00:15:15 +0000 (17:15 -0700)]
media: soc_camera: imx230 v4l2 driver
Bug
1654210
Change-Id: Ia99855c91b67dff064bf74a4822c41cb4b9d1b97
Signed-off-by: Arun Kannan <akannan@nvidia.com>
Reviewed-on: http://git-master/r/785059
Reviewed-by: David Wang (SW-TEGRA) <davidw@nvidia.com>
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Venkat Reddy Talla [Tue, 1 Sep 2015 16:15:51 +0000 (21:45 +0530)]
power: bq2419x: set JEITA voltage offset
Set JEITA voltage offset bit to limit battery charge
voltage when battery temperature measured above threshold
value.
Bug
1647341
Change-Id: Ie041a861af052668bb41a99e6ae39061613f88aa
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/792535
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Viswanath L [Mon, 31 Aug 2015 12:46:21 +0000 (18:16 +0530)]
tegra-alt: Jetson-E/CV: Update DMIC DAI params
Update DAI params for "spdif-dit-2" (DMIC) so that DMIC driver
receives correct PCM configuration
Bug
200135303
Bug
200078772
Change-Id: Id65fea270483cff0953ad75f5d1e2142f508631f
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/791778
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Viswanath L [Wed, 2 Sep 2015 07:57:48 +0000 (13:27 +0530)]
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.
Bug
200132890
Bug
200127533
Change-Id: Ifcfc6b5c4673961afd2d5e00318c97f8f2d0df18
Reviewed-on: http://git-master/r/787165
(cherry picked from commit
f16ec9b89450d51cc805384407d4256e4204b141 )
Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/792967
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Viswanath L [Wed, 19 Aug 2015 06:44:08 +0000 (12:14 +0530)]
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>
Reviewed-on: http://git-master/r/787161
(cherry picked from commit
0ca8375f298aa2047cecc016ff89b5d11ef695ae )
Reviewed-on: http://git-master/r/792948
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Viswanath L [Thu, 13 Aug 2015 09:32:31 +0000 (15:02 +0530)]
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
Reviewed-on: http://git-master/r/787114
(cherry picked from commit
fca8052a35e3ffcaa43c605b992c70c0abc405fe )
Reviewed-on: http://git-master/r/792945
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Laxman Dewangan [Thu, 3 Sep 2015 17:11:05 +0000 (22:41 +0530)]
ARM: tegra210: hawkeye: add top level DTS file for P2290-A04
Add top level DTS file for P2290-A04 DVT and MP.
bug
1679130
Change-Id: I27b518b323265f52b04ccef8fafacaca30d1f72d
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/793807
Terje Bergstrom [Mon, 6 Apr 2015 19:02:57 +0000 (12:02 -0700)]
video: tegra: host: Boost num active workers
This patch increases the number of active workers to provide lower
latency for handling the syncpoint operations.
Bug
1598036
Bug
1671794
Change-Id: I30789b8adb8917664b9fa2cf66ebf25c2e2a4855
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/728122
(cherry picked from commit
0e0fce5049d578b7982634c938b64a1f9b04b6dd )
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/776930
Tested-by: Gagan Grover <ggrover@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Arto Merilainen [Wed, 15 Apr 2015 17:52:39 +0000 (20:52 +0300)]
video: tegra: host: Optimize work wakeup
Currently nvhost handles all interrupt events without
prioritization in the same workqueue. However, this may lead
into cases where work queue clean-up may slow down waking up
the waiters.
This patch modifies the queue to be cleaned up in two stages:
In the first stage all events are cleaned up but events related
to nvhost jobs or external events (gpu jobs) are pushed into a
global list. The handler first goes through the high-priority
handlers (ACTION_SIGNAL_SYNC_PT, ACTION_WAKEUP) and then
schedules a low-priority thread to take care of job clean-up
(ACTION_SUBMIT_COMPLETE, ACTION_NOTIFY events).
Bug
1598036
Bug
1671794
Change-Id: I744849efce27802067beeaca49f1381395dd7f90
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/733010
(cherry picked from commit
b976172d1f193f815aaa0a320243b48587c5d1d5 )
Reviewed-on: http://git-master/r/776929
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Gagan Grover <ggrover@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Arto Merilainen [Tue, 21 Apr 2015 08:02:11 +0000 (11:02 +0300)]
video: tegra: host: Use mutex in intr handling
Currently syncpoint interrupts are using spinlocks despite the handler
in itself is always running in threaded context. This patch converts
syncpoint interrupt spinlock into mutex to allow list users sleep.
Bug
1598036
Bug
1671794
Change-Id: Ic1e71961820c5561a73eb9ef0e5ff30db271d76b
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/733588
(cherry picked from commit
2a7e2fcfda9b1879ad745e87f933c85ff1e52370 )
Reviewed-on: http://git-master/r/776928
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Gagan Grover <ggrover@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Gaurav Singh <gauravsingh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Haley Teng [Mon, 6 Jul 2015 12:37:02 +0000 (20:37 +0800)]
gpu: nvgpu: vgpu: create some handlers in gpu_ops
gk20a_fifo_force_reset_ch(), gr_gk20a_update_smpc_ctxsw_mode() and
gk20a_tsg_open() do not support vgpu now, so we need to create some
function pointers in gpu_ops and assign them differently for vgpu and
non-vgpu.
By this change, we can avoid kernel panic issues when user space invokes
the below 3 ioctls in case virtual GPU driver is enabled.
- NVGPU_IOCTL_CHANNEL_FORCE_RESET
- NVGPU_GPU_IOCTL_OPEN_TSG
- NVGPU_DBG_GPU_IOCTL_SMPC_CTXSW_MODE
Bug
200103517
Change-Id: Ib27d6cd348c0b166085c3d44b7db730792a669a7
Signed-off-by: Haley Teng <hteng@nvidia.com>
Reviewed-on: http://git-master/r/766657
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Laxman Dewangan [Sat, 29 Aug 2015 08:20:20 +0000 (13:50 +0530)]
ARM64: t210: Hawkeye: remove GPU rail disable time configuration
There is no need to provide the disable time got GPU rail
and hence setting it as 2US instead of 60mS.
2uS is configured so that driver default based on datasheet
should be override with platform need.
Change-Id: Ie7d7a9f67edbfcd27ebf23521a4b8fc53b3ff04b
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/791405
Zheng Liu [Wed, 2 Sep 2015 18:26:22 +0000 (11:26 -0700)]
arm64: jetson: move node for EEPROM to base dtb
Move the board-has-eeprom node to the base dtb to support L4T.
Bug
200136453
Change-Id: I8f95ca8ca8c0676a8b0d321daf5393651bd49a7c
Signed-off-by: Zheng Liu <zhliu@nvidia.com>
Reviewed-on: http://git-master/r/793252
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Shreshtha SAHU [Mon, 31 Aug 2015 09:26:15 +0000 (14:56 +0530)]
arm64: dts: update INA3221 sense resistor in P2180
Update sense resistors of all three channels of INA3221 in P2180
Jetson-CV Compute Module rev-A00 to match actual values in HW.
Disable INA3221 for Compute Module rev-A00 based boards as result
are inaccurate.
Bug
1674705
Change-Id: I1714558040fc475ec713a7cbf56598260229682a
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/791715
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-by: Hayden Du <haydend@nvidia.com>
Shreshtha SAHU [Thu, 13 Aug 2015 12:10:47 +0000 (17:40 +0530)]
tegra: t210: set ext Tdiode shoutdown temp to 107C
Tdiode thermal external sensor shutdown temperature should be 107C
Bug
1674815
Change-Id: I2286808f9780f012c5f180ac751408b7080dd0b1
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/782995
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Kerwin Wan [Thu, 30 Jul 2015 05:45:24 +0000 (11:15 +0530)]
arm64: jetson-cv: enable LP855X backlight
Enable CONFIG_BACKLIGHT_LP855X in L4T defconfig and device tree
Bug
200127327
Change-Id: I7e56dc2eea0cddd84444eb8c608864f212abfea0
Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com>
Reviewed-on: http://git-master/r/776611
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Kerwin Wan [Mon, 31 Aug 2015 09:17:41 +0000 (17:17 +0800)]
arm64: tegra: jetson_cv: add separate dts for boards w/ e2614
Bug
200129230
Change-Id: Ifa92d75e7845cdabd55f7bed89864057c6cacdae
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/791720
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hayden Du <haydend@nvidia.com>
Santosh Reddy Galma [Tue, 30 Jun 2015 10:01:33 +0000 (15:31 +0530)]
arm64: dts: tegra210: add jetson cv hdmi prod settings
Bug
1660935
Change-Id: I15630379e742408ea065fa282d9d224b5013da0d
Signed-off-by: Santosh Reddy Galma <galmar@nvidia.com>
Reviewed-on: http://git-master/r/764115
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Arto Merilainen [Wed, 26 Aug 2015 23:58:02 +0000 (02:58 +0300)]
video: tegra: host: Restore poweroff request
Change
1a1db66cc323f6ac9e1f0d95449078b8de2f0073 refactored
keepalive flag to take a real pm runtime reference to a
device whenever the corresponding device node was open.
However, this regressed suspend stress testing; Since we
now take a real pm runtime reference to the device, having
the device node open prevents suspend. Depending on timing,
this may lead to failure to suspend.
This patch restores the no-poweroff request functionality to
nvhost acm and modifies poweroff requests to be flushed.
Bug
200132870
Change-Id: Ibdabec9ee004f2724595c64736b1a36d7f2cff25
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/791367
(cherry-picked from commit
27019e0147b9a9b408b21fa530b3e50e6aa84881 )
Reviewed-on: http://git-master/r/790718
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Arto Merilainen [Tue, 11 Aug 2015 04:17:54 +0000 (07:17 +0300)]
video: tegra: host: Simplify keepalive flag
Currently nvhost uses pm_qos API for keeping certain devices
powered. However, due to API limitations this may lead to cases
where the device does not get powered immediately when setting
the flag - or the power domain remains powered after the constraint
has been removed.
This patch refactors code to use only pm_runtime for enabling or
disabling power-off functionality.
Change-Id: I2fc9dd2d4c62626da847d37d689b5fad1935a25e
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-on: http://git-master/r/781457
(cherry-picked from commit
1a1db66cc323f6ac9e1f0d95449078b8de2f0073 )
Reviewed-on: http://git-master/r/789645
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Shu Zhong [Mon, 17 Aug 2015 18:35:13 +0000 (11:35 -0700)]
arch: arm: mach-tegra: 4k eDP regulator
avdd_io_edp supply needs to be enabled on T210 for eDP.
Updated eDP panel driver to correctly handle this regulator.
Bug
200119185
Change-Id: I3e5bd7a2d07c75054f096849a093447e588c4393
Signed-off-by: Shu Zhong <shuz@nvidia.com>
Reviewed-on: http://git-master/r/784930
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Bibhay Ranjan [Mon, 5 Jan 2015 07:39:11 +0000 (13:09 +0530)]
net: wireless: bcmdhd: Optimize DPC priority.
Make DPC thread priority same as other platforms.
Bug
1594708
Change-Id: I49f3d662c2560293fdddefc9483d11247b6ca89a
Signed-off-by: Bibhay Ranjan <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/669056
(cherry picked from commit
4616e38ee41e7698a624a3f82035615e3f0cbe65 )
Reviewed-on: http://git-master/r/671091
(cherry picked from commit
93ee694b6419900286b2d99c97e2c08be8e6801e )
Reviewed-on: http://git-master/r/790892
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Kerwin Wan [Fri, 14 Aug 2015 09:56:32 +0000 (17:56 +0800)]
arm64: tegra: jetson_cv: add i2c pinmux prod settings
Bug
200128566
Change-Id: I661854b653ba1975b89ff693fd33377507d2ef55
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/785900
Reviewed-by: Hayden Du <haydend@nvidia.com>
Kerwin Wan [Wed, 12 Aug 2015 10:13:12 +0000 (18:13 +0800)]
arm64: tegra: jetson_cv: add DDC prod settings
Bug
200128580
Change-Id: I20871e1c4d4039fec1c3bce388152291f146e908
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/782409
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hayden Du <haydend@nvidia.com>
Kerwin Wan [Wed, 12 Aug 2015 10:00:16 +0000 (18:00 +0800)]
i2c: tegra: add prod setting support
Bug
200128580
Change-Id: I42696daa3a069f3cd1f68bb786d8e7917bbee402
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/782408
Reviewed-by: Hayden Du <haydend@nvidia.com>
Viraj Karandikar [Wed, 26 Aug 2015 11:54:55 +0000 (17:24 +0530)]
tegra-alt: adsp: wait for adsp ack on reset
Add mechanism to wait for ADSP acknowledgement.
ACK is requested when resetting to ensure that ADSP is
suspended only after APM stop processing is complete.
This prevents case of ADMA not getting stopped/reset
before suspend.
Bug
200130757
Change-Id: Ia86a31c996d40192210837e61aa95d8f920ee7f5
Signed-off-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-on: http://git-master/r/772220
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Holmes <sholmes@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Erik Lilliebjerg [Fri, 21 Aug 2015 15:26:21 +0000 (08:26 -0700)]
iio: proximity: IQS2x3 v14 IRQ edge
- Add a DT option to select interrupt trigger type.
- Change gpio_get_value calls to gpio_get_value_cansleep in case a GPIO
expander is used.
- Update documentation for the DT option.
Bug
200129230
Change-Id: Iebdb89dabddf05a09c2c9d36cc3cf3592806b58e
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/787380
(cherry picked from commit
efe0df79fc1f4313fa49673b5c6dedc3d5fb4fef )
Reviewed-on: http://git-master/r/788953
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>
Robert Collins [Wed, 12 Aug 2015 21:05:02 +0000 (14:05 -0700)]
dts: e2614: Add sensor support
Bug
200129230
Change-Id: I5abee35fc51751440e7fa75901030a740b27a5a4
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/783896
Reviewed-by: Automatic_Commit_Validation_User
Vipin Kumar [Wed, 29 Jul 2015 15:50:23 +0000 (21:20 +0530)]
p2360: Reduce FPGA endpoint enumeration start time
The FPGA init time as reported in the bug is 3.29 sec so modifying the
start of pci enumeration to 3.5 seconds
bug
1669370
Change-Id: Ic8c2daf5fa5b7a304c8d142ff3106e978c51e769
Signed-off-by: Vipin Kumar <vipink@nvidia.com>
Reviewed-on: http://git-master/r/776314
(cherry picked from commit
898f99033bbef816005e681a652f5ae6cd17fc76 )
Reviewed-on: http://git-master/r/776316
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijaya Bhaskar <vbhaskar@nvidia.com>
Erik Lilliebjerg [Fri, 14 Aug 2015 19:48:53 +0000 (12:48 -0700)]
iio: nvi: Add ICM20630 support
Change-Id: I1a32d532adaa983b06e6fab2c90edc2375498651
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/783811
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Tested-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Kerwin Wan <kerwinw@nvidia.com>
GVS: Gerrit_Virtual_Submit
Laxman Dewangan [Thu, 27 Aug 2015 11:05:00 +0000 (16:35 +0530)]
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>
Reviewed-on: http://git-master/r/790322
Laxman Dewangan [Thu, 27 Aug 2015 10:41:36 +0000 (16:11 +0530)]
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>
Reviewed-on: http://git-master/r/790321
Dara Ramesh [Thu, 20 Aug 2015 07:59:22 +0000 (13:29 +0530)]
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
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Viraj Karandikar <vkarandikar@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Nitin Pai <npai@nvidia.com>
Naveen Kumar Arepalli [Mon, 27 Jul 2015 05:13:21 +0000 (10:43 +0530)]
mmc: tegra: Disable async suspend for sdhci.
Bug
200124345
Change-Id: I791aeda9f0bdb8efc524d33218b6f77a2fc9add8
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/774918
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Ankit Gupta [Fri, 24 Jul 2015 15:01:05 +0000 (20:31 +0530)]
ARM64: dts: update embedded data properites
This change adds embedded data properties to
imx 214 device tree so that it can be populated
in static properties in user space.
Bug
1547007
Change-Id: I40ac8a6fa2907979b9b87f14f5bcc79162638a1b
Signed-off-by: Ankit Gupta <ankitgu@nvidia.com>
Reviewed-on: http://git-master/r/775775
(cherry picked from commit
0db5521c75c2f9d527b7ec8709457567a9fe383d )
Reviewed-on: http://git-master/r/788052
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anubhav Rai <arai@nvidia.com>
Tested-by: Anubhav Rai <arai@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Ankit Gupta [Wed, 22 Jul 2015 09:08:16 +0000 (14:38 +0530)]
tegra: imx214: Enable embedded metadata feature
This change enables the embedded metadata register
in the imx214 sensor driver.
Bug
1547007
Change-Id: I71e5f1de4fe15ee77f8470d72293da9f43e4434a
Signed-off-by: Ankit Gupta <ankitgu@nvidia.com>
Reviewed-on: http://git-master/r/773388
(cherry picked from commit
590e1f8b22cba77194d4cb2d4ae70a53a3e9c3b4 )
Reviewed-on: http://git-master/r/788051
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anubhav Rai <arai@nvidia.com>
Tested-by: Anubhav Rai <arai@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Laxman Dewangan [Tue, 25 Aug 2015 14:56:01 +0000 (20:26 +0530)]
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>
Reviewed-on: http://git-master/r/788914
Amit Sharma (SW-TEGRA) [Wed, 19 Aug 2015 05:30:57 +0000 (11:00 +0530)]
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
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Sam Payne [Mon, 15 Jun 2015 20:52:34 +0000 (13:52 -0700)]
video: tegra: dc: use default cmu for fake out
for testing purposes, we would like to use the
same default, linear cmu for fake output
resources
Change-Id: I810cf351eeb51659fd0f457c9884624e00f56fd5
Signed-off-by: Sam Payne <spayne@nvidia.com>
Reviewed-on: http://git-master/r/758217
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Laxman Dewangan [Tue, 25 Aug 2015 09:44:59 +0000 (15:14 +0530)]
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
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Sharad Gupta [Fri, 14 Aug 2015 05:51:27 +0000 (11:21 +0530)]
arm64: configs: t210: Enable sound card
Enabled sound card registration even if audio codec is
not connected (for T210 android platforms only).
Bug
200130213
Change-Id: Icf77b42bc5846b17c763172eb6bbf1a1cf579221
Signed-off-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-on: http://git-master/r/783453
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Asha T [Thu, 13 Aug 2015 13:04:00 +0000 (18:34 +0530)]
ASoC: tegra-alt: Add config for card registration
Registration of audio card was causing L4T sanity test
failures when audio codec was absent. Added a new kernel
config to selectively enable this feature.
Bug
200130213
Change-Id: I0998c122742e4012eda02a3d389fae96ee85202b
Signed-off-by: Sharad Gupta <sharadg@nvidia.com>
Reviewed-on: http://git-master/r/783159
Reviewed-by: Mohan Kumar D <mkumard@nvidia.com>
Tested-by: Shaunak Gupte <shaunakg@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pierre Gervais <pgervais@nvidia.com>
Rakesh Babu Bodla [Fri, 21 Aug 2015 15:44:47 +0000 (21:14 +0530)]
arch: arm64: dts: enable fast maxim charger
Add DT support for maxim fast charger for hawkeye.
Bug
200131998
Change-Id: I5cf16bf5c0c57d5f04c349c0059eb7b9046424d4
Signed-off-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/787391
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Deepak Nibade [Mon, 17 Aug 2015 10:49:09 +0000 (16:19 +0530)]
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
(cherry picked from commit
f8fb4e26c4436cd4a7ec5935f5ba12e76e21966f )
Reviewed-on: http://git-master/r/785791
Reviewed-by: Gaurav Singh <gauravsingh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Mohan Thadikamalla [Mon, 24 Aug 2015 07:23:26 +0000 (12:53 +0530)]
wireless: bcmdhd: Fix Wi-Fi reset on country code change
Issue: Wi-Fi is getting reset on every country code
changes.
Fix: Set user_enforced to false for android driver
country command.
Bug
200127631
Bug
200106931
Change-Id: I88d665601201d5356579c88d0d28e87bc7ab1821
Signed-off-by: Mohan Thadikamalla <mohant@nvidia.com>
Reviewed-on: http://git-master/r/788001
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Viraj Karandikar [Mon, 24 Aug 2015 06:21:01 +0000 (11:51 +0530)]
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
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User