6 years agopower: max77665: Get battery presence from pdata
Chaitanya Bandi [Fri, 3 May 2013 10:49:34 +0000]
power: max77665: Get battery presence from pdata

Battery presence will be obtained from platform data.
Removed battery presence detection through reading
temperature.

Bug 1281739

Change-Id: I6ae449cafccf38f75815374da011cc7ca5aba087
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/225219
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower: max17042: Get battery presence from pdata
Chaitanya Bandi [Fri, 3 May 2013 10:43:00 +0000]
power: max17042: Get battery presence from pdata

Battery presence will be obtained from platform data.
Removed battery presence detection through reading
temperature.

Bug 1281739

Change-Id: Ic87fe5a8ba4d183a26c7bec616c08a07714a9de6
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/225218
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoarm: mm: cpa: Fix redundant L2 flushes on t11x
Krishna Reddy [Tue, 18 Dec 2012 01:39:15 +0000]
arm: mm: cpa: Fix redundant L2 flushes on t11x

Bug 1198897

Change-Id: I2099a4ee8660fc8333cb9a6c54b9329a7e66d4e8
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/172090
(cherry picked from commit 55059981bc97372c34bed0901feada4ad9054f65)
Reviewed-on: http://git-master/r/224595
Reviewed-by: Abhinav Sinha <absinha@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: nvmap: Fix redundant L2 flushes on t11x
Krishna Reddy [Tue, 18 Dec 2012 01:41:16 +0000]
video: tegra: nvmap: Fix redundant L2 flushes on t11x

Bug 1198897

Change-Id: I45ad1ce97bfe28a9c7e56b213072de8f3adaeeae
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/172089
(cherry picked from commit 9c34ab8114fd333ecdf7671911fa98b12c27c5d4)
Reviewed-on: http://git-master/r/224594
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Abhinav Sinha <absinha@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: Tegra: Pluto: adjust SMPS123 tstep
Ming Wong [Wed, 1 May 2013 01:58:51 +0000]
ARM: Tegra: Pluto: adjust SMPS123 tstep

Changing SMPS123 tstep slew rate from 5mV/us to 2.5mV/us

Bug 1277313

Change-Id: I092a5c8943ab722b495ec935230e3dac7aa83f32
Signed-off-by: Ming Wong <miwong@nvidia.com>
Reviewed-on: http://git-master/r/224467
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jay Cheng <jacheng@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoThermal: Add thermal events tracing (ftrace)
Timo Alho [Wed, 6 Mar 2013 17:37:25 +0000]
Thermal: Add thermal events tracing (ftrace)

Following two events in thermal framework are traced:
 - Call to handle_thermal_trip (thermal_zone_device name and temperature
   will be printed)
 - Call to thermal_cdev_update (thermal_cooling_device name and updated
   cooling state value will be printed)

Bug 1050412

Change-Id: If7e685ce26455820408d694fa720105ecae15469
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/207010
(cherry picked from commit c0e030667214f65b0ab49840081ea53d6df24d4a)
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/225020
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra11: clock: Update emc efficiency
Alex Frid [Wed, 1 May 2013 04:05:03 +0000]
ARM: tegra11: clock: Update emc efficiency

Changed overall emc efficiency to 80% (from 100).
Moved iso share table to have all efficiency data in one place.

Change-Id: I4fef88c48b6c3f740e13f6dcec84cfc521b30ba1
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/224487
Reviewed-by: Wen Yi <wyi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agommc: tegra: Boost sclk and emc clk's for sdmmc4
Naveen Kumar Arepalli [Wed, 24 Apr 2013 07:53:10 +0000]
mmc: tegra: Boost sclk and emc clk's for sdmmc4

Boost emc clock to 100 MHz
Enable sclk for sdmmc4 and set 80MHz

Bug 1262190

Change-Id: Ibb5725ab1a65e57da52250c679bce9f41b181db9
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/222371
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: macallan: Change slew rate of vdd_cpu to 2.5mV/us
Hayden Du [Sat, 27 Apr 2013 09:29:31 +0000]
ARM: tegra: macallan: Change slew rate of vdd_cpu to 2.5mV/us

Changed rate of vdd_cpu to 2.5mV/us from 5.0mV/us due to undershoot
issue when voltage down scaling.
And adjusted sample rate of cl-dvfs to 11.5kHz according to slew rate.

Bug 1268516
Bug 1277890

Change-Id: I716e2c4e7862e4098d6ecccc8811f75d8e4e6300
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/223644
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agovideo: tegra: avoid null deref on nvdps read
Jon Mayo [Thu, 17 Jan 2013 17:21:41 +0000]
video: tegra: avoid null deref on nvdps read

When reading nvdps sysfs file, check mode to avoid a null dereference.

Bug 1032235

Change-Id: I27c125c887e7653d953cf15b4d96d889ef36652f
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/221329
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Philip Rakity <prakity@nvidia.com>
Reviewed-by: Philip Rakity <prakity@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra11: clock: add sdmmc4 to sclk
Naveen Kumar Arepalli [Thu, 18 Apr 2013 09:24:32 +0000]
ARM: tegra11: clock: add sdmmc4 to sclk

Add sdmmc4 to sclk as a client.
Increasing sclk freq helps sdmmc4 KPI.

Bug 1271529
Bug 1262190

Change-Id: I06b9e1f2e80e092e2ef866e1712e410174be5da3
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/220548
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: remove __initdata keyword for nvmap_device
Krishna Reddy [Mon, 22 Apr 2013 23:28:11 +0000]
arm: tegra: remove __initdata keyword for nvmap_device

nvmap_device was incorrectly marked as __initdata during
dalmore board files creation and it got carried forward to
boards that are created later onwards.
Bug 1247591

