7 years agogpio: palmas: fix compilation failures
Pradeep Kumar [Wed, 1 Aug 2012 10:35:51 +0000]
gpio: palmas: fix compilation failures

Update palmas gpio support driver as per updated palmas core.

Bug 978821

Change-Id: If4b4a297db2acaa36f9b4184137ac5f73d6dd7f2
Reviewed-on: http://git-master/r/119989
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>

7 years agoGPIO: Add Palmas GPIO support
Graeme Gregory [Fri, 21 Oct 2011 14:10:43 +0000]
GPIO: Add Palmas GPIO support

Palmas has a maximum of 8 GPIO available but depending on the package and
OTP programming of the chip they may not all be exposed to pins on the
chip

Signed-off-by: Graeme Gregory <gg@slimlogic.co.uk>
(cherry picked from commit 0f9c01bcec3f032de5bf04213ee7055b068e5d06)

Bug 978821

Change-Id: Ic4bb7f6762535fd77e4b0b507dbc6873270ed33b
Reviewed-on: http://git-master/r/119988
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Pradeep Goudagunta <pgoudagunta@nvidia.com>

7 years agoARM: tegra: curacao: Add Audio Devices
Vijay Mali [Wed, 1 Aug 2012 07:34:52 +0000]
ARM: tegra: curacao: Add Audio Devices

Register audio devices for i2s, WM8903
Add platform data for these devices
Update kernel config for WM8903

Change-Id: I8165088df38ea228da96dc02998c841e52c4d804
Signed-off-by: Vijay Mali <vmali@nvidia.com>
Reviewed-on: http://git-master/r/119920
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agommc: tegra: Fix build break
Bo Yan [Tue, 31 Jul 2012 18:03:18 +0000]
mmc: tegra: Fix build break

Fix build break due to misplaced conditional compilation macros

Change-Id: I1ed554a25a9123c94d85c08371a77350292b58e5
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/119725
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>

7 years agoarm: tegra: power: Add debugfs entry for CPU regulator limit
Daniel Solomon [Tue, 24 Jul 2012 22:02:03 +0000]
arm: tegra: power: Add debugfs entry for CPU regulator limit

Add a debugfs node to override VDD_CPU regulator current limit
at /d/edp_reg_override. Values written to this node will be
subtracted from the regulator's current limit; EDP table will
be recalculated accodingly.

Change-Id: I523fa73bf5a8fa806477f4884e920b5866417cf3
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/118815
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: always set dev->power_specified
Peter De Schrijver [Mon, 23 Jul 2012 12:50:07 +0000]
ARM: tegra: always set dev->power_specified

We specify power_usage for LP3 as well. Hence this flag needs always to be set
even when CONFIG_PM is not enabled.

Change-Id: If4a0b99b2d00b8607b0fd87848f6b17fd934d1c7
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/118026
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: remove unneeded calls to local_irq_disable
Peter De Schrijver [Mon, 23 Jul 2012 15:45:06 +0000]
ARM: tegra: remove unneeded calls to local_irq_disable

cpu_idle() in arch/arm/kernel/process.c already calls local_irq_disable. No
need to do that in our own code. We do have to call local_irq_enable however,
because we can't use the common cpuidle timekeeping code as we want to keep
separate stats for the LP cluster.

Change-Id: I95c0ca2168f10204f4de435d4290014445c729c1
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117693
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: remove trace_power_start calls
Peter De Schrijver [Mon, 23 Jul 2012 14:03:38 +0000]
ARM: tegra: remove trace_power_start calls

These calls are now done by the cpuidle framework in cpuidle_idle_call(). They
would also need to be replaced by trace_power_start_rcuidle because otherwise
the rcu_read_lock()s that protect the tracepoint will not be honored.

Change-Id: I7115fc4e69a499ed9a056cbd13bfe9e19892ceba
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117692
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agomedia: video: fix sectionmismatch for ar0832_remove_debugfs
Peter De Schrijver [Thu, 19 Jul 2012 12:46:21 +0000]
media: video: fix sectionmismatch for ar0832_remove_debugfs

ar0832_remove_debugfs is also called from ar0832_create_debugfs, hence it can
not be in the __devexit section.

Change-Id: Id50fea4bfeee8df50b57f93a7b752c35136ce17c
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117054
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: fix section mismatch for get_core_count
Peter De Schrijver [Thu, 19 Jul 2012 12:44:05 +0000]
ARM: tegra: fix section mismatch for get_core_count

get_core_count calls scu_get_core_count which is part of the __init section.
Hence we can only call this from another function inside this section.
Refactor the code to initialize number_of_cores at boottime in an __init
function.

Change-Id: I200a6ea297a8abe1a3b3fbdd050de5917875d7bc
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117053
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: fix section mismatches
Peter De Schrijver [Thu, 19 Jul 2012 12:33:26 +0000]
ARM: tegra: fix section mismatches

tegra_auto_hotplug_work_func references cpu_up and cpu_down which are part of
the __cpuinit section. Also tegra_auto_hotplug_init should be part of it
because it references tegra_auto_hotplug_work_func. These functions are only
useful if hotplug is enabled, hence there is no problem putting them in the
__cpuinit section.

Change-Id: I770f9f5c10b7e7dd890eed5b611778d78d151f22
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117050
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: fix sectionmismatch for soc_smp_ops
Peter De Schrijver [Thu, 19 Jul 2012 12:29:10 +0000]
ARM: fix sectionmismatch for soc_smp_ops

soc_smp_ops is indirectly referenced by handle_IPI, hence it can not be part of
the __cpuinit section.

Change-Id: Id6d4fedf861a6edc4c1f73155c49738cad1eb126
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117049
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: fix section mismatch in pinmux
Peter De Schrijver [Thu, 19 Jul 2012 12:38:53 +0000]
ARM: tegra: fix section mismatch in pinmux

tegra_pinmux_id references tegra20_pinmux_init, tegra30_pinmux_init and
tegra11x_pinmux_init, which are in the __devinit section. Hence
tegra_pinmux_id must be in the corresponding data section.

Change-Id: I30c78b5528ed5c77897755020076f099452493ec
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117052
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoARM: tegra: fix section mismatch for tegra_resume
Peter De Schrijver [Thu, 19 Jul 2012 12:37:17 +0000]
ARM: tegra: fix section mismatch for tegra_resume

tegra_resume is referenced by tegra_pm_set which is not part of the __cpuinit
section. Hence tegra_resume can't be in that section either.

Change-Id: I05888a58706a867767aaf247c5abd705415dee3d
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117051
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>

7 years agoarm: tegra: power: Add dynamic CPU EDP mechanism
Daniel Solomon [Tue, 24 Jul 2012 19:09:03 +0000]
arm: tegra: power: Add dynamic CPU EDP mechanism

Add dynamic VDD_CPU EDP. This mechanism calculates EDP frequency
caps based on dynamic power, leakage power, and CPU regulator
current limit.

