5 years agoarm: tegra: usb: disable USB hotplug through PHY
Rakesh Bodla [Thu, 8 Nov 2012 06:33:04 +0000]
arm: tegra: usb: disable USB hotplug through PHY

Disabling the USB hotplug detection mechanism
through phy interrupts. Now USB hotplug detection
will done through PMC.

Bug 1057339
Bug 1171244

Change-Id: If9d1931fd3fc0a8cd8a7985a56e9c89686e4fe87
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/162268
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agousb: host: tegra: USB hotplug detection using PMC
Rakesh Bodla [Thu, 8 Nov 2012 06:30:59 +0000]
usb: host: tegra: USB hotplug detection using PMC

Add logic for detection of USB hotplug using PMC.
Update the call backs appropriately.

Bug 1057339
Bug 1171244

Change-Id: I85a3db3484e74c41198df8d0da9cc05a98bb6f2c
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/162267
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoARM: tegra: pluto: Disable USB host on USB1
Rakesh Bodla [Tue, 6 Nov 2012 05:45:55 +0000]
ARM: tegra: pluto: Disable USB host on USB1

Disabling the USB host on USB1.

Bug 1050988

Change-Id: I674e11043f9e39fb19c7c0d64a85f50bea4defe3
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/161532
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra:usb_phy:program ID_PD bit conditionally
Rakesh Bodla [Tue, 6 Nov 2012 05:40:44 +0000]
ARM: tegra:usb_phy:program ID_PD bit conditionally

Enable ID_PD bit if host functionality is not needed
for power savings on AVDD_USB rail.

Bug 1050988

Change-Id: I2e33b0d0c5ea8f71ef207f4468468cdf132b6cf6
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/161531
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoarm: tegra: usb: USB hotplug detection using PMC
Rakesh Bodla [Thu, 8 Nov 2012 06:24:00 +0000]
arm: tegra: usb: USB hotplug detection using PMC

Add logic for detection of USB hotplug using PMC.

Bug 1057339
Bug 1171244

Change-Id: I0064fa95ce99ead0f16fe38de75db9ed107fc5c9
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/161275
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoasoc: tegra: cs42l73: VSP capture changes
Dara Ramesh [Tue, 20 Nov 2012 04:50:53 +0000]
asoc: tegra: cs42l73: VSP capture changes

a) VSPOUTL/VSPOUTR and VSPIN as a single power bit to control,
   disabling the playback path (VSPIN) causing VSPOUTL/VSPOUTR
   (capture path) disables.

   removed power management option with  VSP AIF Stream widgets,
   making the actual power controlled by a new VSPINOUT supply
   widget. That way the power will be enabled as required.

b) added ADC Left/Right in DAPM route table for Headset Mic.

c) enabled MIC2 bias when headset is detected.

d) removed static VSPIN DAPM stream widget from DAPM route table.

Change-Id: Ia1022e196ba6b44cae3299b03755d87d42007eca
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/164892
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: tegra11x: enable i-cache after power ungating
Bo Yan [Tue, 13 Nov 2012 19:19:51 +0000]
ARM: tegra11x: enable i-cache after power ungating

Change-Id: I05485b8076460af46ab4784d48cf5148696cce13
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/163294
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agomac80211&nl80211: support to abort a scan request on tx
Wei Ni [Fri, 2 Nov 2012 05:40:04 +0000]
mac80211&nl80211: support to abort a scan request on tx

mac80211 & nl80211: add support to abort a scan request on tx

The original issue is the chromium issue:
http://code.google.com/p/chromium-os/issues/detail?id=11485

This fix comes from:
https://gerrit.chromium.org/gerrit/#change,5744
https://gerrit.chromium.org/gerrit/#change,5745

Since this change is for ChromeOs and will affect Android P2P function,
so we add config option MAC80211_SCAN_ABORT for it.

Bug 1051830

Change-Id: I77504f4d279f3f3d99b5e5f9d734480888d62193
Signed-off-by: Wei Ni <wni@nvidia.com>
Reviewed-on: http://git-master/r/160777
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rhyland Klein <rklein@nvidia.com>
Reviewed-by: Bibhay Ranjan <bibhayr@nvidia.com>
Tested-by: Bibhay Ranjan <bibhayr@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agomisc: tegra-cryptodev: Enhancement to support RSA
Mallikarjun Kasoju [Fri, 9 Nov 2012 13:19:15 +0000]
misc: tegra-cryptodev: Enhancement to support RSA

Enchancement to support user space RSA algorithm

Bug 1033173

Change-Id: Icb6d456bea6c934a8365b5dff8210407fb5c8522
Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com>
Reviewed-on: http://git-master/r/162684
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

5 years agoARM: tegra: usb_phy: Tracking circuit power down
srinivas thaduvai [Fri, 9 Nov 2012 11:27:13 +0000]
ARM: tegra: usb_phy: Tracking circuit power down

LP0-RemoteWakeup failing with the current PD_TRK sequencee
due to PD_TX glitch issue.

PD_TRK sequence implemented after UHSIC_RESET disable to fix
this issues.

Bug 1037962
Bug 1173752

Change-Id: Icc475cd99e789bef25437b2cb994be935b6a2dce
Signed-off-by: srinivas thaduvai <sthaduvai@nvidia.com>
Reviewed-on: http://git-master/r/162664
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agodrivers: net: Auto select MHI_NETDEV based on MHI.
Raj Jayaraman [Fri, 16 Nov 2012 22:59:09 +0000]
drivers: net: Auto select MHI_NETDEV based on MHI.