Change-Id: Id1f87b3d75e59d4846ee1227fee4ba0ff389007c
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/221754
(cherry picked from commit 2623f54a5f68e460c09641333dd780ceda7766c6)
Reviewed-on: http://git-master/r/224577
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: dalmore: remove __initdata keyword for dsi_p_wuxga_10_1_bl_device
Krishna Reddy [Tue, 23 Apr 2013 06:10:56 +0000]
arm: tegra: dalmore: remove __initdata keyword for dsi_p_wuxga_10_1_bl_device

This device is accessed even after init section is removed.
This device can't be declared with  __initdata.
Bug 1247591

Change-Id: Iee3bba93907ed9431f690d8223f7a44f710b5f68
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/221907
(cherry picked from commit d807730049fff6136347e94cfe4f337f3d7fcb3c)
Reviewed-on: http://git-master/r/224578
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Abhinav Sinha <absinha@nvidia.com>

6 years agousb: xhci: tegra: Fix handle for command ring empty and configure ep
joyw [Thu, 2 May 2013 04:35:47 +0000]
usb: xhci: tegra: Fix handle for command ring empty and configure ep

This patch is to have error handle when driver stop waiting cmd due to
"Signal" event. There are two issues that may happen when user try to stop
driver through "Signal".

1) Command ring empty, and this may cause HCD fetch a wrong dequeue trb
from cmd_ring for the next command.
2) No recourse clean up for configure ep. This may cause the next time
driver try to enable this endpoint fail.

This patch try to not inc_deq when command ring empty because the command that
going to stop is already finished. And wait for "stop cmd ring" complete.
Since this stop cmd is going to stop configure ep cmd, after "stop cmd ring"
complete indicate we can check configure ep status safely.

Bug 1271936

Change-Id: I858755a2717299ed17ea856cce89779726b87de6
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/224710
Reviewed-by: Henry Lin <henryl@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra: tegratab: speed up camera i2c clock
Jake Park [Mon, 22 Apr 2013 07:16:34 +0000]
arm: tegra: tegratab: speed up camera i2c clock

Changed camera i2c clock frequency from 100khz to 400khz to reduce
the i2c operation time.

Bug 1271714

Change-Id: Idfc503fb1f9e1b6e27e8f6d96a4f7ba697c2b6b0
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/221476
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: Tegra: Dalmore: At Fab05 Power tree
Graziano Misuraca [Tue, 23 Apr 2013 18:45:55 +0000]
ARM: Tegra: Dalmore: At Fab05 Power tree

Create separate power tree for Fab05 Dalmores.

Also correctly change the power-type for Fab02-
Fab05 dalmores to use the config2 power tree.

Bug 1259294

Change-Id: I9d9d1349c80febae8a647af6ad1a52fb4be0cdf5
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/222140
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agousb: xhci: tegra: sw WAR for correct TCTRL/RCTRL of USB2 pads
Ajay Gupta [Fri, 29 Mar 2013 22:19:15 +0000]
usb: xhci: tegra: sw WAR for correct TCTRL/RCTRL of USB2 pads

Also updated the programming of  XUSB_PADCTL_USB2_BIAS_PAD_CTL_0_0
as PD and PD_TRK should not always be set to '1'.

Bug 1259555
Bug 1275290

Change-Id: If2db465fa17bc7a54c0c2edfb58f132bbf9cc132
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/224608
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: EDP: init HPA02149AIYFFR
Hyungwoo Yang [Sun, 28 Apr 2013 04:40:18 +0000]
ARM: tegra: EDP: init HPA02149AIYFFR

This change init HPA02149AIYFFR which is used for battery EDP.

Bug 1240043

Change-Id: I62010bfb41fd63f958c2e50f1a7f512e68c250d9
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/222771
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoASoC: Tegra: Reset dcnt after each loop
Sumit Bhattacharya [Thu, 2 May 2013 15:46:54 +0000]
ASoC: Tegra: Reset dcnt after each loop

After each loop which decrements dcnt, dcnt should be reset to initial
value. Otherwise in failure condition next loop exit condition will
always fail.

Bug 1281310
Bug 1255915

Change-Id: I6b61f9bea8bee95d90fa05c4fb61a8b7c22be0b0
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/224923
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: clock: Add reset propagation delays
Alex Frid [Wed, 1 May 2013 20:14:44 +0000]
ARM: tegra: clock: Add reset propagation delays

Added explicit reset propagation delay in resume procedure.

Change-Id: I5ace9c33d5abccaf52eba5fe52482ab28a8060f9
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/224585
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra11: clock: Clean FIXME comments
Alex Frid [Sat, 27 Apr 2013 03:44:18 +0000]
ARM: tegra11: clock: Clean FIXME comments

Change-Id: Ia18d7d2493f53b55ae83ac1b27cfce07db8e00a0
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/224584
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

6 years agoARM: tegra11: power: Increase edp voltage thermal cap
Alex Frid [Wed, 1 May 2013 07:40:50 +0000]
ARM: tegra11: power: Increase edp voltage thermal cap

Since edp maximum voltage constraint is applied on top of CPU CL-DVFS
Vmax thermal profile, edp limit was re-characterized.

Bug 1270003

Change-Id: Ic8acb18429f89cd554342b1d7230fd49123ecd3a
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/224495
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: pluto: update unaligned_dma_buf_support properly
Rohith Seelaboyina [Tue, 30 Apr 2013 10:31:11 +0000]
ARM: tegra: pluto: update unaligned_dma_buf_support properly

update unaligned_dma_buf_support properly

Bug 1235943

Change-Id: I215b16a41af121b7cdc82188875f5052d5b473d7
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/224201
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

6 years agoThermal: pid_thermal_gov: Skip unncessary throttle target calculation
Jinyoung Park [Mon, 29 Apr 2013 17:18:19 +0000]
Thermal: pid_thermal_gov: Skip unncessary throttle target calculation

Skip throttle target calculation if upper state and lower state are same.