The formula for this uses temperature, number of cores, and CPU
IDDQ as input. It relies on sets of pre-calculated constants, which
vary per SKU.

This mechanism complements the existing EDP mechanism. At bootup,
chip SKU is read: If a corresponding hardcoded EDP table is found,
this table is used; otherwise, an EDP table is calculated.

Note that the EDP formula used is subject to change, and final sets
of pre-calculated constants still need to be added for each SKU.

Change-Id: I5fb22c6a3da0f0adff21dcdf4950275002927e88
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/116120
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agoARM: tegra: fuse: add function to read chip IDDQ
Daniel Solomon [Wed, 11 Jul 2012 02:13:58 +0000]
ARM: tegra: fuse: add function to read chip IDDQ

Add a function to read the fuse IDDQ register on T3x.

Change-Id: I41fc3a1144f86793e88aa4680b01b61e6c705342
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/116119
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agopm: EDP: loan handling
Sivaram Nair [Thu, 12 Jul 2012 07:06:58 +0000]
pm: EDP: loan handling

Added EDP loan APIs and single-borrower implementation.

Change-Id: Ib4c3777d7173d16d5d002fd28e8f74f1b6add239
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/115713
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>

7 years agoarm: tegra: power: Refactor VDD_CPU EDP init
Daniel Solomon [Tue, 24 Jul 2012 18:57:42 +0000]
arm: tegra: power: Refactor VDD_CPU EDP init

Refactor VDD_CPU EDP initialization in preparation for addition of
dynamic VDD_CPU EDP.

Change-Id: Id79c6d6835fd0a940f0bc911023ed9d5d846848c
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/118372
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agoARM: tegra: tegra2 wakeups header cleanup
Bitan Biswas [Thu, 28 Jun 2012 07:28:41 +0000]
ARM: tegra: tegra2 wakeups header cleanup

Removed the unnecessary function prototypes in Tegra2 wakeups header

Change-Id: Ia41ce72947902cbc483cc85eaefb3a81d091a9b8
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/111817
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/119644
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra: wake source interrupts enabled
Bitan Biswas [Fri, 13 Jul 2012 10:33:17 +0000]
ARM: tegra: wake source interrupts enabled

Tegra wake source interrupts are only enabled before suspend

bug 904746

Change-Id: Ie9722199b4541f2bac77e47d0c8c7e65d5d8b54d
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/115655
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/119643
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agogpio: tegra: disable non-wake source interrupts
Bitan Biswas [Fri, 13 Jul 2012 10:29:37 +0000]
gpio: tegra: disable non-wake source interrupts

Gpio interrupts for non-wake sources are disabled before suspend

bug 904746

Change-Id: I21f3e5798055cbae7324b1571291eab4538e256f
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/115654
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-on: http://git-master/r/119642
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra: support multiple wake sources with same irq
Varun Wadekar [Tue, 31 Jul 2012 10:57:34 +0000]
ARM: tegra: support multiple wake sources with same irq

