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>
|
|
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>
|
|
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>
|
|
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: 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>
|
|
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 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>
|
|
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>
|
|
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>
|
|
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 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>
|
|
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>
|
|
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>
|
|
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>
|
|
- 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>
|
|
There is no guarantee that every element in the pin group array
will be used (i.e., initialized) for a particular SOC. Prevent
access to pin group array elements that are not initialized.
Change-Id: I90ea3616f8508b12ffe4a7daf9ff4b2bac057075
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/50059
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
|
|
Add delay after switching the clock source for sclk
Reviewed-on: http://git-master/r/48603
(cherry picked from commit 523934da7227984d05597bac8a9dcd533de2f2b4)
Change-Id: I36c399d95a1f7348b61d01843997fd4f54aa85bd
Reviewed-on: http://git-master/r/49725
Reviewed-by: Luke Huang <lhuang@nvidia.com>
Reviewed-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-by: Raymond Poudrier <rapoudrier@nvidia.com>
Tested-by: Raymond Poudrier <rapoudrier@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
|
|
Register clocks that are shared amongst modules (emc, epp) as separate
clocks. This way setting EMC clock for 2D does not interfere with EMC
clock needs for 3D or MPE.
Bug 868554
Change-Id: I5c7dddc8f1d67969865918e577bd24b274d9e897
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/49603
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
Fuse programming is possible only on silicon platforms.
Do not enable it for simulation or FPGA platforms.
Change-Id: If1bec072eeaae1ee95720a37e37fcb7c8e8ee464
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/49724
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Enabling Spi Slave functionality.
Change-Id: Ic179c1280c668c43569e0eba1aa574b4547c6312
Reviewed-on: http://git-master/r/49662
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Supporting the ES2.0 Ricoh583 based pmu. This pmu has
the core current maximum upto 3A and so no need to have
external dcdc regulator for the core supply.
bug 822562
Change-Id: I47e9a3468501b0999a68aa093df623ac1bde5041
Reviewed-on: http://git-master/r/49853
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
|
|
Adding support for PM305.
bug 846246
Change-Id: Ib036c67c12984668e0b7153f76a1a1d44c5be14f
Reviewed-on: http://git-master/r/49820
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
|
|
This adds the necessary platform data to support HDMI on Harmony
devices.
Bug 868732
Change-Id: Ia972cd2a9695072563478036a7fd1b9c3fd18135
Reviewed-on: http://git-master/r/49729
Reviewed-by: Robert Morell <rmorell@nvidia.com>
Tested-by: Robert Morell <rmorell@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
|
|
Use a memcpy with less overhead in tegra_move_framebuffer, this makes
this function about 30 times faster.
Bug 843089
Change-Id: I4ae9127db6d5ff5d9680e3ff2c3d28463395e39b
Reviewed-on: http://git-master/r/49735
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Kevin Huang <kevinh@nvidia.com>
|
|
configure ordered dithering for 18bpp internal lcd.
Bug 869395
Change-Id: I4e9391773f783992820e85a201d29403455bc100
Reviewed-on: http://git-master/r/49508
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
This change implements the TEGRA_DC_EXT_CONTROL_GET_OUTPUT_EDID ioctl in
the dc_ext interface.
It first adds a way for the tegra dc EDID module to export EDID data
safely, without the risk of reading an incomplete or corrupted EDID in
the presence of hotplug, by moving the actual data to a substructure
with a lifetime maintained by a kref. Then, that support is plumbed
through the hdmi block (which is currently the only way to get at the
EDID) and out to userspace.
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Bug 817119
Change-Id: I78cd170e15322011b428cb71ffad2c0c3ea058ac
Reviewed-on: http://git-master/r/49127
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Fix regulator_get error and reset the sensor/focuser properly
in the camera power on routine for PM269.
Bug 842713
Change-Id: Ia3820ec9e7bcca850b090a48963606af855f5ad2
Reviewed-on: http://git-master/r/49101
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
CONFIG_TEGRA_IOVMM_SMMU now can be independently disabled and
the kernel still builds.
Change-Id: I009319352f4b125941a58132d2be8d5f36411aab
Reviewed-on: http://git-master/r/49278
Tested-by: Hiro Sugawara <hsugawara@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
|
|
RIL and FIL require GPIOs access from user space.
This is possible with this change using sysfs.
Bug 866051
Change-Id: Ie6ee4e305ae709a4eae467e27b269b9327031a17
Reviewed-on: http://git-master/r/49206
Tested-by: Alexandre Berdery <aberdery@nvidia.com>
Reviewed-by: Frederic Bossy <fbossy@nvidia.com>
Reviewed-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Bug 861419
Change-Id: Icff68a821f5088af62962ccadaabbd01e4b5af7b
Reviewed-on: http://git-master/r/45966
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
This change makes tegra2_pll_clk_set_rate() will process for p field is greater
then 2. It helps to increase VCO.
Bug 852217
Bug 842032
Reviewed-on: http://git-master/r/47492
(cherry picked from commit e1fefd8a7fb9751ddfad95e469666f3c876123a8)
Change-Id: Id49b33cd8e568c6e5b619988a148242a85867eca
Reviewed-on: http://git-master/r/49585
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bo Kim <bok@nvidia.com>
Tested-by: Bo Kim <bok@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Enabling RICOH583 MFD and regulator driver.
bug 822562
Change-Id: I2521623b71ab6179d4df141bf0ce0f1acf99b9ad
Reviewed-on: http://git-master/r/48987
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
|