Bug 1054808

Change-Id: I2cc87b0d633052fbcfd7bf02c2575c10e64930ac
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/164439
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agoarm: tegra: pluto: Handle modem power gpio difference on Varuna.
Raj Jayaraman [Fri, 16 Nov 2012 22:55:24 +0000]
arm: tegra: pluto: Handle modem power gpio difference on Varuna.

Bug 1054808

Change-Id: I681abd4b37350b5139739ab116e52fd702286753
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/164438
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: cpuquiet: Fix compiler warnings
Peter Boonstoppel [Fri, 16 Nov 2012 19:01:51 +0000]
ARM: tegra: cpuquiet: Fix compiler warnings

Bug 1055406

Change-Id: I5033cc19e170d932c3697821a0f3273957789995
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/164384
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>

5 years agoarm: tegra: usb: make ehci-hcd as loadable module
Petlozu Pravareshwar [Fri, 16 Nov 2012 14:44:14 +0000]
arm: tegra: usb:  make ehci-hcd as loadable module

exporting the symbol for the proper behaviour
while inserting the ehci-hcd module.

Bug 1022439

Change-Id: Ie3b49e59b46581882475fa5304fb3b8800b0f78a
Signed-off-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Reviewed-on: http://git-master/r/164342
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoiommu: Add GCOV_PROFILE
Hiroshi Doyu [Fri, 16 Nov 2012 06:39:43 +0000]
iommu: Add GCOV_PROFILE

Include iommu in GCOV profiling when enabled by defconfig.

Change-Id: I5b3f11ac477971a6452277c9a96c49ff98e2c247
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/164284
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra11x: Fix race condition in cpu hot plug
Bo Yan [Thu, 15 Nov 2012 22:07:17 +0000]
ARM: tegra11x: Fix race condition in cpu hot plug

The secondary CPU power up can happen so fast that it enters power
gating even before the CPU that's trying to bring it up gets a
chance to check status in PMC register. This can happen because
interrupt and preemption are not disabled, so the primary CPU can
switch to do something else, when it comes back to check PMC status,
it's already too late. When this happens, it will simply declare a
timeout failure, though the secondary power up is actually successful.

The fix is to check online status as well, because the CPU that's
coming up will set online flag before entering idle loop.

Another enhancement is to skip the status check altogether if this
is not the first boot up after cold boot or warm boot. The
synchronisation done in __cpu_up is more adequate.

For the first boot after cold boot or warm boot, set the timeout
back to 100ms.

Bug 1169512

Change-Id: Ie4b873d853c40207c7b1bc1acf0982a7bf0ecd9f
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/164065
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>

5 years agoarm: tegra: remove comms configuration based on commchip_id
Nagarjuna Kristam [Wed, 31 Oct 2012 12:43:10 +0000]
arm: tegra: remove comms configuration based on commchip_id

comms chip is auto detected and configurations are loaded correspondigly.
so remove commchip_id dependency to perform BT/Wifi configurations.

Bug 1167337

Change-Id: I4ae4df126d0ec00bf6fa1f3c8753149808a0b751
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/163937
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: pluto: use native remote wake for onboard i500
Neil Patel [Mon, 12 Nov 2012 20:50:08 +0000]
arm: tegra: pluto: use native remote wake for onboard i500

Bug 1174774

Change-Id: I673e6f74759ca0af918f671a67a4c2998677c1bd
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/163088
Reviewed-by: Steve Lin <stlin@nvidia.com>
Tested-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

5 years agoArm: tegra: correct idle_top_freq description
Puneet Saxena [Fri, 9 Nov 2012 10:16:45 +0000]
Arm: tegra: correct idle_top_freq description

idle_top_freq: Shadow cluster max frequency

Change-Id: I9359f31e73cb9f3ac9a9360322f0322d36b6309c
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/162650
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: dvfs: Recompute EDP tables after dfll mode changes
Diwakar Tundlam [Tue, 6 Nov 2012 21:19:25 +0000]
ARM: tegra: dvfs: Recompute EDP tables after dfll mode changes

Also recompute on clock-late-init for EDP table with correct dfll mode

Bug 1167145

Change-Id: Icff6c1c4b8fb7d861951abb0b4b6edbfeec32dba
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/161773
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: Tegra: Dalmore: Added gpiokeys for 1001 Dalmores
Graziano Misuraca [Tue, 16 Oct 2012 21:26:46 +0000]
ARM: Tegra: Dalmore: Added gpiokeys for 1001 Dalmores

1001 SKU Dalmores don't use a kb matrix and instead
use the gpio pins for Volume +/-. Reading sku in init
and configuring kbc/gpio-keys appropriately.

Bug 1155134

Change-Id: Ie40f078d58527fc088da2bca04b44d96e53bf27a
Signed-off-by: Graziano Misuraca <gmisuraca@nvidia.com>
Reviewed-on: http://git-master/r/143336
(cherry picked from commit 320ac6307e2b1781afa0c67668eb926354f2cddb)
Reviewed-on: http://git-master/r/161326
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agovideo: tegra: dc: Powergate DISA & DISB.
Kevin Huang [Sat, 10 Nov 2012 01:57:35 +0000]
video: tegra: dc: Powergate DISA & DISB.

DISA & DISB are new power partitions on t11x. Powergate them when
it's not connected.

Bug 1059497
Bug 1059488

Change-Id: Ib64ebc767ac376d24690e70350509b253e5e96fa
Signed-off-by: Kevin Huang <kevinh@nvidia.com>
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/159177
Reviewed-by: Automatic_Commit_Validation_User