Partial port of commit 48651d264bdb2ff90624e965b8a68b011077ca7c
(http://git-master/r/103140).

Earlier implementation only allowed single wake source
for a particular irq in wake table. Changed implementation
to support multiple wake sources ==> single irq mapping.

Test: Cardhu boots up fine and can pass 100 suspend-resume
cycles.

Change-Id: I3345181d1e9a084e8b745234c4ffb11df5c68ff3
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/119641
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra: cardhu: disable VBUS wake
Bitan Biswas [Tue, 29 May 2012 16:50:49 +0000]
ARM: tegra: cardhu: disable VBUS wake

Disabled USB1 VBUS wake up on board revisions prior to E1291-A03 and
E1198-A02. We see repeated LP0 wakeups if the wake source is enabled.

bug 980993

Change-Id: I080696924aaea06f973392fe7682fecc7574bf02
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/103627
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Reviewed-on: http://git-master/r/119640
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: Tegra: add support to disable wakeup source
Varun Wadekar [Tue, 31 Jul 2012 10:13:47 +0000]
ARM: Tegra: add support to disable wakeup source

Original commit: http://git-master/r/103140

Change-Id: Id214fd9bdc1e05de6544db75e75f77535912a403
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/119639
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agousb: otg: tegra: wake enabled
Bitan Biswas [Tue, 29 May 2012 16:51:55 +0000]
usb: otg: tegra: wake enabled

Wake sources usb VBUS or ID detect enabled

bug 980993
bug 936982

Change-Id: Iea36d308c1a118abdb7815212d749bd058d0054f
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/103141
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/119638
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra11: clock: Fix cbus round rate
Alex Frid [Mon, 30 Jul 2012 23:27:40 +0000]
ARM: tegra11: clock: Fix cbus round rate

In case when cbus does not have DVFS table to figure out minimum
rate, use parent (PLLC2 or PLLC3) minimum rate as bus lower limit.

Change-Id: Ia0c578252d4376f0a669b8dfc3065ceedc54957c
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/119419
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra11: clock: Change device id for CL-DVFS clocks
Alex Frid [Mon, 30 Jul 2012 20:42:42 +0000]
ARM: tegra11: clock: Change device id for CL-DVFS clocks

Changed device id for CL-DVFS clocks to "dfll_cpu", since CL-DVFS is
integrated to clock tree as a locking h/w for cpu clock producer dfll.
Also replaced BUG_ON() with WARN() when those clocks are not found.

Bug 871124

Change-Id: I77254f34800e4c4729bf3d2b03ed5ba30f47abf0
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/119398
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra11: clock: Update clock tree definitions
Alex Frid [Sat, 28 Jul 2012 03:20:22 +0000]
ARM: tegra11: clock: Update clock tree definitions

- Added DDS, and DP2 clocks
- Removed CML0 and CML1 clocks (do not exist on Tegra11)
- Updated comments on DFLL operations and parent selection policies

Change-Id: Iaadcfb71539102e27bacc66323a79c4e5c035726
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/119175
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra: dvfs: Re-arrange dvfs late initialization
Alex Frid [Fri, 27 Jul 2012 04:40:24 +0000]
ARM: tegra: dvfs: Re-arrange dvfs late initialization

Re-arrange tegra clocks and dvfs late initialization to enforce the
following order:

- All boot clocks enabled by the boot-loader, but not set by the
drivers must be disabled before dvfs is connected to the regulators
- CPU DFLL can be initialized only after successful dvfs connection
to the regulators is established
- CPU clock sources should be aligned with kernel policies after
attempt to initialize DFLL
- CPU rate increase is not allowed until dvfs is connected to
regulators (on Tegra11 any rate change was not allowed - the policy
is relaxed now, and rate decrease is supported similarly to Tegra30)

Bug 871124

Change-Id: Ic26059327f8939bb5c082931cb7bb1203f67aa42
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/119137
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoiommu/tegra: smmu: Introduce TEGRA_IOMMU_SMMU_LINEAR
Hiroshi DOYU [Thu, 15 Mar 2012 10:10:17 +0000]
iommu/tegra: smmu: Introduce TEGRA_IOMMU_SMMU_LINEAR

IOVA liner mapping for RAM can be removed with this config
disabled. This CONFIG_TEGRA_IOMMU_SMMU_LINEAR will be removed
eventually. All IOMMU'able drivers should support DMA API correctly
during transition period. phys_to_virt() won't be used with IOMMU'able
H/W.

Change-Id: I0d6f86cf9974a3d2e9ef1c5286461f2ea2cd1918
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/118708
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoiommu/tegra: smmu: Use tegra_smmu_window() to get iova range
Hiroshi DOYU [Fri, 13 Jul 2012 16:42:22 +0000]
iommu/tegra: smmu: Use tegra_smmu_window() to get iova range

*HACK*
To adjust legacy name internally to support IOMMU and IOVMM at once.

Change-Id: I765530328e6dda4b3a6fad05e2e55327e29ba5ca
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/118707
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoiommu/tegra: smmu: rename "tegra-smmu" to "tegra_smmu"
Hiroshi DOYU [Fri, 13 Jul 2012 16:16:23 +0000]
iommu/tegra: smmu: rename "tegra-smmu" to "tegra_smmu"

*HACK*
To adjust legacy name internally to support IOMMU and IOVMM at once.

Change-Id: If216611c683d014514bbd3914ab8a9d098d9c618
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/118706
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoiommu/tegra: gart: Rename "tegra-gart" to "tegra_gart"
Hiroshi DOYU [Fri, 13 Jul 2012 16:16:41 +0000]
iommu/tegra: gart: Rename "tegra-gart" to "tegra_gart"

*HACK*
To adjust legacy name internally to support IOMMU and IOVMM at once.

Change-Id: I816495f2cadbcc7759d0b5533415d90778d4e717
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/118705
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

7 years agoiommu/tegra: smmu: debugfs for TLB/PTC statistics
Hiroshi Doyu [Fri, 27 Jul 2012 11:45:12 +0000]
iommu/tegra: smmu: debugfs for TLB/PTC statistics

Add debugfs entries to collect TLB/PTC statistics.

  $ echo "reset" > /sys/kernel/debug/smmu/mc/{tlb,ptc}
  $ echo "on" > /sys/kernel/debug/smmu/mc/{tlb,ptc}
  $ echo "off" > /sys/kernel/debug/smmu/mc/{tlb,ptc}
  $ cat /sys/kernel/debug/smmu/mc/{tlb,ptc}
  hit:0014910c miss:00014d22

  The above format is:
  hit:<HIT count><SPC>miss:<MISS count><SPC><CR+LF>

  fscanf(fp, "hit:%lx miss:%lx", &hit, &miss);

Change-Id: I2da0741b02c7027644133c8fa9bd6f7e6b573a25
Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/118322
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

7 years agoARM: tegra: smmu: debugfs for TLB/PTC statistics
Hiroshi DOYU [Thu, 19 Jul 2012 09:03:19 +0000]
ARM: tegra: smmu: debugfs for TLB/PTC statistics

Add debugfs entries to collect TLB/PTC statistics.

  $ echo "on" > /sys/kernel/debug/smmu/mc/{tlb,ptc}
  $ echo "off" > /sys/kernel/debug/smmu/mc/{tlb,ptc}
  $ cat /sys/kernel/debug/smmu/mc/{tlb,ptc}
  0014910c 00014d22

  The above format is:
  <HIT count><SPC><MISS count><SPC><CR+LF>

  fscanf(fp, "%lx %lx", &hit, &miss);

Also add struct device of "tegra_smmu" as a member of struct
smmu_device.

Change-Id: Ia83c5dc51ad7164bfeb1230d6d1e36e22dfea497
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/118309
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

7 years agospi: tegra: fix sectionmismatch for spi_tegra_init_dma_param
Peter De Schrijver [Thu, 19 Jul 2012 12:52:30 +0000]
spi: tegra: fix sectionmismatch for spi_tegra_init_dma_param

spi_tegra_init_dma_param is only called from spi_tegra_probe which is in the
__devinit section. Hence the easiest solution is to make spi_tegra_probe also
part of that section.

Change-Id: Ifce7799fdeb2dee6e5854740d3097e09d0bc2f69
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117057
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoarm: tegra: usb_phy: implement usb_phy_reset
Venkatajagadish [Tue, 17 Jul 2012 05:34:09 +0000]
arm: tegra: usb_phy: implement usb_phy_reset

This change sets STREAM_BIT_DISABLE and TXFILLTUNING
bits.
Bug 1014100

Change-Id: I7fe61aaaddd0a6b9ce963936bc8d98af813fe466
Signed-off-by: Venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/116375
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoarm: tegra: usb_phy: Link ULPI platform data
Venkatajagadish [Fri, 13 Jul 2012 08:45:26 +0000]
arm: tegra: usb_phy: Link ULPI platform data

This change provides required platform data to enable
link ULPI

Bug 986684

Change-Id: I8c0564e89b50d710fe4fc52b530d13edb4603bf0
Signed-off-by: Venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/116373
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoarm: tegra: usb_phy: Enable Link ULPI
Venkatajagadish [Fri, 13 Jul 2012 08:34:55 +0000]
arm: tegra: usb_phy: Enable Link ULPI

These changes enables the Link ULPI

Bug 986684

Change-Id: I1eee3ee5f2ca8b12486fb217e5d7531dbcafb92e
Signed-off-by: Venkatajagadish <vjagadish@nvidia.com>
Reviewed-on: http://git-master/r/116371
Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agoARM: config: tegra3: remove TRUSTED_FOUNDATIONS
Bo Yan [Mon, 30 Jul 2012 18:11:14 +0000]
ARM: config: tegra3: remove TRUSTED_FOUNDATIONS

CONFIG_TRUSTED_FOUNDATIONS should not be enabled by default.

Change-Id: I340ecaf5f3846b65a3fa7229101108a155b3c424
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/119354
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra: Updating tegra3_android_defconfig
aghuge [Mon, 30 Jul 2012 10:39:08 +0000]
ARM: tegra: Updating tegra3_android_defconfig

Change-Id: Iaf99d3c67e25e13da967ff7c2670d3c3db2596b2
Reviewed-on: http://git-master/r/119292
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra11: dvfs: Update CL-DVFS clock management
Alex Frid [Wed, 25 Jul 2012 06:04:51 +0000]
ARM: tegra11: dvfs: Update CL-DVFS clock management

- Added control of I2C fast clock
- Disabled/Enabled all clocks when CL-DVFS disabled/enabled,
respectively.

Bug 871124

Change-Id: Iccd3c225fa17bfce3dfb57f832a82a6940fdceae
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/118472
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>

7 years agoARM: tegra: smmu: Correct PTC_STATS_TEST in MC_SMMU_PTC_CONFIG_0
Hiroshi DOYU [Wed, 25 Jul 2012 08:30:03 +0000]
ARM: tegra: smmu: Correct PTC_STATS_TEST in MC_SMMU_PTC_CONFIG_0

Correct register bit defs for PTC_STATS_TEST in MC_SMMU_PTC_CONFIG_0

Change-Id: I1f9cad1ba5b0c9dd57cff6694ab054f40a9acdc1
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/118308
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

7 years agoARM: tegra: dalmore: creating board files
aghuge [Tue, 31 Jul 2012 05:18:37 +0000]
ARM: tegra: dalmore: creating board files

Change-Id: I5c3fe127403b1a01c82d88b821a4a28cad25d026
Signed-off-by: aghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/118305
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agodrivers: Adding EDP framework
Sivaram Nair [Mon, 9 Jul 2012 06:33:18 +0000]
drivers: Adding EDP framework

Change-Id: I51adf383a6d4241369bd4008e5516e2bf8771c17
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/115712
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agopm: EDP: Makefile for EDP framework
Sivaram Nair [Mon, 9 Jul 2012 06:32:15 +0000]
pm: EDP: Makefile for EDP framework

Change-Id: I85f9f0d409d4a783c2611babf3896fb21b3cc0bf
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/115711
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: adding Kconfig for EDP framework
Sivaram Nair [Mon, 9 Jul 2012 06:30:39 +0000]
ARM: adding Kconfig for EDP framework

Change-Id: I178f7ee104cf7ba6786ebbb171160bd30b458780
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/115709
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agopm: EDP: Kconfig for EDP
Sivaram Nair [Mon, 9 Jul 2012 06:27:49 +0000]
pm: EDP: Kconfig for EDP

Defines the config flag

Change-Id: Ica61f66d81ec1364575f7da9593e6a83796e574a
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/115708
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agopm: EDP: positive E-state handing
Sivaram Nair [Wed, 4 Jul 2012 09:53:15 +0000]
pm: EDP: positive E-state handing

This patch adds the basic positive E-state handling functionality.
Higher state transitions will fail if there is not enough current
remaining.

Bug ID: 917926

Change-Id: I1555a4d5b4df35883baa1cf9260ff66254a49b95
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/115707
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoARM: tegra: curacao: dpd init
Bitan Biswas [Fri, 27 Jul 2012 12:19:51 +0000]
ARM: tegra: curacao: dpd init

Tegra dpd init needs to be called for board

bug 1023194

Change-Id: I2c5863c6912b75e2eda271af3dfee0397729fcff
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: http://git-master/r/118955
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Nilesh Bhoite <nbhoite@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>

7 years agovideo: tegra: host: fix section mismatched
Peter De Schrijver [Thu, 19 Jul 2012 13:10:08 +0000]
video: tegra: host: fix section mismatched

setup_save,setup_save_regs and setup_save_ram_nasty are referenced by
the corresponding context initialization handlers which are not in the __init
section. Hence they can't be part of the __init section.

Change-Id: Ib974439c5793f8f0fe57103807fc91317b505f0c
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117059
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agovideo: tegra: dc: fix section mismatches
Peter De Schrijver [Thu, 19 Jul 2012 12:59:11 +0000]
video: tegra: dc: fix section mismatches

tegra_dc_remove_debugfs is also called by tegra_dc_create_debugfs in case of
failure. Hence, it cannot be part of the __devexit section.
tegra_dc_remove calls tegra_dc_remove_sysfs which is in the __devexit section
and doesn't get called elsewhere, hence make tegra_dc_remove also part of the
__devexit section.

Change-Id: I7c7dab12037c642a0314953be442060bec143650
Signed-off-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-on: http://git-master/r/117058
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

7 years agoMerge remote-tracking branch 'origin/dev/android-t114-3.4-next' into dev-t114-2012...
varun colbert [Mon, 30 Jul 2012 22:29:52 +0000]
Merge remote-tracking branch 'origin/dev/android-t114-3.4-next' into dev-t114-2012.07.30-B2

Change-Id: Iab52c61cc18765b845e9024e73565c16822a04c7

7 years agoARM: tegra11: Fix simulation build break
Bo Yan [Fri, 27 Jul 2012 18:38:22 +0000]
ARM: tegra11: Fix simulation build break

Since warnings are treated as errors now, variables and functions
for certain configuration, for example, non-simulation build, should
be wrapped in appropriate config macros

Change-Id: I6975d93c16691052e0fb0dd5afa045940d4e880f
Signed-off-by: Bo Yan <byan@nvidia.com>
Reviewed-on: http://git-master/r/119066
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

7 years agoMerge remote-tracking branch 'origin/android-tegra-nv-3.1' into android-t114-3.4
Varun Wadekar [Mon, 30 Jul 2012 12:52:08 +0000]
Merge remote-tracking branch 'origin/android-tegra-nv-3.1' into android-t114-3.4

NULL merge from android-tegra-nv-3.1

Change-Id: I8c49e4b9df6820eb1ad7edca2233982a6c4043d8
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoRevert "ARM: tegra: integration of slave mode support."
Varun Wadekar [Mon, 30 Jul 2012 11:38:14 +0000]
Revert "ARM: tegra: integration of slave mode support."

This reverts commit a50e73c5be9f5a3546bf575588385b59deee7092 as it
breaks bootup on Cardhu.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoRevert "asoc: tegra: integration of slave mode support."
Varun Wadekar [Mon, 30 Jul 2012 11:37:42 +0000]
Revert "asoc: tegra: integration of slave mode support."

This reverts commit a1cb57de2cdcd5ce24bfed9564842fb8ae368f4f as it
breaks boot up on Cardhu.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agosecurity: tf_driver: integrate latest TL release
Karan Jhavar [Sat, 21 Jul 2012 02:42:55 +0000]
security: tf_driver: integrate latest TL release

Tegra 3 version: TF_TEGRA3_AB01.11.35578, TF_TEGRA3_AB01.11p1.35578
                 TF_TEGRA3_AB01.11p2.36386, TF_TEGRA3_AB01.11p3.36518
         TF_TEGRA3_AB01.11p4.36577, TF_TEGRA3_AB01.11p5.36677

1)Add memory profiling tool to debug secure services's stack and heap
2)Add support to enable dynamic clock gating feature in PL310 register
3)TEE client API at kernel level
4)Stable FIQ debugging (SDK ver 1.09)
5)clrex stability change
6)GIC controller stability settings
7)Fix LP1
8)Fix floating pt support

