6 years agoARM: tegra11: dvfs: Don't throttle T40T nominal voltage
Alex Frid [Sat, 13 Jul 2013 03:36:22 +0000]
ARM: tegra11: dvfs: Don't throttle T40T nominal voltage

On T40T parts removed throttling of nominal voltage by boot core edp.
Used the latter to specify detached mode (boot, disable, suspend)
limits.

Change-Id: If6ab57785c22ffb9622998aaf9d06bfe36496949
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/248950
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoARM: tegra: dvfs: Decouple nominal and detached voltages
Alex Frid [Sat, 13 Jul 2013 02:58:41 +0000]
ARM: tegra: dvfs: Decouple nominal and detached voltages

DVFS rail nominal voltage is minimum voltage required to run all
associated clocks at maximum allowed rates. DVFS rail can be detached
from clocks during initial boot, on suspend entry/exit, or when
voltage scaling is disabled. So far, rail voltage in any detached mode
was set to nominal level. This commit introduced separate voltages for
each detached mode. If any of these levels is not specified, backward
compatible nominal voltage is used.

Since, suspend voltage may now be different from nominal (below), it
is important for dvfs to suspend after suspend edp rate caps are set,
and resume before edp. Hence, priorities of dvfs suspend notifiers
were adjusted accordingly.

Change-Id: I17bf2d5ee30a8278b7c838280e730761608db249
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/248949
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

6 years agoarm: tegra: loose cpu edp power table calculation.
Roger Hsieh [Tue, 16 Jul 2013 05:56:25 +0000]
arm: tegra: loose cpu edp power table calculation.

T40X will be limited to 1.8Ghz if cpu edp power table is applied.
Set the temp limit to 50 to restore the limit to 1.9G for T40X.

Bug 1310571

Change-Id: I6588e193820c34e1c4a8f6d2c82ceedc797a941c
Signed-off-by: Roger Hsieh <rhsieh@nvidia.com>
Reviewed-on: http://git-master/r/249522
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishnan Geeyarpuram <kgeeyarpuram@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoinput: touch: maxim: Move power-up and reset-high after start touch_fusion
Jinyoung Park [Fri, 28 Jun 2013 15:06:19 +0000]
input: touch: maxim: Move power-up and reset-high after start touch_fusion

Move power-up and reset-high after start touch_fusion daemon.

Bug 1304090
Bug 1315583

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/243901
(cherry picked from commit 05ba9be0181c2a4dae11670a4887f0c8fb50f085)

Change-Id: Ibddd226767fbf152d64becfd3d4209c08ff637bf
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/249053
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoxhci: tegra: rewind firmware log buffer across ELPG
JC Kuo [Fri, 5 Jul 2013 11:38:35 +0000]
xhci: tegra: rewind firmware log buffer across ELPG

In ELPG, firmware log context is gone. Firmware doesn't save and
restore log enqueue pointer, dequeue pointer, and sequence number at
CSS/CRS.
In order to minimize complexity of firmware design, driver has to
  1) make sure all firmware log is processed after enters ELPG,
  2) rewind firmware log buffer before exit ELPG,
so that firmware will not have a chance to corrupt log buffer.

This commit also wakes firmware log thread in xhci isr. Idea is that
when driver gets interrupted, there must be some firmware logs unread.
xhci isr is a perfect timing to wake log thread up.

bug 1320242

Change-Id: I4e57e0359055dfbc9a9750658bf7eabb284c804c
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/245366
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoxhci: tegra: support loading xusb firmware from file
JC Kuo [Mon, 24 Jun 2013 12:19:31 +0000]
xhci: tegra: support loading xusb firmware from file

This commit add the capability of loading Tegra xusb firmware from
a firmware file in file system.

Two kernel module parameters provides the firmware loading flexibility.
1. "use_bootloader_firmware=Y" driver loads firmware from the
   bootloader carveout region.
2. "use_bootloader_firmware=N" driver loads firmware from the file
   specified by "firmware_file" parameter.

This example shows how to load firmware from /etc/firmware/xusb_sil_prod_fw

   insmod /system/lib/modules/xhci-hcd.ko use_bootloader_firmware=N firmware_file=xusb_sil_prod_fw

bug 1301430

Change-Id: I7ff4a86ab56b2724d3a4d17f28fe048e6303b067
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/241457
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: tegratab: Change default state of maxim touch reset
Jinyoung Park [Tue, 2 Jul 2013 02:19:54 +0000]
ARM: tegra: tegratab: Change default state of maxim touch reset

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

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/244101
(cherry picked from commit 003d40dcebd4ce4c33fbd3377e4074030083cddb)

Change-Id: Ic25ee4d8bf6d6b4468b78640bfe4443fa42b1d1f
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/249055
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomisc: nct1008: Refactor sensor configuration
Jinyoung Park [Fri, 7 Jun 2013 09:00:43 +0000]
misc: nct1008: Refactor sensor configuration

Refactor sensor configuration.
- Fixed wrong min/max temperature settings.
- Removed unnecessary register readings.

Bug 1325770

Change-Id: I33f195df7673ad35d037fa4bf2cf987b6eba5bb1
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/237219
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agomisc: nct1008: Refactor power rail control
Jinyoung Park [Tue, 4 Jun 2013 13:31:05 +0000]
misc: nct1008: Refactor power rail control

Refactor power rail control
- Use devm_regulator_get() instead of regulator_get/put().
- Fix repeated regulator_get calling issue when the regulator is not
available on the system.
- Add return value checking in suspend and resume.

Bug 1325770

Change-Id: I77b457e7b6aa3e9d5ed389cabb9cd0260503eae6
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/235477
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

6 years agodrivers: misc: therm_est: Fixed factory reset issue
Hyungwoo Yang [Wed, 10 Jul 2013 02:14:04 +0000]
drivers: misc: therm_est: Fixed factory reset issue

Thermal Estimator tries to access device no more usable during factory reset.

Bug 1320678