5 years agoARM: tegra: configs: add UHID support and add HID devices
Nagarjuna Kristam [Thu, 8 Nov 2012 05:32:01 +0000]
ARM: tegra: configs: add UHID support and add HID devices

Add UHID support. This is needed to enable BT-HID

Enable device drivers for a variety of USB/Bluetooth keyboards, mics,
joysticks, tablets, etc.

Bug 1164945

Change-Id: I2a7dd6297d931715db6b8a483abae07016433f7e
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/161199
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra: dalmore: fix orientation vector
Xiaohui Tao [Tue, 6 Nov 2012 18:46:01 +0000]
ARM: tegra: dalmore: fix orientation vector

Change of gyro orientation vector to fix the orientation issue
with dalmore.

Bug 1169860

Change-Id: I652518273d6bf04bc44e992a1c71783c6b0e4f00
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/161737
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: pluto/dalmore: Add power reg support
Robert Collins [Thu, 4 Oct 2012 23:43:15 +0000]
arm: tegra: pluto/dalmore: Add power reg support

Bug 1166741

Change-Id: I68e871c8c0803d4360e8e57baca6b28bb0e5786b
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/160378
(cherry picked from commit dc9447c58b513630417caaa1b7ecd84e22a8d086)
Reviewed-on: http://git-master/r/159636
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: pluto: Enable sensors for pluto.
Robert Collins [Fri, 12 Oct 2012 22:13:18 +0000]
arm: tegra: pluto:  Enable sensors for pluto.

Bug 1166741

Change-Id: Ib7983ef920a2a466b3f4643a8b4a92d4fc8a85de
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/160377
(cherry picked from commit eebef58c9caddd6dab7eea0471a3eeb02d016435)
Reviewed-on: http://git-master/r/144177
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: edp: Edp as single active cooling dev
Joshua Primero [Wed, 24 Oct 2012 21:25:10 +0000]
ARM: tegra: edp: Edp as single active cooling dev

With the new Linux Thermal API we can implement EDP thermals
as a single active cooling device instead of the multiple
cooling devices we had before which was messy.

bug 1059470

Change-Id: Iecc338a5ae7749d19017d7b30229017c35f76f1c
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/159981
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agodrivers: misc: nct: Expose active dev interface
Joshua Primero [Wed, 24 Oct 2012 21:18:31 +0000]
drivers: misc: nct: Expose active dev interface

Exposed the new active cooling device interface from new
Linux Thermal Framework API in the nct1008 driver.

bug 1059470

Change-Id: I34417984aa846499aef636d1391f88313e333cb4
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/159980
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoaudio: a2220: updated audience driver
Dara Ramesh [Thu, 15 Nov 2012 06:37:05 +0000]
audio: a2220: updated audience driver

a) disabled extern3 clock after loading the firmware.
b) default set to slave mode configuration.
   (PORTA -> PORTC in pass through)
c) added new firmware for bypass mode.
d) moved the firmware tables into a2220_fw.h file.
e) remove redundant code and do the cleanup.

Bug 1175011

Change-Id: I6974fc8675fd54f9bb0fd1fe74294da84e10618f
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/163878
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoARM: Tegra: Tegra specific traces to own module
Antti P Miettinen [Wed, 14 Nov 2012 13:19:28 +0000]
ARM: Tegra: Tegra specific traces to own module

Use a separate module for Tegra specific power trace events.

Change-Id: I2bf4b0677677d46e68e1fc32faa6c8fb6e56c385
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/163582
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra11: dalmore: Add pdata for SMP457 regulator
Alex Frid [Fri, 9 Nov 2012 20:36:22 +0000]
ARM: tegra11: dalmore: Add pdata for SMP457 regulator

Change-Id: Id91cc0234bcb14fa3594a918e236c4f8f4402ff7
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/163201
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: configs: cleanup tegra3 and tegra11 android defconfig
Nagarjuna Kristam [Mon, 12 Nov 2012 05:52:20 +0000]
ARM: tegra: configs: cleanup tegra3 and tegra11 android defconfig

Change-Id: I75eb0a91f696f51fa0435f6e459782daf78461c4
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/162950
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agodrivers: misc: nct: Simple trend function
Joshua Primero [Sat, 10 Nov 2012 00:49:20 +0000]
drivers: misc: nct: Simple trend function

Implemented a simple trend function for nct driver.

bug 1059470

Change-Id: I64668858ed1cb50c1d18395deedb7821c21c2aab
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/162816
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra11: pluto: Update EMC clock scaling table
Alex Frid [Thu, 8 Nov 2012 01:45:17 +0000]
ARM: tegra11: pluto: Update EMC clock scaling table

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

5 years agoARM: tegra11: dalmore: Update EMC clock scaling table
Alex Frid [Thu, 8 Nov 2012 01:59:31 +0000]
ARM: tegra11: dalmore: Update EMC clock scaling table

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

5 years agomedia: video: tegra: remove hardcoded MCLK value
Frank Chen [Wed, 7 Nov 2012 01:15:42 +0000]
media: video: tegra: remove hardcoded MCLK value

Remove hardcoded 24MHz MCLK setting. It is only
used for t114 bringup and is no longer needed.

Bug 1171825

Change-Id: I68a3ae65b987c6960b34158f01413ff666e94cdc
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/161825
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Wei Chen <wechen@nvidia.com>
Reviewed-by: Charlie Huang <chahuang@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