Bug 1021831

Change-Id: I5c2a693a27dc591b62863aa0fe4ff65163e67aba
Signed-off-by: Karan Jhavar <kjhavar@nvidia.com>
Reviewed-on: http://git-master/r/117515
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Hyung Taek Ryoo <hryoo@nvidia.com>
Reviewed-by: Marvin Zhang <mzhang@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agovideo: tegra: nvmap: Set PAGELIST_VMALLOC_MIN size correct
Krishna Reddy [Wed, 18 Jul 2012 21:59:51 +0000]
video: tegra: nvmap: Set PAGELIST_VMALLOC_MIN size correct

page list array size greater than PAGE_SIZE should use vmalloc.

Change-Id: Ic03668ba7ff716bfb3cc08aaef5f86214ee0a9df
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/116875
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Tested-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit ddacaacd2a9fff10187e026eaa0d898694eeb95f)
Reviewed-on: http://git-master/r/118194

7 years agomm: failslab: Add support to force slab alloc failures based on size.
Krishna Reddy [Wed, 18 Jul 2012 21:06:50 +0000]
mm: failslab: Add support to force slab alloc failures based on size.

Any alloc request, with  size greater than PAGE_SIZE, to
slab allocator is not guarnateed to succeed, even though
enough memory is available, as memory can get fully fragmented
over the time.
This allows finding the slab allocator requests with size
greater than PAGE_SIZE early and avoid finding issues much late
in product life cyle.

