Harry Hong [Fri, 18 Jul 2014 07:17:00 +0000 (16:17 +0900)]
regulator: palmas: change smps10_is_enabled logic
In order to check smps10_out1 enabling, read smps10_ctrl instead of
smps10_status.
In factory line, few board has no smps10_out1 output.
dc driver definitely enable smps10_out1 during booting and
disable/re-enable at suspend/resume.
No repro in SQA side and no chance to get the additional log
to identify this issue.
So, apply this change for the possible cause of it because
smps10_out1 will not be enabled if smps10_status reports true.
Danny Song [Mon, 16 Jun 2014 07:39:03 +0000 (15:39 +0800)]
driver:tn7c:key event log is self-explanatory
Add log to indicate the power key event.
Update the log info to be self-explanatory.
Bug 200011910
Bug 200012680
Change-Id: Ic06878fc65402c0b4d585967b0f0c7a22e41935c Signed-off-by: Danny Song <dsong@nvidia.com>
Reviewed-on: http://git-master/r/423608
Reviewed-on: http://git-master/r/435525
To avoid error on csi, we do mipi calibration,
while camera is not on.
Bug 1490685
Bug 1504262
Change-Id: I91adb3da0ae54ccb4e0963f1f3f3cf933a292830 Signed-off-by: BK Kim <bkk@nvidia.com>
Reviewed-on: http://git-lge/r/1550 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Reviewed-on: http://git-master/r/435540
Daniel Solomon [Fri, 18 Apr 2014 04:15:01 +0000 (21:15 -0700)]
video: tegra: dc: fix nvsd smooth_k handling
When smooth_k is enabled, the NVSD driver determines
that hardware pixel gain and brightness calculations
are complete when it sees to consecutive and equal
brightness values. However, since multiple raw K
values are mapped to a single brightness value,
this check can be misleading.
To fix this, we continue checking for new brightness
values for a few additional frames after seeing repeating
brightness results. The number of frames is calculated
from smooth_k_incr.
Change-Id: I97f2ecd77398cf441ac720b6e306e0a1c89eed5d Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/423871
(cherry picked from commit ce039a7a6d0f0b3764dc1e719b297fc37e343f45)
Reviewed-on: http://git-master/r/435077 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Change-Id: If8642c11a6e341cf011b1f01e3884512d067549f Signed-off-by: djung <djung@nvidia.com>
Reviewed-on: http://git-master/r/427870 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Change-Id: I532968ed9717dc18db62671deedd60bb4a38463e Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/385931
(cherry picked from commit 553636416a0700b354385d7a508d67653814272d) Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428777 Reviewed-by: Alvin Park <apark@nvidia.com>
GVS: Gerrit_Virtual_Submit Reviewed-by: Harry Hong <hhong@nvidia.com>
Change-Id: I6274a3ae3699ac78a6facd4d57b72681b85511a5 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428085 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I23ce80e1bdc64e2c7635a3f7b7eb72da9d15d240 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428084 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I42b130e06ab5103715fdc45c955071d62dcf76f0 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428083 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: Ica2944c936a14b643ffb7232fd50f9145e3daae9 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428082 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I118c3633d23822c41be5a2d9c5cce4ef423640b2 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428081 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I66165659c999a60a48f615eff4de3c1c7e07bb7f Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428078 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: Ia553b7bc713efc8acd08a85f74cfb7ddc7a64c15 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428077 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I9a9d3f61d0fef35acd001a533954a92dfdc7477c Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428076 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: Ibeae9abe43ec747853bbf25cd79c420b0bdf7da0 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428072 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I9dbd047a4874d943121b736016c7c5bb9254cd00 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428071 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: Ie1b04bf75cca8e919b1902722b7abf2104bc69f1 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428070 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I7d83463345f5c24fdafe693b63082418bf19a230 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428069 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I826a7cb256b05f5495191119bd05e3ce9a71423a Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428068 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: Ia8dd511636343dd8b1d484add87354c73bf59543 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428067 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: Ib68e1c3c9ff3c6f2e75a27741b1a197fceb38d20 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428063 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I2805688d8be8b2b3bc67e408a5556970f38bd0af Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428075 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I709cd76ccc70aee7d768ace2463b85049cc420f3 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/428074 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: Ic35bf958c5e93a1a8a454985be357eb3a8e866af Signed-off-by: djung <djung@nvidia.com>
Reviewed-on: http://git-master/r/426695 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Signed-off-by: djung <djung@nvidia.com> Signed-off-by: David Pu <dpu@nvidia.com>
Change-Id: Id83812e5ee6bb2d12294b8b6c9bf0da7b0f8dbe4
Reviewed-on: http://git-master/r/423469
(cherry picked from commit efa282dc48a4c3a2437fa79d1767c357af8fd7ca)
Reviewed-on: http://git-master/r/426233 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Change-Id: I3a80abaacd71d05dae66bf30612899f2c50a101f Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/415657
(cherry picked from commit 9d422ac409bab00ea307587a17b575b9f159cef7)
Reviewed-on: http://git-master/r/426540 Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit Reviewed-by: Peter Kim <pekim@nvidia.com>
Change-Id: I2ad2fb5b287f9c66fdff7d4123dec2e1c7476e77 Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/419337
(cherry picked from commit 8540c6a74bb3a3efdb4507d0846a34d54d14f8c7)
Reviewed-on: http://git-master/r/424447 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Change-Id: Ic5ece836d940e763da7c6a176bbe33efae6b706b Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/419977
(cherry picked from commit 737fe12882b78d0d515082fa8111e133d1163897)
Reviewed-on: http://git-master/r/424452 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Change-Id: I6b24d2e4a7fa85165c76eb5badb7538e40021e7f Signed-off-by: David Pu <dpu@nvidia.com>
Reviewed-on: http://git-master/r/423472
(cherry picked from commit 1abe1e63e61dc8f074fcd7eb8b28baaa3fa4a2ec)
Reviewed-on: http://git-master/r/424451 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Change-Id: I7edb018da3a76aac3146627a76c7a7f48bfe3392 Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/423141
GVS: Gerrit_Virtual_Submit Reviewed-by: Harry Hong <hhong@nvidia.com>
Henrik Rydberg [Mon, 25 Feb 2013 10:31:43 +0000 (11:31 +0100)]
HID: Extend the interface with report requests
Some drivers send reports directly to underlying device, creating an
unwanted dependency on the underlying transport layer. This patch adds
hid_hw_request() to the interface, thereby removing usbhid from the
lion share of the drivers.
Ben Goska [Fri, 16 May 2014 21:14:35 +0000 (14:14 -0700)]
drivers: hid: Update blake driver with FF and improved UX
Make changes to the blake driver to support new features that were
enabled with new FW. This includes:
- Force feedback enablement
- Touchpad tweaking to improve UX
- New hid report support
Change-Id: Ifd007af18cafc0e1c34ba335cae9ee59e34e9e9f Signed-off-by: Jun Yan <juyan@nvidia.com>
(cherry picked from commit a5c530a7f961c5c07b286766955cee37f919215e)
Reviewed-on: http://git-master/r/411354 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417524 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Marek Vasut [Sun, 5 Aug 2012 21:57:14 +0000 (23:57 +0200)]
HID: Bump maximum global item tag report size to 128 bytes
The Freescale i.MX28 BootROM USB recovery mode implements the USB HID
protocol, yet the global item tag report size is 128. Linux checks if
this is 96 as of now, see [1]. This causes Linux to refuse to communicate
with this device, making it impossible to use the recovery mode.
This is not a standard HID device per se, but rather a software emulation
implemented within the BootROM code and realized through USB OTG-capable
port switched to device mode present on the device.
Previous attempt to discuss this issue dates back to 2011, see [2]. There
has been not much response. Also noteworthy is the [3], where there seems
to be a pointing device that has issue similar to this one.
The tool making use of the USB recovery mode is available at [4].
Henrik Rydberg [Sun, 22 Apr 2012 12:21:40 +0000 (14:21 +0200)]
HID: Handle driver-specific device descriptor in core
The low-level driver can read the report descriptor, but it cannot
determine driver-specific changes to it. The hid core can fixup
and parse the report descriptor during driver attach, but does
not have direct access to the descriptor when doing so.
To be able to handle attach/detach of hid drivers properly,
a semantic change to hid_parse_report() is needed. This function has
been used in two ways, both as descriptor reader in the ll drivers and
as a parsor in the probe of the drivers. This patch splits the usage
by introducing hid_open_report(), and modifies the hid_parse() macro
to call hid_open_report() instead. The only usage of hid_parse_report()
is then to read and store the device descriptor. As a consequence, we
can handle the report fixups automatically inside the hid core.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Tested-by: Nikolai Kondrashov <spbnick@gmail.com> Tested-by: Benjamin Tissoires <benjamin.tissoires@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
(cherry picked from commit a7197c2e4120ce40e7e3f5580336b9a1dc791220)
Change-Id: Ic94c28390c8207da74ab80895100cd076a5532f9 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/401210 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417520 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Export hidinput_calc_abs_res to allow us to calculate
resolution in other drivers.
Only getting exporting code from
(commit id: 37cf6e6fc34e2fca4e7c565697e7cd5c317bc316)
Change-Id: I3f90e79e5519a74d46947ef851b126cca4070719 Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/394924
(cherry picked from commit ed1bc9b9e6f5d38476ba97f10102b602c9b92aac)
Reviewed-on: http://git-master/r/401208 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417518 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Jun Yan [Mon, 25 Nov 2013 21:59:13 +0000 (13:59 -0800)]
hid: Driver for Nvidia Shield joystick
In order to customize the flat and fuzz of the
joystick, create an separate hid driver for
Shield joystick. It does the same hid mapping
with hid-input.c but only changes the flat and
fuzz configurations.
Change-Id: Ide6d37eeeffac9a7150fb257d30f348599794c4c Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/335198
(cherry picked from commit e0e74a97241af85468858cdd79fd4ba994804007)
Reviewed-on: http://git-master/r/401207 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417517 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I3b3e9cb282c696171c6ca210b3060f13420770e3
Reviewed-on: http://git-master/r/401202 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417512 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I413d0dcc6d5d9855a853db4e03b9c6ae1c40b5e9
Reviewed-on: http://git-master/r/401201 Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Reviewed-on: http://git-master/r/417511 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Harry Hong [Tue, 10 Jun 2014 04:19:38 +0000 (13:19 +0900)]
ARM:tegra:tn7cw: USB eye diagram calibration
USB host/device mode eye diagram calibration
host mode using +3 offset for XCVR setup parameter.
device wiht no offset adjustment, but set bit[7:6]
into 01 for slew rate calibration.
Change-Id: I6d6c003dc45d451eed34838492105007380d09f3 Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/421416 Reviewed-by: Automatic_Commit_Validation_User
Change-Id: I608be794bd70a85a0978a73cfc93a4a48b69abd0 Signed-off-by: Viswanath L <viswanathl@nvidia.com>
Reviewed-on: http://git-master/r/417751 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Lei Fan <leif@nvidia.com>
GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
Harry Hong [Tue, 13 May 2014 07:49:15 +0000 (16:49 +0900)]
ARM: dts: tn7cw: use tegranote7c-common.dtsi
Change-Id: I831d55efd3ecff9f88dfec8a55842f9e23203335 Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/408673
(cherry picked from commit 212013c00c7b211c7ac3277903d88ddf3040d832)
Reviewed-on: http://git-master/r/420397
Pavan Kunapuli [Tue, 18 Feb 2014 15:52:04 +0000 (21:22 +0530)]
mmc: tegra: Modify UI calculations in tuning
Discrediting all the UI's from either end that are less than 30%
of the estimated UI.
Not using a discredited UI for any comparisons. If one of the UIs
in a comparison is already discredited, discrediting the other UI
as well.
Checking for multiple holes in the same window.
For margin calculations for window ends identified as tap holes, use
n'th Vmin hole for n'th Vmax hole position.
Change-Id: I7bebfbc1422f2da722e8415f942488d7b17f828d Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/368867
(cherry picked from commit fda601e6a4c50b3004cee7d8f016706bd21cee6c)
Reviewed-on: http://git-master/r/415583 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Pavan Kunapuli [Thu, 27 Mar 2014 11:56:45 +0000 (17:26 +0530)]
mmc: tegra: Run autocal in resume for always_on devices
For devices that are always powered on, run calibration in
platform resume. The resume path for these devices primarily
restores host context and doesn't call any signal voltage
change APIs. This patch ensures that calibration is done
during resume and proper drive strength codes are applied.
Change-Id: Iaae2fba42395a2b783bcac06e3141842340c4e50 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/387819
(cherry picked from commit 901b27722af774588865012bd85505f365dca8f1)
Reviewed-on: http://git-master/r/415582 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Pavan Kunapuli [Mon, 3 Feb 2014 07:38:56 +0000 (13:08 +0530)]
mmc: tegra: Use first valid full win for negative margins
For negative margin calculations, use the first valid full window
in the first valid UI if Avg UI is found.
If Avg UI is not found, use first and second full windows to determine
the negative margin.
During negative margin calculation, marking each step as boundary.
Change-Id: I5c79a890799c442b1e6be5243db362a03efc58bc Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/362768
(cherry picked from commit 976bfae7bf33dd5fe2bc653627df44d8f2688a21)
Reviewed-on: http://git-master/r/415581 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Modifying the negative margin additions to partial window start
as per the new corner case identified by characterization team.
In case where the avg ui is found, negative margins are found
using first full window start and avg ui. If the avg ui is not
found, est ui is taken as avg ui and negative margins are obtained
using avg ui and all boundary starts.
Change-Id: I762cbe7e36f72f9744ca8cd8dee3114758aa7597 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/361974
(cherry picked from commit de54e591bfcd9f9f2e0989b4284d04cb30a729c0)
Reviewed-on: http://git-master/r/415580 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Pavan Kunapuli [Thu, 22 May 2014 09:08:10 +0000 (14:38 +0530)]
mmc: tegra: Limit SDR50 freq to 81.6MHz
With the existing clock sources, 100MHz clock freq cannot be
set for UHS SDR50 mode. The closest frequency for which tap hole
coefficients data exists is 81.6MHz. Hence, limiting SDR50 mode
clock frequency to 81.6MHz.
Change-Id: Ia942e99f241dc93788c95eccc5ebf75090bbb2c6 Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/415137 Tested-by: Harry Hong <hhong@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit Reviewed-by: Harry Hong <hhong@nvidia.com>
Nine Feng [Mon, 26 May 2014 06:01:23 +0000 (14:01 +0800)]
ts: tn7 & tn7c: update touch regulator
1) Revert "ts :tn7c: support load switch for touch power rail"
2) Remove useless fix regulator: dvdd_ts and dvdd_lcd_1v8(which
would cause lcd and touch use differnt supplies but same ldo4)
3) Enable avdd first
Change-Id: I807a57ccb2828c53648be6189846a0d734d52e82 Signed-off-by: Nine Feng <nfeng@nvidia.com>
Reviewed-on: http://git-master/r/414872 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
BH Hsieh [Wed, 14 May 2014 07:49:30 +0000 (15:49 +0800)]
usb: phy: tegra: Add usb_phy_reset for HSIC
usb_phy_reset was missing from uhsic_phy_ops
hence USB_TXFILLTUNING kept incorrect value after ehci_reset
then resulted in DataBufferErr on out endpoint
Change-Id: I6931d99ce7c62348c294b8de475e73d3554dfbfd Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/412527
(cherry-picked from d253cc10557628ddaf929d24fccfe4d47df3e040)
Reviewed-on: http://git-master/r/413120
Change-Id: I53017429fe4f554517ad9e054a0116582585bb56 Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/403755
(cherry picked from commit f2d3ce1df0ccd8401aab554853401b5e3afa6859)
Reviewed-on: http://git-master/r/412004 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Change-Id: I19dd5575fb41d8a2b6aa3ee12022acd14232afe4 Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/340037
(cherry picked from commit 08f1bbbfd9c7484d38db8f4eac3868fa0e9d22c3) Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/412002 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Signed-off-by: David Yu <davyu@nvidia.com>
Change-Id: Ib9875132e313efafa28280f315a0c9314ca80dee
Reviewed-on: http://git-master/r/412001
GVS: Gerrit_Virtual_Submit Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Change-Id: I2f686edc6f6377958724a329f579d0994b3ca508 Signed-off-by: qtang <qtang@nvidia.com>
Reviewed-on: http://git-master/r/387644 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/404798 Reviewed-by: Tao Hu (SW-TEGRA) <taoh@nvidia.com>
GVS: Gerrit_Virtual_Submit Tested-by: Tao Hu (SW-TEGRA) <taoh@nvidia.com>
Reviewed-on: http://git-master/r/411239 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Harry Hong [Thu, 13 Mar 2014 08:18:05 +0000 (17:18 +0900)]
mmc: core: disable sanitize operation.
Sanitize delay is quite big at some condition.
(ex) using almost all userdata partition and then format
userdata partition)
this operation is quite vendor specific. Hynix confirmed
that Max delay at worst case is around 10mins. it's too big.
So disable sanitize. instead use normal erase
Change-Id: Id136998da4372a5552856e93cc93efc38ebd570a Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/393189 Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit Reviewed-by: Tao Hu (SW-TEGRA) <taoh@nvidia.com> Tested-by: Tao Hu (SW-TEGRA) <taoh@nvidia.com>
Reviewed-on: http://git-master/r/411353 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I7214c0e437da463fda6185194be0ac6fc9b906b6 Signed-off-by: Jeffery Yu <jefferyy@nvidia.com>
Reviewed-on: http://git-master/r/391824 Reviewed-by: Eric Zhang (SW-TEGRA) <ericz@nvidia.com> Tested-by: Eric Zhang (SW-TEGRA) <ericz@nvidia.com>
Reviewed-on: http://git-master/r/411246 Reviewed-by: Peter Kim <pekim@nvidia.com> Tested-by: Peter Kim <pekim@nvidia.com>
Change-Id: I79bae98e82810be4472597cbe44dd3bf114cbbd1 Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/411167 Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit Reviewed-by: Gray Lei <glei@nvidia.com> Tested-by: Gray Lei <glei@nvidia.com>
Change-Id: If8eea5f461f5dcc87ea2f524f859e0d323a85ab2 Signed-off-by: Martin Chi <mchi@nvidia.com>
Reviewed-on: http://git-master/r/411166 Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit Reviewed-by: Gray Lei <glei@nvidia.com> Tested-by: Gray Lei <glei@nvidia.com>
Signed-off-by: Martin Chi <mchi@nvidia.com>
Change-Id: I9bef43c07f2fdae6d0a55e987be7320edf944345
Reviewed-on: http://git-master/r/411165 Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit Reviewed-by: Gray Lei <glei@nvidia.com> Tested-by: Gray Lei <glei@nvidia.com>
Mike J. Chen [Fri, 6 Sep 2013 23:46:39 +0000 (16:46 -0700)]
video: tegra: hdmi: Write complete eld buffer
The client for the eld buffer in hda_eld.c expects a
completely valid eld buffer. The old code was only writing
certain entries and leaving other entries in the eld buffer
uninitialized. When snd_hdmi_get_eld() then tries to read
all the bytes, it would find an invalid entry, error out,
and cause a retry (up to 8 it appears, which of course will
just keep failing).
Now we write all the entries in the buffer, so no errors
in the log like:
<6>[ 192.361601] HDMI: invalid ELD data byte 31
<6>[ 192.368572] HDMI: invalid ELD data byte 34
<6>[ 192.378605] HDMI: invalid ELD data byte 1
Change-Id: I667eb19b4d3782b4bf7805d5b095bea05214dda3 Signed-off-by: Mike J. Chen <mjchen@google.com> Signed-off-by: Xia Yang <xiay@nvidia.com> Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/396785
(cherry picked from commit c406adf24931f794a283a6211eaaabadab69e1be)
Reviewed-on: http://git-master/r/410223 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>
Mike J. Chen [Mon, 9 Sep 2013 19:02:23 +0000 (12:02 -0700)]
video: tegra: edid: Fix computing of eld.sad_count
eld.sad_count as used in hda_eld.c is the count of short
audio descriptors in the edid, each of which contains three
bytes of data. the old code was assigning the number of
bytes instead of the count.
Change-Id: I161b14fa8f61ff611614f41a3898ae3687fc1410 Signed-off-by: Mike J. Chen <mjchen@google.com> Signed-off-by: Xia Yang <xiay@nvidia.com> Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/396784
(cherry picked from commit b353c3578497bae8ac5850ab1edd73d186c2467c)
Reviewed-on: http://git-master/r/410222 Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit Tested-by: Youngjin Kim <nkim@nvidia.com> Reviewed-by: Harry Hong <hhong@nvidia.com>
Lei Fan [Wed, 16 Apr 2014 07:17:17 +0000 (15:17 +0800)]
ASoC: Tegra: Enable wake source of HP GPIO
Enable the GPIO for headset detection work as LP0 wake source.
Bug 1499477
Change-Id: I91ae32f8d687f3de4548b23464072e24adacb201 Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/396887 Reviewed-by: Vijay Mali <vmali@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
Change-Id: Ie0331079072f2976265d5db1483cd905f0c1f2bc Signed-off-by: Lei Fan <leif@nvidia.com>
Reviewed-on: http://git-master/r/396879 Reviewed-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit Reviewed-by: Martin Chi <mchi@nvidia.com>
Tegra Profiler: device sometimes hangs up when hrtimer_start wakeup
flag is enabled (especially on high frequency - more than 10 kHz).
Use __hrtimer_start_range_ns function with disabled wakeup flag
instead of hrtimer_start.
Change-Id: I48587826212a670b694801b704907bfb8e2f051c Signed-off-by: Harry Hong <hhong@nvidia.com>
(cherry-picked from 1641e1a29e2590d9cbcd29dad6fc16be42c48f29)
Reviewed-on: http://git-master/r/400070 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Yong Goo Yi <yyi@nvidia.com> Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Change-Id: Ie09ef37135beae0ed0beb1cd4d7e96187ba9be26 Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/385403
(cherry picked from commit 28b107dcb3aa122de8e94e48af548140d519298f)
Reviewed-on: http://git-master/r/396764 Reviewed-by: Min-wuk Lee <mlee@nvidia.com> Tested-by: Min-wuk Lee <mlee@nvidia.com>
GVS: Gerrit_Virtual_Submit Reviewed-by: Harry Hong <hhong@nvidia.com>
Change-Id: If18bf9ddcb403b60f084dee2edf3980e06ff2e3b Signed-off-by: Bhavesh Parekh <bparekh@nvidia.com>
Reviewed-on: http://git-master/r/309991
(cherry picked from commit 095ba8e09b545222fdd343f9c65692057eb7bb29)
Reviewed-on: http://git-master/r/396763 Reviewed-by: Harry Hong <hhong@nvidia.com> Tested-by: Harry Hong <hhong@nvidia.com>