Change-Id: I36d3ed7e324225ee03b3330f7ad80f0cd3e27457
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/223933
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: tegratab: support P1640.
Harry Hong [Mon, 29 Apr 2013 07:29:54 +0000]
ARM: tegra: tegratab: support P1640.

Changing keymap gpio and bt_en according to
P1640 board design.

bug 1278403

Change-Id: I83bf533faa39c725afd681a643c3cc90a7b61a34
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/223790
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agohwmon: ina230: support inverted polarity for shunt voltage
Hyungwoo Yang [Sat, 27 Apr 2013 21:39:16 +0000]
hwmon: ina230: support inverted polarity for shunt voltage

This change supports the case for polarity of shunt voltage is inverted.

Bug 1240043

Change-Id: Idfb87fd80694b61f1ec66be9aa815d7aedc95324
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/223682
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agogps_drv: remove error print
Rakesh Goyal [Wed, 24 Apr 2013 13:04:45 +0000]
gps_drv: remove error print

Remove error print as devproxy is now running in polling
mode and call this function frequently.

Bug 1250980

Change-Id: I5a41f205d18646ccc861a60c4ab3df0e7119d10e
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/222504
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agoARM: tegratab: enable OV7695 config
kkim [Tue, 23 Apr 2013 05:37:19 +0000]
ARM: tegratab: enable OV7695 config

Bug 1269275

Change-Id: I5b7aa09385a4a1d1e0c1ede6809e0cf70ca9e505
Signed-off-by: kkim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/222045
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agovideo: tegra: host: improve FXDIV implementation
Ilan Aelion [Fri, 19 Apr 2013 22:41:04 +0000]
video: tegra: host: improve FXDIV implementation

Fixed point arithmetic is used in calculating 3d.emc clock rate
requests. Improve FXDIV implementation by using fls() rather than a
loop to derive count of leading zeros.

Bug 1268909

Change-Id: I26532bebe17d2233130d33d43b1b1ae707bd5876
Signed-off-by: Ilan Aelion <iaelion@nvidia.com>
Reviewed-on: http://git-master/r/221265
Reviewed-by: Paul Walmsley <pwalmsley@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: Tegra: tegratab: Update emc dvfs table
Yong Goo Yi [Tue, 30 Apr 2013 04:38:29 +0000]
ARM: Tegra: tegratab: Update emc dvfs table

Bug 1241146

Change-Id: I15637f4d31313015cb63d8b25cf76b998665a018
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/224119
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Joshua Cha <joshuac@nvidia.com>
Reviewed-by: Harry Hong <hhong@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agodriver: sensor: change compass value from int to short
Robert Collins [Mon, 8 Apr 2013 17:35:11 +0000]
driver: sensor: change compass value from int to short

Bug 1266211

Change-Id: Ib4a9f9cd58bd526c0afd3d815b29f0a72defac79
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/217421
(cherry picked from commit 984398033a9f4c26454e2018ab025f52a115cf91)
Reviewed-on: http://git-master/r/216731
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Tested-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agotegratab: edit default LCD brightness to 60.
Hyongbin Kim [Wed, 24 Apr 2013 06:44:33 +0000]
tegratab: edit default LCD brightness to 60.

Reduce LCD brightness for power saving when charging and booting.

Change-Id: Icd00c5d3d2b1cfd2b0879580edc9e4d3d269cfee
Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com>
Reviewed-on: http://git-master/r/222340
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: macallan: add HDMI electrical settings
Hayden Du [Wed, 1 May 2013 00:31:53 +0000]
ARM: tegra: macallan: add HDMI electrical settings

bug 1157049
bug 1259746

Change-Id: I0e19f104995e444bb12daef754c57d4f50f41c0f
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/224409
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agousb: xhci: tegra: Fix SS device detection as HS
Ajay Gupta [Tue, 30 Apr 2013 21:33:09 +0000]
usb: xhci: tegra: Fix SS device detection as HS

commit "usb: xhci: tegra: save leakage power if SS link suspended"
has broken SS device enumeration where we see some SS device gets
detected as HS initially and then later detected as SS.

If ELPG exit happens due to main hcd bus_suspebd call first then
RX_IDLE_OVRD would not be cleared causing SS device getting
detected as HS. Fixing this by making sure RD_IDLE_OVRD is cleared
before loading firmware

Bug 1279725

Change-Id: I0f8c62735bff2ed6afddc7b4ed31f6ff618301d2
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/224357
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: dalmore: correct bad include
Ray Poudrier [Sat, 27 Apr 2013 19:30:19 +0000]
ARM: tegra: dalmore: correct bad include

From T30 interposer we were including
t30 pinmux file. This never got corrected
to t114 header.

Same instance in macallan and tegratab

Change-Id: I9c316334acddfb5bc9737dcc1f5998fd336a9352
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/223676
(cherry picked from commit f7dc40e37e769a43c5f1b5f99c07d891fd849ee1)
Reviewed-on: http://git-master/r/223981
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agopower: max17042: Add Technology property
Pradeep Goudagunta [Mon, 29 Apr 2013 09:00:20 +0000]
power: max17042: Add Technology property

Bug 1253306

Change-Id: I93f1113804b9778e299b158c30dcc330b9296dc7
Signed-off-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>
Reviewed-on: http://git-master/r/223817
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: usb: Fix utmi phy resume
Petlozu Pravareshwar [Thu, 25 Apr 2013 12:49:19 +0000]
ARM: tegra: usb: Fix utmi phy resume

Fix utmi_phy_resume based on the port speed value,
port connect status along with handling the lp0 resume case.

Bug 1251685
Bug 1276248

Change-Id: Ie7f2b5d52e7000e898df4fdaeea5c19e8b37b842
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/222930
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: macallan: register fuel gauge for E1569
Kerwin Wan [Thu, 25 Apr 2013 12:07:54 +0000]
arm: tegra: macallan: register fuel gauge for E1569

Remove the unused fuel gauge and register fuel gauge for E1569.
Fuel gauge on macallan E1545 will not be supported.