Change-Id: Ibf13e626a671d41569415a56e775ac5e96b90ba3
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/116855
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit 604a65f8e3c9472886b48b1a287f78f11235d1ce)
Reviewed-on: http://git-master/r/118193
Reviewed-by: Alex Waterman <alexw@nvidia.com>

7 years agoarm: configs: tegra3: Enable fault injection for slab alloctor.
Krishna Reddy [Wed, 18 Jul 2012 20:51:10 +0000]
arm: configs: tegra3: Enable fault injection for slab alloctor.

Even though config option is enabled, the fault injection is not
enabled by default. It need to be enabled through debugfs interface
during test.

Change-Id: Iaba52d27a97bc4ecdc04e79e29ab25e03438bbc0
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/116851
GVS: Gerrit_Virtual_Submit
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
(cherry picked from commit 892f0239562de8cd5a6a93deeaec826e45b368b0)
Reviewed-on: http://git-master/r/118192

7 years agousb: ehci: tegra: Update RUN bit properly.
Suresh Mangipudi [Tue, 24 Jul 2012 07:22:00 +0000]
usb: ehci: tegra: Update RUN bit properly.

Read the RUN bit and update it properly.
Remove unused variable.

Change-Id: I1df5dc99ce40e2ca15f0ade28d156a7262467519
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/117958
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: Tegra: p1852: defconfig: disabled TEGRA_SE_ON_CBUS and set CONFIG_TEGRA_CBUS_CLO...
Mohit Kataria [Thu, 19 Jul 2012 13:44:31 +0000]
ARM: Tegra: p1852: defconfig: disabled TEGRA_SE_ON_CBUS and set CONFIG_TEGRA_CBUS_CLOCK_DIVIDER=1

* Disabled  CONFIG_TEGRA_SE_ON_CBUS
So that se clock can be derived from clocks
other than which are driving cbus.

* Changed CONFIG_TEGRA_CBUS_CLOCK_DIVIDER=1
So that pllc can run at same frequency as
cbus is running at.

Bug 978870

Change-Id: I66898e3f16adad3625efb1a484b438c168419a68
Signed-off-by: Mohit Kataria <mkataria@nvidia.com>
Reviewed-on: http://git-master/r/117995
(cherry picked from commit b5d42b0432119ddebcc38f6f40761e3dea3d9f6d)
Reviewed-on: http://git-master/r/117312
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agousb: ehci: DMA buffer sync for qh/qtd descriptors
JC Kuo [Tue, 17 Jul 2012 09:57:44 +0000]
usb: ehci: DMA buffer sync for qh/qtd descriptors

When EHCI host controller driver examines qh/qtd descriptors, driver
might see stale data in cache on some ARM CPU. This patch introduces
two helper functions, ehci_sync_qh() and ehci_sync_qtd(), to
invalidate cached descriptors so that driver can always read
up-to-date descriptors from memory.

Bug 1005403

Change-Id: I2345bda7dfe29c5fe7f9550066b518cd6624d263
Signed-off-by: JC Kuo <jckuo@nvidia.com>
Reviewed-on: http://git-master/r/116406
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: ChihMin Cheng <ccheng@nvidia.com>
Reviewed-by: Joy Wang <joyw@nvidia.com>
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>

7 years agomedia: video: tegra: ar0832: reduce permissions
schowdary [Thu, 26 Jul 2012 13:42:17 +0000]
media: video: tegra: ar0832: reduce permissions

CTS test fails if there are write permissions for user.
Hence reduce permissions for test_pattern.

bug 1001925

Change-Id: I769ff501671182965a8b699d7bbd580400ccd1c1
Signed-off-by: schowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/118871
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoasoc: tegra: integration of slave mode support.
Ankit Gupta [Wed, 11 Jul 2012 15:20:01 +0000]
asoc: tegra: integration of slave mode support.

Add master/slave configurability support interface for
all codecs. Currently, complete slave mode functionality
is added only for MAX98088 and WM8903 codec only. By
default, board parameters will set i2s master mode for
all codecs.

asoc: tegra: utils: add support for i2s master/slave mode.
Support for i2s in master or slave mode is made generic by
obtaining information from platform data.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: Ided0fcefb6cdb124b78aab423bfd8c7dccd4bf6e
Reviewed-on: http://git-master/r/111553
(cherry picked from commit bb1ad7222f9c75424a45976d16de418bc927dc04)

asoc: tegra: wm8903 machine: add support for i2s in slave mode.
Add support for i2s as slave for playback and capture use cases.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: I1f6b73a0a1b690ecd311b0ff4107aadbb1f037d8
Reviewed-on: http://git-master/r/111472
(cherry picked from commit 0434f8ba74adefe60597d95d30a455b9b2ece9b8)

asoc: tegra: wm8753 machine: add support for i2s in slave mode.
Add support for i2s as slave for playback and capture use cases.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: Ib0596955cd0c6ac5ec57b0f3c6ecc9e4ed41268c
Reviewed-on: http://git-master/r/113208
(cherry picked from commit 0fc6b5e3a98d9f8866f73d7914b0c590334ce862)

asoc: tegra: aic326x machine: add support for i2s in slave mode.
Support for i2s in slave mode is added for playabck and capture
use cases.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: I41f6459765f075703ad7f5f8dc9d4628dd853820
Reviewed-on: http://git-master/r/112874
(cherry picked from commit 9a89ede36a1dca6f53250444e819443fb6f28d09)

asoc: tegra: rt5640 machine: add support for i2s in slave mode.
Add support for i2s as slave for playback and capture use cases.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: I850ec62149b8a8d244445b70658b632dbce06558
Reviewed-on: http://git-master/r/112878
(cherry picked from commit 1d51561c8edf47d8557a825450a48ee8743a185b)