5 years agoARM: tegra11: clock: Only check netlist on FPGA
Jeff Smith [Fri, 3 Aug 2012 22:09:07 +0000]
ARM: tegra11: clock: Only check netlist on FPGA

Let this code path run through on simulation, and avoid
illegal netlist query on simulation.

Change-Id: I0500e5c599001a63a9ae0cdc575556adb72d2436
Signed-off-by: Jeff Smith <jsmith@nvidia.com>
Reviewed-on: http://git-master/r/161286
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: Dalmore: define 1v8 touch regulator
Wen Yi [Fri, 2 Nov 2012 22:32:22 +0000]
ARM: tegra: Dalmore: define 1v8 touch regulator

Add GPIO "TEGRA_GPIO_PH5" as a fixed regulator between FET4
regulator and TS controller to save power.

Bug 1066926

Change-Id: I8dad53f6cb3d5a30600339f947c08c154cc4c887
Signed-off-by: Wen Yi <wyi@nvidia.com>
Reviewed-on: http://git-master/r/161006
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: mcerr: Disable ARBITRATION_EMEM config option
Alex Waterman [Fri, 2 Nov 2012 19:45:19 +0000]
arm: tegra: mcerr: Disable ARBITRATION_EMEM config option

Add a configuration option that allows for the MC interrupt
handler to mask out the ARBITRATION_EMEM interrupt. For production
builds the interrupt is useless and will hurt performance when
it is needed most.

BUG 1158308

Change-Id: Id356eef173f2521357063469d837e7b7443f1ab0
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/160967
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

5 years agoinput: misc: Invensense: Correct power regulator support
Xiaohui Tao [Tue, 30 Oct 2012 23:05:58 +0000]
input: misc: Invensense:  Correct power regulator support

Use devm_regulator_get/put instead of regulator_get/put

Change-Id: I838b7f731591b14307b08b9478c75bf34e48c738
Signed-off-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-on: http://git-master/r/160022
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: David Jung <djung@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoarm: tegra: dalmore: correct arguments for comms regulator_get api calls
Nagarjuna Kristam [Fri, 26 Oct 2012 08:27:28 +0000]
arm: tegra: dalmore: correct arguments for comms regulator_get api calls

Bug 1158679

Change-Id: If398bb4f3737efd78fb771d4535e08b3ad46341d
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/147880
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agonet: usb: raw-ip: increment number of rx buffers
Vinayak Pane [Fri, 21 Sep 2012 23:33:16 +0000]
net: usb: raw-ip: increment number of rx buffers

Increasing number of rx URBs for raw-ip interface.
This should optimize the underlying USB interface as
more URBs can be used for receiving packets via raw-ip.

Change-Id: I2427996ffbafb20e19b733775d576086a7df1ddc
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/134867
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agoARM: tegra: refactor cpuquiet driver
Peter De Schrijver [Wed, 19 Sep 2012 15:21:17 +0000]
ARM: tegra: refactor cpuquiet driver

Refactor the cpuquiet driver to use 1 workqueue which handles the
clusterswitch and cpu online/offline operations.

Functional changes compared to the previous driver:

+ changing no_lp also triggers a clusterswitch if the current cluster is the
  LP cluster.

+ removing all QoS constraints will return to the configuration as defined by
  the governor.

+ the minimum CPUs online QoS constraint will always prevail above the maximum
  CPUs online constraint. If both constraints are set, the maximum CPUs online
  constraint will be clamped to the minimum constraint.

bug 1047545
bug 1055406

Change-Id: Ib52de2578254c282f23f972484a6532d24fdc0e9
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/134391
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra11: dvfs: Force nominal voltage with no EMC DFS
Alex Frid [Wed, 14 Nov 2012 05:05:46 +0000]
ARM: tegra11: dvfs: Force nominal voltage with no EMC DFS

Made sure core voltage is pegged at nominal level when there is no
EMC DFS table provided.

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

5 years agoarm: tegra11: rename tegra110.dtsi to tegra11x.dtsi
Pritesh Raithatha [Wed, 7 Nov 2012 13:51:48 +0000]
arm: tegra11: rename tegra110.dtsi to tegra11x.dtsi

Change-Id: I892747cd8c644f68e84c35b4d9fef60dd91ec5cc
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/162044
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: pluto: correct machine name check
Nagarjuna Kristam [Fri, 2 Nov 2012 11:24:04 +0000]
arm: tegra: pluto: correct machine name check

For pluto board machine name is tegra_pluto

bug 1167337

Change-Id: Icb9e36aca0ad60b513f00227bbe33230295d09fc
Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com>
Reviewed-on: http://git-master/r/160867
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agodrivers: nct: fix register error handling
Diwakar Tundlam [Wed, 14 Nov 2012 00:18:01 +0000]
drivers: nct: fix register error handling

bug 1059470

Change-Id: I3fa996c9933c41850bf00244a51979733b14d1b1
Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-on: http://git-master/r/163363
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Joshua Primero <jprimero@nvidia.com>
Tested-by: Joshua Primero <jprimero@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years ago[CPUFREQ]conservative: fix overflow of freq
Hunk Lin [Mon, 12 Nov 2012 10:34:50 +0000]
[CPUFREQ]conservative: fix overflow of freq

freq_target may be bigger than requested_freq but they are unsigned,
add judgement condition to fix it.

Bug 1172636