Bug 1278416

Change-Id: I794efd5ecc24a1f3c1a5837fb78bd431e0cb30d1
Signed-off-by: Kerwin Wan <kerwinw@nvidia.com>
Reviewed-on: http://git-master/r/218568
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: SMP: disable preempt before SMP cross call
Bo Yan [Wed, 24 Apr 2013 20:50:12 +0000]
ARM: SMP: disable preempt before SMP cross call

preemption should be disabled when smp_call_function_many is called.

bug 1224910

Change-Id: I4c23e6fe77354d50230b8e46bcc4128a9888f201
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/222644
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: panel-lgd-wxga-70: Tx only video clk mode
Min-wuk Lee [Mon, 22 Apr 2013 01:36:36 +0000]
arm: tegra: panel-lgd-wxga-70: Tx only video clk mode

Set video clk mode to Tx only. Different timings
are required between continuous and Tx only setting
for target panel. VIDEO_CLK_MODE_TX_ONLY is set to
1 in default. If it is set to 0, video clk mode
will be changed to continuous.

Bug 1234973

Change-Id: Icfe07f722f93eb79cd2f39bf4b67c8f9923a092e
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/223799
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: usb_phy: Update RTUNEP value
Suresh Mangipudi [Mon, 29 Apr 2013 06:25:43 +0000]
arm: tegra: usb_phy: Update RTUNEP value

Update the TX_RTUNEP value to 1100 for HSIC.
Do not clear the TX_RTUNEN value.
By default UHSIC_AUTO_RTERM_EN should be enabled.

Bug 1211875

Change-Id: I1f44380d2e42a0aee9812fb522cc82be705f55a6
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/223772
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoregulator:palmas increase delay when ES2.1 or lower
Philip Rakity [Fri, 26 Apr 2013 10:57:42 +0000]
regulator:palmas increase delay when ES2.1 or lower

code needs to decrease ramp delay so we get a longer
delay.  numerator and divisor need to be reversed

Change-Id: I84ec995e0235e482bb0fe42cadb1864353ff7655
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/223332
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: soctherm: Update soctherm zones after boot
Alex Frid [Thu, 25 Apr 2013 06:53:41 +0000]
ARM: tegra: soctherm: Update soctherm zones after boot

Made sure all thermal zones controlled by soctherm are updated at the
end of kernel initialization at late_initcall_sync phase. Hence, all
cooling deices including those that have been registered when soctherm
was suspended are synchronized with chip initial state.

Change-Id: I86b631cb08607adeb13e0ba6e173f5caa1421554
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/223153
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra11: dvfs: Add CPU Vmax thermal profile
Alex Frid [Wed, 24 Apr 2013 04:04:45 +0000]
ARM: tegra11: dvfs: Add CPU Vmax thermal profile

Added a single-point Tegra11 Vmax thermal profile:
Vmax <= 1.24V if T >= 70C.

Bug 1270003

Change-Id: I5070951f6f2dfd5f9ebd061264ccc18df539d088
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/223152
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoARM: tegra: dvfs: Add CL-DVFS Vmax cooling device
Alex Frid [Wed, 24 Apr 2013 00:15:19 +0000]
ARM: tegra: dvfs: Add CL-DVFS Vmax cooling device

Added CL-DVFS Vmax cooling device to keep operational voltage below
target rail thermal profile in any temperature range.

The thermal profile - temperature trip-points, and voltage caps is
specified by safe dvfs for the target rail. Profile represents Vmax(T)
dependency as descending function based on chip characterization. Each
cap is applied at temperatures above the respective threshold.

When CL-DVFS is running in the closed loop mode, thermal caps are
compared with expected safe dvfs voltage limits and the most aggressive
(minimum) one is set. In case of conflict between voltage floors and
caps, floor setting wins.

During boot the highest temperature is assumed, and the lowest Vmax
limit is applied until SoC Tj thermal zone sensor updates actual
cooling device state. Similarly during suspend entry/exit the lowest
Vmax limit is applied. Cooling device update on resume is enforced by
directly clearing update flag (otherwise thermal framework may skip
update if temperature has not changed across suspend).

Bug 1270003

Change-Id: I6753ef8efd5b0e6a15c56803d0ea5fb3b2df67af
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/223151
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>

6 years agoARM: tegra: dvfs: Add entries for rail Vmax thermal control
Alex Frid [Tue, 23 Apr 2013 23:03:16 +0000]
ARM: tegra: dvfs: Add entries for rail Vmax thermal control

- Expanded dvfs rail structure with Vmax thermal profile entries: Vmax
cooling device, and  list of thermal trip-points and thermal caps.
Added check for entries consistency.

- Added API to register Vmax cooling device trip-points in Tj thermal
zone.

Bug 1270003

Change-Id: I2066f4f6fcc0867ee05af01db6c70dc7feedd8fb
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/223150
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>

6 years agoRevert "smp: Fix SMP function call empty cpu mask race"
Bo Yan [Thu, 25 Apr 2013 00:39:02 +0000]
Revert "smp: Fix SMP function call empty cpu mask race"

This reverts commit 846c314fd6124b5bd3a3db2624818f29616874a1.