asoc: tegra: max98088 machine: add support for codec i2s as slave.
Add support for codec i2s as slave during voice Call.
(Bug 998682)
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: I8fc54d367e9acd5417d270869cb5a9398b3b527f
Reviewed-on: http://git-master/r/110559
(cherry picked from commit 78a490867e131b1cc892094ddd844c2b892cafb6)

asoc: tegra: max98095 machine: add support for i2s in slave mode.
Add support for i2s as slave for playback and capture use cases.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: I80944d403be94c55ad2ce31aea921d80ea7c088a
Reviewed-on: http://git-master/r/112875
Reviewed-on: http://git-master/r/118080
Reviewed-by: Scott Peterson <speterson@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>

7 years agoARM: tegra: integration of slave mode support.
Ankit Gupta [Fri, 13 Jul 2012 09:28:18 +0000]
ARM: tegra: integration of slave mode support.

Add configurability support for i2s parameters accross all board.

ARM: tegra: board: add i2s params
Add configurability support for i2s parameters accross all board
files.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: If58788b5126280b7e1dc8c66e9c96d0e71229b5e
Reviewed-on: http://git-master/r/111476
(cherry-picked from commit cac52867b0a0cad3b3c5bf46f08b0b94d0be2e02)

ARM: tegra: include: add configurability support for i2s params.
Add several variables for i2s configuration in platform data
structure.
Signed-off-by: Ankit Gupta <ankitgupta@nvidia.com>
Change-Id: Iea3930f308954471f170513234c2c02a8559ef98
Reviewed-on: http://git-master/r/111473
(cherry picked from commit 35e749770f6046fc82860f1152db2f5f579b9508)
Reviewed-on: http://git-master/r/118071
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Scott Peterson <speterson@nvidia.com>

7 years agoARM: tegra: move secondary start kernel message
Jake Park [Tue, 24 Jul 2012 04:59:45 +0000]
ARM: tegra: move secondary start kernel message

Using printk before CPU online can make hang or kernel panic.

Bug 1017539
Bug 1019700

Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/117924
(cherry picked from commit 9d7426fdc7e8c70079d37f529517932370355ac6)

Change-Id: Ib55ee06dcaf92af63f8d72ee74939c72dda4296c
Reviewed-on: http://git-master/r/118141
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>

7 years agoarm: tegra: enterprise: Turn LCD_RESET low in display off
Karthik Ramakrishnan [Fri, 15 Jun 2012 00:57:27 +0000]
arm: tegra: enterprise: Turn LCD_RESET low in display off

During early suspend, LCD_RESET output needs to be
turned low. 3mW power savings during display Off and
1mW on lp0.
Bug 969716
Bug 990845

Change-Id: Ia773f0411452fad3eddccb5f293d7f32c4a46a56
signed-off-by: Karthik Ramakrishnan <karthikr@nvidia.com>
(cherry picked from commit 87322ed7e125ae1ac8d05b623c66f6ab7ea40881)
Reviewed-on: http://git-master/r/114057
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: cpuquiet: Fix cpuquiet notifiers
Sai Charan Gurrappadi [Wed, 25 Jul 2012 18:16:08 +0000]
ARM: tegra: cpuquiet: Fix cpuquiet notifiers

The notifiers now properly fire on every cluster switch

Change-Id: I381301cf62f25b49532326cc7759696c7f6797b7
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/118376
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>

7 years agousb: cdc-acm: fix packet loss issue
Steve Lin [Thu, 19 Jul 2012 19:36:18 +0000]
usb: cdc-acm: fix packet loss issue

There is race between acm_suspend and acm_read_bulk_callback. Host may
receive bulk transfer right before suspend. The packet will be discarded
if this urb is killed in acm_suspend. This patch checks the actual length
of urb and processes it in this case.

Bug 996268

Signed-off-by: Steve Lin <stlin@nvidia.com>

Change-Id: Ief2b42708160b67903f976ec60da825d46c4720b
Reviewed-on: http://git-master/r/117135
(cherry picked from commit af3e96c987fbae8a135d1ff18872b9c32e09b67f)
Reviewed-on: http://git-master/r/118105
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

7 years agop1852: Adding defconfig file for p1852 mods
Sanjay Sancheti [Mon, 9 Jul 2012 05:45:56 +0000]
p1852: Adding defconfig file for p1852 mods

This is a copy of p1852 defconfig with usb support disabled

Bug 989824

Change-Id: I40089049a35c18782b2e211b63d20fafe8fb9ee8
Reviewed-on: http://git-master/r/114138
Tested-by: Sanjay Sancheti <sasancheti@nvidia.com>
Reviewed-by: Amlan Kundu <akundu@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
(cherry picked from commit a147ad51d486d4aea9a73a11d4c14a13ad2121bb)
Reviewed-on: http://git-master/r/118011
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: pci: Organize pcie initialization code
Jay Agarwal [Sat, 21 Jul 2012 18:17:33 +0000]
arm: tegra: pci: Organize pcie initialization code

1. Initialize PCIe on every resume whether device
   is dock/undocked.
2. Poweroff PCIe if Poweron failed at any stage.
3. Make PCIe initialization robust so that it is
   successful anytime dock is connected i.e while
   in LP0 or after it's exit or else.

Bug 1020949

Change-Id: I79cd75f2bf7164a9b5c8906a370364dba5183ac8
Signed-off-by: Jay Agarwal <jagarwal@nvidia.com>
Reviewed-on: http://git-master/r/117532
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agortc: tps6591x: Prevent wrong date setting
Preetham Chandru [Fri, 20 Jul 2012 05:31:26 +0000]
rtc: tps6591x: Prevent wrong date setting

This CL handles the following:

1. Prevents setting of wrong date in tps6591x_rtc_set_time().

For example the following case was not handled in rtc driver:
if hwclock command wanted to set 31/Dec/1999 then our RTC driver was
setting the date to 31/Dec/2099 and later on when hwclock read the
date back it was getting a invalid date.
Also, the hwclock command can only handle date upto the year 2038.

2. Sets STOP_RTC bit to one when the driver is initialized

Bug 1012914
Bug 1017647
Signed-off-by: Preetham Chandru R <pchandru@nvidia.com>
Change-Id: If8abfebe3ee6da05498deb38d7247ab265729c0c
Reviewed-on: http://git-master/r/117298
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Kiran Adduri <kadduri@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agochar: agp: treat compile warning as error
schowdary [Tue, 24 Jul 2012 12:04:46 +0000]
char: agp: treat compile warning as error

-enable warnings as errors compilation flag

bug 949219

Change-Id: I47e2df835985f341ebccdad95f53b4e6f7763e39
Signed-off-by: schowdary <schowdary@nvidia.com>
Reviewed-on: http://git-master/r/118017
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