Change-Id: Ib15bbac93c34c9a0428dcfd0be5dff24493124bb
Signed-off-by: Hunk Lin <hulin@nvidia.com>
Reviewed-on: http://git-master/r/162999
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aly Hirani <ahirani@nvidia.com>
Tested-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-by: Satya Popuri <spopuri@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agogcov-kernel: Make gcov work on vanilla gcc again.
Tuomas Tynkkynen [Fri, 9 Nov 2012 16:20:44 +0000]
gcov-kernel: Make gcov work on vanilla gcc again.

Commit "gcov-kernel: patch for Android toolchain 4.4.x support" broke
support for gcov on vanilla gcc. Introduce #ifdefs to make it work on
both of them.

Since the gcov ABI for Android gcc is different, the build system
must set CONFIG_GCOV_TOOLCHAIN_IS_ANDROID when compiling with an
Android toolchain.

Also remove a few magic numbers from the original gcov code and fix a
unused function warning.

Bug 1155439

Change-Id: I7c18938e5503df4ee1c3f8de2b6f5a99ceef7f71
Signed-off-by: Tuomas Tynkkynen <ttynkkynen@nvidia.com>
Reviewed-on: http://git-master/r/162711
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

5 years agoARM: tegra: pm: adding timestamp to suspend trace
Sivaram Nair [Fri, 26 Oct 2012 08:35:02 +0000]
ARM: tegra: pm: adding timestamp to suspend trace

Tegra RTC counter value is added to the suspend trace calls so that
wakeup latency can be measured.

Change-Id: Ibe97b50d89a843c6caffc02587f398ff5d2936a6
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162302
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: pluto: fix battery EDP manager cap
Sivaram Nair [Wed, 31 Oct 2012 12:20:30 +0000]
arm: tegra: pluto: fix battery EDP manager cap

The battery CAP is changed to reflect recent data.

Change-Id: I987ac736171cb261e9ad73abbe20c6f572ee2b58
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/160195
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agopower: max17042: fix build warnings
Sivaram Nair [Wed, 31 Oct 2012 08:58:14 +0000]
power: max17042: fix build warnings

Removed an unused variable and used schedule_delayed_work instead of
schedule_work.

Change-Id: I2311e5e30ed6cd03c3832b5c80f1520aedff8696
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/160194
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agopm: EDP: added check on callback pointer
Sivaram Nair [Tue, 30 Oct 2012 14:58:20 +0000]
pm: EDP: added check on callback pointer

Throttle callback is made mandatory for all clients that support
negative E-states.

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

5 years agopm: EDP: updated documentation
Sivaram Nair [Tue, 30 Oct 2012 14:51:39 +0000]
pm: EDP: updated documentation

Updated the EDP documentation to add more info about callbacks.

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

5 years agoARM: tegra: pcie: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 07:08:53 +0000]
ARM: tegra: pcie: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: Id6e3c218a567f2f802da3aa434d04ff2a2579a23
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/146790
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: board: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 07:01:59 +0000]
ARM: tegra: board: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
tegra_clk_prepare_enable and tegra_clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug ID: 920915

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

5 years agoARM: tegra3: emc: moving to clk prepare APIs
Sivaram Nair [Tue, 23 Oct 2012 06:45:39 +0000]
ARM: tegra3: emc: moving to clk prepare APIs

The clk_enable/clk_disable pair of APIs are replaced with
clk_prepare_enable and clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

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

5 years agousb: gadget: phonet: Add Phonet over ACM for RMC
BH Hsieh [Thu, 1 Nov 2012 10:21:57 +0000]
usb: gadget: phonet: Add Phonet over ACM for RMC

* As submitted by RMC for modem support *

Add Phonet over ACM support for RMC PegaPCI

Bug 1066582
Bug 1167013

Change-Id: Id7883e30767d47200a1ed8ccb4e79f01a30c7a06
Signed-off-by: BH Hsieh <bhsieh@nvidia.com>
Reviewed-on: http://git-master/r/160149
(cherry picked from commit 17ad36b016454666bf3c81036fe3d4e6987be591)
Reviewed-on: http://git-master/r/162772
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agoARM: Tegra: Dalmore: Fix E1582 Panel Support
Matt Wagner [Mon, 12 Nov 2012 23:48:04 +0000]
ARM: Tegra: Dalmore: Fix E1582 Panel Support

Add back E1582 panel support on Dalmore

Bug 1175267

Change-Id: I7b4c93c5a5817179d9fca3d6f1ce0f6a94364f82
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/163134
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoarm: tegra: include NvDPS idle mode for Sharp 1080p
Mitch Luban [Fri, 9 Nov 2012 01:25:10 +0000]
arm: tegra: include NvDPS idle mode for Sharp 1080p

This change adds 53Hz mode for 1080p panel. This allows
the panel to refresh at a lower refresh rate when 60Hz is
not needed.

Change-Id: I15dfd117ca5e29c82c0ccf4f451b7e8aea9647e5
Signed-off-by: Mitch Luban <mluban@nvidia.com>
Reviewed-on: http://git-master/r/162530
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: Tegra: Roth: Update HDMI Configuration
Matt Wagner [Fri, 9 Nov 2012 00:11:26 +0000]
ARM: Tegra: Roth: Update HDMI Configuration

Set up HDMI for Roth and update regulator settings
to the new version.

Bug 1173012

Change-Id: I5bb9ada15a0a5ca901fbfd5ab3bd19fb2138629e
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/162507
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra: soctherm: THERM_A/B based on fuses
Joshua Primero [Sat, 20 Oct 2012 19:50:58 +0000]
ARM: tegra: soctherm: THERM_A/B based on fuses