Change-Id: Id0e9d586dfba4eb5743a6b07975d8d6667a478a6
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/222732
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoRevert "Revert "arm: errata: Workaround for Cortex-A15 erratum 798181 (TLBI/DSB opera...
Bo Yan [Mon, 22 Apr 2013 23:02:07 +0000]
Revert "Revert "arm: errata: Workaround for Cortex-A15 erratum 798181 (TLBI/DSB operations)""

This reverts commit c7cc6aa56f184389203f380df1e39e94e2e2d6f5.

Change-Id: Ia481c2f0d9f49e7f05eb2b3fe9a65d7cb4302326
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/222643
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoRevert "Revert "Revert "ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on ASID-capable...
Bo Yan [Mon, 22 Apr 2013 23:02:00 +0000]
Revert "Revert "Revert "ARM: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW on ASID-capable CPUs"""

This reverts commit 450e0659ea22b0122c8f48acd2f058a46486b826.

Change-Id: I88a1148a0293d7c95b2af18ae4f42e97e7572f02
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/222642
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: Tegra: Tegratab: Toggle DDC pull down with hpd
Gabby Lee [Tue, 23 Apr 2013 08:48:05 +0000]
ARM: Tegra: Tegratab: Toggle DDC pull down with hpd

Only set DDC_SDA and DDC_SCL pull downs to be active
when we detect a hotplug. Otherwise keep them disabled.

Bug 1270244

Change-Id: Ia2a8f9268eddb827753d995dc69995c9ef754aa0
Signed-off-by: Gabby Lee <galee@nvidia.com>
Reviewed-on: http://git-master/r/221996
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: pluto: update TGAIN and TOFF values
Syed Rafiuddin [Mon, 29 Apr 2013 05:35:24 +0000]
arm: tegra: pluto: update TGAIN and TOFF values

Update TGAIN and TOFF values for ceres battery

Change-Id: I256a8d43d9091a1d340a4571a488d323e2edd558
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/223754
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Tested-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agortc: palmas: reduce message from rtc driver
Laxman Dewangan [Fri, 26 Apr 2013 10:13:25 +0000]
rtc: palmas: reduce message from rtc driver

Change the message level from dev_info to dev_dbg on callback API.
Only keep the prints of alarm time in suspend and current time
on resume for help on debugging.

Change-Id: Ia82d9f11b910c06c4aee8ecd88db9c71f7e592c1
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/223317
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Rakity <prakity@nvidia.com>
Tested-by: Philip Rakity <prakity@nvidia.com>

6 years agoARM: tegra: tegratab: add support for P1640
Harry Hong [Fri, 26 Apr 2013 07:53:15 +0000]
ARM: tegra: tegratab: add support for P1640

P1640 is FFD version of tegratab.

bug 1278403

Change-Id: I009da8f69ac8912c0d935f261bcd658e125660b4
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/223251
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>

6 years agoARM: tegra: dalmore: add HDMI electrical settings
Jon Mayo [Sat, 6 Apr 2013 02:12:15 +0000]
ARM: tegra: dalmore: add HDMI electrical settings

Bug 1157049

Change-Id: I04af72ed408cec5a53034d5d97212c5c818f0d28
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/221279
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agovideo: tegra: dc: fix typo in tmds_config names
Jon Mayo [Tue, 2 Apr 2013 20:51:40 +0000]
video: tegra: dc: fix typo in tmds_config names

Updates interfaces for providing alternate TMDS to remove typos.
Combine loop through board tmds_config and fallback tmds_config.

Change-Id: Ia9987b6d84d586e1fbfb9d6b0f84b4bd6800122d
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/215681
(cherry picked from 095378cb8dab6e914cf577f9c6b4b6e4dd5be10c)
Reviewed-on: http://git-master/r/221278
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoarm: config: tegratab: remove unused LTR_558ALS config
David Yu [Fri, 26 Apr 2013 08:05:37 +0000]
arm: config: tegratab: remove unused LTR_558ALS config

Change-Id: I2f07686f672be20f0458fc84769aae99a30ab850
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/223269
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: dvfs: Rename MAX_THERMAL_FLOORS macro
Alex Frid [Sun, 21 Apr 2013 01:24:13 +0000]
ARM: tegra: dvfs: Rename MAX_THERMAL_FLOORS macro

Renamed MAX_THERMAL_FLOORS to MAX_THERMAL_LIMITS so the macro can be
applied to thermal caps as well (yet, to be added).

Change-Id: I1613ff5ab1be6dd302bcfc1f0e01f6208eceea0e
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/223149
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agobacklight: max8831: Change brightness setting under System EDP constraints
Daniel Solomon [Wed, 24 Apr 2013 22:59:23 +0000]
backlight: max8831: Change brightness setting under System EDP constraints

Change backlight setting behavior to the following:
1) Compare requested brightness with available EDP states
2) Request the next higher EDP state from EDP manager
3) Set brightness to min(requested brightness, approved brightness)

Bug 1276795

Change-Id: I77ddc2f74bcd3e848bb8d4df59f524f871db7557
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/222671
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoARM: tegra11: clock: Keep PLL_REFE enabled during init
Alex Frid [Wed, 24 Apr 2013 21:06:40 +0000]
ARM: tegra11: clock: Keep PLL_REFE enabled during init

Enabled PLL_REFE in early kernel initialization, to provide clock for
h/w sequencers initialization. PLL is disabled in late init.

Bug 1275799

Change-Id: Ie79a3f0989fb3a40714659c7ed082dce2d004d5c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/222651
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoextcon:max77765 Make resume faster - do debug messages
Philip Rakity [Wed, 24 Apr 2013 14:43:35 +0000]
extcon:max77765 Make resume faster - do debug messages

do not print out debug messages. use dev_dbg rather
then dev_info

Change-Id: I041a74fa6306eb7c72e65525c88c474d5d08c61d
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/222529
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agovideo: tegra: hdmi: support custom tmds config.
Kevin Huang [Sat, 29 Dec 2012 01:11:52 +0000]
video: tegra: hdmi: support custom tmds config.

provide the support to set the tmds config according to board file.

Bug 1204008

Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/187553
(cherry picked from 70206460df252616577b0a0a69884becb66c999d)
Change-Id: I1952fab46f60ef740a49786605390b9bb4772704
Reviewed-on: http://git-master/r/221315
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agovideo: tegra: dc: remove colorbar test sysfs node
Jon Mayo [Thu, 17 Jan 2013 16:22:50 +0000]
video: tegra: dc: remove colorbar test sysfs node

Remove sysfs node only used for debug/development.
fix merge conflicts at pluto TOT