Change-Id: Ic56f550c029ad5b9d9a117ad79ccf5bd03292f86
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/246962
(cherry picked from commit e06ae462d514f61f28d5fd7f82d927bbeb0c8607)
Reviewed-on: http://git-master/r/248508
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agomedia: tegra: ov7695: apply 070213 tuning values
Jake Park [Wed, 3 Jul 2013 21:45:02 +0000]
media: tegra: ov7695: apply 070213 tuning values

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
(cherry picked from commit 9d08009023cacaef14137d3dab46b496dfcb4e39)
Reviewed-on: http://git-master/r/247286
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agomedia: ov7695: WAR for initial greenish preview
Jake Park [Wed, 3 Jul 2013 00:11:12 +0000]
media: ov7695: WAR for initial greenish preview

To reduce initial greenish preivew time,
1. start from manual white balance with pre-defined values
2. discard 3 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
(cherry picked from commit b4dd59c448e9b89a05d7ffa9654aa9bb51239855)
Reviewed-on: http://git-master/r/247285
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoarm: tegra3: change max current to 10000mA for T33
Naveen Kumar S [Thu, 2 May 2013 10:44:47 +0000]
arm: tegra3: change max current to 10000mA for T33

6000mA is the max current for regular T30 SOCs. Conditionally changing
it to 10000mA for T33 SOCs to avoid passing the command line parameter
max_cpu_cur_ma=10000 explicitly.

Bug 1166110

Change-Id: I453c8e128a6cf32f10e0f6e4a577b857d38d8e4d
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/245335
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bryan Wu <pengw@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: fuse: add api for chip minor revision
Naveen Kumar S [Thu, 4 Jul 2013 16:10:06 +0000]
arm: tegra: fuse: add api for chip minor revision

Added function tegra_get_minor_rev() to return minor revision number
of the chip.

Bug 1166110

Change-Id: I087331433cabb35c05fa2ce0bd53013b6fb6624f
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/245330
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bryan Wu <pengw@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agomisc: ti-st: Fix compiler warnings
Philip Rakity [Tue, 9 Jul 2013 09:03:31 +0000]
misc: ti-st:  Fix compiler warnings

Change-Id: I7a97cad4d27ae9fceb5902bc18004eeb00102a84
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246582
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: Fix compiler warning.
Philip Rakity [Mon, 8 Jul 2013 11:19:10 +0000]
arm: Fix compiler warning.

use type the kernel.h expects.

Change-Id: Idd3e9d7813151c9e2b2d2c5db7988b4e1715597b
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246091
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agopower: sbs-battery: Shift work out of get_property function
Darbha Sriharsha [Tue, 16 Jul 2013 10:01:55 +0000]
power: sbs-battery: Shift work out of get_property function

The board is made to stay awake as long as the power_supply_changed
work thread is in execution. Hence, doing too much work in this thread
often hampers the board from entering LP0 state. Hence, shifting all
work to calculate battery parameters out of this thread and keeping
this thread minimal as to only assign the calculated values. The
calculations needed to obtain the values are not done in the
get_property function anymore.

Bug 1223793

Change-Id: I2595919c9dfd10b0f71136a25f1096a92bba5b3d
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/249641
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agostaging: iio: light: if no chip or shutdown return false
Philip Rakity [Mon, 15 Jul 2013 14:45:55 +0000]
staging: iio: light: if no chip or shutdown return false

isl29028_write_data()
isl29028_read_als_ir()
isl29028_read_proxim()

return a bool..

if chip and shutdown return false

Change-Id: Icc7ce8de9332c4c7cc6f97232443a2f0b4816197
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/249234
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: tegratab: Change GMI_CS4_N pinmux setting
Jinyoung Park [Tue, 11 Jun 2013 10:15:37 +0000]
ARM: tegra: tegratab: Change GMI_CS4_N pinmux setting

Changed GMI_CS4_N pinmux setting for MAX11936 touch power sequence.

Bug 1304090

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/243899
(cherry picked from commit 127b8836f2ebf591d9a585d58b2a6c82887dedc8)

Change-Id: I1d409b2bae54d3eedbb37db81b62626bfb94640d
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/249051
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years ago misc: Removed warnings from MAX1749 driver
Philip Rakity [Mon, 8 Jul 2013 18:54:28 +0000]
   misc: Removed warnings from MAX1749 driver

Change-Id: I416a44a7188d36f2b014b0905d77dd89d5489a44
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246211
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Eric Miao <emiao@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomfd: remove compiler warning possible uninitialzed vars
Philip Rakity [Mon, 8 Jul 2013 18:15:41 +0000]
mfd: remove compiler warning possible uninitialzed vars

warning is bogus but initializing variable has probably
no performance impact.

Change-Id: I27dcff816caef0f98e6f627dcbeb4789b59a0e39
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246193
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoHID: hid-sony: Fix compiler warning
Philip Rakity [Fri, 5 Jul 2013 20:06:29 +0000]
HID: hid-sony: Fix compiler warning

Declarations come before code in c.

Change-Id: If640e07616a8b422a0362192ba7fd97194662db8
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245586
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: Increase PMU max voltage for vdd_cpu to 1350
Chaitanya Bandi [Tue, 2 Jul 2013 08:21:35 +0000]
ARM: tegra: Increase PMU max voltage for vdd_cpu to 1350

Bug 1310622

Change-Id: I2d47023f46a0d6fb56731274b6312d89b51f1635
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/244224
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: macallan: Set VALRT.MIN to 3.5 of max17048.
Hayden Du [Fri, 7 Jun 2013 08:37:00 +0000]
arm: tegra: macallan: Set VALRT.MIN to 3.5 of max17048.

Use voltage low alert when vcell is under 3.5V.

bug 1289570

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

6 years agoARM: tegra11: update sysedp tables assuming max VDD_CORE
Timo Alho [Mon, 1 Jul 2013 10:17:41 +0000]
ARM: tegra11: update sysedp tables assuming max VDD_CORE