Read fuses to acquire THERM_A and THERM_B.

bug 1169070

Change-Id: I4a6fbb3ffee7f06f2cf69c9258d332301f689461
Signed-off-by: Joshua Primero <jprimero@nvidia.com>
Reviewed-on: http://git-master/r/162488
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: baseband: enable autosuspend for i500 5AN
Neil Patel [Thu, 8 Nov 2012 20:14:52 +0000]
arm: tegra: baseband: enable autosuspend for i500 5AN

Bug 1173255

Change-Id: I3dabd85573bd329b5659f44c803f9e9e3abf1552
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/162463
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agoasoc: tegra: cs42l73: updated driver from cirrus
Dara Ramesh [Thu, 8 Nov 2012 06:19:32 +0000]
asoc: tegra: cs42l73: updated driver from cirrus

updated version of the driver v0.1 thats adds the
proper power down method.

Bug 1053365
Bug 1161544

Change-Id: Ia3f4f2827d3ef2330a927cb5140bb9954a852654
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/162265
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Tested-by: Vijay Mali <vmali@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>

5 years agoarm: tegra: Fix Dalmore and Pluto build for some panels
Aly Hirani [Mon, 12 Nov 2012 20:42:17 +0000]
arm: tegra: Fix Dalmore and Pluto build for some panels

ifdef out variables specific to some panels. Fixes Auo/Sharp panel
build for Dalmore and JDI/Sharp panel for Pluto

Change-Id: I3080c3be93c31ce1c9321e8dd9bcb9454d4425ba
Signed-off-by: Aly Hirani <ahirani@nvidia.com>
Reviewed-on: http://git-master/r/163084
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoasoc: tegra: rt5640: fix the machine bias standby
Dara Ramesh [Mon, 12 Nov 2012 09:32:48 +0000]
asoc: tegra: rt5640: fix the machine bias standby

Before tegra_rt5640_init function get called
DAPM machine bias level set to off and again resetting
in _init function to standby causing the extern1 clock
always on.

bug 1054060

Change-Id: Id3b82bf85e45409302b0d288ca51120220514492
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/162986
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Vijay Mali <vmali@nvidia.com>

5 years agoARM: tegra11x: increase wait time for core power up
Sang-Hun Lee [Fri, 9 Nov 2012 01:12:11 +0000]
ARM: tegra11x: increase wait time for core power up

tegra11x is taking 2 seconds for core power up currently

Increase the wait time to avoid a failure

Bug 1169512

Change-Id: Ie5b2c35bc846ece47920f99be3b369b9ede73e0f
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/162527
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoARM: tegra: make wait time proportional to HZ
Sang-Hun Lee [Thu, 8 Nov 2012 21:33:02 +0000]
ARM: tegra: make wait time proportional to HZ

The current implementation waits a constant number of jiffies,
which would give the system less time for a core boot up if we
increase HZ

Bug 1169512

Change-Id: I789feaa7c3d528b99d2d1b9163bd5394957c626e
Signed-off-by: Sang-Hun Lee <sanlee@nvidia.com>
Reviewed-on: http://git-master/r/162480
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Matthew Longnecker <mlongnecker@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>

5 years agoASoC: Tegra: Correct tx and add missing rx names
Ravindra Lokhande [Thu, 8 Nov 2012 09:38:48 +0000]
ASoC: Tegra: Correct tx and add missing rx names

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

5 years agoARM: tegra: pm: moving to clk prepapre APIs
Sivaram Nair [Thu, 1 Nov 2012 09:10:24 +0000]
ARM: tegra: pm: moving to clk prepapre APIs

The clk_enable/clk_disable pair of APIs are replaced with
tegra_clk_prepare_enable and tegra_clk_disable_unprepare.

This is needed for the migration to common clk framework.

Bug 920915

Change-Id: Ie5e86f391ef5157d35e02109770db38ad96950af
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/162321
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra11: clock: Update PLLC2/C3 settings
Alex Frid [Thu, 8 Nov 2012 05:20:20 +0000]
ARM: tegra11: clock: Update PLLC2/C3 settings

Bug 1057353

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

5 years agoARM: tegra11: clock: Add shared bus override users
Alex Frid [Tue, 6 Nov 2012 07:21:34 +0000]
ARM: tegra11: clock: Add shared bus override users

Added shared bus override users to allow testing of shared bus
mechanisms.

Change-Id: Ifc74a8c43158122106648a7a034e386dec2fcef3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/161886
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Kaz Fukuoka <kfukuoka@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

5 years agoARM: tegra: dalmore: keep always on for smps9
Naveen Kumar Arepalli [Tue, 6 Nov 2012 08:01:42 +0000]
ARM: tegra: dalmore: keep always on for smps9

VDD_CORE_2V85_EMMC  will be off in LP0, but VDD_1V8_EMMC cannot
be turned OFF. keeping VDD_CORE_2V85_EMMC ON which avoids leackages
from VDD_1V8_EMMC. Setting smps9 to always-ON fixes the issue.

Bug 1165470

Change-Id: I9216a54ee40a45ce73315b74d6724f39f60a6d8c
Signed-off-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/161560
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: dalmore: enable tps65090
Syed Rafiuddin [Tue, 6 Nov 2012 14:03:02 +0000]
arm: tegra: dalmore: enable tps65090

enable tps65090 charger driver

Change-Id: I1ab745f9260af34eed9cfdcd505d2b90e6003793
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/161650
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: tegra: Remove reduntant headers for platform data
Rahul Mittal [Tue, 6 Nov 2012 13:25:07 +0000]
arm: tegra: Remove reduntant headers for platform data

