Age | Commit message (Collapse) | Author |
|
Adding the handler to parse the kernel command option
"personality".
bug 870313
Change-Id: Ia90e9039b77974ea1b5c5a2a1ae40badefc7c18e
Reviewed-on: http://git-master/r/53124
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
|
|
Enabling the UAA pin group option to UARTA in personality
0x05.
bug 870313
Change-Id: I8f01a278f418826a593fcebcdda461a1080db000
Reviewed-on: http://git-master/r/53125
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
|
|
Host modules are initialized to max rate. Not all use cases
require clocks at max rate, which increases the power consumption.
Modules from user space can request for the lower clk rate
using this ioctl.
Bug 850467
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-on: http://git-master/r/44579
(cherry picked from commit 621b21120db2d8894a564701637fe0a95aae6442)
Change-Id: Ib676bd3607a09cc2303980465eac2d5505bd2ded
Reviewed-on: http://git-master/r/51374
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
|
|
some HDCP verification devices requires fast HDCP re-negotiation
after link verification failure. 1.75sec is too high to meet their
requirement
Bug 855002
Reviewed-on: http://git-master/r/50796
(cherry picked from commit 3ebfad180008d5e30eba7dee510413644c590cc1)
Change-Id: I3029fbe6fc63b5632939c0db9b7b8942acf74ff0
Change-Id: I23c688827c68e2214b28aa74ef85e7e0f56b544b
Reviewed-on: http://git-master/r/51465
Reviewed-by: Annamaria Pyreddy <apyreddy@nvidia.com>
Tested-by: Annamaria Pyreddy <apyreddy@nvidia.com>
|
|
Add the machine driver support for the aic3262 codec
bug 816608
Change-Id: Ib3f510f953d59b239353b62635165fece5ce9e49
Reviewed-on: http://git-master/r/52496
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
bit WRITE16 of HDMI_NV_PDISP_KEY_CTRL_0 shall be polled until it
reports DONE, which is value 0 to ensure the write is complete.
bug 858744
bug 861719
(cherry picked from commit d37336f3965cd1071afb6b03b979b0409ee480f1)
(reviewed on http://git-master/r/49821)
Change-Id: I801f3dea7a251c62d27063c6978de91e8b80be20
Reviewed-on: http://git-master/r/52268
Tested-by: Ken Chang <kenc@nvidia.com>
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
there was a crash in soc suspend as dai ops were not defined for the
dummy voice dai used when wm8753 mode is hi-fi over hi-fi interface
Bug: 873365
Change-Id: Id58520f33743fccbee3d9e064c23ff332691a042
Reviewed-on: http://git-master/r/51571
Tested-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@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
Bug 871652
(cherry picked from commit 945b3333a7e3851999ce5af9088304cf2d4d9be0)
Change-Id: Ie98cc437f36bacc74d411786ec317d97e59369a8
Reviewed-on: http://git-master/r/51040
Reviewed-by: Annamaria Pyreddy <apyreddy@nvidia.com>
Tested-by: Annamaria Pyreddy <apyreddy@nvidia.com>
|
|
Added delay to make sure register is updated.
Bug 874445, 864005
Reviewed-on: http://git-master/r/51086
(cherry picked from commit 284f428041a15300ea65eb9ff76942a65e6628dd)
Change-Id: I4a455ea7468e7944ba60c8aa3d2163d747e1f9b6
Reviewed-on: http://git-master/r/51758
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
|
|
Use the value calibrated by master cpu.
Bug 850933
Change-Id: If56f76f5e0e5fa47e15a9ceed4853b9e3c329552
Reviewed-on: http://git-master/r/49922
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Kamal Balagopalan <kbalagopalan@nvidia.com>
Tested-by: Kamal Balagopalan <kbalagopalan@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
|
|
Filter out any spurious interrupt by checking with the previous state.
Bug 865473
Change-Id: Ic7ac0c04dea01110b1e5a28a50af8e0962608da7
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/49208
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
- Update the upper layer about hdmi removal in suspended state.
- Removes the redundant variable hpd_pending.
Bug 857122
Bug 872278
Change-Id: I0876f50f6d40401b92e4fd36463437a667580f48
Reviewed-on: http://git-master/r/44326
Reviewed-on: http://git-master/r/51008
Reviewed-by: Annamaria Pyreddy <apyreddy@nvidia.com>
Tested-by: Annamaria Pyreddy <apyreddy@nvidia.com>
|
|
When an overlay is opened or closed it updates emc clk as per pclk.
However, this does not consider state of other dc for memory bandwidth
consideration. This results in underflow errors when both display
controllers are in use. To avoid underflow, update emc clk as per
state of both dcs.
BUG 865578
Change-Id: I595c17a2284ce9857acb040e3c6ee6cadf0b4e50
Reviewed-on: http://git-master/r/50736
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
Change-Id: I4acfaebfd96ee357b50d7810fa18f88f0c2084c8
Reviewed-on: http://git-master/r/50185
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Voice call samplerate is set to 16k.
Codec register setting calls are moved to libaudio
SRmode is set for vdac use case.
Change-Id: Ie602fe45f0a078da2eebddc3bda0740c2f04787f
Reviewed-on: http://git-master/r/50184
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
Hotplug on usb is supported only for usb3(instance 2)
Bug 859355
(cherry picked from commit ff19ea44f7c6425efaa24b3470debe39457d82a6)
Change-Id: I14400b2928c6c590d1b0dd6aebbea44cc6fa1754
Reviewed-on: http://git-master/r/46246
Reviewed-by: Annamaria Pyreddy <apyreddy@nvidia.com>
Tested-by: Annamaria Pyreddy <apyreddy@nvidia.com>
|
|
bug: 856337
Change-Id: Ie50cad7f4fd42495186f119707cc87afeadab748
Reviewed-on: http://git-master/r/47205
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Tested-by: Cheryl Jones <chjones@nvidia.com>
Reviewed-by: Cheryl Jones <chjones@nvidia.com>
|
|
The system is likely to hang if user issues "reboot" command
when a user space program is accessing USB device. In this
case, the reboot command will cause tegra_ehci_shutdown to be
invoked, at the same time, the tegra_ehci_bus_resume may be
running and accessing registers when it's not powered on.
bug 770426
(cherry picked from commit 31691fafb3e1442c890c8400de0f0e94cce13a8c)
(Gerrit link for the original change is http://git-master/r/#change,47340)
Change-Id: I2f6ff23ac62a55f67b3c28ad9f3e34704ae6ac54
Reviewed-on: http://git-master/r/49613
Reviewed-by: Venkata Jagadish <vjagadish@nvidia.com>
Tested-by: Venkata Jagadish <vjagadish@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
DC reset disables dc for sometime. If IOCTL_FLIP
occurs during that time then wrong status will be reported.
Add dc mutex around dc->enable to prevent wrong value read.
Fix bug 852345
Bug 863528
Bug 863828
Reviewed-on: http://git-master/r/47539
(cherry picked from commit 8a703e95f4b1bd013f2065634836d7a719bbfb98)
Change-Id: I4854bd8a513ceb854d6d54b96f4f38afc3a63008
Reviewed-on: http://git-master/r/49140
Reviewed-by: Youngjin Kim <nkim@nvidia.com>
Tested-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-by: Bo Kim <bok@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Picture Aspect Ratio for 576p mode was wrong, it was always 4:3
if aspect ratio is 16:9. It is fixed.
Bug 863854
Reviewed-on: http://git-master/r/47071
(cherry picked from commit 226669b16bb5ecb466d6ff4a2e808894ec6f7725)
Change-Id: Idc78fdf6cdb8daa7b3170a7867a7bd5983720dea
Reviewed-on: http://git-master/r/49120
Reviewed-by: Bo Kim <bok@nvidia.com>
Tested-by: Bo Kim <bok@nvidia.com>
Reviewed-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
Reviewed-by: BK Kim <bkk@nvidia.com>
Tested-by: BK Kim <bkk@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Code added to generate the clock from wm8753 pll2
when voice dac is set as master.
bug 856337
Change-Id: Ib303b21ddd8b690fcd06f11dd297a76bbe1c0314
Reviewed-on: http://git-master/r/48596
Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Tested-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
pull up of usb device controller should be done only
in device mode.
Bug 863320
Change-Id: Ie9d1a30c529f75119edcd3b4297a1e004b1c3142
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/48605
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
TVs/monitors which do not support underscan will crop HDMI picture.
Underscan information might be needed in userspace to adjust HDMI
resolution so that the picture will be shown correctly on such devices.
Bug 854822
Change-Id: Ic9b8ac27853884558950a65e8c43452cbef68108
Reviewed-on: http://git-master/r/48063
Tested-by: Victor Ryabukhin <vryabukhin@nvidia.com>
Reviewed-by: Alex Courbot <acourbot@nvidia.com>
Reviewed-by: Victor Ryabukhin <vryabukhin@nvidia.com>
Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
We don't have proper reference counting for this yet, so we run into
cases where the device is pulled and we OOPS on flushing the fs data.
This happens even though the dirty inodes have already been
migrated to the default_backing_dev_info.
Bug 863000
(cherry picked from commit 95f28604a65b1c40b6c6cd95e58439cd7ded3add
of kernel.org, linux-2.6 tree)
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Change-Id: I01b2e2689e065bbe7667b18f2785c6b21beaf432
Reviewed-on: http://git-master/r/48468
Reviewed-by: Ramalingam C <ramalingamc@nvidia.com>
Tested-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
|
|
Fix GART lockups caused by fragmentation by evicting
mapped areas from iovm space after unsuccessful array
pinning attempt.
Fix double unpin error happening during interrupted
submit.
Fix possible sleep in atomic context in iovmm code
(semaphore inside spinlock) by replacing spinlock
with mutex.
Fix race between handle_unpin and pin_handle.
bug 838579
bug 838073
bug 818058
bug 844307
Conflicts:
drivers/video/tegra/nvmap/nvmap_mru.c
Reviewed-on: http://git-master/r/38430
(cherry picked from commit 4a4cae3323d3287e77fdc504e38656974ef24848)
Change-Id: I385913569ef455a1ceb5083829959de24f5309a7
Reviewed-on: http://git-master/r/47832
Reviewed-by: Andre Sihera <asihera@nvidia.com>
Tested-by: Andre Sihera <asihera@nvidia.com>
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@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 take extra space in carveout and create
unnecessary page mappings in GART and SMMU.
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
The change also does sanity check of available system memory
before adding sysmem bit for carveout allocations.
bug 777839
Reviewed-on: http://git-master/r/31383
(cherry picked from commit 502c2becc54b49d26371f9b167f0c6f82a1bc37f)
Bug 844307
Conflicts:
drivers/video/tegra/nvmap/nvmap_handle.c
Reviewed-on: http://git-master/r/38429
(cherry picked from commit ddfc93d27830a28a1c9786fd5bce6dc35727e9ff)
Change-Id: I9b8f84a5a7daf192d1d412926f91e5de71938818
Reviewed-on: http://git-master/r/47829
Reviewed-by: Andre Sihera <asihera@nvidia.com>
Tested-by: Andre Sihera <asihera@nvidia.com>
Reviewed-by: Kirill Artamonov <kartamonov@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Restore the target cpu frequency on exit from suspend. Also save target
frequency if set when the device is suspended.
Bug 841559
Change-Id: I98f394ef0292147c61898b5e216d859e3a26a0b5
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Reviewed-on: http://git-master/r/47772
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
|
|
Updated the tegra_i2c_platform_data to remove warnings.
bug 854305
Change-Id: Ie8e5b1737826cd877352d911ff5b87233fcff0dc
Reviewed-on: http://git-master/r/47733
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@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
Change-Id: I9ad1483521126a52318bd5b641cfe34e0b66ebff
Reviewed-on: http://git-master/r/47492
Reviewed-by: Bo Kim <bok@nvidia.com>
Tested-by: Bo Kim <bok@nvidia.com>
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Removed '\n' character in the input buffer to get a correct length of
data.
fixed Bug856327
Change-Id: I1a15eafa8ba3e0cc1da7872c41abc5963685cdb1
Reviewed-on: http://git-master/r/46595
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Chao Jiang <chaoj@nvidia.com>
|
|
When spi device calls the setup, the interface to that device
should be configured immediately. For this, it is required
to configure controller in setup call.
Reviewed-on: http://git-master/r/27607
(cherry picked from commit b4b9ec736286c23b699f94eac52094bb1b92774c)
Change-Id: I7d71eb211429a2cf989b30a42e86464d17856df3
Reviewed-on: http://git-master/r/47151
Reviewed-by: Niket Sirsi <nsirsi@nvidia.com>
Tested-by: Niket Sirsi <nsirsi@nvidia.com>
|
|
Supporting the hw based CS to communicate to spi device. This
provides the constraints in hold and setup time of CS before
clock start and clock ends.
The hw based CS can be selected if spi client provide the option
through the device controler data and only one transfer per
message is requested.
Reviewed-on: http://git-master/r/23988
Change-Id: Iba6d1efd8c5406f1b44ddd44b6f739ac529a94df
Reviewed-on: http://git-master/r/47150
Tested-by: Cho-Che Cheng <jacheng@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Added the code for arbitration lost recovery mechanism for i2c
driver and Initialize gpio number for i2c clock and data as
part of platform data.
bug 854305
This is cherry pick of change http://git-master/r/#change,43200
in main but hand-merged.
Change-Id: I2bf46cf54c04b94174435f3fb9c965b74156dd02
Reviewed-on: http://git-master/r/46288
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Updated i2c platform data to add i2c arb lost recovery funtion
and corresponding gpio numbers to i2c pins
bug 854305
This is cherry pick of change http://git-master/r/#change,43200
in main but hand-merged.
Change-Id: I4098a512625c16598b8596d0e46d285ca9b92d2b
Reviewed-on: http://git-master/r/47290
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Added the arbitration lost error recovery code into
i2c driver.
bug 854305
This is cherry pick of change http://git-master/r/#change,43201
in main but hand-merged.
Change-Id: Ic745491f1914c1e4c470f7b8b4ff9a29eb030a82
Reviewed-on: http://git-master/r/46289
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Overlays can now be horizontally or vertically flipped.
Bug 834182
Bug 794998
Change-Id: I2a3bf43ba15b9917bf3cfa0cef3c9bb0769948d3
Reviewed-on: http://git-master/r/46012
Reviewed-by: Bo Kim <bok@nvidia.com>
Tested-by: Bo Kim <bok@nvidia.com>
Reviewed-by: Michael Frydrych <mfrydrych@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
It may be possible that write operation on apb bus does not get
complete before disabling clock if the clock is disabled just after
the write on apb bus.
To have proper sequence of operation, it is require to read back the
apb bus to make sure the write operation is completed.
bug 833341
This is cherry pick of change http://git-master/r/#change,32556
in main but hand-merged.
Change-Id: I1d73a2fdfb35450220f53973d56984c9b89fdd27
Reviewed-on: http://git-master/r/45985
Reviewed-by: Alok Chauhan <alokc@nvidia.com>
Tested-by: Alok Chauhan <alokc@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
|
|
bug: 856337
Change-Id: I151514c19ff33f13cb891a50d0bc4dfdfc66c6bd
Reviewed-on: http://git-master/r/45580
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Tested-by: Sheshagiri Shenoy <sshenoy@nvidia.com>
Reviewed-by: Szming Lin <stlin@nvidia.com>
Reviewed-by: Udaykumar Rameshchan Raval <uraval@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Delaying the otg resume to occur after resuming all the devices.
This will make sure all the storage drivers are resumed before
un-register of the host controller driver.
Bug 843287
Reviewed-on: http://git-master/r/42412
(cherry picked from commit a60b2ef0800ba3bebcc6908d3c471d7b0e97423f)
Change-Id: If9a753e63262932833e14bdbf33ad70db72cc7f1
Reviewed-on: http://git-master/r/43438
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
|
|
Bug 851086
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/40788
(cherry picked from commit 835196496da8c426d1a7d6342faf525c900ea81f)
Change-Id: Ic7d1a4fba87ae03fab344039b1de5a6f7c15f3e6
Reviewed-on: http://git-master/r/42382
Reviewed-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Disable/enable wired jack interrupts while going into
suspend/resume.
Bug 854830
Change-Id: Idfe6384258b464a65f4f1efca276c2b4ac7e86b0
Reviewed-on: http://git-master/r/44720
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Enabling cdev1 clk or DAP Mclk from board file instead of
codec soc file because Mclk needs to be enabled before
codec initialization. Also exposing set_parent() for cdev
clocks so that it is possible to enable them from board
file.
Bug 827709
Bug 839210
Bug 821178
Reviewed-on: http://git-master/r/37631
(cherry picked from commit 6643460bd1fa0b8cdf9ddfc75dd3dd228093819f)
Change-Id: Ie7fa948aead75c6e7e6c32a280ee336d8341ccbe
Reviewed-on: http://git-master/r/44978
Tested-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
This reverts commit a5dc52ce49d00bba963544251a1fe858e774780b.
Bug 857124
Change-Id: Ib8c350b44d8334894f96439b67a8a41acabff848
Reviewed-on: http://git-master/r/44493
Reviewed-by: Joshua Cha <joshuac@nvidia.com>
Tested-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
Per the 8.4.1 section of HDMI spec version 1.4a, 100KHz is the maximum
clock rate of DDC i2c bus.
Bug 820552
Signed-off-by: Haley Teng <hteng@nvidia.com>
Reviewed-on: http://git-master/r/41490
(cherry picked from commit fba535096a0c0e3ff9ef72492ed582605aa7cd97)
Change-Id: Id7b4fe95ef623ba95e7a9df3e02162c24ee750df
Reviewed-on: http://git-master/r/44290
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
|
|
A device might be connected while CPU is in sleep mode.
In this case no interrupt will be triggered.
Force irq_work to recheck connected devices.
Reviewed-on: http://git-master/r/40331
(cherry picked from commit 749e994e1e0010843e4a2d54e27a7f19274661a7)
Change-Id: I8e42593a113ce00108a629474bfa9dcc4b4d09b5
Reviewed-on: http://git-master/r/43414
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
|
|
If there are more than one hdmi modes that have same xres,
yres, and vmode, tegra_dc_hdmi_mode_equal can return true even
though pixclocks are way different from each other.
Now, tegra_dc_hdmi_mode_equal will retun false if pixclock has
more than 1Hz of difference. Also, tegra_fb_set_par will use
fb_find_nearest_mode instead of fb_find_best_mode to take
refresh rate into the consideration.
Bug: 815409
Reviewed-on: http://git-master/r/36464
(cherry picked from commit 8cf6e47dd3d4efaa3a1f0a15f1bd36ad34d3a951)
Change-Id: I14fbfba832bd130c7f04369b360d48fbbfad3d7b
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/43655
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>
Tested-by: Manish Tuteja <mtuteja@nvidia.com>
|
|
hdmi modeset triggers to re-start hdcp and trying to negotiate
too early can cause HDCP failure. using delayed_work can avoid
this situation by starting HDCP a little bit late
Bug 855002
Change-Id: I607d31c80b57c4e76dc34d2b19d1d8e9cebe4b8f
Reviewed-on: http://git-master/r/43692
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Tested-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
|
|
ARMv6+ architecture does not allow ioremap on system memory.
lp0 is relocated using ioremap on DRAM. If lp0 vector start address
is in system memory then use memblock_reserve and do not relocate.
Else if it is overlapping with carveout/fb then first remove the
carveout/fb using memblock_remove and then use ioremap.
Bug 827199
Change-Id: Ic602f0f2495756213face30681018529128e57b9
Reviewed-on: http://git-master/r/43685
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Tested-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
|
|
According to the datasheet of wm9001 amplifier, it needs 100ms to
enable itself for Class D with Vmid capacitor 4.7uF. Some sound data
will be missing without the msleep call.
Fixed bug#831138
(cherry picked from commit 64970d8cdfa492563775266eb189978bb59e4ecc)
Change-Id: If12e1b6570a76418a190e84b5f3a5513d2030b83
Reviewed-on: http://git-master/r/43648
Reviewed-by: Chao Jiang <chaoj@nvidia.com>
Tested-by: Chao Jiang <chaoj@nvidia.com>
Reviewed-by: Andre Sihera <asihera@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>
|
|
wait_event_interruptible_timeout checks the condition before
it enters a sleep. Adding a real condition to the function
avoids an un-wanted aditional sleep.
Bug 833476
Reviewed-on: http://git-master/r/43225
Reviewed-on: http://git-master/r/43426
(cherry picked from commit 40a95f668b311b66212cf81638bb65f241835e98)
Change-Id: I46ebab6229d24d0977e1ce640bdec9611df621e7
Reviewed-on: http://git-master/r/43610
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Tested-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Jonathan Mayo <jmayo@nvidia.com>
|