This patch updates pluto and macallan sysedp corecap tables assuming
that VDD_CORE voltage is always at maximum level.

Bug 1316937

Change-Id: Ia250dd0d48b0efe0273c1eac286e24de76bbb4a7
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/243854
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: tegratab: Doesn't enable LDO4 when boot-up
Jinyoung Park [Fri, 28 Jun 2013 15:00:22 +0000]
ARM: tegra: tegratab: Doesn't enable LDO4 when boot-up

Doesn't enable LDO4 when boot-up.

Bug 1315583

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/243900
(cherry picked from commit 60f2f530b32306fa60c52352e37d10fbfbd772ac)

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

6 years agoARM: tegra: dvfs: Prevent CL-DVFS map allocation overflow
Alex Frid [Sat, 13 Jul 2013 23:26:51 +0000]
ARM: tegra: dvfs: Prevent CL-DVFS map allocation overflow

Instead of generating BUG() when number of CL-DVFS output map entries
exceeds look up table size, store maximum voltage mapping, and abort
allocation when last available slot is reached.

Change-Id: Ibff18a82e4efa3729f3e0641473acb826429a8e5
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/248945
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>

6 years agoinput: misc: Fix unused compiler warning
Philip Rakity [Fri, 5 Jul 2013 12:09:41 +0000]
input: misc:  Fix unused compiler warning

use direct functions rather than read / write wrappers
removes compiler warning about unused code.

Change-Id: I95682dcd24ed2e27eed6022352d6829cd29e2317
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245374
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agoinput: Fix compiler warning message
Philip Rakity [Fri, 5 Jul 2013 10:48:23 +0000]
input: Fix compiler warning message

enabled sysfs attribute function needs const char *
not char * as argument.

Change-Id: I74204d64072b42af5c1ecfb3ac7a864780a7307c
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245349
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: dalmore: update T40S mem table for rev 4.2
Ray Poudrier [Thu, 20 Jun 2013 20:10:15 +0000]
ARM: tegra: dalmore: update T40S mem table for rev 4.2

Bug 1265159

Change-Id: Ie9b6744ca75ec5ef278fa78e473198ee9088784e
Signed-off-by: Ray Poudrier <rapoudrier@nvidia.com>
Reviewed-on: http://git-master/r/240715
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agocpuidle: menu: Fix compiler warning.
Philip Rakity [Wed, 10 Jul 2013 13:05:24 +0000]
cpuidle: menu: Fix compiler warning.

get_loadavg is defined.  not used.
google code has code commented out but
not the call.  comment out the call.

Change-Id: Ic4e39cad50d810ebac328cae2278b3e350bf43b3
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/247181
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agonet: mhi mhi_dgram Fix warning messages
Philip Rakity [Tue, 9 Jul 2013 09:33:39 +0000]
net: mhi  mhi_dgram  Fix warning messages

printk arguments not in correct order
___func__ is the char *

Change-Id: I7c39e64dcb20026ac015942380dbd523f198cd5e
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246607
Reviewed-by: WK Tsai <wtsai@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Miao <emiao@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agotime: alarmtimer: Fix compile warning
Philip Rakity [Mon, 8 Jul 2013 11:32:39 +0000]
time: alarmtimer: Fix compile warning

%ll is not legal format for printk - use %lld

Change-Id: Ie59783dfbd6558e2fe833c76b2ba96cd52bbac76
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246096
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years ago hwmon: INA219: Remove compile warnings
Philip Rakity [Mon, 8 Jul 2013 10:39:24 +0000]
 hwmon: INA219:  Remove compile warnings

Change-Id: Ibdafc853a1e52ad9573152d3feb8f6afae901c42
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246069
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agocpuquiet: Remove compiler warning on unused variable
Philip Rakity [Sat, 6 Jul 2013 11:04:41 +0000]
cpuquiet:  Remove compiler warning on unused variable

Change-Id: I41ddc91b81cf07ed71964d232da3c7e71e4dfdce
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245838
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoRevert "usb: xhci: tegra: save leakage power if SS link suspended"
Ajay Gupta [Thu, 11 Jul 2013 20:50:21 +0000]
Revert "usb: xhci: tegra: save leakage power if SS link suspended"

This reverts commit 5cf20ab3dc1c7b4ed5b0c52bbdb420415ead398b.

Change-Id: I9e455bf6d7cf4b3c7f58c67c249c58e561274174
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/248027
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoRevert "usb: xhci: tegra: set SNPS as owner to save power"
Ajay Gupta [Thu, 11 Jul 2013 20:50:03 +0000]
Revert "usb: xhci: tegra: set SNPS as owner to save power"

This reverts commit 18b7fd1a4deb8b77b589f03b5d4e1cb10645efac.

Change-Id: I93b0d78a125363dbfb973c7dd6f614d0ae478a4b
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/248026
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoRevert "usb: xhci: tegra: set SNPS owner only if no hs connected"
Ajay Gupta [Thu, 11 Jul 2013 20:49:53 +0000]
Revert "usb: xhci: tegra: set SNPS owner only if no hs connected"

This reverts commit deb1d0181e713cb8cb8bc3ad96a79b6799d9c2b4.

Change-Id: I90a638f659e7dccdab5442dd1372ed363cefb0b2
Signed-off-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-on: http://git-master/r/248025
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years ago asoc: codecs: rt5639_ioctl: Fix warning messages
Philip Rakity [Tue, 9 Jul 2013 10:34:15 +0000]
 asoc: codecs: rt5639_ioctl:  Fix warning messages

Change-Id: I87a039c3f662b8aa99b6fe8340c6769b03427fca
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246637
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agostaging: iio: light: fix compiler warning.
Philip Rakity [Mon, 8 Jul 2013 19:22:47 +0000]
staging: iio: light: fix compiler warning.

warning is bogus but since code is not performance
intensive just fix warning.