Remove reduntant header files
Correct platform data

Change-Id: I9a70b79031b5ba47ab87e50d94934e936749c4d7
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/161639
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoArm: kernel: remove printk for improving hotplug latency
Puneet Saxena [Wed, 7 Nov 2012 06:32:44 +0000]
Arm: kernel: remove printk for improving hotplug latency

It removes verbose prints for improving hotplug
latency.

bug 1040355

Change-Id: I646c6aba8133dc451a9b217174ccf810256ff101
Signed-off-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-on: http://git-master/r/161900
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Tested-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoarm: tegra: pluto: Add support for RMC PegaPCI.
Raj Jayaraman [Tue, 9 Oct 2012 19:10:01 +0000]
arm: tegra: pluto: Add support for RMC PegaPCI.

Bug 1054808

Change-Id: If17894b2c9005237fad56fd757ce0b26b54f853a
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/160039
(cherry picked from commit b5686f938ec865500292f68201e35c4a96a79e66)
Reviewed-on: http://git-master/r/162300
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: config: tegra11: Enable baseband power management driver.
Raj Jayaraman [Thu, 8 Nov 2012 07:34:54 +0000]
arm: config: tegra11: Enable baseband power management driver.

Bug 1054808

Change-Id: I943cccfdafb3d1ac0283f6abea4861453cb59bf5
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/162299
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agomisc: tegra-baseband: Add partner modem support.
Raj Jayaraman [Tue, 9 Oct 2012 18:46:12 +0000]
misc: tegra-baseband: Add partner modem support.

Bug 1054808

Change-Id: I5bca87b1cf034addbb5c2acb3740a87809212f90
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/160037
(cherry picked from commit 059dec32ea2893be5ed651a7bd8f802ae008e351)
Reviewed-on: http://git-master/r/162298
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agoarm: config: tegra11: Add support for RMC PegaPCI modem.
Raj Jayaraman [Thu, 8 Nov 2012 07:16:46 +0000]
arm: config: tegra11: Add support for RMC PegaPCI modem.

Bug 1054808

Change-Id: Ice1fcaffaa1f0f5d3e5a5338ff7faca2e9eb32f3
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/162297
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoarm: config: tegra11: Cleanup defconfig with ksavedefconfig.
Raj Jayaraman [Thu, 8 Nov 2012 06:59:55 +0000]
arm: config: tegra11: Cleanup defconfig with ksavedefconfig.

Bug 1054808

Change-Id: I577103e5700a84842f2fb89f1d055c6ebedf6415
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/162296
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agodrivers: usb: misc: Vendor specific driver for RMC PegaPCI.
Raj Jayaraman [Sun, 16 Sep 2012 23:14:20 +0000]
drivers: usb: misc: Vendor specific driver for RMC PegaPCI.
* As submitted by RMC for modem support *

Bug 1054808

Change-Id: Ia3344591b4b56e61857dc4813bb1007807b4c445
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/160035
(cherry picked from commit 8931bc3cbf9c9f31a895509985f6cd167dc9d228)
Reviewed-on: http://git-master/r/162295
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agodrivers: net: usb: Add MHI support for RMC PegaPCI.
Raj Jayaraman [Sun, 16 Sep 2012 23:12:54 +0000]
drivers: net: usb: Add MHI support for RMC PegaPCI.
* As submitted by RMC for modem support *

Bug 1054808

Change-Id: I2088b17af7ecf66f4dc95a889ab3ae3466dadd96
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/160034
(cherry picked from commit eefa1719500f976898cb0c9f3832063d21c9bd81)
Reviewed-on: http://git-master/r/162294
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agonet: Add MHI support for RMC PegaPCI.
Raj Jayaraman [Sun, 16 Sep 2012 23:10:37 +0000]
net: Add MHI support for RMC PegaPCI.
* As submitted by RMC for modem support *

Bug 1054808

Change-Id: I37f027eaed75bddfdb4cec7dd03501f6749634e9
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/160033
(cherry picked from commit 29bed237b4d4f7956f839411777d3855674d4bde)
Reviewed-on: http://git-master/r/162293
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agodrivers: net: Modifications for RMC PegaPCI.
Raj Jayaraman [Sun, 16 Sep 2012 23:08:38 +0000]
drivers: net: Modifications for RMC PegaPCI.
* As submitted by RMC for modem support *

Bug 1054808

Change-Id: Ia25f0d6aaea899cb327cb2141d6896a508238c0c
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/160032
(cherry picked from commit a81627cafe577dc5f640feb11596d485200c4c0d)
Reviewed-on: http://git-master/r/162292
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agonet: phonet: Modifications for RMC PegaPCI.
Raj Jayaraman [Mon, 17 Sep 2012 18:19:54 +0000]
net: phonet: Modifications for RMC PegaPCI.
* As submitted by RMC for modem support *

Bug 1054808

Change-Id: I6674df1870dea09e3a1b6035d2d8218e2f56de3b
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/160031
(cherry picked from commit 60564998c44336e29d653e7d10a20555f0a5703b)
Reviewed-on: http://git-master/r/162291
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

5 years agoasoc: tegra: Fix DAPM route for headset recording
Rahul Mittal [Wed, 7 Nov 2012 15:57:42 +0000]
asoc: tegra: Fix DAPM route for headset recording

Fixes headset recording issue
Fixes no playback issue after headset recording ends

Bug 1057667

