Age | Commit message (Collapse) | Author |
|
Calling regulator_disable causes system to crash when there
is no regualtor. It calls regulator_disable only when regulators
exist.
Bug 871860
Change-Id: I7b714ed2423721d47ebae708dd453600cbf42312
Reviewed-on: http://git-master/r/56078
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
|
|
Change VDD_CPU and VDD_CORE dependencies so that VDD_CORE min is 1.1V
when G CPU is active.
Change-Id: Ib7652879e48ba1783ea84242f4353db9e6745904
Reviewed-on: http://git-master/r/55806
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
|
|
Context to be restored needs to be reference counted. Otherwise a
sequence of process submitting the work and exiting before hardware
executes the work can result in access to memory that is not mapped
anymore.
Bug 870787
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Change-Id: I8f21db3ab85ab574d577a27081a5bbbf0f797968
Reviewed-on: http://git-master/r/55888
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
|
|
In the previous code, we relied on l2x0_restart to reenable the L2.
But this interface doesn't allow the AUX_CTRL to be specified, so is
unable to pass it through to the SMC.
We now, just make the same underlying SMC call to restart the L2,
passing our saved AUX_CTRL setting.
Bug 868056
Change-Id: Ic2024bcb8df3167f00d04bba446b59696e376306
Reviewed-on: http://git-master/r/55845
Reviewed-by: Ryan Wong <ryanw@nvidia.com>
Tested-by: Ryan Wong <ryanw@nvidia.com>
|
|
Modified the usb registration order, otg is the first to be registered.
Bug 835678
Reviewed-on: http://git-master/r/39505
(cherry picked from commit 4f43316f3cbe55dc75e67002bfff37dcbba4178e)
Change-Id: I9914cfad251d03f0fb5035026c64e3194d88bb91
Reviewed-on: http://git-master/r/54911
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Bug 834959
Change-Id: I01e9da153e961fd08744d97d367e4523be4da2eb
Reviewed-on: http://git-master/r/54861
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Add I2C mux driver instance to support two rear sensors.
Add new GPIO pin to control reset for I2C mux.
If board doesn't have I2C mux, it falls back to previous I2C tree.
Bug 871860
Change-Id: I6621111e807f22a39718ef5d878de2cf869fd87a
Reviewed-on: http://git-master/r/54763
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
|
|
Change-Id: I57f9ca25b4313be276c6b8fff677944f6b07e2cc
Reviewed-on: http://git-master/r/54824
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>
|
|
Save register values to cache on register write.
So resume calls does not overwrite the register with old cache
values.
bug 874443
Change-Id: Iedbc27d6ffc0477066aa62cc14732d64f5aeff5e
Reviewed-on: http://git-master/r/54795
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Chandrakanth Gorantla <cgorantla@nvidia.com>
|
|
Add regulators to PCA954x in case PCA954x is controlled
by programmable PMIC. Add two Vcc. One is for PCA954x itself
and the other is for I2C bus.
Bug 871860
Change-Id: Ieb68d556eeeb87982618f7dbdddab66340b9c70c
Reviewed-on: http://git-master/r/54745
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
Tested-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
onboard d-mic as well as mic jack for headset mic
are available. Both mics can be supported
simultaneously and one of them will be selected as
per application request and availability of
headset mic.
BUG 834328
Change-Id: I78a48e7c53ecc8f6ffdfdfa51a44cb7e2f23d9be
Reviewed-on: http://git-master/r/54708
Tested-by: Sayak Choudhury <sayakc@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Enabling the tegra usb modem power management and decoupling the modem
operation and power management functions.
Bug 854339
Change-Id: I4297d5fc74eec2f79664aa2bed393accaa099817
Reviewed-on: http://git-master/r/53247
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
Enabling tegra usb modem power management for enterprise.
Bug 854339
Change-Id: I84cb02e1fb5e64f3deffe652454910b928ad3ef7
Reviewed-on: http://git-master/r/53244
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
|
|
the fix add testcase for testing aes ofb mode.
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Bug 787628
cherry picked the following commit
http://git.kernel.org/?p=linux/kernel/git/herbert/
cryptodev-2.6.git;a=commit;h=ba0e14acc417eceb895efda1ff46366f4d1728f8
Change-Id: I6554ab3d8d26e8835ff6cc3e4816d47ff3de4644
Reviewed-on: http://git-master/r/30339
Reviewed-on: http://git-master/r/54441
Tested-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
|
|
The WARs checked into 12r7: disable LP0/LP1 and slave LP2, and force
maxcpus to 1 aren't needed when used with the newer tf_include.h from
this TL drop.
bug 868906
bug 870224
bug 877339
Reviewed-on: http://git-master/r/53324
(cherry picked from commit 7742e7756c0637ae5378e394ca03978826e31a78)
Change-Id: Ifbbf73a4227fb755c35285b437f79bc1cab6073e
Reviewed-on: http://git-master/r/54158
Reviewed-by: Chris Johnson <cwj@nvidia.com>
Tested-by: Rahul Prabhakar <rahulp@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>
|
|
During remote wakeup 2LS WAR is getting executed which is required only
for HS devices. Removed 2LS bit time WAR for FS and LS devices.
Bug 805906
Change-Id: I11278e42205bf95a09ec387c963d3cdb187b6edd
Reviewed-on: http://git-master/r/54735
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
replaced space with tab in multiple places.
Change-Id: Ib89b6cc716c2edb194210d5c4979a903decb2f6e
Reviewed-on: http://git-master/r/54677
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
Tested-by: Venkata Jagadish <vjagadish@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Check the usb line status during the resume from low power mode for
proper usb phy state.
Bug 874491
Change-Id: Iad8cb86d0db354d9e0c4ed1ed5037dbc01931867
Reviewed-on: http://git-master/r/54622
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Tested-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Hotplug on usb is supported when hotplug flag is set in platform data
Bug 869745
Change-Id: I57ba0b18a2d4232b2df2074c91aff97c6e639e7d
Reviewed-on: http://git-master/r/54588
Tested-by: Artiste Hsu <chhsu@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
For board specific configuration, adding GPIO attributes such as push-pull,
pull-up, pull-down, direction, output level and alternate into platform data.
Bug 849360
Change-Id: I85c8e6ad397adf317cbc7f6d4bace8629091bad5
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/54429
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Bug 849360
Change-Id: I74b99b76570bf0731d39f63d87eb3f4f9d152270
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/54428
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
m, n and p coefficients updated for fuse revision 21 and beyond.
- code cleanup done. fixed checkpatch warnings.
bug 842208
Change-Id: I355aae4d52b8b33372b6b8230c3124b7c7fedf3e
Reviewed-on: http://git-master/r/53808
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Registering gpadc driver through tps80031.
bug 872697
Change-Id: I459f553ac3930593e5b1a0761d0e8ba3161e76ca
Reviewed-on: http://git-master/r/52636
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Enabling gpadc driver of tps80031 for enterprise.
bug 872697
Change-Id: I2ef7584d8f568d9bcf34b85e2b8a593823be48cf
Reviewed-on: http://git-master/r/52635
Reviewed-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Tested-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
The SDMMC_VDD control is generated from the cpld programming
for pm269 and so it is not require to have gpio control for this.
bug 880984
Change-Id: I2b050f177f6bef4701e3d43ea3521f4475558820
Reviewed-on: http://git-master/r/54469
Reviewed-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Tested-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
Panel reset in the first kernel boot is removed because
this makes short flicker in transition from bootloader display
to kernel display.
Panel reset in system resume is still remained.
Bug 874071
Change-Id: I0188ba75cb3c63f798a4a3689b85728ae66e9c44
Reviewed-on: http://git-master/r/53695
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
In hdmi_pcm_open(), the evaluated PCM hw parameters are stored in
hinfo, but these aren't properly set back to the current runtime
record since these have been set beforehand in azx_pcm_open().
This patch fixes the behavior.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
(cherry picked from commit 639cef0eb6df05d5516520aa89b0c9fe62ee2d3b)
Bug 879658
Change-Id: I63abb615bc5cc087efc6c391e3cb528058c04cc0
Reviewed-on: http://git-master/r/54280
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Increase the bit field width to 2, to accomodate all possible
status for LP read.
Change-Id: I3d3b06fb7daff4b97f1ce1e3acc4cb96f1208df1
Reviewed-on: http://git-master/r/54223
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Tested-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
|
|
Adding api which provides the mechanism to getting charging status.
bug 872697
Change-Id: I2d70e33e04d6a663e55752a89e1699afb4d355b4
Reviewed-on: http://git-master/r/53785
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
continue to play HDMI audio past earlysuspend (when internal screen is
powered down). this is accomplished by using FB_BLANK_NORMAL on HDMI
display in earlysuspend instead of FB_BLANK_POWERDOWN.
bug 857117
bug 868916
Change-Id: I57a53db640458a086e3ef2aeacd8ef3c7ab552e9
Reviewed-on: http://git-master/r/53625
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
|
|
this change ensures that emc clock is set to maximum when
avp clock goes maximum. it over-rides the emc clock
send by platform data when avp clock is maximum. it restores
the platform specific emc clock (if any) when the next
non-maximum avp clock request comes. if no emc platform
specific clock is specified, it restores the maximum emc clock
for bug 876402
Change-Id: Id5e454a5a63b1679906d8612c6e24958bace1663
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/53193
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mohan Nimaje <mnimaje@nvidia.com>
|
|
Enable 2nd level hardware controlled clock gating.
Change-Id: I8bb368bfbe42cef8e01bd852bec34b8d27428475
Reviewed-on: http://git-master/r/53694
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
vbus presence is tested based on vbus sensors. This
is needed only for FPGA.
Bug 864018
Change-Id: Idacf8a09d4942f17d4ed2223ce21c91b2d4c70f8
Reviewed-on: http://git-master/r/54006
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Adding tegra_ehci_pre_reset function before call ehci_reset.
Bug 863224
Change-Id: I73bfb1739e71a2554e8016d0bd81f70bc2ec19fd
Reviewed-on: http://git-master/r/53258
Reviewed-by: Steve Lin <stlin@nvidia.com>
Tested-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Changing null ULPI init sequence to avoid phy register program issue
when exiting LP0.
Bug 863224
Bug 860900
Bug 800318
Change-Id: I1c5d88f890b160279cac76352d51fbaaaa1844ea
Reviewed-on: http://git-master/r/53256
Reviewed-by: Steve Lin <stlin@nvidia.com>
Tested-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Setting the slewrise and slewfall rates properly.
Bug 811303
Change-Id: I49defba97a99f9583b837ce0e95a01ded9bad35c
Reviewed-on: http://git-master/r/52367
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
|
|
SKU_TOUCHSCREEN_MECH_FIX needed an extra '0', it is used to control
display refresh rates for some boards that are more sensitive to touch
screen interference.
Bug 878694
Bug 861062
Change-Id: I8d295b394878d101247cade8cf77a66912daa97b
Reviewed-on: http://git-master/r/53898
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
Change-Id: I29355d04c9e945a7c413d86ce6a450d647a3da98
Reviewed-on: http://git-master/r/53613
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
|
|
After allocating pages, Set page attributes as per mem type
requested.
(cherry picked from commit e4862709dd7fb9799072576569fd532e0a597f31)
Change-Id: If5e119366ffe6daaab78dc5915fa864d6932d464
Reviewed-on: http://git-master/r/53828
Reviewed-by: Vinod Rex <vrex@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
|
|
bug 865816
Adapted from x86 change_page_attr() implementation
(cherry picked from commit b95306beb700ea1dddb228d3f1acfe4efc36f2f6)
Change-Id: I9dfaf9e0e0517840848b5a0fd98f2c3f6ed5d3ca
Reviewed-on: http://git-master/r/53827
Reviewed-by: Vinod Rex <vrex@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Tested-by: Krishna Reddy <vdumpa@nvidia.com>
|
|
continue to play HDMI audio past earlysuspend (when internal screen is
powered down). this is accomplished by using FB_BLANK_NORMAL on HDMI
display in earlysuspend instead of FB_BLANK_POWERDOWN.
bug 857117
bug 868916
Change-Id: Ib1c7965d97c89400b86eab8d87c2b8db84c08a1f
Reviewed-on: http://git-master/r/53628
Reviewed-by: David Pu <dpu@nvidia.com>
Tested-by: David Pu <dpu@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
Various cleanup including removing two unneeded static variables and
an unneeded function, as well as reserving the ram console after the
carveout and framebuffer.
Reviewed-on: http://git-master/r/51214
(cherry picked from commit cb64054a12aca84b097556c7c4f4e7c67916fd93)
Change-Id: I80e2930b5c688452af836cb6da1b8f415cf19c33
Reviewed-on: http://git-master/r/53612
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Reviewed-on: http://git-master/r/51212
(cherry picked from commit a9abc3b04bed4a8aae95e17656aaa61240464b01)
Change-Id: I00b905215d73cb8c1454263edded62d410d51b0d
Reviewed-on: http://git-master/r/53611
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
continue to play HDMI audio past earlysuspend (when internal screen is
powered down). this is accomplished by using FB_BLANK_NORMAL on HDMI
display in earlysuspend instead of FB_BLANK_POWERDOWN.
bug 857117
bug 868916
Change-Id: Ie5484823b67e78b5b30e05058624ec7f3524134f
Reviewed-on: http://git-master/r/53609
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: David Pu <dpu@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
Only clear the display when ioctl FBIOBLANK is FB_BLANK_NORMAL is used
This indicates that display should still be powered on and is useful
when HDMI audio needs to remain active but no content is displayed on
screen.
bug 857117
bug 868916
Change-Id: If9bd5616a02448a4c2859432b774afa793505447
Reviewed-on: http://git-master/r/53608
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: David Pu <dpu@nvidia.com>
Tested-by: David Pu <dpu@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
bug 871544
VDD_DDR_RX is a reference voltage used by the DDR/LPDDR IO cells.
If this supply is turned off and memory accesses are taking place
then the values read from the Memory may be corrupted.
(cherry picked from commit Id01d051ce02ed1d30484c42297624483f6561314)
Reviewed-on: http://git-master/r/50764
Change-Id: If2c1eb085e810852d094f2f1a67445f23acc2575
Reviewed-on: http://git-master/r/53369
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Instead of rounding up when measuring temperature in celsius,
report back temperature in millicelsius.
Change-Id: I5b99dd9f1c41e929d83a42662d693fe31a779a52
Reviewed-on: http://git-master/r/52953
Reviewed-by: Joshua Primero <jprimero@nvidia.com>
Tested-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
|
|
Don't allow root user allocating more than iovm limit to avoid pin
time issues.
Bug 864535
Change-Id: I8aee89cc85e244a7453b5b31f6f998e97c498915
Reviewed-on: http://git-master/r/53048
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
Tested-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
|
|
Create mapping from gpio to pingroup and set gpio to
normal or tristate
Bug 866633
Change-Id: I4ca31c8048437385efdd8a9694f7bb89355f4aef
Reviewed-on: http://git-master/r/53184
Reviewed-by: Bandi Krishna Chaitanya <bandik@nvidia.com>
Tested-by: Bandi Krishna Chaitanya <bandik@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
|
|
Display audio codec type which is is passed in kernel command
option.
bug 876544
Change-Id: I46d666392a42c9ffb28648e681a2fa3116b37060
Reviewed-on: http://git-master/r/53090
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
|