Change-Id: If492d49008fbabf9fb796dc1363980f7a8d6f396
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246223
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years agomedia: video: v4l Remove compile warning
Philip Rakity [Mon, 8 Jul 2013 13:23:25 +0000]
media: video: v4l Remove compile warning

Change-Id: Ie1059c00226e2f948151c82d1db3a79527c27aaf
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246133
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agokernel: trace: Remove compile warning.
Philip Rakity [Mon, 8 Jul 2013 11:40:13 +0000]
kernel: trace:  Remove compile warning.

warning is bogus but since code is not used frequently
just set ret to avoid warning.

Change-Id: Icd3b47f2e95982cea2019e93c5fc1c69c64852dd
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246102
Reviewed-by: Eric Miao <emiao@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agosound: soc: rt5639: Remove compile warnings.
Philip Rakity [Mon, 8 Jul 2013 10:04:59 +0000]
sound: soc: rt5639: Remove compile warnings.

delete unused code.
EXPORTED function that is deleted is not used and in
any case type defintion warning probably means it would
not work.

Change-Id: I8d71555e919f76ca0932e452edf384f7d18f2e35
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246051
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: tegratab: Set LDO5 to 2.8V
Jinyoung Park [Tue, 18 Jun 2013 07:53:35 +0000]
ARM: tegra: tegratab: Set LDO5 to 2.8V

Changed LDO5 from 2.7V to 2.8V for AVDD of Camera Sensor OV7695.

Bug 1297127

Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/239781
(cherry picked from commit bbdf247d3ba6e77759a40daa14d2d76ee1f7e8ad)

Change-Id: I6380c365ea920dbffa87783e8c2e42f3a7e95636
Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/239636
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoarm: tegra: tegratab: disable cmu in kernel side
Min-wuk Lee [Tue, 11 Jun 2013 11:42:36 +0000]
arm: tegra: tegratab: disable cmu in kernel side

Set cmu_enable to 0 in kernel side. Transition of color tone
in tegra dc probe is unpleasant to the eye. Rather than enabling
cmu in dc probe, framework will enable this sysfs node
when it begins.

Bug 1305726

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

6 years agousb: gadget: u_serial. Fix compile warning
Philip Rakity [Tue, 9 Jul 2013 09:44:00 +0000]
usb: gadget: u_serial. Fix compile warning

undef pr_vdebug first to avoid redefine warning

Change-Id: I4b70c339aa5db2a420b1152b3cfbe1bf563baea0
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246614
Reviewed-by: Eric Miao <emiao@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkata (Muni) Anda <vanda@nvidia.com>

6 years agovideo: tegra: dc: hdmi: remove dangling pointer
Jong Kim [Thu, 11 Jul 2013 22:43:30 +0000]
video: tegra: dc: hdmi: remove dangling pointer

Remove dangling pointer by removing kfree in tegra_dc_add_modes.
specs.modedb is allocated by tegra_dc_add_modes(), but is consumed
by tegra_fb_update_monspecs(), so releasing specs.modedb creates a
dangling pointer and make the system crashed, especially when the
system suspends to lp0.

bug 1264520

Change-Id: Ic944e75b631800ed552b7e56b5799a3e60b48afe
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/248089
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agotegra: media: video: imx135 reduce PLL for HDR res
Ming Wong [Thu, 23 May 2013 23:29:47 +0000]
tegra: media: video: imx135 reduce PLL for HDR res

reduce PLL settings for HDR resolutions for power optimization

Bug 1293554

Change-Id: Ic2e021eee6f335d329be6fec97270c871e981e5a
Signed-off-by: Ming Wong <miwong@nvidia.com>
Reviewed-on: http://git-master/r/248056
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Frank Chen <frankc@nvidia.com>
Tested-by: Bhushan Rayrikar <brayrikar@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoarm: tegra11: config: disable HDCP for L4T
Jong Kim [Tue, 9 Jul 2013 21:46:51 +0000]
arm: tegra11: config: disable HDCP for L4T

HDCP are not used/tested in L4T. It simply generates a lot of
meaningless i2c timeout messages and wastes CPU cycles. If needed,
individual users may recompile kernel with HDCP enabled.

bug 1264520

Change-Id: I9f23c6850a68c7db0613a737becc95607c7559e7
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/248090
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

6 years agoARM: fix warnings about atomic64_read
Russell King [Thu, 5 Jul 2012 12:06:32 +0000]
ARM: fix warnings about atomic64_read

Fix:
net/netfilter/xt_connbytes.c: In function 'connbytes_mt':
net/netfilter/xt_connbytes.c:43: warning: passing argument 1 of 'atomic64_read' discards qualifiers from pointer target type
...

by adding the missing const.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
(cherry picked from commit b89d607b590397c04b63d94a9e2fca9649917955)

Change-Id: Ief2e9a65be74a3ce74257249537b4ee00f0b64e7
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/247147
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years ago audio: a2220: remove compile warnings
Philip Rakity [Mon, 8 Jul 2013 19:06:20 +0000]
 audio: a2220: remove compile warnings

Change-Id: I8693c1a821b8c75836c1c908db80995c26bcf867
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246216
GVS: Gerrit_Virtual_Submit
Reviewed-by: Eric Miao <emiao@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agotlv320aic3xxx: Fix warning message on compiling kernel
Philip Rakity [Mon, 8 Jul 2013 18:02:41 +0000]
tlv320aic3xxx: Fix warning message on compiling kernel

Change-Id: Ic8ed6bd9ea344f9a18d14b9a0e2b9e37da37ceb2
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246185
Reviewed-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-by: Eric Miao <emiao@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoext4: remove compile warning on unused variable
Philip Rakity [Mon, 8 Jul 2013 12:14:09 +0000]
ext4: remove compile warning on unused variable

Change-Id: I5b2ed8f2c54f381ec36a2b9f7f54d9f37a4d36e0
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246116
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agogpio: max77663: Fix warning message
Philip Rakity [Sat, 6 Jul 2013 10:56:39 +0000]
gpio: max77663: Fix warning message