Change-Id: Icb7378021d2fa00fef4300c4c3e38063caf0a9b6
Signed-off-by: Rahul Mittal <rmittal@nvidia.com>
Reviewed-on: http://git-master/r/162000
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: usb_phy: add utmip pll programming
Rakesh Bodla [Fri, 2 Nov 2012 14:49:01 +0000]
ARM: tegra: usb_phy: add utmip pll programming

Adding utmi pll register programming.
Enabling/Disabling DDIQ mode appropriately
for power savings.

Bug 1057339

Change-Id: If82fcd17982f8405410665590dc47f45b8373a58
Signed-off-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/160899
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

5 years agoARM: tegra: dalmore: Update for SPI bus
David Jung [Thu, 8 Nov 2012 21:31:18 +0000]
ARM: tegra: dalmore: Update for SPI bus

Adjust timing parameter for Dalmore
SPI bus running at 18 MHz.

Bug 1168827

Change-Id: Idfced5194b144efe7a2f5856085405bd58581b2a
Signed-off-by: David Jung <djung@nvidia.com>
Reviewed-on: http://git-master/r/162481
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoarm: tegra: fix build break for roth board
Mayuresh Kulkarni [Thu, 8 Nov 2012 06:15:13 +0000]
arm: tegra: fix build break for roth board

the build break is caused when TEGRA_DC is not enabled

Change-Id: I9c620df83cf364907f3bf56e2f804b3369293fb9
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/162263
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: KBC: Remove power key mapping as GPIO
aghuge [Thu, 8 Nov 2012 05:03:18 +0000]
ARM: tegra: KBC: Remove power key mapping as GPIO

Removing explicit mapping of power key to GPIO_IKEY
This mapping affects the long press key detection of
power key.

Bug 1157347

Change-Id: I4ac222d5907a6f9653c76ee19e97c63afcfe384e
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/162255
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoarm: tegra: pluto: Shut down LDO rails in PMU in LP0
Karthik Ramakrishnan [Wed, 7 Nov 2012 23:25:43 +0000]
arm: tegra: pluto: Shut down LDO rails in PMU in LP0

Many LDO rails in the PMU needs to be shut down in LP0 as they are
not used. It saves 2mW of system power by shutting down these
rails. LDOUSB also needs to be shut down as it causes a leakage
power on SMPS10

Bug 1156145

Change-Id: Iaad634b46e28b4215ca79736c987150bf1ea4d11
Signed-off-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Reviewed-on: http://git-master/r/162157
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: mm: save/restore some PMU registers
Bo Yan [Wed, 7 Nov 2012 23:19:02 +0000]
ARM: mm: save/restore some PMU registers

Specifically, this change saves and restores registers controlling
user space access of ARM performance monitoring unit registers and
for PMU interrupt enables.

Change-Id: Iac88df17112e2ef2ccf53674c3fa3a74d2d4221f
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/162149
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
GVS: Gerrit_Virtual_Submit

5 years agoARM: tegra: enable user space access of PMU
Bo Yan [Wed, 7 Nov 2012 23:17:16 +0000]
ARM: tegra: enable user space access of PMU

This changes makes it possible for user space to access performance
monitors

Change-Id: I5ca14ce5b6a08cf9fae57840023e6adcbd35b013
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/162148
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: Tegra: Pluto: Roth: Remove Touch Regulator References
Matt Wagner [Wed, 7 Nov 2012 19:16:34 +0000]
ARM: Tegra: Pluto: Roth: Remove Touch Regulator References

Touch regulators are now handled in the touch driver.

Bug 1171845

Change-Id: Ie4cdb9b6f00dd80ad980e1feb259122100f0d6fc
Signed-off-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-on: http://git-master/r/162084
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoarm: tegra: dalmore: add device tree support
Pritesh Raithatha [Wed, 7 Nov 2012 12:44:41 +0000]
arm: tegra: dalmore: add device tree support

Bug 1003210

Change-Id: Ia9d890a3cdaa9f480e70fb08e9828a3bdf84b699
Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/162045
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

5 years agoARM: tegra11: clock: Remove not used i2c fast clocks
Alex Frid [Tue, 6 Nov 2012 05:53:22 +0000]
ARM: tegra11: clock: Remove not used i2c fast clocks

Change-Id: Id5d0c33db3d9622ee0d7881569749214969444fc
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/161885
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra11: clock: Update emc to cpu rate ratio limits
Alex Frid [Wed, 7 Nov 2012 00:15:09 +0000]
ARM: tegra11: clock: Update emc to cpu rate ratio limits

Change-Id: I40786776f3a8f69574c25c895f50f70a9fa375a2
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/161821
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoarm: tegra: LCD_RESET disable in 1080p Sharp/720p LG panels
Karthik Ramakrishnan [Tue, 6 Nov 2012 21:56:51 +0000]
arm: tegra: LCD_RESET disable in 1080p Sharp/720p LG panels

If the LCD_RST pin is not disabled during display off, GMI_AP
consumes 3mW in display Off and suspend usecases.

Bug 1169417

Change-Id: I0d414711c277331853395580fb9fe03c2f176cb0
Signed-off-by: Karthik Ramakrishnan <karthikr@nvidia.com>
Reviewed-on: http://git-master/r/161777
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

5 years agoARM: tegra: clock: Update EMC pipes when changing clock
Alex Frid [Sat, 3 Nov 2012 02:03:54 +0000]
ARM: tegra: clock: Update EMC pipes when changing clock

Updated EMC pipes configuration according to EMC DFS table when
changing EMC clock rate.

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