Bug 1219338

Change-Id: I62ccb08badba01cee6f889b818074358f7d8953f
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/221206
Reviewed-by: Automatic_Commit_Validation_User

6 years agoASoC: Tegra: Improve capture stopping logic
Sumit Bhattacharya [Wed, 17 Apr 2013 12:43:04 +0000]
ASoC: Tegra: Improve capture stopping logic

During stopping capture session when I2s RX port is disabled I2S
FIFO may contain 2 bytes of data. In case of stereo capture done
in I2S mode I2S CIF will be configured for stereo and it will not
transmit residual 2 byte I2S FIFO data. As a result when next
capture session starts audio channel will get reversed due to
residual 2 bytes of data.

To solve this issue do a SOFT_RESET of I2S channel if after
disabling of I2S RX port I2S FIFO does not get empty. Also disable
APBIF FIFO after I2S RX port is disabled to follow source to
destination disabling sequence.

As a precaution similar check is also added form playback stop path.

Bug 1255915

Change-Id: I8ab74c96ca00e2a1fda0abfeb73244a83b847005
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/220203
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoregulator: palmas: fix the ramp delay logic comparison
Laxman Dewangan [Fri, 26 Apr 2013 09:45:53 +0000]
regulator: palmas: fix the ramp delay logic comparison

Change-Id: I4eb8a1f5262c8fc5fbc42f504bc44bebad2a5719
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/223305
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Philip Rakity <prakity@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agousb: otg: tegra: update interrupt status properly
Rohith Seelaboyina [Thu, 25 Apr 2013 07:10:21 +0000]
usb: otg: tegra: update interrupt status properly

Interrupt status is being overridden,
fix this accordingly

Bug 1275428

Change-Id: I0812cbda3fd75a7d33dc180db31ad2ee1699d3bf
Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com>
Reviewed-on: http://git-master/r/222812
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: tegratab: do not enable DC1 in DC probe
Youngjin Kim [Thu, 25 Apr 2013 07:12:47 +0000]
ARM: tegra: tegratab: do not enable DC1 in DC probe

Remove TEGRA_DC_FLAG_ENABLED flag from disp2 platform data
not to enable DC1 in DC probe.

Bug 1270114

Change-Id: Idc2c294d9c48b2d0004aed277dcfac3b1cfd32d6
Signed-off-by: Youngjin Kim <nkim@nvidia.com>
Reviewed-on: http://git-master/r/222809
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: add base address & size for 2d and 3d
Mayuresh Kulkarni [Fri, 7 Dec 2012 10:01:19 +0000]
arm: tegra: add base address & size for 2d and 3d

bug 1041377

Change-Id: I2f3d0eb0b2e92a70ec641be2920ae61a57cd4417
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/169347
(cherry picked from commit d7d37a1fe4f6a62f1bb10dd760bfc60538b78ffb)
Reviewed-on: http://git-master/r/221834
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoArm: tegra: tegratab: change utmi host phy config
Shawn Joo [Fri, 19 Apr 2013 07:05:18 +0000]
Arm: tegra: tegratab: change utmi host phy config

change usb host mode phy config for tegratab.
xcvr setup and hs slew LSB is modified.

Bug 1272371

Change-Id: Iec3d2954d7fd154def01cf01d570acbac33d910c
Signed-off-by: Shawn Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/220919
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: macallan: correct the roof_floors of ldos
Hunk Lin [Thu, 25 Apr 2013 12:55:31 +0000]
arm: tegra: macallan: correct the roof_floors of ldos

Set roof_floor of ldo2/ldo3/ldo9/ldoln to be 0. These three rails' ON/OFF
should be controlled by drivers.
External control(roof_floor) should be only used for the power rails which
require to be on during system idle/active and do not require to be on when
it is in sleep/lp0.

Bug 1278668
Bug 1278671
Bug 1278672
Bug 1279327

Change-Id: Ia5114538a7bdf9b8d3ae39f2a26d0cbf7ec70c95
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/222923
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: tegra: pluto: remove external control from LDO9
Laxman Dewangan [Thu, 25 Apr 2013 07:15:50 +0000]
ARM: tegra: pluto: remove external control from LDO9

The Palmas-LDO9 is used for supplyign the voltage to sdmmc3-ap rail
and sdmmc driver already take care of rail to be enable/disable and
hence it is not require to configure it as external control.

bug 1278358

Change-Id: Ie825d79d516ec9d9e1f1336822f67845aaf1269e
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/222840
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: usb: disable USB_WAKE_ON_CNNT_EN_DEV bit
Petlozu Pravareshwar [Wed, 3 Apr 2013 10:13:35 +0000]
ARM: tegra: usb: disable USB_WAKE_ON_CNNT_EN_DEV bit

Disable USB_WAKE_ON_CNNT_EN_DEV bit during phy_power_off.

Bug 1251685
Bug 1223856

Change-Id: Ifbe24badcada19472d47fe92117f5a4b0e28eda7
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/216068
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: add clamping status read.
Kevin Huang [Mon, 15 Apr 2013 22:59:15 +0000]
ARM: tegra: add clamping status read.

Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Change-Id: I2bf7b0d4cd88583295183347ed6a4bc1c0e450f1
Reviewed-on: http://git-master/r/219959
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
(cherry picked from commit 56469c85646b8fb859f2f30325d53de989d554f4)
Reviewed-on: http://git-master/r/221740
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: tegra: clock: ignore timeout warnings on pll_d/d2
Kevin Huang [Wed, 17 Apr 2013 01:44:25 +0000]
ARM: tegra: clock: ignore timeout warnings on pll_d/d2

Due to a hardware bug, plld/d2 lock bit cannot be asserted
during DSI unpower-gating. The lock bit can only be locked
after clamping of DSI is removed. It triggers false alarm
when plld/d2 is enabled. Ignore these warnigs when DIS
partition is still clamped.