fake out -W option on unused return value
since we really don't care what gets returned.

Change-Id: I2886653c4b81e5c9039fe58e28be6143fa086b01
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245837
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agonet: phonet: Fix warning messages while compiling for rel-17
Philip Rakity [Thu, 4 Jul 2013 11:23:25 +0000]
net: phonet: Fix warning messages while compiling for rel-17

Change-Id: I413bd2f981702462efc31b92239ab4fa53dde48b
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245093
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agomac80211&nl80211: Fix SCAN_ABORT warning
Philip Rakity [Thu, 4 Jul 2013 11:08:07 +0000]
mac80211&nl80211: Fix SCAN_ABORT warning

SCAN_ABORT will produce a warning that it is not used in
the switch statements.  The code is handled by a
KConfig option.  Use that option in the include file.

Change-Id: I86f5aa2c305df49544ef4aa5e86622e2eedfab2a
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245083
Reviewed-by: Wei Ni <wni@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoRevert "video: tegra: Removing tegra_fb_set_par from tegra_fb_register"
pdabade [Wed, 10 Jul 2013 08:42:48 +0000]
Revert "video: tegra: Removing tegra_fb_set_par from tegra_fb_register"

Patch causing regression. Greenish corruption is seen during boot.
This reverts commit f6c60cef8e6707e06c5057a43ecf280902eb1cce.

Bug 1316650

Change-Id: Ib19863f5430044cc3f96ccd87134713cd64230fb
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/247718
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit

6 years agoarm: tegra: support HDMI as primary
Shridhar Rasal [Thu, 30 May 2013 13:10:15 +0000]
arm: tegra: support HDMI as primary

Bug 1280972

Change-Id: I5ef8c251d5340ba844de0746095884741987bf32
Signed-off-by: Michael I. Gold <gold@nvidia.com>
Reviewed-on: http://git-master/r/233514
(cherry picked from commit 0f87609cc4599bec06f8c69335507d15a6618a5a)
Reviewed-on: http://git-master/r/247489
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: tegratab: Remove duplicated definition
Yong Goo Yi [Thu, 27 Jun 2013 02:53:15 +0000]
arm: tegra: tegratab: Remove duplicated definition

Definitions for pinmux are already defined in pinmux-t11.h

Change-Id: I89722a61b01735500641f8c49b2f7497758a3a6a
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/242725
Reviewed-by: Simon Je <sje@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years ago arm: tegra: macallan: add gpio irq to detect ALRT of max17048
Venkat Reddy [Wed, 10 Jul 2013 05:05:00 +0000]
 arm: tegra: macallan: add gpio irq to detect ALRT of max17048

add gpio irq to detect voltage low alert when vcell is below 3.5v
bug 1304228

Change-Id: Ie9e8dc65b7278a344e2d99b04bbda536cd86bc64
Signed-off-by: Venkat Reddy <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/246986
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agobcmdhd: Add support for channel 165
bibhayr [Fri, 21 Jun 2013 07:40:36 +0000]
bcmdhd: Add support for channel 165

channel 165 is not the side band of 40MHz 5G channel

Bug 1298751

Change-Id: I9f29d11d30b1394ab097c82f97b177acd98149a2
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/240198
(cherry picked from commit 95e0bfd5949e8bcfb2513a06bd0467d94fe84a92)
Reviewed-on: http://git-master/r/243682
GVS: Gerrit_Virtual_Submit
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Tested-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonet: wireless: bcmdhd: mask excessive wifi chip interrupts
Michael Hsu [Tue, 4 Jun 2013 07:49:14 +0000]
net: wireless: bcmdhd: mask excessive wifi chip interrupts

On P2560 hardware only, wifi chip generates excessive wifi
activity interrupts:
- on first boot after flashing image

WAR is to mask this specific wifi activity interrupt to
prevent it from keeping application processor awake.

Bug 1299635

Change-Id: Idf0fdaf817621e3ae5e0f63864c488366dbbcaba
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/236011
(cherry picked from commit b62ddb11c0b68fc563dbb0f5f709268d1bb6c4ae)
Reviewed-on: http://git-master/r/237145
GVS: Gerrit_Virtual_Submit
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Tested-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonet: wireless: bcmdhd: new driver version 1.28.28.4
bibhayr [Fri, 31 May 2013 06:56:57 +0000]
net: wireless: bcmdhd: new driver version 1.28.28.4

- Changed to take module parameter "disable_proptx" to avoid
  recompilation for P2P certification test.
- Fixed driver to recover properly from hang event.
- Fixed error log generated by deauthorization on virtual interface.

Driver attached in the bug

Bug 1247033

Change-Id: Ib57a25d2d7209188d16e363582bf3be779654bea
Signed-off-by: bibhayr <bibhayr@nvidia.com>
Reviewed-on: http://git-master/r/234433
(cherry picked from commit a5129c77e8755748809aa7ed48c9c51c5b2028f7)
Reviewed-on: http://git-master/r/234525
GVS: Gerrit_Virtual_Submit
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
Tested-by: Narayan Reddy <narayanr@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agotegra: hdmi: add hdmi_audio capability exposure via sysfs
Emma Yan [Wed, 10 Apr 2013 08:10:27 +0000]
tegra: hdmi: add hdmi_audio capability exposure via sysfs

Add checking of the CEA extension bit 6 of byte #3 and expose this
information for userspace to set audio path properly.

Bug 1261178

Change-Id: Id2780f735da13c7292f269d7ddd9a87b3d09d0d6
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/218151
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agomisc: nct: nct1008 Fix warnings
Philip Rakity [Tue, 9 Jul 2013 09:18:53 +0000]
misc: nct: nct1008 Fix warnings

Bug 1323159

Change-Id: I30224f937b5bb9c6493e9fda84de5be5174d1fe7
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246600
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

6 years ago sound: soc: rt56xx: Fix compiler warning
Philip Rakity [Sat, 6 Jul 2013 18:08:10 +0000]
 sound: soc: rt56xx:  Fix compiler warning

