Age | Commit message (Collapse) | Author |
|
Adding bluesleep support for CSR chip
BUG 691608
Change-Id: I5cb9420201e99b36a9ee26a411c0312b3c6e3fa1
Reviewed-on: http://git-master/r/9678
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Clean up warning message caused by unused variable and
improper struct type.
Bug 682070
Change-Id: I3409ad22e67252df14d6d14898aa8792a0019574
Reviewed-on: http://git-master/r/8436
Reviewed-by: Lance Zhao <lazhao@nvidia.com>
Tested-by: Lance Zhao <lazhao@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
New API added to odm_kit to register a callback to use on RTC interrupt.
Supported added for RTC alarms in the max8907b PMU.
Bug 717253
Bug 734529
Change-Id: I34abebd7dd3caf4ef8923fcf651c50f6d245f6b4
Reviewed-on: http://git-master/r/7328
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Update card_present variable during resume by reading
card detect gpio value inorder to detect cards inserted
during suspend.
Change-Id: Ie3eb7cb09cf84fa0795a21c44b28e07e6302adb7
Reviewed-on: http://git-master/r/8060
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Fixed the following:
Missing node creation for debug_fs while doing compaction.
Missing locks in handle_free
Split heap functionality was not creating debugfs node
Misc code clean-up.
roll up of unmerged changes from other branch
Bug 743185
(Cherry picked from commit 396c587981b2d0d1abb1daf481a5fe4bbd0ba70d)
Change-Id: I55249e14ea69c3780b24efbfaea9ceef9ef23534
Reviewed-on: http://git-master/r/8236
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Reviewed-by: Thomas Roell <troell@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
The tegra_sdhci structure pointer is passed to the sdhci_readl
and sdhci_writel macros instead of the required sdhci_host
structure pointer. Corrected this.
Change-Id: Icc7172387fc206c65c685e5ee5ee6ab390e9ad89
Reviewed-on: http://git-master/r/9020
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Rahul Bansal <rbansal@nvidia.com>
Tested-by: Rahul Bansal <rbansal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
The late resume of touch was not invoked when display was not turned on.
This has been handled now.
Bug 740740
(cherry picked from commit ef6a066e3ad9254312660bbb725be9ed49448ffa)
Change-Id: Id2f1cd255ed59019fb46778da1b93cbe7aa3b8bb
Reviewed-on: http://git-master/r/7973
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
When USB cable is removed from the USB1 port side then VBUS is turned
off but, if USB cable is removed from the device side then VBUS is not
getting turned off and is showing high even when USB cable is removed
completely from the USB1 port. Fixed this by checking the OTG state
"OTG_STATE_A_SUSPEND" and then turning off the VBUS and phy power down.
Bug 741587
Change-Id: Ib8f3dbddc48de0d12179dbd504503621854f44cd
Reviewed-on: http://git-master/r/8199
Reviewed-by: Lance Zhao <lazhao@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Tested-by: Lance Zhao <lazhao@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
If serial core driver request for the stop rx then dequeue
the dma request and read the rx fifo only if rx is in progress.
Change-Id: I8cd8a75a59773f0195ed876f7faeb89ac0f2cbec
Reviewed-on: http://git-master/r/7579
Reviewed-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Keyboard controller goes to continuous polling mode from
wakeup mode if any key is pressed and stay for hw default
to 5 second. This parameter was not configurable from odm.
It is require to configure this parameter from odm based on
platform.
Adding support for keeping this time as configurable. The default
time still be 5 second if it is not configured from odm.
Change-Id: I0fc11cc2a2d64db33b00c048f87081b6181354fa
Reviewed-on: http://git-master/r/8644
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Chun-Hung (Alex) Wu <chuwu@nvidia.com>
Tested-by: Chun-Hung (Alex) Wu <chuwu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Made sure graphics and sdhci clocks are enabled before the respective
rate is configured.
Change-Id: I2d09ad111321b296a8d8fbb2d4bff02016e12feb
Reviewed-on: http://git-master/r/8272
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Drastic reduction of ACM timeout to 2ms (from 1sec) resulted in power
increase for NV omxplayer video-playback (bug 738557). The reason is
that short-term scheduling does not provide enough idle time for LP2
state (CPU powered down). On the other hand, 1 sec timeout prevented
core voltage scaling during Android music audio-playback (bug 735111).
Hence, tuned ACM timeout to 25ms.
(cherry picked from commit 32c727ae2c4f91e8d7c9c261921bb62ad14217c9)
Change-Id: I96c46c43e9b3089b6a7e01db5f6d122122758c90
Reviewed-on: http://git-master.nvidia.com/r/8470
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Hoang Pham <hopham@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Bug 731923
Reviewed-on: http://git-master/r/7002
(cherry picked from commit b927a389930941297f987cc7967d10d319deba6b)
Change-Id: I576de9b2dfd4245f471ca26636a146ead3df021b
Reviewed-on: http://git-master.nvidia.com/r/8430
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
Tested-by: Andrew Wright <awright@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Added EM770 vendor and product id in usb serial driver.
Bug 721467
Change-Id: Ib64820f25b02a69c8a366b9251f9419dd4bfa786
Reviewed-on: http://git-master.nvidia.com/r/8385
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Tested-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Check for pgalloc is not required.
Bug 731923
Reviewed-on: http://git-master/r/7218
(cherry picked from commit 665dba4dd0617f763815bce96dec4a14f8a0c6f6)
Change-Id: I82e701555605f4322a95a66b75ffe3f3bce2a5a6
Reviewed-on: http://git-master.nvidia.com/r/8266
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
When the memory for a handle is not allocated, and then
if the caller calls _nvmap_handle_free it should
not do the cache operations on the memory as there
is no memory allocated
Bug 731923
Reviewed-on: http://git-master.nvidia.com/r/7166
(cherry picked from commit f3824fd58e2654a0d8d3159cb1f776d3ad0169a2)
Change-Id: Icf11ece6d07e122991e0d9b6b4a3dbf8c45ea017
Reviewed-on: http://git-master.nvidia.com/r/8265
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Reviewed-on: http://git-master/r/6507
(cherry picked from commit 3708cd7a859d1ca4f3230bc8bfb018894bb6277e)
Change-Id: I1609b8b8d1f2de51f7eafa2105fb1f695903a252
Reviewed-on: http://git-master.nvidia.com/r/8262
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Added syncpoints reset to host initialization, to synchronize h/w state
with shadow variables.
Bug 743910
Change-Id: I09420fe2fb85b0e79f0e5d11ade8515e28e96910
Reviewed-on: http://git-master/r/8038
Tested-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Andrew Howe <ahowe@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
KBC does not behave properly after resume from LP0 if KBC
is in continuous mode before entering into LP0.
So making sure that KBC should be in wakeup mode before
entering to LP0.
bug 740263
Change-Id: Ia882dfb034bd9ab87811855f2ac20d26fc9581d8
Reviewed-on: http://git-master/r/7756
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
USB devices are not recognised when connected to the USB port, when system is
already in LP0. Root port power is not getting enabled when resume from LP0.
By the time root hub checks for the port connection auto suspend is getting
called and device is not recognised. Fixed this by enabling the root port power
during the ehci_restart functionality.
Bug 741890
(cherry picked from commit 188bf7050751a40d6f2d6a858e2702774fc70f77)
Change-Id: Ib88ed3fc4b01719777a0e49e27434ef6425bc53d
Reviewed-on: http://git-master/r/7834
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
Incorrect address is passed to iounmap, which is causing virtual space leak.
Bug 732355
Reviewed-on: http://git-master/r/7554
(cherry picked from commit 593fc2ae6dfadff51ca45353b35dfbd3de0fcce7)
Change-Id: Id69a7b3a6e130c91d594fc0ff32b8080cf192e2c
Reviewed-on: http://git-master/r/7858
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
During resume from LP0 controller is getting restarted in host mode due to this
hcd state is getting changed from the suspend state. Controller state should not
be changed for host mode. Fixed this to restart the controller only in OTG mode.
Bug 724437
(cherry picked from commit cbea530301ae3d9a4a7271d11c819bfc8de8f892)
Change-Id: Idc2897a2790087e00ee66e30fea734c9d117029e
Reviewed-on: http://git-master/r/7833
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
There is one wmb missing in the usb host controller driver after the queue head
update. Due to this data transaction is not happening on the bus after urb
submission by the hcd driver. Register updates/queue heads data in the memory
is not reflected on the AHB bus. After adding the wmb after queue head update
data transaction the USB bus started with out any delay.
Bug 737242
(cherry picked from commit eff18c3f40253f7af0b576126b954d8572cbea64)
Change-Id: I9f3ae6d8743a03a58034a82f4fe2850fd7278c4f
Reviewed-on: http://git-master/r/7747
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
When user switches on wifi, wifi driver need to poweron wifi card and
ask sdhci stack to enumerate the card. Sdhci stack does not provide any
interface to achieve this. Major wifi vendors depend on platform to
provide wifi poweron/reset/carddetect abstraction function.
Bug ID 739374
Change-Id: I988393352ff6cb54be3d70a59c94f67eedff06fb
Reviewed-on: http://git-master/r/7097
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Tested-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
On k32, remote wake up is enabled in the descriptor based on gadget->ops. Since,
remote wakeup is not supported, disabled gadget->op->remote_wakeup based
on USB_ANDROID.
Bug 710624
(cherry picked from commit c0340053278c9c9ceb98772cc3566d298dca4d9a)
Change-Id: I760632dd38a9f56dadfbb4d446e83f28cdb5338f
Reviewed-on: http://git-master/r/7556
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
|
|
Keep enabling the kc controller only if any of keys are configured
as wakeup source during suspend.
bug 735233
(cherry picked from commit 13825a46587b0508aa7a43054964b76524d5f2b6)
Change-Id: I028965400ee4f96c1460f8e261a2376943384030
Reviewed-on: http://git-master/r/7499
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
A new driver is implemented to actively manage the bluetooth module
power. bluesleep also tries to manage the power of the transport used.
Two signals (GPIOs) are used to manage the power events.
BT_WAKE : signal from HOST to BT chip to intimate BT chip can sleep.
HOST_WAKE: signal from BT chip to HOST to intimate HOST should wakeup/
activate the transport modules required for BT communication.
Bug 680524, 691608
(cherry picked from commit 111f4ccd3c4cfde2fa52ae4c0c56a2288c3af3a8)
Change-Id: I5edba2aa18c566f0ebfc4ecf9c54149ee3376666
Reviewed-on: http://git-master/r/6850
Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Anantha Idapalapati <aidapalapati@nvidia.com>
Tested-by: Anantha Idapalapati <aidapalapati@nvidia.com>
|
|
Moving the isl29018 from hwmon to the staging/iio/light driver.
Replacing the hwmon registration with iio registration and doing
required changes to make it iio driver.
bug 728678
(cherry picked from commit 2c72f7dff2b74375b35936cd4c94a891f169009d)
Change-Id: I223d4451b62f2260cd2f9ee2ed8ba77ec8672b52
Reviewed-on: http://git-master/r/7109
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Following are changes:
- using smbus api to read/write from/to device.
- Adding proximitysensing with scheme 0 and 1.
- Adding ir sensing.
- Removing the undesired definition and code.
- Remove gpio initialzation and usage.
- Sysfs interface for setting range/resolution/proximity scheme.
- sysfs interface for reading lux/proximity ir and ir.
- General code cleaning.
(cherry picked from commit 0a148f035c9284cfa0e60e875052d6768267d731)
Change-Id: I0d84f534a14b85e5a6bcea3218ecd8d864c0a103
Reviewed-on: http://git-master.nvidia.com/r/7102
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Reduced ACM timeout to 2ms (from 1sec). This is necessary to detect
host / 3D idle under frequent activity bursts.
Bug 735111
Bug 726052
(cherry picked from commit 1ff7aa46f02f61f070ae41abd8e0a36d4a4f1f3d)
Change-Id: I711286925776c2955f7c43acae0cb8b2c1763e4a
Reviewed-on: http://git-master.nvidia.com/r/7007
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Niranjan Wartikar <nwartikar@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
limit the number of times adb_open and adb_release may be printed
in a short period of time, to prevent adb death spirals when
exiting suspend
(cherry picked from commit 3a1e33f6715f7133ba9fe26d68342c1ff6106b20)
Change-Id: I575f38269c9a4c46a3a59ff7a06c8bda36a0c0d4
Reviewed-on: http://git-master/r/6723
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
Tested-by: Narendra Damahe <ndamahe@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
|
|
When user doesn't use default heap policy and selects
GART or carveout allocation, automatic single-page-to-sysmem
rule doesn't work. Because of broken rule many single page
allocations go to GART and carveout.
The fix adds sysmem bit to heap mask when allocation is
single page and GART or carveout is present in heap mask.
bug 730124
bug 731923
(cherry picked from commit 3ca9989c922420a57215d297189738a0464c4073)
Change-Id: I2ea8018ae5ed9d31e90659479d0e44052ebf9431
Reviewed-on: http://git-master/r/6701
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Tested-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
add a driver for the hardware watchdog timer embedded in NVIDIA
Tegra SoCs
Change-Id: I40730213119b4f325e3de008a5efb28f5d578b1c
Signed-off-by: Gary King <gking@nvidia.com>
Reviewed-on: http://git-master/r/6305
Reviewed-on: http://git-master/r/6705
|
|
bug 715382
Integrate from tegra-2010-07
Change-Id: I790bd0e6ff5ddd9513ae7a5ddfce491dcd1e32b3
Reviewed-on: http://git-master/r/6673
Reviewed-by: Markus Holtmanns <mholtmanns@nvidia.com>
Reviewed-by: Antti Hatala <ahatala@nvidia.com>
Tested-by: Antti Hatala <ahatala@nvidia.com>
|
|
When system runs out of dma and uart driver tries to allocate
dma, the dma allocation fails. In such case, the uart
communication should work with interrupt based -non dma mode.
bug 730003
(cherry picked from commit 4a9d5633474c806799ccc6d167f3d624c92d560c)
(cherry picked from commit 2000a076103c559446d11ad49debc4e0f2952e8a)
Change-Id: I96c2a3f79fd9044e3b54771b60cad7dcb12f517b
Reviewed-on: http://git-master/r/6599
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
[bug] 729378
Change-Id: I34d276d2552491c933983309df0fe31f7bf3ba7e
Reviewed-on: http://git-master/r/6443
Reviewed-by: Andy Carman <acarman@nvidia.com>
Tested-by: Andy Carman <acarman@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
Adding the valid pointer checks before accessing the pointers
which is passed when public apis are called.
Also resetting the pointers to null once the allocated handles
are freed.
(cherry picked from commit 0954407534a757b316bc35a0232968feed23243a)
Change-Id: Ib8b99f0556fb9a98c74ba8911a00879451fad9e5
Reviewed-on: http://git-master/r/6578
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
When uart_close() or uart_suspend() calls the tegra_uart_suspend()
the drivers waits in tight loop for tx to be empty. This wait is
not required because serial_core driver have already waited for the
tx fifo to empty with proper timeout before calling these function.
bug 730612
(cherry picked from commit 13387c532dfb35dc672b290aec8b7a4db49730d6)
(cherry picked from commit ddd896c933e3f8d5fb28948ad957ec12b3d881cd)
Change-Id: Ie898ad0a134684844bf80ae00a1c8dd4b02a605a
Reviewed-on: http://git-master/r/6372
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Replaced assert on powering down of already powered off module with
skipping the power down procedure in this situation is detected. WAR
for bug 727964.
(cherry picked from commit c562c8fdf58a552fe9ba1c62ffec66e0b67447e5)
Change-Id: I2f55052d38874bf196bc89a06fa478aa3e9783c2
Reviewed-on: http://git-master/r/6283
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
Added nvhost device resume function, and moved syncpoints restoration
here from run-time power_host() control. Respectively added syncpoints
saving to nvhost suspend procedure. This change is required, since
power_host() has no way to account for display advancing syncpoints
after they have been already saved.
Bug 726052
(cherry picked from commit 629bbd439e1bb156a8cfce3de9384e42586d4f42)
Change-Id: I6149cfa1bff72cb9b5e9e9da0f302c7d8a3032a0
Reviewed-on: http://git-master/r/6282
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
MSD write performance is decreased due to the file_sync() called in the write
path this is introduced in the K32. After removing this write performance is
increased and it is back to K29.
Bug 727609
(cherry picked from commit 3674a60b8d4ede5d9305bf59a205e9f16e025f2a)
Change-Id: I99e63302e1b189b600163c216847eae437e86a9f
Reviewed-on: http://git-master/r/6246
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Tested-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
The block realignment if a block wasn't split lead to a slow leak of carveout memory if the previous block was not a free block.
Change-Id: I08bd89364932f2c4fc4faf1dec177dab03e82a9a
Reviewed-on: http://git-master/r/5851
Reviewed-by: Gary King <gking@nvidia.com>
Tested-by: Thomas Roell <troell@nvidia.com>
|
|
On resume restore SDHCI interrupts to the state which
was before entering into suspend for SDIO (always_pwr_on)
slot. Also, in suspend keep CARD_INT enabled if it was
before going to suspend, so that it can be used as wake
source.
Broadcom wifi driver does not disable/enable SDIO_INT
on early_suspend/late_resume, it requires SDIO INTs to
be enabled on resume, as even before broadcom driver's
late_resume is called which puts wifi is high_pwr, it
needs to communicate with MAC for incoming IOCTLs from
wpa_supplicant.
Bug: 723708
Change-Id: Id1bfe67f415080eeb7563428322dbec3df0f27d2
Reviewed-on: http://git-master/r/5407
Reviewed-by: Rahul Bansal <rbansal@nvidia.com>
Tested-by: Rahul Bansal <rbansal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Suspending the device nct1008 before going to suspend
and reconfiguring at the time of system resume.
This is implemneted for the nct1008 which is adt7461 type
device.
Change-Id: Iecfb33819d0427e2ab2bb1f8eed0066222e5793f
Reviewed-on: http://git-master/r/4800
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
|
|
Address should be calculated based on pitch not width
Bug 709201
Change-Id: Ic2a73a9f665d212595bf4b61eeb7ea2984df7548
Reviewed-on: http://git-master/r/5718
Reviewed-by: Daehyoung Ko <dko@nvidia.com>
Tested-by: Daehyoung Ko <dko@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
To improve the performance in receive path, the uart configures
the dma in the continuous double buffering mode. The dma keep
filling the same buffer in continuously and inform uart driver
when half of buffer completes.
Change-Id: Iff7c9433766f272384fc1a329ff1db8031987544
Reviewed-on: http://git-master/r/4419
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
When CONFIG_USB_SUSPEND is enabled USB device detection is not working. This is
due to the wrong API called to resume the hub and HUB resume funtionality not
happening properly. Fixed this by calling the correct API to resume the HUB
driver when auto suspend is called.
Bug 713237
Bug 713966
Change-Id: Ia4d091fd29ea7ebfe5844cf5685fc5a86e66d12a
Reviewed-on: http://git-master/r/4984
Reviewed-by: Abhishek Aggarwal <aaggarwal@nvidia.com>
Tested-by: Abhishek Aggarwal <aaggarwal@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
|
|
The ON semiconductor's temperature sensor NCT1008 is
driver compatible with National semicondutor's LM90
driver.
Adding NCT1008 as the list of lm90 driver id table.
Change-Id: I3dcbe1cdd1441e5196239551265444ebb633a1a2
Reviewed-on: http://git-master.nvidia.com/r/5080
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Gary King <gking@nvidia.com>
|
|
For each channel submit where null kickoff is requested, we don't
place the user's commands in the pushbuffer. All necessary context
switches, syncpoint increments and waitbase increments do happen
though.
Bug 717235
Change-Id: I51c323729ea57993a5b52fb395ab90cb8608ee6b
Reviewed-on: http://git-master/r/5091
Reviewed-by: Antoine Chauveau <achauveau@nvidia.com>
Reviewed-by: Antti Hatala <ahatala@nvidia.com>
Tested-by: Antti Hatala <ahatala@nvidia.com>
|
|
Added suspend and resume functionality to tegra
accelerometer, for supporting LP0 on Ventana
tested on Ventana-C
bug 716080
Change-Id: Ib57b3f2f0d3bec77839f40226f79cd60e222a366
Reviewed-on: http://git-master/r/4836
Tested-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|