Age | Commit message (Collapse) | Author |
|
Settings in DIDIM driver are now phased in over a defined
number of steps in order to minimize the perception of changes
to the settings during runtime
Bug 840155
Change-Id: Id1a354dc153a432cdd08d54f197adb6b37d2fdb0
Reviewed-on: http://git-master/r/50926
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
|
|
Bug 871431
(cherry picked from commit dc15be635bfc69d60d1ffc324acc487245d5d7bb)
Change-Id: Ifee293da8de4f2f814b862d99cde0e604d1b6690
Reviewed-on: http://git-master/r/50972
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
|
|
For Samsung EB memory
Bug 871975
(cherry picked from commit d948bb75228b99e9577e1265d9b1c78a12f4958b)
Change-Id: I3b477126a4157ffa4f3be02326270c14d4b32531
Reviewed-on: http://git-master/r/50970
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
|
|
Temporary change from LP0 to LP2 for secureos customers
Bug 857303
Change-Id: If106ee433bcda0bcaffcab70f6e083e17c15f07e
Reviewed-on: http://git-master/r/50999
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
|
|
Added is_open to know whether the clock has been disabled.
Occasionally _close is called before _suspend during LP0 cycles
resulting in a hang as the clock is disabled.
Bug 855753
(cherry picked from commit 7a266230ecfaf48676554257e259e31637aa25ba)
Change-Id: Ib6f2aa734ce259dc79baf402fe4e1e4dd22a5b92
Reviewed-on: http://git-master/r/50965
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
|
|
Adding the handler function for the kernel command line
option "power_supply".
Change-Id: I6289936a0f31404812b63f170d4fd9907609c855
Reviewed-on: http://git-master/r/50674
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
If kernel command line option have the power_supply as battery
then enable the battery charging functionality.
Change-Id: I0f7c5e03b0505fbd4161434f09d0084d33e3397f
Reviewed-on: http://git-master/r/50673
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
Added phy ready and phy off callbacks to indicate HSIC
phy state.
BUG 828389
Change-Id: I83e6ca2bb19bb6b35c3d9fa9f659bf1d32563184
Reviewed-on: http://git-master/r/50276
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
When disabling a display, also disable its windows. This forces
applications to resend windows on hotplug and resume or they will see a
blank screen.
Bug 871107
Change-Id: I647cbc27fa8ce34b18dd3fbd270f9b8569d7f506
Reviewed-on: http://git-master/r/50204
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
|
|
Added the changes required for CP initiated L3 -> L0 resume.
BUG 828389
Change-Id: Ic6be39965f0f6b66db1f57fd8f860b6f7bb0d18b
Reviewed-on: http://git-master/r/49462
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Specify working freq for dsi read.
Bug 863030
Change-Id: If4c7a98bacd9ae9fabe423a03d24b5386a147f7c
Reviewed-on: http://git-master/r/49198
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Recommended LP freq for read and write is sometimes different.
Adding provision to use diff freq for read and write.
Bug 863030
Change-Id: I49e883754bbe1ce38418d8c6ce6548f9a65152d4
Reviewed-on: http://git-master/r/49197
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
The irq need to set as wake interrupt to wake from sleep
when interrupt receiving from MAX77663 PMU.
Bug 868996
Change-Id: I2081b7f7bee6a575b38d2e4408f1edce2fdc864e
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/50694
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Enable XMM modem power management driver.
Change-Id: I450a5c4f62a0862226649fb75a25237486c5d45e
Reviewed-on: http://git-master/r/50666
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Enable XMM modem power management driver.
Change-Id: Ib611c410ca5da9762b722ee91211238e90421215
Reviewed-on: http://git-master/r/50665
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
The polarity of sdhci2's gpio initialized.
With this fix, the external SDCard's lock switch works properly.
BUG=869186
TEST=Boot from SDCard with the Lock on and off.
Change-Id: I54c8b75a6170abb0f8d12d28b802383e58278883
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/50403
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>
|
|
Enable USB accessory support for cardhu
Bug 868603
Change-Id: Ifc3598195a778f6ea52b3a15ef4c29b5fab8bbb1
Reviewed-on: http://git-master/r/49412
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Adding the check for the params before doing io-remap and
accessing physical location of the framebuffer. When framebuffer
atag is not passed from the bootloader kernel will crash at this point.
Change-Id: I479226d1e3c8e5d6ac8ff57898a6f94220e2991d
Reviewed-on: http://git-master/r/47277
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
This platform driver enables the generic USB modem power management support
for out-of_band remote wakeup, selective suspend and system suspend/resume.
Bug 854339
Change-Id: I6cc42dedf4031399691c70388fce4e69ec4b881f
Reviewed-on: http://git-master/r/44911
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Earlier value of 75 had unnecessary double guardbanding.
Changed 90C row in EDP table down to 85C to get throttling alert.
Bug 862301
Change-Id: Ie55d1257874aa336198f9965c867f5767864dc89
Reviewed-on: http://git-master/r/50544
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Bug 829327
Change-Id: I1c250d5cfc8a501da4ccdc985169b48478ed87b8
Reviewed-on: http://git-master/r/50352
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Bug 829327
Change-Id: I611156c307f2af75e3386818e9b5f5e62b3a7acd
Reviewed-on: http://git-master/r/50351
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Tested-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
disable 3d clock scaling by default.
Change-Id: Iffbe99b1bc8438ab6fc8998d069ef81b1f701a38
Reviewed-on: http://git-master/r/50305
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
The cpufreq sysfs entry for cpus other than cpu0 in T30 is
populated when the cpu becomes online and removed when the cpu
becomes offline. This caused race condition between setting cpu
governor and bringing cpu offline. The solution is to change
the governor for cpu0 only.
BUG 865113
Change-Id: I36d3f9795c0a1ec51bcde00a497ec85864dc2573
Reviewed-on: http://git-master/r/50155
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Bug 855811
For smoothness and rate-limiting, it is useful to synchronize input
events to flip. This patch adds a fake input device that emits an event
on each vsync. This allows the Android input framework, which has
significant infrastructure to monitor input devices in particular, to be
notified of vsync events.
Because there is no input event type/code for this behavior, we use an
undocumented protocol of emitting a single MSC_RAW type event with
scan-code 1. We also do not register ourselves for any other
buttons/keys, which should prevent our device node from being confused
with other input types.
Change-Id: Id5297d2cef93eb53737942b43b2b09b82dee5f6f
Reviewed-on: http://git-master/r/48539
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Bug 860231
Change-Id: If7d12ad3f1e37583fda68f7d6f266d7a5765d663
Reviewed-on: http://git-master/r/46599
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
nvhost_module_add_client(), nvhost_module_remove_client() and
nvhost_module_set_rate() need locking when accessing the client list.
Bug 870328
Change-Id: Idbf8298ec213dca2829f48e9aafd4173806ea00b
Reviewed-on: http://git-master/r/50259
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Add ODM-programmable delay in DSI N-shot mode. The purpose is to
improvement power consumption for DIDIM for some cases (e.g. 30 fps
video playback).
Bug 867689
Change-Id: Ib5f1b08e720f3316fed3bd9c4311fce9e4f97286
Reviewed-on: http://git-master/r/49593
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Tested-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
Adding spi2 master device to enable the SPI2 master
interface.
bug 871218
bug 869972
Change-Id: I1d70f5c07242c98565eae84777917292f280e6cc
Reviewed-on: http://git-master/r/50513
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Corrected the condition which checks whether phy
should be powered off or not, depending on the
status of port connection.
Bug 867985
Change-Id: Id5a348b996d9938ffd0830f6ea44e7cc320f0364
Reviewed-on: http://git-master/r/50501
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Setting debug console to be UARTB for E1256
bug 871620
Change-Id: Ie1e97997d0b47a3b3eff2ba4ecfb0af5dc920d41
Reviewed-on: http://git-master/r/50498
Tested-by: Kuan Luo <kluo@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
In QVGA 120fps mode, i2c reset commands are done twice.
One in "mode_320x240" and one in common "mode_end" which
would be done for all the modes commonly. So removed QVGA
mode specific one.
Bug 868680
Change-Id: I434cd1e7a9dd1be112ce4640e5d9f5d85e7bbc67
Reviewed-on: http://git-master/r/50459
Tested-by: Krupal Divvela <kdivvela@nvidia.com>
Reviewed-by: Shantanu Nath <snath@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Patrick Shehane <pshehane@nvidia.com>
|
|
Change-Id: I93ddf372cf41a4161dd03127212f95584f4ca24f
Reviewed-on: http://git-master/r/50413
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Thomas Cherry <tcherry@nvidia.com>
|
|
E-Compass does not show correct North-South direction
Fix orientation in board file
Bug 842788
Change-Id: I6a492719afc79f8268f27fb82ee488952ffc9813
Reviewed-on: http://git-master/r/50313
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Adding Active-discharge option for SDx rails.
bug 859415
Change-Id: Ia4d3933b9dbf4a0ec646c586f99a7411d2a93371
Reviewed-on: http://git-master/r/50281
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
BUG 867296
Change-Id: I0bce8d7f8ccba39608b1d00449de9d2e988ee541
Reviewed-on: http://git-master/r/50140
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Adding support for PM311 based system.
bug 870139
Change-Id: I0fa71e42afb6484c9b35b1a8fb29f1f477c3284b
Reviewed-on: http://git-master/r/50012
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
In T30, different pad ctrl group registers have
different pull up and pull down drive strength field
offsets and maximum values. Modified drive_strength
structure to be able to pass the offsets and masks of
each group to ensure that drive strengths are properly
configured.
Bug 870369
Change-Id: Ib1872417542236c95c3b41a1ad860ef8418f5704
Reviewed-on: http://git-master/r/49872
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Updating sdmmc3 and sdmmc4 drive strengths as per
characterization results.
Bug 799568
Change-Id: I48256399db726e1ab6afe01c9d08e47f13a20103
Reviewed-on: http://git-master/r/49861
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Enable auto calibration for sdmmc1 and sdmmc3
by default.
Bug 799568
Change-Id: I713884717713304c26a34f76467f9cd011c91606
Reviewed-on: http://git-master/r/49860
Tested-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
as of now usb accessory disables everything else
other than adb. enable rndis along with usb
accessory to enable tethering.
Bug 854919
Reviewed-on: http://git-master/r/#change,48411
(cherry-picked from I658d1d150977e38b707ba4024a9deff3b0439cdc)
Change-Id: Icf3a92378d0ecd6f579515d6d45f469b05780c6a
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/49771
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
This change contains the following changes due to e450 modem FW change:
1) Change modem BB_RST_OUT polarity and move the wake_lock_timeout where
BB_RST_OUT is low.
2) Disable the AP pullup on BB_RST_OUT.
3) To increase the wake lock timeout to ensure the modem enumeration is
complete before system suspend.
Bug 867501
Change-Id: I8e6638fa8dd8c7af0893ad31693959794e8a4afe
Reviewed-on: http://git-master/r/49743
Reviewed-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-by: Frederic Bossy <fbossy@nvidia.com>
Tested-by: Frederic Bossy <fbossy@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
only reset gpio is checked if it is valid.
additionally check enable gpio.
gpio validation is checked by gpio_request.
Bug 851098
Change-Id: I5b27310e7126074020ab5bdedc33bb62b14351cc
Reviewed-on: http://git-master/r/49239
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Synchronize shutdown with suspend, this is to prevent
race condition between shutdown and suspend
Bug 798849
Change-Id: I61cc2a03cef15d1656ad41bfefff446910210ffd
Reviewed-on: http://git-master/r/49013
Reviewed-by: Bo Yan <byan@nvidia.com>
Tested-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
Providing the clock source based on preference.
bug 870388
Change-Id: I1d5cda35a4d0d70082bf03d7ee02c8322920691a
Reviewed-on: http://git-master/r/50256
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Allowing 2% error in calculated baudrate when finding the best clock
source uart controller.
bug 870388
Change-Id: Id765efd7bf087e10bc93a8ba5bd1eec8a8f3ef48
Reviewed-on: http://git-master/r/50255
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
reformat code to fit with Linux coding style, and made blocks in some
larger if-else chains into functions.
Change-Id: If78038d196c8d5cf0326678a7432092179682182
Reviewed-on: http://git-master/r/50179
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
Generating the KEY_POWER event from the on-key. On-key
is connected through the pmu's PWRON interrupt.
bug 869948
Change-Id: Id57642dfc8529606300ba572106fb75c79e859fb
Reviewed-on: http://git-master/r/49856
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
Tested-by: Anshul Jain (SW) <anshulj@nvidia.com>
Reviewed-by: Narendra Damahe <ndamahe@nvidia.com>
|
|
As each client has its own instance of all shared clocks, minimum clock
rates can be removed from nvhost and be delegated to clock subsystem.
Bug 868554
Change-Id: Iaa59c8a7f9bd6e992280895acf800594bc3b4508
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/49611
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
- Account for EDP affect on total available MIPS when bringing on-line
(removing off-line) new cpu core. Add multi-core overhead (in percent)
as a parameter - set by default to 10%.
- Add balance level parameter: level value (in percent) defines minimum
speed ratio used by hotplug algorithm to determine if current CPU cores
are balanced, so that another core may be brought on-line. By default
set to 75%
Added tunables:
/sys/module/cpu_tegra3/parameters/mp_overhead
/sys/module/cpu_tegra3/parameters/balance_level
Bug 865176
Bug 867186
Change-Id: I6f2e175e0b5ed14c4b85794949c1e65d0e7f4a36
Reviewed-on: http://git-master/r/49772
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
|