missing #include <linux/module.h>

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

6 years agonet: mhi: Fix compiler warnings
Philip Rakity [Fri, 5 Jul 2013 10:08:51 +0000]
net: mhi:  Fix compiler warnings

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

6 years agonet:nfc Fix Warning
Philip Rakity [Fri, 5 Jul 2013 09:52:06 +0000]
net:nfc Fix Warning

u8 *nfc_llcp_general_bytes(struct nfc_dev *dev, size_t *general_bytes_len);
prototype did not match static inline.

static inline used u8* rather then size_t*.  Change static inline

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

6 years agovideo: tegra: support pixel format byte swap
Jon Mayo [Thu, 23 May 2013 02:25:19 +0000]
video: tegra: support pixel format byte swap

reserve upper bits of pixformat to indicate byte swizzle option.
reorder and increase field sizes of tegra_dc structure.

Change-Id: Ibd84dafcc478f6c8f51669f2db52270d5723961c
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/231901
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoarm:misc: Fix compiler warnings
Philip Rakity [Tue, 9 Jul 2013 08:42:51 +0000]
arm:misc:  Fix compiler warnings

Change-Id: I534763919f7282826e1c333ae6dc6b77cc552a00
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/246570
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoarm: tegra: soctherm: show temperature log in debug output
Diwakar Tundlam [Fri, 21 Jun 2013 20:02:31 +0000]
arm: tegra: soctherm: show temperature log in debug output

Added new debugfs node to show temperature log with one-line summary
of temperatures of various TSOSCs with time-stamp.

The TSOSCs temperatures order is CPU0, CPU1, CPU2, CPU3, GPU, PLLx.

Also temporarily resume soctherm if it was suspended for the duration
of the debugfs call. Useful for logging purposes.

Bug 1165644

Change-Id: I695b7f8ab15fe9f5dcd2bc38b26c87a1938b3efb
Reviewed-on: http://git-master/r/241145
(cherry picked from commit b538aa0a38894dad2fe83a9decbe3c4702471438)
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/246280
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: soctherm: fix heavy throttling on GPU zone
Diwakar Tundlam [Mon, 8 Jul 2013 19:38:06 +0000]
arm: tegra: soctherm: fix heavy throttling on GPU zone

Fixed initialization of GPU throttling config in board files

Bug 1169070

Change-Id: I43cc7edaa4adf5a3527ff16332b7755682fc5d74
Reviewed-on: http://git-master/r/239453
(cherry picked from commit 80605ae69b8f1f5a9a5b20e3a74384a18ab75f41)
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/246231
Reviewed-by: Automatic_Commit_Validation_User

6 years agoarm: tegra: soctherm: fix heavy throttling on GPU zone
Diwakar Tundlam [Thu, 23 May 2013 21:21:51 +0000]
arm: tegra: soctherm: fix heavy throttling on GPU zone

Fixed initialization of GPU throttling in level2 thermal control regs.

Bug 1169070

Change-Id: I121449b20fb987f61c6142e3783cd924f19a5bd6
Reviewed-on: http://git-master/r/232300
(cherry picked from commit 51383ec7f26659c758a2f0ddf119c491e47737ff)
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/246230
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoasoc: codec: spdif: Remove Compiler Warning
Philip Rakity [Fri, 5 Jul 2013 20:22:31 +0000]
asoc: codec: spdif: Remove Compiler Warning

use correct return type per struct
unsigned int -- not int

Change-Id: Ia7a95cba5c983011a3215939bdd0f4ee88fabaf2
Signed-off-by: Philip Rakity <prakity@nvidia.com>
Reviewed-on: http://git-master/r/245592
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

6 years agoinput: cfboost: Fix pm_qos_add_request for online cores
Xiaohui Tao [Thu, 27 Jun 2013 00:51:34 +0000]
input: cfboost: Fix pm_qos_add_request for online cores

cf_core is used to set how many cpu cores to be brought
online. The pm_qos_class is set to be the wrong value.
Change it from PM_QOS_CPU_FREQ_MIN to PM_QOS_MIN_ONLINE_CPUS.

Change-Id: I0905ef1afbc2bc3724367e6d6e69da3dcc566632
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/242644
(cherry picked from commit e69fa302132661c71154a8cc0ff92155cdd834f9)
Reviewed-on: http://git-master/r/244436
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Yogish Kulkarni <yogishk@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

6 years agoinput: misc: sensor drivers
Erik Lilliebjerg [Mon, 8 Jul 2013 12:55:56 +0000]
input: misc: sensor drivers

- reduce suspend time for compass and pressure
- fix MPU possible interrupt storm
- fix MPU sample frequency overrun
- fix MPU 9250 support for sw_rev > 2 HW
- add BMP280 support to BMP180 pressure driver
- optimize MPU FIFO timestamp algorithm
- add compass self-test
- add data interface

Bug 1313284
Bug 1311053
Bug 1295128
Bug 1256470
Bug 1236893

Change-Id: I4ffa906c07ed1d07ad3b89aea9eb83fb153b765d
Signed-off-by: Erik Lilliebjerg <elilliebjerg@nvidia.com>
Reviewed-on: http://git-master/r/246132
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Robert Collins <rcollins@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agovide: tegra: dc: Update latency allowance for disabled windows
Daniel Solomon [Wed, 26 Jun 2013 20:49:42 +0000]
vide: tegra: dc: Update latency allowance for disabled windows

Currently when a window is disabled (window bandwidth is 0),
latency allowance is not updated; this leads to inaccurate
latency allowance calculations. Fix this by updating latency
allowance when a window becomes disabled.

Bug 1314628

Change-Id: Ifa36b6ddfeef343f41a0831b97cd871741a0f6cc
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/242571
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agomedia:video:tegra delete msleep delay
Karl Kim [Fri, 28 Jun 2013 08:13:13 +0000]
media:video:tegra delete msleep delay