Bug 1257086
Bug 1258312

Change-Id: I499efa0086dd677df70295efab26f7f8b3045a60
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Reviewed-on: http://git-master/r/220017
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
(cherry picked from commit 853cf1d4e235ffcc64a27b0b602799aee6906e12)
Reviewed-on: http://git-master/r/221741
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoRevert "ARM: tegra: usb: increase line debounce count"
Ajay Gupta [Thu, 25 Apr 2013 23:26:02 +0000]
Revert "ARM: tegra: usb: increase line debounce count"

This reverts commit 1fb66376c0f5add2ed09e839e04fd1377f828db3.

Bug 1275437

Change-Id: I0a6ab63019a2d4484dec2ff32e63846fbc372374
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/223122
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoARM: tegra: fix comparison in enforcing volt-temp constraint
Diwakar Tundlam [Tue, 23 Apr 2013 23:05:47 +0000]
ARM: tegra: fix comparison in enforcing volt-temp constraint

Bug 1270003

Change-Id: I345a7dc58cd65e0167525bbd8182bbc8d5753c05
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/222198
(cherry picked from commit d509ba241fd0eb1266994b68e16c13e9afec5961)
Reviewed-on: http://git-master/r/222633
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoARM: Tegra: Dalmore: Use config2 power tree for A02 and A05
Graziano Misuraca [Tue, 23 Apr 2013 17:14:33 +0000]
ARM: Tegra: Dalmore: Use config2 power tree for A02 and A05

Change-Id: Ibd74ca9f63de80b6e27c6c5835857ba277d64cb8
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/222128
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Tested-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoARM: Tegra: Roth: Toggle DDC pull down with hpd
Graziano Misuraca [Thu, 4 Apr 2013 00:23:06 +0000]
ARM: Tegra: Roth: Toggle DDC pull down with hpd

Only set DDC_SDA and DDC_SCL pull downs to be active
when we detect a hotplug. Otherwise keep them disabled.

Bug 1237421

Change-Id: I57bb7209ac79762f90c88e999a75133d8125c453
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/216317
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoARM: dts: Tegra114: Remove host1x DT nodes in default
Min-wuk Lee [Wed, 24 Apr 2013 01:37:30 +0000]
ARM: dts: Tegra114: Remove host1x DT nodes in default

Remove host1x DT nodes in tegra114.dtsi, since it is
not used in default. These nodes need to be moved
to the place where they are required.

Bug 1240921

Change-Id: I0b6a503880e06d47c478a88b4de4b1c8874d5caf
Signed-off-by: Min-wuk Lee <mlee@nvidia.com>
Reviewed-on: http://git-master/r/222228
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agonet: wireless: bcmdhd: Fix Warning F1 Signature
Jeetesh Burman [Tue, 23 Apr 2013 07:06:33 +0000]
net: wireless: bcmdhd: Fix Warning F1 Signature

The priority level of Warning message F1 Signature is
reduced from DHD_ERROR to DHD_INFO.

Bug 1249615

Change-Id: I0e976c0741bc3794268f31b0e874465c94173c6e
Signed-off-by: Jeetesh Burman <jburman@nvidia.com>
Reviewed-on: http://git-master/r/221939
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: macallan: disable vbus while going to lp0
Hayden Du [Tue, 23 Apr 2013 04:44:57 +0000]
ARM: tegra: macallan: disable vbus while going to lp0

disable vbus while going to lp0

bug 1276088

Change-Id: I03dce42f52eaa64b7c65f35374dd750260a9c36a
Signed-off-by: Hayden Du <haydend@nvidia.com>
Reviewed-on: http://git-master/r/221882
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoArm: tegra: usb_phy: add config for HSSLEW LSB.
Shawn Joo [Fri, 19 Apr 2013 04:17:07 +0000]
Arm: tegra: usb_phy: add config for HSSLEW LSB.

while tuning usb characterization HS slew LSB is required to be adjusted.
add a code in usb phy.

Bug 1272371

Change-Id: If1b4507e326c25aeac7acdd4817509b9536181af
Signed-off-by: Shawn Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/220843
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: dts: tegra114: Add max17048_battery DT support for TegraTab
Jinyoung Park [Wed, 17 Apr 2013 14:41:09 +0000]
arm: dts: tegra114: Add max17048_battery DT support for TegraTab

Added max17048 device tree and wrapped I2C and platform data for max17048
in #ifndef CONFIG_OF to prevent duplicate registration.

Bug 1240935

Change-Id: I920d6dc30522f296083a3a79d66884a5869686c4
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/220236
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agopower: max17048: Add DT support
Jinyoung Park [Wed, 17 Apr 2013 14:37:42 +0000]
power: max17048: Add DT support

Added DT support and documentation for max17048_battery.

Bug 1240935

Change-Id: I9536e81d0a55625bd6a53f70feb03160acaeeba6
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/220235
Reviewed-by: Alex Courbot <acourbot@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra11: allow disabling HDMI through DT
Alexandre Courbot [Tue, 12 Mar 2013 06:42:40 +0000]
ARM: tegra11: allow disabling HDMI through DT

HDMI output can be disabled by setting the "host1x/hdmi" node's status
to disabled. Also factorizes the common HDMI initialization code to one
place.

Bug 1239870

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Change-Id: I4202b5832c77e265dae2c3bcb7d92c509cffd606
Reviewed-on: http://git-master/r/208311
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agopower: max17042: new depletion equations
Sivaram Nair [Wed, 24 Apr 2013 13:05:00 +0000]
power: max17042: new depletion equations

Existing depletion calculation is too slow to react. The depletion does
not kick in until we are way too low in the SOC. Applying new equations.

Bug 1264825

Change-Id: I0bfc3ee3a61c7dfb4987bcb20b54677285941dba
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222575
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>
Tested-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: pluto: add entries to RBAT mapping LUT
Sivaram Nair [Tue, 9 Apr 2013 08:42:34 +0000]
ARM: tegra: pluto: add entries to RBAT mapping LUT

