Age | Commit message (Collapse) | Author |
|
Add a new module that will dump the contents of the ftrace ring buffer.
Data is compressed and can be in ascii or binary form. Data will
automatically dump on kernel panic to console. Data can be dumped by
reading /proc/tracedump. See tracedump.h for details.
Change-Id: I7b7afc3def0b88629dd120d17e43858306a8f357
Signed-off-by: Liang Cheng <licheng@nvidia.com>
Reviewed-on: http://git-master/r/69494
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
Limited carveout memory gives Out of Memory errors for
1080p camera preview. Even when camera app runs 640x480
preview carveout memory almost all of carveout memory
(127/128) gets used.
bug 907782
bug 911767
Change-Id: Ibb8226c1fb928b7e4344f8959072973da93ecae5
Reviewed-on: http://git-master/r/69492
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Removed wmb()s which are:
- Logically unnecessary after while loop.
- Right after spinlock which has the same effect as wmb().
Change-Id: I2c4978b12d6bd9d4046a900b5ce7d6f0bdbd70e0
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/66357
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Add watchdog recovery mechanism to protect against hangs during
driver suspend/resume sequence
Bug 857748
Change-Id: I03d540b38318a5a953b1a697af123291b48991e9
Signed-off-by: Kamal Kannan Balagopalan <kbalagopalan@nvidia.com>
Reviewed-on: http://git-master/r/65986
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@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
Change-Id: Ida938ada7d14085e11096b25cf41431fc2d46215
Reviewed-on: http://git-master/r/50218
Reviewed-on: http://git-master/r/64257
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
set step value from 0 to 1 by the spec, with 0 it showed glitch.
Bug 909514
Change-Id: Iebb0896592076fac5ffe71cec0806140228851d9
Reviewed-on: http://git-master/r/70960
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
memory barrier(wmb()) doesn't affect transaction among AHB/APB bus
transaction but only register read-back does.
Change-Id: If8da79bc3f536bac025e408afe0f26cca2274f86
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/66355
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Removing regulator_disable() from dsi panel postsuspend function.
No need to put down power rail avdd_dsi_csi. Do nothing to
avoid possible issues during resume.
Bug 897991
Bug 900960
Reviewed-on: http://git-master/r/63444
(cherry picked from commit 03940175b51c58a6fdd3b56112070c8e3d9c5613)
Change-Id: I56dca68976bb50eda33f709c1ac4c6f7a2d8e2d2
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/70691
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
Add board details for Ricoh583 PMU RTC
bug 902137
Change-Id: I02e9565e907cf3c4a631962fb559ec2a058abb53
Signed-off-by: venu byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/70019
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Change-Id: I3094e3f781b9fdc3acdea6db20e65bf289ee4de6
Reviewed-on: http://git-master/r/69922
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Dinesh Israni <disrani@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
|
|
Originaly renaming was done in commit ddb7d5d80
However, some of clock names ramained unchanged.
Fixed this.
Bug 917441
Change-Id: I0bac986c0be6e66fc4ae258563091d4c7d9c45c3
Signed-off-by: Victor Ryabukhin <vryabukhin@nvidia.com>
Reviewed-on: http://git-master/r/70973
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
bug 911107
Change-Id: Iaf463f44d56942b181ae48b5b8e464e5b9164687
Signed-off-by: Bill Huang <bilhuang@nvidia.com>
Reviewed-on: http://git-master/r/70965
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
put the cache init code under CONFIG_PM macro
this fixes the build breaks where CONFIG_PM macro
is not defined
Change-Id: I0d140d52d80a24298afeefcf4e81b3c6b65d465f
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/70939
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Added dvfs entries for automotive skus
Bug 883565, 882186
Change-Id: I6186b682fa82e24c3062bcbf5c2e5580fdf80562
Signed-off-by: Mohit Kataria<mkataria@nvidia.com>
Reviewed-on: http://git-master/r/70292
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Replace the hand-crafted pinmux mux selector enumerators and
name table with generator macros to avoid mismatches between
them.
Change-Id: I2e56bf89a4b29f33af00d0e4d2617ee13c554997
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/70088
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mark Stadler <mastadler@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Allen Martin <amartin@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
For RAW-IP network driver, use async version of autopm calls
since it might be called in interrupt context.
Change-Id: Ie8ab3fd1ab1268d01d3e9333d2b27a1b3ccf0686
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/69890
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
If the data commands fail due to some error, retry the transfer.
Add 3 retries for data commands.
for bug 914934
Change-Id: I53245ddd159abdbade09f841d9490d2f106e7c88
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/71181
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
|
|
Change-Id: I844648f0833ededabda0f2d6aebae214d600b796
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
|
|
Enabled EMC_SCALING option.
Signed-off-by: Peer Chen <pchen@nvidia.com>
Change-Id: I1a01be4668637c718544fcc6806b4c42a3ad27ae
Reviewed-on: http://git-master/r/70533
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Enabled cpu idle option.
Signed-off-by: Peer Chen <pchen@nvidia.com>
Change-Id: I614fddb65f63b143420c7d18d72a1d19c9ea98d2
Reviewed-on: http://git-master/r/70526
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Enabled cpu frequency governor option.
Signed-off-by: Peer Chen <pchen@nvidia.com>
Change-Id: I9df41be4a946723549d5af515e7cd4710ca44708
Reviewed-on: http://git-master/r/70522
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
This CL is to get rid of continuous debug spew.
Change-Id: I9546ff82dcb41c3cd877b4d866d05097581aca85
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/70066
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Regenerate defconfigs to reflect current Kconfigs
Change-Id: I224833dc80934e2bfa374eaa85e22a70391d3fd2
Signed-off-by: Mursalin Akon <makon@nvidia.com>
Reviewed-on: http://git-master/r/70060
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
enable power button for waking up harmony
bug 911107
Change-Id: Id69204a904cafa4186cbac201830ac6d1e5a81b1
Signed-off-by: Bill Huang <bilhuang@nvidia.com>
Reviewed-on: http://git-master/r/70274
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Bug 886459
Change-Id: If7fb3e26c0a1a16bc61929eba6f0a62d7522cb05
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/69568
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Bug 886459
Change-Id: I6005ba8081951a015f101ad864c00232ea88590a
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/69567
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
The byte order in the reg_write call was swapped.
Also updates the mode truth table so focuser can choose one
to work on.
Corrects the position range and set the settle time dependents
on the transition mode.
bug 909072
Change-Id: I91fffbe4810b86883f934b08a4fdbc3284efd652
Signed-off-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-on: http://git-master/r/69279
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Gary Zhang <garyz@nvidia.com>
Reviewed-by: Naren Bhat <nbhat@nvidia.com>
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
The KXTF9's control reg PC1 bit was being set for both
suspend and resume config structs in kxtf9_set_odr().
This caused the accelerometer to be turned on during both
suspend and resume.
Bug 902379
Cherry-picked From: http://git-master/r/#change,65983
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Change-Id: If0a17af5b4538008dbf4d4f8b2d280f8d3981e3f
Reviewed-on: http://git-master/r/69260
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
|
|
HDA driver used to enable clocks during suspend only if there is no
active clock. But this logic causes a race condition when hda codec
power work thread disables the active instance of hda clocks in
middle of suspend. To avoid this race condition always enable
HDA clocks at start of suspend operation and disable all active
references of HDA clocks at end of suspend. Since HDA driver
suspend also suspends all active codecs there is no chance of
getting HDA clock disable call after completion of suspend.
Bug 915436
Change-Id: I4956ba28488d6d445ea2d53fb2592897a2ad83bb
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/70315
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Buffer usb urb request during suspend/resuming and send
it after resume is done. Make "needs_remote_wakeup = 0"
to pass auto suspend check.
BUG 909614
Change-Id: Ia966a8dc8ab6f808220562f08b072c66bb4678a1
Reviewed-on: http://git-master/r/70166
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
This patch adds the equalizer and biquad filter controls.
Signed-off-by: Peter Hsiang <peter.hsiang@maxim-ic.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
(cherry picked from commit dad31ec133adb20c8fd10bfd9379da3f08b8721e)
Change-Id: I5f0f1005cecc1ca28bac360a55a86de7b9cddfe1
Signed-off-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-on: http://git-master/r/69961
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
When a submit arrive in kernel, package it as a new data type nvhost_job
and use that for submitting to channel. That data type is used for
tracking the state of the job through its lifetime.
Change-Id: I0cfdb1721cc6c08efbd215917f5f46fdb7131ca0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/67682
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
bug 902137
Change-Id: I1d92a579672ad5bd93e033000a366b6e5d6b27d9
Signed-off-by: venu byravarasu <vbyravarasu@nvidia.com>
Reviewed-on: http://git-master/r/70212
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Bug 891536
Reviewed-on: http://git-master/r/63178
(cherry picked from commit e537469bce8711c4ec871663e659dce02f199695)
Change-Id: Id62581baab9ce45c7bf588b19f70b20901f3a98e
Reviewed-on: http://git-master/r/66982
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Regulator notifier event chain may be called with several events OR'd
together, e.g. in drivers/regulator/core.c:
_notifier_call_chain(rdev, REGULATOR_EVENT_FORCE_DISABLE |
REGULATOR_EVENT_DISABLE,
Bug 913417
Change-Id: Ifba9860c1ee59c2fe2a4ee3c901e983912e07139
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/69725
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
dc vsync, hsync, DE and pclk polarity in kernel
can be different with bootloader setting for a short time
when default polarity value is written.
This can generate momentary panel flicker in kernel boot.
Set the first polarity based on board dc out pin polarity
information directly if needed.
Bug 891444
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/59895
(cherry picked from commit 8e5bfd5702067309171b62a6be5471bfab68a31e)
Change-Id: I80c703792ea5a9596d4cf42ef19115cbf4d556f6
Reviewed-on: http://git-master/r/69711
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Min-wuk Lee <mlee@nvidia.com>
|
|
Fix regulator enable/disable mismatch. AR0832_IOCTL_GET_SENSOR_ID
doesn't turn on power when it's called second time. This condition
wasn't handled properly in ar0832_power_off.
Remove redundant sleep() to speed up camera launch and switch.
Remove redundant variable.
Bug 913437
Change-Id: Ic5464a0fb4b8f3d8421a95fbfb6a399830887012
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/69116
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Qi Wang <qiw@nvidia.com>
|
|
Added a lower limit while in throttling to the thermal
layer. Needed this for tsensor to work.
Change-Id: Ib4cc038b9a287a799ae19ca565798b06c26af02c
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/69562
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
Export tegra_gpio_enable/disable api's to make them available
to loadable kernel modules.
Bug 845065
Change-Id: Ib17bd895fe03ffbf98fbf5e7e5d79dc3ec5f9235
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
|
|
Enabled probe callback in probe function now
that callback function parameter was added
to tsensor data structure.
Reviewed-on: http://git-master/r/62022
(cherry picked from commit 388f5aa8ac8b84bf247db8ebd3dcd05b2788b3d5)
Reviewed-on: http://git-master/r/64560
(cherry picked from commit c58aad90a5226b1a13c4e5397de800d5d7fdfa84)
Change-Id: I4cd66ebdf33e54048166207ab7012e4b74b5350d
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/67239
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
|
|
Hooked up tsensor to thermal framework. Cleaned
up some unnessary tsensor code as well.
Bug 848755
Reviewed-on: http://git-master/r/62021
(cherry picked from commit 307f53a36bd1bdfaabddfdd80f9de5445d805786)
Change-Id: If4156c35f78575bc67b48d1d87fa82a4e32751c5
Reviewed-on: http://git-master/r/63344
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/67238
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
|
|
Bug 888679
Change default regulator current to 6A on cardhu to support T33 based
board without VF
Change-Id: Ica8c1a9a4276ae1fb140c6a2ad1db04bd96c9471
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/70187
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
|
|
Bug 913493
Change-Id: I05eaa030a0d959eb0bac1344f754ce73a479be9a
Signed-off-by: David Schalig <dschalig@nvidia.com>
Reviewed-on: http://git-master/r/69710
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Bug 914750
Bug 914753
Change-Id: I5aef20ca4925057a5d9d0932c9267a40c732ef4a
Signed-off-by: David Schalig <dschalig@nvidia.com>
Reviewed-on: http://git-master/r/69720
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
|
|
This change fixes the compilation error.
The error happens when CONFIG_TEGRA_DC is not defined
Bug 916044
Change-Id: Icddd959f1ad9d9d9acad66e478e84c2bc96687b2
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/70191
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
|
|
For debugging and working around SMMU/AVP IOVA range issues.
Default is "n" for production IOVA range.
Also removed chip revision knowledge from AVP loader.
Change-Id: I69984feaebe93a1d05d018ecf8a6e79d18bb0087
Reviewed-on: http://git-master/r/69515
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
|
|
Add missing flags to enable multimedia support for T20 on K39.
Bug 909132
Signed-off-by: Jitendra Kumar<jitendrak@nvidia.com>
Change-Id: I943138eac72662912889c9fa6f04a5b23cf45bb3
Reviewed-on: http://git-master/r/68898
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
|
|
Add flags to enable support for TEGRA NVAVP driver required for NvMMLite/TVMR
on K39. Also disable the support for AVP multimedia offload engine and
Tegra Media Serversupport.
Bug 908933
Signed-off-by Jitendra Kumar<jitendrak@nvidia.com>
Change-Id: I085dea2415927ef537648d8dd1ea77ba57e6064d
Reviewed-on: http://git-master/r/68894
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>
|
|
enable backlight and pwm device for harmony
bug 911107
Change-Id: Ib77d759f3248590a4a8d5b609068a3be97015b29
Signed-off-by: Bill Huang <bilhuang@nvidia.com>
Reviewed-on: http://git-master/r/70286
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
User space components have been converted from using overlay display
driver to using display driver extensions. Overlay driver thus can be
disabled.
Bug 905578
Change-Id: I1666e21adce2c9382b3ce0561dbfa168a6c06007
Reviewed-on: http://git-master/r/70268
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com>
Tested-by: Michael Frydrych <mfrydrych@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|