AD5823 open time is long due to msleep delay.
It is no need.

Bug 1315484

Change-Id: Ic0527f2868d4d2d6e11dfd7b40ade4cf0373c44c
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/243350
(cherry picked from commit fac48de13b3b9e43e13fcc6149f37d5c421415bb)
Reviewed-on: http://git-master/r/245957
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agomedia:video:tegra: adjusting ad5823 value for rev2
Karl Kim [Tue, 25 Jun 2013 02:21:26 +0000]
media:video:tegra: adjusting ad5823 value for rev2

settletime / POS_LOW / POS_HIGH value is adjusted by
result of ad5823 charaterization

Bug 1308712

Change-Id: I89c0471f3a49d15e54d0293c6a42f12f2d10edbb
Signed-off-by: Karl Kim <kkim@nvidia.com>
Reviewed-on: http://git-master/r/241635
(cherry picked from commit fabc0b3569d1ad2b21bb910ec074deb470ac617e)
Reviewed-on: http://git-master/r/245956
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

6 years agoARM: tegra11: update macallan sys EDP data
Sivaram Nair [Tue, 25 Jun 2013 09:31:50 +0000]
ARM: tegra11: update macallan sys EDP data

Updated battery cap and depletion data.

Bug 1306298

Change-Id: Ibad362a6ab5240bdffc0b7bef647468968d0ff0f
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/242329
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agoinput: touch: raydium: conditional wakelock calls
Naveen Kumar S [Mon, 1 Jul 2013 11:16:21 +0000]
input: touch: raydium: conditional wakelock calls

Tasks holding wakelocks in raydium driver intermittently obstruct
system from entering suspend state. Added conditional checks while
invoking wakelock functions so as to disable them if needed.

Bug 1314808

Change-Id: Ie71ea98661e56f2f50d406ee759b007ac877762a
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/243887
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agovideo: tegra: dc: rewrite bandwidth formula
Jon Mayo [Wed, 26 Jun 2013 20:54:47 +0000]
video: tegra: dc: rewrite bandwidth formula

Take vertical scaling into account when calculating
a window's bandwidth, if the window supports
filtering.

Change-Id: Ie0816706322699c3c48bdde31372928972412b74
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/242567
Reviewed-by: Daniel Solomon <daniels@nvidia.com>
Tested-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
GVS: Gerrit_Virtual_Submit

6 years agoRevert "power: sbs-battery: Clear ROSCL bit in data flash"
Darbha Sriharsha [Fri, 5 Jul 2013 09:12:32 +0000]
Revert "power: sbs-battery: Clear ROSCL bit in data flash"

This reverts commit 79f72ff689c872cc8850dc4c3eb7cdb477f838ae.
Reverting commit because sometimes, when an attempt to write the
data flash on the bq20z45 chipset fails, it triggers off a permanent
failure condition which leads to a fuse blowup and renders the
battery pack unusable. Reverting this commit until this issue is
resolved.

Bug 1237672

Change-Id: I697272e219ef3c20f7e1c68fe2392846e16bc929
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/245323
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agopower: sbs-battery: Remove poll time check in suspend function
Darbha Sriharsha [Wed, 3 Jul 2013 16:00:11 +0000]
power: sbs-battery: Remove poll time check in suspend function

Remove poll time check in suspend function. This check is
unnecessary because cancel_delayed_work_sync API already
takes care of the case where the work is already canceled
and only cancels it if it currently stands scheduled. Also,
the poll time check condition fails sometimes which stops
the scheduled work from being canceled, which can stop the
board from entering LP0 state.

Bug 1223793

Change-Id: Ibf5619f1f586ed5d488bfefe47cc14d750c6946e
Signed-off-by: Darbha Sriharsha <dsriharsha@nvidia.com>
Reviewed-on: http://git-master/r/244794
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

6 years agoARM: tegra: macallan: tegratab: Add EDP data
Harshavardhan Nalajala [Thu, 6 Jun 2013 06:46:06 +0000]
ARM: tegra: macallan: tegratab: Add EDP data

Add edp client information to enable wifi edp client
in macallan and tegratab.

bug 1299023

Change-Id: Ie4a6037a91eef339dd4a3d1417b2810d6bedbbf4
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/236167
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agopower: max17048: export OCV to sysfs
Sivaram Nair [Tue, 2 Jul 2013 09:50:53 +0000]
power: max17048: export OCV to sysfs

For allowing userspace to read out the OCV value.

Change-Id: I09a82ec24505905e3294d87c05886be49ea66342
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/244282
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agonet: wireless: bcmdhd: Set dpc rt thread priority to max
Mohan T [Wed, 3 Jul 2013 04:42:33 +0000]
net: wireless: bcmdhd: Set dpc rt thread priority to max

Dhd dpc rt thread is getting starved on CPU load scenarios.
NIC driver has to get the data in real time, So we need to
set dpc rt thread priority to max. RT thread with SCHED_FIFO
schedule policy priorities are in ascending order
(i.e. 1 is lowest priority, 99 is highest).

So setting the dhd_dpc_thread priority to 99 to avoid starvation.
- Set  CUSTOM_DPC_PRIO_SETTING to 99

Bug 1286848

Change-Id: I97f9cf2c6d12d78698ea74e401b788c7d33bc7f2
Signed-off-by: Mohan T <mohant@nvidia.com>
Reviewed-on: http://git-master/r/243347
Reviewed-by: Narayan Reddy <narayanr@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: Fix throttle_count malfunction
Hyungwoo Yang [Wed, 3 Jul 2013 01:49:45 +0000]
ARM: tegra: Fix throttle_count malfunction

Bug 1288550

Change-Id: I4baba118331d579d1522a63b26ffeef3027cd28e
Signed-off-by: Hyungwoo Yang <hyungwooy@nvidia.com>
Reviewed-on: http://git-master/r/244600
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