Data from Yoku 2000 mAh battery data sheet.

Bug 1264825

Change-Id: Ia012d2adb1b03de8181ba1593ef672b3899b6184
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222574
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agopower: max17042: interpolate RBAT values
Sivaram Nair [Tue, 9 Apr 2013 08:35:15 +0000]
power: max17042: interpolate RBAT values

Patch to interpolate RBAT values from discrete steps.

Bug 1264825

Change-Id: Id2ddcde984d1ddd0ac27786d6fd3abe2d7aa4239
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222573
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: pluto: change battery cap to 15W
Sivaram Nair [Wed, 24 Apr 2013 09:04:01 +0000]
ARM: tegra: pluto: change battery cap to 15W

Bug 1264825

Change-Id: I1959dbdb54e1f84f32b1066c96fd56c24dbe0140
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222572
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoEDP: tegra: change AP+DRAM gain factor to 130
Sivaram Nair [Wed, 24 Apr 2013 08:36:55 +0000]
EDP: tegra: change AP+DRAM gain factor to 130

Bug 1264825

Change-Id: Ic05558d2dd733682a65c31cc5fc9ca35e1d7664f
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222571
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>
Tested-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: pluto: new AP+DRAM tables
Sivaram Nair [Wed, 24 Apr 2013 08:35:57 +0000]
ARM: tegra: pluto: new AP+DRAM tables

Bug 1264825

Change-Id: I99acca553bd11f9d9db1481fc6099cc3c2eebf32
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222570
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>
Tested-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoEDP: tegra: remove loan from tegra_sysedp_corecap
Sivaram Nair [Wed, 24 Apr 2013 08:33:11 +0000]
EDP: tegra: remove loan from tegra_sysedp_corecap

loan is exclusively used for the CPU power right now - no need to
include it in the tables. This reduces the table length.

Bug 1264825

Change-Id: I6c563d0b02e11cd72a40bc6f645b29fe816274d9
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222569
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: pluto: empty AP+DRAM capping table
Sivaram Nair [Wed, 24 Apr 2013 08:32:03 +0000]
ARM: tegra: pluto: empty AP+DRAM capping table

Preparing for the next change that includes struct changes.

Bug 1264825

Change-Id: I177c5da25d9c6024049b1f25c62d9c7f8dd4551d
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222568
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoARM: tegra: pluto: set AP+DRAM E-state req to 20W
Sivaram Nair [Wed, 24 Apr 2013 15:17:28 +0000]
ARM: tegra: pluto: set AP+DRAM E-state req to 20W

Bug 1264825

Change-Id: I659ebc7ac8e694a3170241a8026c493d76574e0c
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222567
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoEDP: tegra: add initial request to core client
Sivaram Nair [Wed, 24 Apr 2013 08:01:12 +0000]
EDP: tegra: add initial request to core client

This patch contains changes to let the core client specify an initial
E-state (rather than assuming the highest possible state).

Bug 1264825

Change-Id: If3b44c0f411d8c2b69762c26761f807b073b6345
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/222566
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoarm: tegratab: remove unused camera configs
Jake Park [Wed, 24 Apr 2013 07:21:24 +0000]
arm: tegratab: remove unused camera configs

Below camera sensors are not for t114 platforms:
-CONFIG_VIDEO_OV5650=y
-CONFIG_VIDEO_OV9726=y
-CONFIG_VIDEO_OV2710=y

Also removed below which are not for T114 platforms:
-CONFIG_VIDEO_AR0832=y : sensor for enterprise
-CONFIG_TORCH_TPS61050=y : flash for cardhu
-CONFIG_VIDEO_SH532U=y : focuser for enterprise

Refer to http://git-master/r/219299

Change-Id: I90e25bf9b8c4b1c121fd4cce38abe07c32506096
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/222362
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: pluto: add battery characterization data
Syed Rafiuddin [Mon, 15 Apr 2013 07:58:26 +0000]
arm: tegra: pluto: add battery characterization data

addition of battery characterization data for pluto
platform

Bug 1261346

Change-Id: Ia98ebaa1a6dc96d0d39c60e6383f1144833e1a60
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/221925
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Tested-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

6 years agoinput: misc: compass: akm89xx: fix memory leak and race on accessing inf
David Yu [Tue, 23 Apr 2013 06:41:08 +0000]
input: misc: compass: akm89xx: fix memory leak and race on accessing inf

Bug 1276763

Change-Id: Ia16541ac45642c4758b55f041a6c3bc89dc6a00f
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/221920
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Kim <bok@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: tegratab: add DT data for ov5693
Jake Park [Mon, 15 Apr 2013 06:36:56 +0000]
arm: tegra: tegratab: add DT data for ov5693

Add DT support data for ov5693 bayer sensor

Bug 1255103

Change-Id: I14f34704c24ec0a2986effc19d14c7af5c31a9cd
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/220001
Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com>
Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>

6 years agoarm: tegra: tegratab: add DT data for ad5823
Jake Park [Mon, 15 Apr 2013 06:16:21 +0000]
arm: tegra: tegratab: add DT data for ad5823

Add DT support data for ad5823 focuser

Bug 1255103

Change-Id: Ifcece67dfbbd79bcee72bb180112bf8192e6a8e1
Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/220000
Reviewed-by: Peter Kim <pekim@nvidia.com>
Reviewed-by: Karl Kim <kkim@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra: phy: set line debounce count to 1
Preetham Chandru R [Fri, 19 Apr 2013 12:27:02 +0000]
ARM: tegra: phy: set line debounce count to 1

Set UTMI line debounce count to 1.
With this change the system wakes from LP0 when we disconnect USB-MSD.

Bug 1255249

Change-Id: I1560ddebba2b6859dbeea3c245cc6c52c6219708
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Reviewed-on: http://git-master/r/212674
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>