7 years agoarm: tegra: xmm: flash modem reset functionality
Vinayak Pane [Fri, 13 Jul 2012 00:13:07 +0000]
arm: tegra: xmm: flash modem reset functionality

Flash version modem need to do reset with gpio
and start enumeration on falling edge of ap wake.

Remove unused variable enum_delay_ms.

Bug 1003141

Change-Id: Ie43c693c3fead5c89b30c1b97cf1f3e4c05e5588
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/116886
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Ken Chang <kenc@nvidia.com>
Tested-by: Ken Chang <kenc@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

7 years agoARM: tegra: thermal: fix inform edp governor bug
Daniel Fu [Fri, 20 Jul 2012 03:27:27 +0000]
ARM: tegra: thermal: fix inform edp governor bug

Fixed bug using Tj temp to update thermal zone,
It should use EDP temp to update it.

bug 1007726

Change-Id: Ibcf2520a4bad7dc977add0b5c855681d2667a7c2
Signed-off-by: Daniel Fu <danifu@nvidia.com>
Reviewed-on: http://git-master/r/117250
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Joshua Primero <jprimero@nvidia.com>
Tested-by: Joshua Primero <jprimero@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

7 years agommc: core: SDXC speed class support
Pavan Kunapuli [Mon, 16 Jul 2012 09:27:35 +0000]
mmc: core: SDXC speed class support

Unlike SDSC and SDHC, for SDXC cards CMD20 needs to be
issued to meet the class performance for speed class
recording. Adding mmc_speed_class_control() which should
be used by an AV recording app/utility before starting
recording on an SDXC card.

Bug 969360
Reviewed-on: http://git-master/r/39394
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/115685
(cherry picked from commit 04b8d1287a95e1882d956cdf7997015350408a3c)
Change-Id: Id567effb476ee580de3d49b70201ebae5a13360a
Reviewed-on: http://git-master/r/118038
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Naveen Kumar Arepalli <naveenk@nvidia.com>
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>

7 years agop1852: clocks: remove duplicate host1x clock limit
Nirav Patel [Tue, 5 Jun 2012 23:00:34 +0000]
p1852: clocks: remove duplicate host1x clock limit

host1x clock limit is already imposed by tegra3_dvfs.c and need not
to be explicitly set for p1852 SKU. Hence, removing the clock limit
duplication.

Bug 925358

Change-Id: I5e936f46ad64b0335561e321d61c4e8b13d7f765
Reviewed-on: http://git-master/r/106637
(cherry picked from commit ccaa3515121b637ce3870bf73f2402846670b63c)
Signed-off-by: Nirav Patel <nipatel@nvidia.com>
Reviewed-on: http://git-master/r/118130
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

7 years agoARM: tegra: clock: Add Tegra3 cbus profiling sysfs nodes
Alex Frid [Wed, 18 Jul 2012 20:49:28 +0000]
ARM: tegra: clock: Add Tegra3 cbus profiling sysfs nodes

Added:

/sys/kernel/tegra_cap/cbus_cap_level
/sys/kernel/tegra_cap/cbus_cap_state

Change-Id: I06a32ea4001f1f644da4f230870f39523f9b6df3
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/116874
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

7 years agoARM: tegra: clock: Add Tegra3 cbus profile cap
Alex Frid [Wed, 18 Jul 2012 19:52:06 +0000]
ARM: tegra: clock: Add Tegra3 cbus profile cap

Change-Id: I4d15ef7a9089bf3519155d9ccf5192bf3dcf0bd6
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/116873
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

7 years agoARM: tegra: cpuquiet: Notify the cpuquiet governor when the driver is busy
Sai Charan Gurrappadi [Wed, 11 Jul 2012 00:33:58 +0000]
ARM: tegra: cpuquiet: Notify the cpuquiet governor when the driver is busy

Added generic busy/free notifiers that the driver can invoke to let the
governor know that it cannot process further core online/offline
requests (invoked in our case whenever we switch to the LP cluster).

Change-Id: I5e3f7f28f38806a7f87050e8d0c8d2f2cf7521aa
Signed-off-by: Sai Charan Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/114807
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

7 years agovideo: tegra: dc: synchronize dsi clock-gating
Rakesh Iyer [Thu, 19 Jul 2012 19:44:08 +0000]
video: tegra: dc: synchronize dsi clock-gating

The one shot thread will clock gate the modules periodically. This will ensure
relevant paths in dc driver have an active dc clock and dsi host.

Bug 1013172

Change-Id: Ibb505e35044f31405c06cb9fa0d6fdf78aafd4a6
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/117137
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Animesh Kishore <ankishore@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>

7 years agousb: ehci: tegra: HSIC remote wakeup support
Vinod Atyam [Tue, 26 Jun 2012 09:08:48 +0000]
usb: ehci: tegra: HSIC remote wakeup support

1) Returning in irq after remote wakeup resume handled
   in ehci irq function.
2) Removed the unused variables.

Bug 889618

Change-Id: I9a1fd25c753a53462bf7742065fa618caae501ab
Signed-off-by: Vinod Atyam <vatyam@nvidia.com>
Reviewed-on: http://git-master/r/111192
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: usb: Fix First SOF corruption.
Suresh Mangipudi [Tue, 24 Jul 2012 07:16:47 +0000]
arm: tegra: usb: Fix First SOF corruption.

In ULPI phy first SOF after Reset may be corrupt. Fixing this issue.

Bug 1012500

Change-Id: I45ee1b4c8e0a29298c94813030d22291b79e417b
Signed-off-by: Suresh Mangipudi <smangipudi@nvidia.com>
Reviewed-on: http://git-master/r/117635
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: dvfs: update AP37 dvfs entry
Rakesh Iyer [Thu, 12 Jul 2012 21:56:12 +0000]
arm: tegra: dvfs: update AP37 dvfs entry

Update Tegra3 AP37 dvfs table entries.

Bug 841336

Reviewed-on: http://git-master/r/115509
(cherry picked from commit fda92ca92eb421b554fcb50117c92ec59b4b515a)

Change-Id: Ib15ba4731f0770a8af2272c51a90c7dc0fd8f6b9
Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Reviewed-on: http://git-master/r/117926
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit

7 years agopower: tps80031: charger: enable max current limit to 2.25A
Xin Xie [Wed, 11 Jul 2012 00:33:43 +0000]
power: tps80031: charger: enable max current limit to 2.25A

Current max USB bus current limit is 1.5A, add up to 2.25A support based
on TPS8003x register documentation.

BUG 1014876

Change-Id: Iae23e2473d9a7b52dac2d92029af03729e1e8a11
Reviewed-on: http://git-master/r/114801
(cherry picked from commit 04638c07f0b5a4ecea405ed914e144004b60877d)
Reviewed-on: http://git-master/r/116115
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agovideo: tegra: host: fix memory leak in ctx save
Mayuresh Kulkarni [Tue, 17 Jul 2012 10:33:21 +0000]
video: tegra: host: fix memory leak in ctx save