6 years agonet: wireless: wl12xx: Add wifi edp support
Harshavardhan Nalajala [Thu, 6 Jun 2013 06:51:16 +0000]
net: wireless: wl12xx: Add wifi edp support

Enable wl12xx edp support config and add edp support
structures to wl12xx_platform_data.

bug 1299023

Change-Id: Icbb63229eee521f61801beaee77d86295e1e5cc9
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/236169
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

6 years agoARM: tegra: config: Add EDP support config
Harshavardhan Nalajala [Thu, 6 Jun 2013 06:40:12 +0000]
ARM: tegra: config: Add EDP support config

Add edp support config for TI wifi module.

bug 1299023

Change-Id: I0b698264b767ebf5546309e80d7d14e203fe1e8a
Signed-off-by: Harshavardhan Nalajala <hnalajala@nvidia.com>
Reviewed-on: http://git-master/r/236160
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agomedia: video: tegra: correct gpio access
Bibek Basu [Tue, 2 Jul 2013 06:29:19 +0000]
media: video: tegra: correct gpio access

Read and write to gpios only when request for the gpio
has suceeded

Bug 1317541

Change-Id: Icfeed36b9e95f4ee03e49bee0cc8b3c2daf4a4a8
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/244190
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Frank Chen <frankc@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: dalmore: remove section mismatch gcc warning.
Jong Kim [Mon, 1 Jul 2013 20:53:06 +0000]
arm: tegra: dalmore: remove section mismatch gcc warning.

Remove section mismatch gcc warnings for dalmore.

bug 1264520

Change-Id: I880ec7d3846ece5f57881ee4f69281c9b91327b8
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/243978
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agoARM: tegra: dalmore: clear fb if bl fb not defined.
Jong Kim [Mon, 1 Jul 2013 20:40:32 +0000]
ARM: tegra: dalmore: clear fb if bl fb not defined.

Clear primary framebuffer if bootloader framebuffer is not defined.
(Some bootloader such as u-boot may not support LCD display and not
supporting LCD in bootloader is purely customer's choice and the
kernel display driver should survive such configuration).

bug 1301464
bug 1264520

Change-Id: Ia37f1f9db08166509bf02673268180f277286dc2
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/243977
Reviewed-by: Harshada Kale <hkale@nvidia.com>
Tested-by: Harshada Kale <hkale@nvidia.com>

6 years agovm: convert fb_mmap to vm_iomap_memory() helper
Linus Torvalds [Fri, 19 Apr 2013 16:57:35 +0000]
vm: convert fb_mmap to vm_iomap_memory() helper

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

6 years agovm: add vm_iomap_memory() helper function
Linus Torvalds [Tue, 16 Apr 2013 20:45:37 +0000]
vm: add vm_iomap_memory() helper function

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

6 years agotegra: hdmi: fix bug in tegra_hdmi_setup_audio_freq_source()
Haley Teng [Fri, 24 May 2013 12:28:11 +0000]
tegra: hdmi: fix bug in tegra_hdmi_setup_audio_freq_source()

Calling tegra_dc_io_start() is needed before calling
tegra_dc_hdmi_setup_audio() which access HDMI_NV_PDISP_AUDIO* registers

Change-Id: Ibec4e1d7c5d629c81a957d51f78c4fb5d2eada95
Signed-off-by: Haley Teng <hteng@nvidia.com>
Reviewed-on: http://git-master/r/243959
(cherry picked from commit 50bdad1e668fc830406ce3d95e5b71f8c6ef411e)
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/244438
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agovideo: tegra: fb: hdmi: enable new mode on HDMI
Jong Kim [Mon, 1 Jul 2013 21:19:54 +0000]
video: tegra: fb: hdmi: enable new mode on HDMI

Enable HDMI as primary framebuffer console by programming the HW when
new/best mode is detected.

bug 1264520

Change-Id: I8862d2860c97a1241d4acae8206c71de06ea0162
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/243981
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agovideo: tegra: dc: hdmi: remove dead lock
Jong Kim [Tue, 2 Jul 2013 23:15:09 +0000]
video: tegra: dc: hdmi: remove dead lock

Remove dead lock for HDMI used as the primary display.
tegra_dc_hdmi_detect should not acquire dc->lock, which generates
dead lock because its sub-procedure such as tegra_dc_set_mode(),
tegra_dc_enable(), tegra_dc_disable(), etc... try to acquire same
dc->lock withing same process context.

bug 1264520

Change-Id: I4d5f301a8f46e2ad2f990637b1f1c3b1d02a5054
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/243980
Reviewed-by: Jon Mayo <jmayo@nvidia.com>

6 years agoarm: tegra: dalmore: add default hdmi panel mode
Jong Kim [Mon, 1 Jul 2013 20:55:59 +0000]
arm: tegra: dalmore: add default hdmi panel mode

Add default 640x480 hdmi panel mode. This HDMI mode is just a dummy
for device probe to pass and finish dc/fb/fbcon registration. The
actual mode will be detected by detect worker and programmed to the
hw a little later during boot process.

bug 1264520

Change-Id: I79105b760499bb88aae3bc1a01172d31394d6300
Signed-off-by: Jong Kim <jongk@nvidia.com>
Reviewed-on: http://git-master/r/243979
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

6 years agoarm: tegra: tegratab: enable soc_therm OC Alarms
Yong Goo Yi [Thu, 27 Jun 2013 05:10:06 +0000]
arm: tegra: tegratab: enable soc_therm OC Alarms

Enable PMIC powergood(OC2) and Battery(OC4) OC Alarms
- provide base interrupt for soc_therm to support OC interrupt
- Set current threshold for Battery(OC4) to 4500mA
- Throttle only CPU for PMIC powergood(OC2)
- E1569-ERS only has PMIC powergood(OC4)

Bug 1302149

Change-Id: I68d7443a116a7fc529c93a9f0772526a0bae24a2
Signed-off-by: Yong Goo Yi <yyi@nvidia.com>
Reviewed-on: http://git-master/r/242726
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit