Age | Commit message (Collapse) | Author |
|
Enable CONFIG_HIDRAW to support some of the
usb numpads which are getting detected as HIDRAW.
Bug 1267142
Change-Id: I804f1c78b9931279db667d4a40b84af74cf143ef
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/245987
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Bug 1308928
Change-Id: I9b4318a37902c78e61417e62ea1e51687bbf1ea5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/239138
(cherry picked from commit 23f6e8484f9565f5f02c26a363b4b5177c9872b9)
Reviewed-on: http://git-master/r/245020
Tested-by: Harry Hong <hhong@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Change-Id: Ica93560f8eba67d5ba9975c42e0c7431f1b10ce8
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/244945
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
This is my example conversion of a few existing mmap users. The
fb_mmap() case is a good example because it is a bit more complicated
than some: fb_mmap() mmaps one of two different memory areas depending
on the page offset of the mmap (but happily there is never any mixing of
the two, so the helper function still works).
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit fc9bbca8f650e5f738af8806317c0a041a48ae4a from upstream v3.9)
Change-Id: Id270c84bdd47ac1026e215316808e0c5b96ed083
Bug 1316563
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/244440
(cherry picked from commit 5c3f944c06669d5bef193d9412df091be1c22775)
Signed-off-by: David Yu <davyu@nvidia.com>
Change-Id: Ia3bbc940a2452af808817977a7ff05805b4ab73e
Reviewed-on: http://git-master/r/245003
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Various drivers end up replicating the code to mmap() their memory
buffers into user space, and our core memory remapping function may be
very flexible but it is unnecessarily complicated for the common cases
to use.
Our internal VM uses pfn's ("page frame numbers") which simplifies
things for the VM, and allows us to pass physical addresses around in a
denser and more efficient format than passing a "phys_addr_t" around,
and having to shift it up and down by the page size. But it just means
that drivers end up doing that shifting instead at the interface level.
It also means that drivers end up mucking around with internal VM things
like the vma details (vm_pgoff, vm_start/end) way more than they really
need to.
So this just exports a function to map a certain physical memory range
into user space (using a phys_addr_t based interface that is much more
natural for a driver) and hides all the complexity from the driver.
Some drivers will still end up tweaking the vm_page_prot details for
things like prefetching or cacheability etc, but that's actually
relevant to the driver, rather than caring about what the page offset of
the mapping is into the particular IO memory region.
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
(cherry picked from commit b4cbb197c7e7a68dbad0d491242e3ca67420c13e in upstream v3.9)
Change-Id: I203f48975ccd9047a588669d13173385b906ab5b
Bug 1316563
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/244439
(cherry picked from commit f1f51c1f1823e4b5254db2b80d08302df95af11e)
Signed-off-by: David Yu <davyu@nvidia.com>
Change-Id: Ibf65b97e4ff4956a2e6ecb33b7926ec283648c16
Reviewed-on: http://git-master/r/245000
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
This reverts commit 3863020dd656faf63583ffed8729fa9d1eeced43
Change-Id: I157c5fba6adb428fb798c60bd9d9168adf60bdf8
Reviewed-on: http://git-master/r/245371
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
|
|
This reverts commit 9375abde848d224b1c861537efc114b603d4ea22
Change-Id: If504d4a6c89127cdd54b69b00e1b2dc4a75ac466
Reviewed-on: http://git-master/r/245370
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
|
|
Updated Tskin coefficients for P1640 A00 hard tooled unit.
Bug 1236444
Bug 1291251
Change-Id: Iaf0406f44d39439e40cf3cf7b03612aba9a7eba8
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/245135
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Disable ACPD during mode register reads - based on the T148 code that
does the same.
Bug 1297488
Change-Id: I4c043d6926d690e5ea3699aadf2f8900eaab5453
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/239812
(cherry picked from commit 35f70b29777d4d40afdc2217cc5a45e1aca8ef3a)
Reviewed-on: http://git-master/r/245004
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
This reverts commit 75fca72be5e73e2bbbbc093f7a559dd2ea76403c.
Change-Id: Iaefe188cd88bc724609b5f473c3ccb4b86fc0101
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/245218
Reviewed-by: Peter Kim <pekim@nvidia.com>
|
|
This reverts commit 8e8f5f462010a0ea98611d6fbc8a613f15bab78e.
Change-Id: Ibeee9c3af4248cb0298ddbcb2ce0d08a4b080121
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/245217
Reviewed-by: Peter Kim <pekim@nvidia.com>
|
|
-Use SPI framework real time prioriry kernel thread
instead of driver workqueue for pumping messages
-Remove IST and move that functionality to RT thread
Bug 1297342
Change-Id: Ia3d20646f4ecaf90533cead8f74fc0d3dbd92d91
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/243938
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
|
|
Currently the prepare/unprepare transfer are called unconditionally.
The assumption is that every driver using the spi core queue infrastructure
has to populate the prepare and unprepare functions. This encourages
drivers to populate empty functions to prevent crashing.
This patch prevents the call to prepare/unprepare if not populated.
Bug 1297342
Change-Id: I90ea3f18818eea7169d9d365ef26c61519debafb
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Reviewed-on: http://git-master/r/240007
(cherry picked commit from mainline 7dfd2bd70228d1f8d468d58cb3d12ecd618479ed)
(cherry picked from commit c01241fe4c38dbc168c302c4ecde8703959b2890)
Reviewed-on: http://git-master/r/243937
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
|
|
Register proper thermal devices per board revision.
Bug 1319315
Change-Id: If78fe3d9853520c9aa50b631abb4645d67b419b9
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/244967
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
use tegra_sdhci_set_clock to set clock instead of
tegra_sdhci_set_clk_rate
Bug 1307294
Bug 1304021
Change-Id: I9c9e369a6c9c60fd150eff9313d2d2e90b3462f3
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/243673
(cherry picked from commit 3aa7e4cda3d50f07550304b184688d85dbd04fd8)
Reviewed-on: http://git-master/r/244284
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Even if nominal_vcore_tun_done, override_vcore_tun_done are set
don't skip tuning for 2nd core voltage.
Bug 1307294
Bug 1304021
Reviewed-on: http://git-master/r/242764
(cherry picked from commit 57b7008d0ad3cfdea888416e8b1db3ebb0c7cda7)
Change-Id: I8d60b950d29c897bd1c7c7775ccab40d6188f832
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/243672
(cherry picked from commit d44e0f559fb82dddfa69579f1588f8629e9ab60f)
Reviewed-on: http://git-master/r/244280
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
EDP maniger is applied in Tegratab, Tegratab don't need to use
Voltage low alert in fuel gauge. But for safty, set 3.1V.
Bug 1304204
Change-Id: I8224296b4c6394ae0ef2aa27864df53055692d3b
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/244739
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Kim <bok@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Apply ov7695 quality tune register changes from OV,
'OV7695 reference setting_MIPI_24MCLK_o70213_nVidia.txt'.
Bug 1278482
Change-Id: If40629b7a4fe7c4c8bd731693f5b8e2cc66bb674
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/244866
GVS: Gerrit_Virtual_Submit
Reviewed-by: Karl Kim <kkim@nvidia.com>
Tested-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Peter Kim <pekim@nvidia.com>
|
|
Set VI latency allowance based on VI clock frequency.
It used to be fixed value regardless of VI clock frequency.
Bug 1305215
Change-Id: Iabda5221f40b44ff31ebf8d6ca08a281b8f6f127
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/239090
(cherry picked from commit cfde3b663f16e862e46f397bc000b86970e36da7)
Reviewed-on: http://git-master/r/244724
GVS: Gerrit_Virtual_Submit
Reviewed-by: Karl Kim <kkim@nvidia.com>
Tested-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Peter Kim <pekim@nvidia.com>
|
|
MC_LATENCY_ALLOWANCE_VI_0_0 has valid value in [7:0]
not in [23:16].
Bug 1305215
Change-Id: Ic04c48c3ff737e5d3fed1b2e7023ff4ede8670c3
Signed-off-by: Jihoon Bang <jbang@nvidia.com>
Reviewed-on: http://git-master/r/239089
(cherry picked from commit f69837231dd31029b791973461ad4cbd89e2216f)
Reviewed-on: http://git-master/r/244722
GVS: Gerrit_Virtual_Submit
Reviewed-by: Karl Kim <kkim@nvidia.com>
Tested-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Peter Kim <pekim@nvidia.com>
|
|
This is WAR for performance regression.
- RBAT to 40mOhm from 120mOhm
- VSYS_MIN to 3.1V from 3.26V
Bug 1318582
Bug 1316595
Change-Id: Ib59f58356ee98033d47e605a68330e09d84f9723
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/244736
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
|
|
Increasing GPU cap when we are at higher E-state
Bug 1293353
Change-Id: I3991ee2283f7962a728f60db49f984c412aa0088
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/244115
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
|
|
Enable WR_WAIT_COMMIT_ON_1K bit in AHB_GIZMO_AHB_MEM
for T114 A02 chip on Dalmore
Bug 1312566
Change-Id: If81e7cbd47b070219b772a46a3e8347cad3ece6a
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/242827
(cherry picked from commit c22ce4d9127b240c0185bef9440d47f63f90cf4f)
Reviewed-on: http://git-master/r/244291
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Do read-modify-write on SCTLR when enabling caches and branch
prediction rather than just overwriting the register.
Bug 1292766
Change-Id: Ib76b3100ebb657250ce863e697f7b712d27638ea
Signed-off-by: Edgardo Handal <ehandal@nvidia.com>
Reviewed-on: http://git-master/r/233824
(cherry picked from commit c0a251f8c9507a63456c041510399327eac14354)
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/243538
(cherry picked from commit 440ddb2611fa4896f6cb8c92eaf3b697105af63e)
Reviewed-on: http://git-master/r/244288
GVS: Gerrit_Virtual_Submit
Reviewed-by: Harry Hong <hhong@nvidia.com>
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Bug 1229761
Change-Id: Ie8c732bea4d9c1525e2d4661c086e91afb9a21cf
Signed-off-by: venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/237471
(cherry picked from commit b324ff805e4c5acaa8d580eeabfd3f44e0feab53)
Reviewed-on: http://git-master/r/244279
Reviewed-by: Joshua Cha <joshuac@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
To reduce initial greenish preivew time,
1. start from manual white balance with pre-defined values
2. discard 2 frame
3. move to auto white balance
Bug 1304101
Change-Id: Iba4520b94614ccaca8d2d0c037928c70e736ecb8
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/244570
Reviewed-by: Karl Kim <kkim@nvidia.com>
Tested-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Peter Kim <pekim@nvidia.com>
|
|
To address CPU benchmark regressions
Bug 1293353
Change-Id: Ic0340964308a539684a4cde5ead08adba68519c5
Reviewed-on: http://git-master/r/241422
(cherry picked from commit a58d784f03587478522a4a903fb95a89815bc07e)
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/244114
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Call tegra_hotplug_signal to queue deferred work after a delay of 30ms and call gpio_get_value
in tegra_dc_hpd
bug 1298680
Change-Id: I7e1c15c1445116b4f6400708335590ea6e2d5d0b
Signed-off-by: sharath sarangpur <ssarangpur@nvidia.com>
Reviewed-on: http://git-master/r/241136
(cherry picked from commit a05fe127fde8c6b77aa686248c6bd8387642aa43)
Reviewed-on: http://git-master/r/244177
Tested-by: Youngjin Kim <nkim@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
On suspend/resume, defer the blocking regulator enable. Place this slow path
in the dedicated hotplug thread.
bug 1299936
bug 1294872
Change-Id: I61a835c2c37dcae47697482e0023b68684ff19dc
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/239058
(cherry picked from commit 6e789c76d47a6e144868d1e33f9d79b7fc58405d)
Reviewed-on: http://git-master/r/244174
Tested-by: Youngjin Kim <nkim@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
|
Add wait_event to make sure that CEC functions
do not execute until CEC init completes.
Bug 1283088
Change-Id: I1d26360326338f549a14cbf109a24c2935ebe472
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/232566
(cherry picked from commit 6e94e976c1e2121d81d19018b79a97d353b11d70)
Reviewed-on: http://git-master/r/244176
Tested-by: Youngjin Kim <nkim@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
HDMI CEC needs 1 sec delay for reset hardware in resume.
Adding work handler for CEC init.
Bug 1283088
Change-Id: I4498584ec93c1a5eefddfad9966cb5a1e7776e6e
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/228332
(cherry picked from commit 596245cee4b2c239843c2f920d83c21721af2ffb)
Reviewed-on: http://git-master/r/244175
Tested-by: Youngjin Kim <nkim@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
|
|
Changed default state of maxim touch reset from 1 to 0 in order to
pull reset to low until power rails are stable for proper initialization.
Bug 1304090
Bug 1315583
Change-Id: Ic25ee4d8bf6d6b4468b78640bfe4443fa42b1d1f
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/244101
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
|
|
Move power-up and reset-high after start touch_fusion daemon.
Bug 1304090
Bug 1315583
Change-Id: Ibddd226767fbf152d64becfd3d4209c08ff637bf
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/243901
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
|
|
Doesn't enable LDO4 when boot-up.
Bug 1315583
Change-Id: I93c871387b8f04d746effc8fa436eb7f883f7903
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/243900
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
|
|
Changed GMI_CS4_N pinmux setting for MAX11936 touch power sequence.
Bug 1304090
Change-Id: I1d409b2bae54d3eedbb37db81b62626bfb94640d
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/243899
Reviewed-by: Gabby Lee <galee@nvidia.com>
Tested-by: Gabby Lee <galee@nvidia.com>
|
|
Remove nvidia,out-hotplug-gpio since it is not used.
: nvidia,hpd-gpio property is right one.
Bug 1240921
Change-Id: I1e32437ce1f387a4e53289e43f5ead6e94fee426
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/244124
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Bug 1315829
Bug 1240921
Change-Id: I54343307bb2706344f4f3493bb933d8585bef2ef
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/243883
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
With this change, hdmi tmds config can be set from device tree.
Bug 1315829
Bug 1240921
Change-Id: I2551b8012a14a478678fdd821f78beb27c9f779e
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/243864
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Trigger recharging when SOC is below 99%. Sometimes voltage value and soc
are a mismatch.
Moreover, when recharging occur by voltage, reset chg_restart_timeout
to 0 for preventing 2 times recharging.
Bug 1310558
Change-Id: Ifefd3a3d8047d0249dd9440a448ce8f04946a790
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/244112
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
vde.emc is required to know whether video playback is
going on or not. Display efficiency rate is set to 45%
if both dc.emc and vde.emc is enabled.
vde.emc clock is enabled when non-zero avp.emc clock
rate is requested and is disabled when zero avp.emc clock
is requested.
Bug 1266369
Change-Id: Ic1de7145763a41a8adf11a9e1cd7a1cd723f46e2
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/232614
(cherry picked from commit 1a7d3d91d7491813b8b335f202504152ab137193)
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Change-Id: I491c6356800309123b9cb3ece9fb32d4dfe00d78
Reviewed-on: http://git-master/r/242227
Reviewed-by: Jinyoung Park <jinyoungp@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Kim <pekim@nvidia.com>
|
|
Add vde.emc node. Change the display efficiency rate to 45% once
dc.emc and vde.emc are both enabled.
Bug 1266369
Change-Id: If66f10d31c198bddcc18090d28639cd3beea86de
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/232804
(cherry picked from commit 51b46602daf09d8103f23291d3dcce078a4c1b37)
Signed-off-by: Kenneth Kwak <kkwak@nvidia.com>
Change-Id: I86c3892ad0014937bba55b7265adfb1cc3037d6a
Reviewed-on: http://git-master/r/242226
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Kim <pekim@nvidia.com>
|
|
mdelay is replaced with msleep as the earlier blocks
the cpu and a hang is observed
Bug 1299561
Change-Id: I2c644a6af95ee014a21df2ab6e5d649fc796ee3d
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/236278
(cherry picked from commit 31b2dc4830f8380574b952ed9a1d256ec1c5ecc3)
Reviewed-on: http://git-master/r/243832
GVS: Gerrit_Virtual_Submit
Tested-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
1. Set vcell_check fuction
2. Set charging complete SOC to 100.
3. Set charging restart time to 30 minute.
Bug 1310558
Change-Id: I1e40fc6f669b3cb9cfce75b6fa876f05bb8e14d9
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/243894
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
A pm_qos_request is added during .probe() but is never removed.
This will leave an invalid node in the plist inside the pm_qos
lib, which may cause panic in plist_add() in future requests of
pm_qos_add_request.
Also use the _sync version to cancel delayed pm_qos work to avoid
possible races.
Bug 1304146
Change-Id: I971e5c0d411d1e0f5b788a7e86aacb34f6f2fdf9
Signed-off-by: Mark Kuo <mkuo@nvidia.com>
(cherry picked from commit 5c04a90ef7b26b564c2a573502181d71ce9ba3f1)
Reviewed-on: http://git-master/r/243787
Tested-by: Harry Hong <hhong@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
enable vbus while resuming from LP0,when ID is low
and vbus is turned before going to LP0
Bug 1298859
Change-Id: I25c03673af623c97fab53710c6de1adfc2f724b3
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/241336
(cherry picked from commit 6280eed5ca5ff12f64ec6891713d5914a619cdd9)
Reviewed-on: http://git-master/r/243785
Tested-by: Harry Hong <hhong@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
voltage
When SOC 100% and disable charging, we should restart charging
when voltage is droped under some voltage. if not, it make large gap
between real SOC and current SOC(100%).
If there is no vcell_check fuction, just check soc value.
Bug 1310558
Change-Id: I23431e53678607e7c963338a85e7cdb23deba79b
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/243893
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
Chager driver need vcell value for better checking charing complete.
Bug 1310558
Change-Id: I9c19f3500e7a85478dc761668d58a5b3b1bafe5f
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/243892
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
When smart dimmer zero aggressiveness of high priority is
requested, that should be superior to non zero one of
lower priority.
Bug 1297022
Change-Id: I1d10b6915699a0be90e1348da318f31223ccffa8
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/243362
Reviewed-by: Mitch Luban <mluban@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
These values are measured on DVT1 or ERS.
Bug 1244384
Change-Id: I0f5f73132c0b00d51ea2713d62aade01110ec1c6
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/242722
Reviewed-by: Gabby Lee <galee@nvidia.com>
|
|
E-States are not tuned. Need to tune.
Bug 1244384
Change-Id: I55283ae3d9f232271c8d4db2fdae34a297dceeda
Signed-off-by: Bo Kim <bok@nvidia.com>
Reviewed-on: http://git-master/r/242294
Reviewed-by: Gabby Lee <galee@nvidia.com>
|