- host1x_save_context() explicitly updated the ref count on context
- with the re-factoring of nvhost_job code, nvhost_job_alloc()
takes a ref count on context
- this caused the explicit ref count in host1x_save_context()
redundant and lead to memory leak. hence remove it

Bug 1015924

Change-Id: Id18c74412e8659b60288700972690d1b895de4c1
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/116409
(cherry picked from commit c98d0cfbbdacdda8e540b5d9e0d513e279b3b2f5)
Reviewed-on: http://git-master/r/117326
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agoARM: tegra: usb: Turn off built in host on otg
Krishna Yarlagadda [Fri, 20 Jul 2012 06:20:47 +0000]
ARM: tegra: usb: Turn off built in host on otg

Disable built in host support on OTG port
for Whistler and Enterprise boards.

Bug 1012273
Bug 947300

Change-Id: I88574c37795ee204e0cc67ed71f424443950494f
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/117307
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoARM: tegra: usb: regulator on during lp0 on T20
Krishna Yarlagadda [Wed, 18 Jul 2012 11:34:33 +0000]
ARM: tegra: usb: regulator on during lp0 on T20

Tegra 2 requires regulator to be on during lp0

Bug 1012273

Change-Id: I750892fd391be327e617c70b7da4c984019a32fa
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Reviewed-on: http://git-master/r/116743
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agoarm: tegra: enterprise: increase drive strength for sdmmc1
Rakesh Goyal [Fri, 20 Jul 2012 09:19:57 +0000]
arm: tegra: enterprise: increase drive strength for sdmmc1

Bug 987713

Change-Id: I4e6fb47007e337ec992d5ee58510c664957b448d
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/117592
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Kumar <krakesh@nvidia.com>
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agovideo: tegra: 2d: reset 2d clock to minimum
Bharat Nihalani [Mon, 23 Jul 2012 05:28:47 +0000]
video: tegra: 2d: reset 2d clock to minimum

This was accidently reverted to be set to max with commit 9774bbe31a.
With 2d clock at max, there is a hit on video power numbers.

Change-Id: Iaf73c6f7800d56229d35fb6a2b00f61d460e986d
Reviewed-on: http://git-master/r/117589
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Donghan Ryu <dryu@nvidia.com>

7 years agoARM: tegra: enable REGULATOR_TPS51632
Laxman Dewangan [Mon, 23 Jul 2012 08:00:28 +0000]
ARM: tegra: enable REGULATOR_TPS51632

Enable regualtor REGULATOR_TPS51632 which is used
for cpu regulator.

Change-Id: I5ba78608e6c5480e8b0d8d54ee59c9bba0b58428
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/117602
Reviewed-by: Automatic_Commit_Validation_User

7 years agoregulator: tps51632: add regulator driver for TI tps51632
Laxman Dewangan [Mon, 23 Jul 2012 07:57:17 +0000]
regulator: tps51632: add regulator driver for TI tps51632

This driver supports voltage regulator driver for TI TPS51632
voltage regulator chip. The TPS52632 is 3-2-1 Phase D-Cap+ Step
Down Driverless Controller with Serial VID control and DVFS.
This device has only one voltage output.

bug 978821

Change-Id: I73f3fd696bab5267e76e788fb4b5bf8d9f10b5b5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/117381

7 years agoarm: tegra: E1506 Tristate and pull down LCD pins
Prem Sasidharan [Tue, 26 Jun 2012 23:27:42 +0000]
arm: tegra: E1506 Tristate and pull down LCD pins

Tristating and pulling down LCD_PCLK,LCD_WR_N,LCD_HSYNC,LCD_VSYNC
LCD_SCK,LCD_SDOUT and LCD_SCIN for E1506 DSI panel.

Bug 999702
Signed-off-by: Prem Sasidharan <psasidharan@nvidia.com>

Reviewed-on: http://git-master/r/111390
(cherry picked from commit 822a1c8ce2a50ff7b53cdd811c3ae1e47568d69d)

Change-Id: Icba97ddcbc4e7bd0b8c4744703e85bf8bc94ba69
Reviewed-on: http://git-master/r/117308
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

7 years agousb: ehci: tegra: prevent illegal register access
Rakesh Bodla [Tue, 17 Jul 2012 05:55:51 +0000]
usb: ehci: tegra: prevent illegal register access

Make sure phy is turned ON before reading USB
registers.

Bug 993380
Bug 1006579

Reviewed-on: http://git-master/r/116045
(cherry picked from commit a1a6db7dc88880fb3d4bca0036ce421e4032adae)
Change-Id: If94e691bf9b5b46dd8f8562f27cf86e59a4d6353
Reviewed-on: http://git-master/r/117257
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agoARM: tegra: phy: avoid illegal access to registers
Rakesh Bodla [Fri, 20 Jul 2012 06:11:09 +0000]
ARM: tegra: phy: avoid illegal access to registers

Adding the conditions to prevent illegal register access.

Bug 993380
Bug 1006579

Reviewed-on: http://git-master/r/113138
(cherry picked from commit a3c026a229bbce614d7f40319bada1d7bf42942d)

Change-Id: I0d8e6c20aab04aa43ae484dc8ceb6fcb2c27d151
Reviewed-on: http://git-master/r/117256
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Rakesh Bodla <rbodla@nvidia.com>
Tested-by: Rakesh Bodla <rbodla@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

7 years agoarm: config: tegra3: Enable IrDA support
Ramalingam C [Thu, 19 Jul 2012 09:24:30 +0000]
arm: config: tegra3: Enable IrDA support

Enables the IrDA support on E1198 and E1186 platforms.
This will enable the access to the IrDA transceiver through
(/dev/ttyHS1) UARTB of verbier (E1240).

Bug 999895

Change-Id: Ib2b8391facddf12b3b48d319e11f548d9f963712
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/114952
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

7 years agoarm: tegra: cardhu: IrDA support on UARTB
Ramalingam C [Wed, 11 Jul 2012 09:17:48 +0000]
arm: tegra: cardhu: IrDA support on UARTB

Adds the IrDA support functions to the platform_data of UARTB on Verbier
boards(E1198 and E1186). And also adds a config variable CONFIG_TEGRA_IRDA
to control the IrDA support on Tegra.

Bug 999895

Change-Id: Iab77c419004292190421d55fd02e249ff98c728e
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/114930
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

7 years agotty: serial: tegra: IrDA support with tegra_hsuart
Ramalingam C [Wed, 11 Jul 2012 07:00:44 +0000]
tty: serial: tegra: IrDA support with tegra_hsuart

Adds the IrDA transceiver handling support to tegra_hsuart driver based on
the platform data.

Bug 999895

Change-Id: Ia475639d97c540d014c7128ef392fa394a5b26ad
Signed-off-by: Ramalingam C <ramalingamc@nvidia.com>
Reviewed-on: http://git-master/r/114927
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>