]> nv-tegra.nvidia Code Review - linux-2.6.git/log
linux-2.6.git
12 years agoarm: regulator: gpio_switch: providing initial state
Laxman Dewangan [Fri, 28 Jan 2011 17:55:12 +0000 (23:25 +0530)]
arm: regulator: gpio_switch: providing initial state

Providing initial state of gpio switch to enable/disable
rail during init.

Original-Change-Id: Ibf6ca7e6bd4ccb8d48c65873b1a24582de195f59
Reviewed-on: http://git-master/r/17486
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Kaushik Sen <ksen@nvidia.com>
Original-Change-Id: Ib690801d2291da92257e42bc4db572d62fd4f0be

Rebase-Id: R3eb34754d9e335a602985e2b4bef4794855f180a

12 years agoregulator: Adding gpio switch based regulator
Laxman Dewangan [Mon, 24 Jan 2011 11:55:10 +0000 (17:25 +0530)]
regulator: Adding gpio switch based regulator

Supporting gpio switch based regulator so that client can
use the power rail through the regulator framework even
if the power rail partially controlled by gpio.

Original-Change-Id: I8cd0141a337d4a38a1b10efb0b5dbb8e3ff98a12
Reviewed-on: http://git-master/r/16727
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Original-Change-Id: I15dedf9ab874037922186b97c5f9daa33dde0b5f

Rebase-Id: Rca56ff58d510a37b71fb1497893cfe90d09931b2

12 years ago[ARM] tps6591x: Adding regulator and mfd driver
Laxman Dewangan [Fri, 21 Jan 2011 11:09:41 +0000 (16:39 +0530)]
[ARM] tps6591x: Adding regulator and mfd driver

Adding regulator and mfd core driver for TI TPS6591x PMIC family.

Original-Change-Id: I65c0e4758094f211f7e9f0944423bd935c1893c4
Reviewed-on: http://git-master/r/16529
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Tested-by: Scott Williams <scwilliams@nvidia.com>
Original-Change-Id: I2f82c178e3db0998e7c1a5a3b6b8e49832deaf59

Rebase-Id: Rc23fcc1e98e212ae6dc61a2458cafa016442b441

12 years agoregulator: tps6586x: fix LDO0 voltage setting
David Schalig [Sat, 2 Apr 2011 06:01:38 +0000 (15:01 +0900)]
regulator: tps6586x: fix LDO0 voltage setting

Minimum voltage for LDO0 was specified with a code construct,
better solve this with a voltage table. This avoids a warning
in kernel log, too.

Bug 798821

Original-Change-Id: I706276a9aae3359006ddc7fe9134b67e00ec34fd
Reviewed-on: http://git-master/r/25185
Reviewed-by: David Schalig <dschalig@nvidia.com>
Tested-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R800f3239d35415e5cb2f5ff2570f6f0285e44adc

12 years agoregulator: tps6586x: add PFM/PWM options on SMs supply
Xin Xie [Sat, 12 Mar 2011 03:04:15 +0000 (19:04 -0800)]
regulator: tps6586x: add PFM/PWM options on SMs supply

TPS6586x SM0, SM1 and SM2 port have 2 power switching modes:
 - PWM only, or
 - PMW-PFM auto mode

Some of TPS6586x have voltage spike in PFM-to-FWM transition can lockup
the CPU if choose PWM-PFM auto mode.

This patch enables such mode selection on SMs ports from the board level
power configuration file.

BUG 796364

Original-Change-Id: I7015798151d6753ff5dcc329703338fde105e2b0
Reviewed-on: http://git-master/r/22701
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Reviewed-by: Xin Xie <xxie@nvidia.com>
Tested-by: Xin Xie <xxie@nvidia.com>
Rebase-Id: R2f74b345bc3ea3adc22adcab40ee407c3e65cae9

12 years agoregulator: tps6586x: delay needed for LDO/SMs to stabilise
Varun Wadekar [Thu, 24 Feb 2011 07:37:29 +0000 (13:07 +0530)]
regulator: tps6586x: delay needed for LDO/SMs to stabilise

after enabling any LDO/SM, there is a specific amount of delay
required before the regulator becomes stable.

Original-Change-Id: Ife675b46eeec22e862bafd9f93774bd31782d53b
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/20738
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R2f7428e60415d486a43b8fab367ee597e8fce945

12 years agomax8907c regulator: use new mfd driver api
Tom Cherry [Fri, 21 Jan 2011 22:45:40 +0000 (14:45 -0800)]
max8907c regulator: use new mfd driver api

Modify the max8907c regulator to use the new i2c api in the mfd driver

Original-Change-Id: Ib919e97069459a9deb595b1fa0d3142763205de1
Reviewed-on: http://git-master/r/16614
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R10baa9eb3d5078457edc75a8774ec4be3228011d

12 years agomax8907c regulator: fix unit error
Tom Cherry [Wed, 29 Dec 2010 02:30:31 +0000 (18:30 -0800)]
max8907c regulator: fix unit error

The minimum, maximum, and step voltages for SD1 are different on max8907b
and max8907c.  This change reads the version register of the device
and uses the proper values, defaulting to the max8907c values, unless
the device is a max8907b.

Bug 772688

Original-Change-Id: I2bc53e81c7784e47c50e4ff45c4f4d71d875e187
Reviewed-on: http://git-master/r/14503
Tested-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R52c46e5096b21f9b530cfe19cea2cef964d640e5

12 years agoRegulators: Add max8907c and max8952
Jin Park [Thu, 28 Oct 2010 09:04:04 +0000 (18:04 +0900)]
Regulators: Add max8907c and max8952

Add max8907c regulator and mfd driver.
Add max8952 regulator driver.

Original-Change-Id: If63b724647d887a8088da0f2deb8af91e4fe3cfa
Signed-off-by: Jin Park <jinyoungp@nvidia.com>
Reviewed-on: http://git-master/r/9902
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R34a5dc549ba3f6781e5b7371e8e182c3cf6368db

12 years agoplaceholders for merging
Dan Willemsen [Thu, 5 May 2011 03:13:18 +0000 (20:13 -0700)]
placeholders for merging

Rebase-Id: R177e2f8e2b79f789558d19e4b17863c9b29fab9e

12 years agoMerge branch 'pre-hacks/from-google' into after-pre-hacks
Dan Willemsen [Thu, 22 Mar 2012 08:11:16 +0000 (01:11 -0700)]
Merge branch 'pre-hacks/from-google' into after-pre-hacks

12 years agoMerge branch 'pre-hacks/dma' into after-pre-hacks
Dan Willemsen [Thu, 22 Mar 2012 08:11:15 +0000 (01:11 -0700)]
Merge branch 'pre-hacks/dma' into after-pre-hacks

12 years agofs: ext4: Fix computation of inodes per block group
Colin Cross [Fri, 29 Apr 2011 22:38:33 +0000 (15:38 -0700)]
fs: ext4: Fix computation of inodes per block group

857ac889cce8a486d47874db4d2f9620e7e9e5de (ext4: add interface
to advertise ext4 features in sysfs) added an error check that
exposes a bug in the computation of sbi->s_itb_per_group.  If
the number of inodes per group is not a multiple of the number
of inodes per block,

Original-Change-Id: I8c60817dbb6feb43535b567ec7ea5ee0af709c37
Signed-off-by: Colin Cross <ccross@android.com>
(cherry picked from commit 8703a0ccb0135ae0de0d7011f29eeb6dc1caa486)

Rebase-Id: R7fc03850010d565447bb8702710040f112705738

12 years agousb: gadget: add phy_config to fsl_devices.h
Colin Cross [Sat, 9 Apr 2011 04:33:12 +0000 (21:33 -0700)]
usb: gadget: add phy_config to fsl_devices.h

Original-Change-Id: I7be84ad877d1865c639ee5856f546276c8fdac73
Signed-off-by: Colin Cross <ccross@android.com>
(cherry picked from commit e8945b26135c260f91c12a85cc911a165ab07504)

Rebase-Id: R3051e65e6a756bdad25ade5f865b383d9a2164e3

12 years agoRevert "ARM: tegra: dma: Do not call complete callback on canceled requests"
Dan Willemsen [Sun, 15 May 2011 00:58:29 +0000 (17:58 -0700)]
Revert "ARM: tegra: dma: Do not call complete callback on canceled requests"

This reverts commit 5dba29d1f761502e75320770fc4c6cf9c8e00998.

Rebase-Id: Rb6889e4755716f5baa5c7f272ae7d8c8b6d97ba5

12 years agoRevert "serial: tegra_hsuart: Call complete callbacks when cancelling reqs"
Dan Willemsen [Sun, 15 May 2011 00:58:24 +0000 (17:58 -0700)]
Revert "serial: tegra_hsuart: Call complete callbacks when cancelling reqs"

This reverts commit 5bf3a3e0d18712006090000256086c4a1672cca7.

Conflicts:

drivers/tty/serial/tegra_hsuart.c

Rebase-Id: R53d1706a5d5cdd2f06756158e6a4fb0e93f840e9

12 years agoARM: Cortex-A9: Enable dynamic clock gating
Todd Poynor [Tue, 15 Feb 2011 19:48:42 +0000 (11:48 -0800)]
ARM: Cortex-A9: Enable dynamic clock gating

Enable dynamic high level clock gating for Cortex-A9 CPUs, as
described in 2.3.3 "Dynamic high level clock gating" of the
Cortex-A9 TRM.  This may cut the clock of the integer core,
system control block, and Data Engine in certain conditions.

Add ARM errata 720791 to avoid corrupting the Jazelle
instruction stream on earlier Cortex-A9 revisions.

Original-Change-Id: I48e51d907e593f26982ea91b0a811553f68e3c86
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Rebase-Id: R7ae4d4825e9171bca2471fe776ecf363e75b9ca6

12 years agoMake tegra_defconfig compile
Dan Willemsen [Thu, 22 Mar 2012 07:22:47 +0000 (00:22 -0700)]
Make tegra_defconfig compile

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
12 years agommc: tegra: fixup error path
Dan Willemsen [Tue, 20 Mar 2012 00:34:37 +0000 (17:34 -0700)]
mmc: tegra: fixup error path

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Rebase-Id: R0dc39c843e6a708cb1fdfb7193422bc55c363e38

12 years agoRevert "mmc: sdhci-tegra: Add MMC_PM_IGNORE_PM_NOTIFY for builtin device"
Dan Willemsen [Fri, 17 Jun 2011 05:33:52 +0000 (22:33 -0700)]
Revert "mmc: sdhci-tegra: Add MMC_PM_IGNORE_PM_NOTIFY for builtin device"

This reverts commit 09e0e4fb75de1a008f00025a186d756435f9f034.

Rebase-Id: R7f871bc41beda798acea8b9c7c32d50531ad88e0

12 years agoARM: Add 'card_present' state to mmc_platfrom_data
Dmitry Shmidt [Tue, 3 May 2011 18:05:04 +0000 (11:05 -0700)]
ARM: Add 'card_present' state to mmc_platfrom_data

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Rebase-Id: R326381df3f4188cc1f700eb210c12b483afe9e77

12 years agoRecreate asm/mach/mmc.h include file
Colin Cross [Sat, 9 Apr 2011 05:20:53 +0000 (22:20 -0700)]
Recreate asm/mach/mmc.h include file

Change-Id: I9f10244b0603f7842b8504a16124d40dc4a71ed2
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: Rdc49da8123b4e700f2987a4a5ea19ad2b29ff1d6

12 years agofixup: hotplug.c: cpu_pm
Dan Willemsen [Thu, 22 Mar 2012 05:04:03 +0000 (22:04 -0700)]
fixup: hotplug.c: cpu_pm

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
12 years agopinmux-tegra30-tables: replace mach/suspend.h with pm.h
Dan Willemsen [Thu, 22 Mar 2012 05:02:28 +0000 (22:02 -0700)]
pinmux-tegra30-tables: replace mach/suspend.h with pm.h

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
12 years agoHACK usb_phy.c add pinmux-tegra20.h include
Dan Willemsen [Thu, 22 Mar 2012 04:57:59 +0000 (21:57 -0700)]
HACK usb_phy.c add pinmux-tegra20.h include

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
12 years agoHACK: add idmap.h include
Dan Willemsen [Thu, 22 Mar 2012 04:56:57 +0000 (21:56 -0700)]
HACK: add idmap.h include

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
12 years agoHACK: partial revert of static identity_mapping_add
Dan Willemsen [Thu, 22 Mar 2012 04:50:16 +0000 (21:50 -0700)]
HACK: partial revert of static identity_mapping_add

commit 4e8ee7de227e3ab9a72040b448ad728c5428a042

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
12 years agoHACK: fixup tegra_init_cache
Dan Willemsen [Thu, 22 Mar 2012 01:31:15 +0000 (18:31 -0700)]
HACK: fixup tegra_init_cache

Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
12 years agovideo: fbmon: fixed E-EDID SVD entry parsing
Eric Laurent [Thu, 15 Sep 2011 17:30:46 +0000 (10:30 -0700)]
video: fbmon: fixed E-EDID SVD entry parsing

Fixed index calculation when parsing E-EDID block SVD entry
in fb_edid_add_monspecs().

Change-Id: I0273e2f29e86687607923d07faf99a30696f5ead
Signed-off-by: Eric Laurent <elaurent@google.com>
Rebase-Id: Rc55887d66002d58dcc5b602efb038a35807e6799

12 years agovideo: fbmon: add HDMI dectetion to fbmod edid parsing
Erik Gilling [Mon, 7 Feb 2011 03:32:17 +0000 (19:32 -0800)]
video: fbmon: add HDMI dectetion to fbmod edid parsing

Looks for ieee registration number 0x000c03 as per HDMI spec.
CEA-861-E section D.6.8.

Change-Id: I6875b24c66e8754510edabcb4f9ba682a50d6ac1
Signed-off-by: Erik Gilling <konkers@android.com>
Signed-off-by: Lajos Molnar <molnar@ti.com>
Rebase-Id: Rf3a48bcf800a61542c2226d728e7cde1c3889da7

12 years agovideo: fbmon: Add support for CEA pixel ratios.
Lajos Molnar [Fri, 9 Sep 2011 21:44:13 +0000 (16:44 -0500)]
video: fbmon: Add support for CEA pixel ratios.

CEA defines multiple timings with dual timing ratios that cannot
be distinguished from timings parameters.  Added 2 new fb flags
to specify 4:3 or 16:9 display ratios.

Also added a flag that denotes CEA formats that require repeating
pixels.

Change-Id: I75d413babdcb4048a0ccce6548ed386ad0e52318
Signed-off-by: Lajos Molnar <molnar@ti.com>
Rebase-Id: Re8a9c83e4707ae0ffabf4f2a539758faeacd6211

12 years agovideo: fbmon: add remaining modes to CEA mode database
Erik Gilling [Tue, 13 Sep 2011 20:44:44 +0000 (13:44 -0700)]
video: fbmon: add remaining modes to CEA mode database

These mode are directly from the CEA-861-E spec.

Change-Id: Ic29390fb8dfc4605da1f95aaee0e2e775dfc0a4a
Signed-off-by: Erik Gilling <konkers@android.com>
Rebase-Id: R846f89c07d11e7b985f5437c4ecf446354147561

12 years agoRevert "video: fbmon: add HDMI dectetion to fbmod edid parsing"
Erik Gilling [Wed, 9 Nov 2011 22:18:46 +0000 (14:18 -0800)]
Revert "video: fbmon: add HDMI dectetion to fbmod edid parsing"

This reverts commit c326f06779fb6bdd7f92c3ede8d1bebbe2fafbfa.

Rebase-Id: Re524e8d29145ef2fe418b122c9d0eeb4b773a7eb

12 years agowatchdog: tegra_wdt: give time for spinlock lockup detection to work
JP Abgrall [Sat, 27 Aug 2011 01:39:17 +0000 (18:39 -0700)]
watchdog: tegra_wdt: give time for spinlock lockup detection to work

To allow the spinlock lockup detection to actually trigger after
60 seconds, the tegra_wdt heartbeat needs to be longer than that.
Bumping it to 120sec, as at the 50% marker the watchdog takes an
interrupt.

Change-Id: I099fd7720d65c0e2050fa91161e30485fe84a1ed
Signed-off-by: JP Abgrall <jpa@google.com>
Rebase-Id: R89dfdbb2a0d1c756a79b5e77205d74a27ab6185b

12 years agoARM: tegra: pm: hold cpus unti all have booted when exiting lp2
Colin Cross [Wed, 24 Aug 2011 02:26:33 +0000 (19:26 -0700)]
ARM: tegra: pm: hold cpus unti all have booted when exiting lp2

When exiting lp2, each cpu boots through cpu_resume, which
modifies the last used page table to add a 1-1 mapping in
order to turn on the mmu.  The first cpu to boot triggers
booting the second cpu, and if allowed to continue immediately
may start executing a userspace task that is using the same
page tables as the second cpu is modifying during its boot
process.  Hold each cpu in a loop until all cpus have
finished booting to ensure page tables are back to their
original state.  Each cpu triggers a global tlb flush
after it restores the page table, so all cpus will see the
original values before they exit idle.

Change-Id: Iad91ae57e2abbbec3d6d491460c3e19411b519c0
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R110a4b1f28846af97edd39bb382e1e09c3f92330

12 years agoARM: tegra: sleep: flush tlbs when exiting wfi
Colin Cross [Wed, 24 Aug 2011 00:43:54 +0000 (17:43 -0700)]
ARM: tegra: sleep: flush tlbs when exiting wfi

tegra_sleep_wfi disables coherency to prepare for possibly
resetting the cpu.  If an interrupt is received, it exits
wfi and re-enables coherency, but it was not flushing the
tlbs or the branch predictor array, which could have been
updated by broadcast tlb operations that were ignored.
Flush the tlbs and branch predictor array when exiting.

Change-Id: If2c6ca3f923baf2f883f461a2a90f08833c7e191
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: Re46c9045a33ad78789e7dee2788b470fd1071c83

12 years agommc: sdhci: Enable MMC_CAP_ERASE for the tegra sdhci controller
Ken Sumrall [Thu, 18 Aug 2011 04:12:55 +0000 (21:12 -0700)]
mmc: sdhci: Enable MMC_CAP_ERASE for the tegra sdhci controller

Even if the card/emmc chip claims to support the Erase command,
the command won't work unless the controller is also configured
to support it.

Change-Id: Ic45fcd88dd3b3381677d907d31fa3a56bb697107
Signed-off-by: Ken Sumrall <ksumrall@android.com>
Rebase-Id: Ra7472026260294afa7d63335e7db29cadc9f1f9e

12 years agoARM: tegra: pm: save/restore ahb bus registers
Benoit Goby [Fri, 15 Jul 2011 04:26:39 +0000 (21:26 -0700)]
ARM: tegra: pm: save/restore ahb bus registers

Submitted on behalf of Jay Cheng <jacheng@nvidia.com>
Modified to use syscore_ops

Change-Id: Ic8a3a9559634eb3f1f0e4b40a2d8502d20d606d6
Signed-off-by: Benoit Goby <benoit@android.com>
Rebase-Id: R772632ac36f18c046f055fa71c062eda75adaf78

12 years agoARM: tegra: Enable AHB prefetch for USB
Benoit Goby [Fri, 15 Jul 2011 02:50:34 +0000 (19:50 -0700)]
ARM: tegra: Enable AHB prefetch for USB

Enabling AHB prefetch on USB1, USB2, USB3 controllers,
to improve the USB transfer throughput.

originally work from Rakesh Bodla <rbodla@nvidia.com>

Change-Id: I3c45bb8e97ceffbf43229b9c3d9581a565b61187
Signed-off-by: James Wylder <james.wylder@motorola.com>
Rebase-Id: R70e5a98a122758afb8aafc8c9bd5fd3e0640ba2d

12 years agoARM: tegra: usb: prefetch engine buffer coherency protection
James Wylder [Tue, 21 Jun 2011 20:30:40 +0000 (15:30 -0500)]
ARM: tegra: usb: prefetch engine buffer coherency protection

The prefetcher fetches a total of 128 bytes, and then responding to
sequential reads with this prefetched data. To avoid coherency issues,
it discards the prefetched data if a non sequential read occurs.

Allocate dtd with 128 bytes boundary to make 2 consecutive dtd 128 bytes
apart.

Submitted on behalf of Jay Cheng <jacheng@nvidia.com>

Change-Id: I2adc02c2ac7901d0617b487cb498a34ec7a63e18
Signed-off-by: James Wylder <james.wylder@motorola.com>
Rebase-Id: R5f9b91ece4b041d15bed9c1239bff073af18dcb8

12 years agousb: host: tegra: Add a short delay before the controller suspends.
Mike Corrigan [Mon, 20 Jun 2011 20:36:18 +0000 (15:36 -0500)]
usb: host: tegra: Add a short delay before the controller suspends.

Submission from Jay Cheng <jacheng@nvidia.com>.

Change-Id: Ic92befe618adc7bdd12c35374fb3f855d7f6a515
Signed-off-by: Mike Corrigan <michael.corrigan@motorola.com>
Rebase-Id: Rd1b4ff67cb1a4ad0df30d578072d36571b68afec

12 years agousb: gadget: tegra: update memory frequency requests to MAX
James Wylder [Tue, 21 Jun 2011 17:48:15 +0000 (12:48 -0500)]
usb: gadget: tegra: update memory frequency requests to MAX

Need maximum memory bandwidth to support bi-directional
transfers on multiple endpoints.

Change-Id: Idfd74c62ea0438fca7b93e82a6032a28feeab830
Signed-off-by: James Wylder <james.wylder@motorola.com>
Rebase-Id: R81d4136fe8d556ecf53873e7fe3022bc8d0e2ced

12 years agoARM: tegra: small optimizations for table lookups
James Wylder [Tue, 21 Jun 2011 17:51:37 +0000 (12:51 -0500)]
ARM: tegra: small optimizations for table lookups

Optimization that primarily addresses when cpu frequency
is low but a high memory bandwidth is needed.

Change-Id: I4f800c2368191c744aefd9f83eb96e4c108dbcc3
Signed-off-by: James Wylder <james.wylder@motorola.com>
Rebase-Id: Rb56fcfbf9ee66305b9d9cf8b02a42e3f4aab020c

12 years agoARM: tegra: usb_phy: Revise some default settings for utmi phy
Benoit Goby [Sun, 17 Jul 2011 23:59:58 +0000 (16:59 -0700)]
ARM: tegra: usb_phy: Revise some default settings for utmi phy

Submitted on behalf of Jay Cheng <jacheng@nvidia.com>

Change-Id: I8552e995ee5c124023dd7f5385e8ecca7a50eee8
Signed-off-by: James Wylder <james.wylder@motorola.com>
Rebase-Id: R003588d3b2d55a4117d118f95b71cdc388fa19f1

12 years agoARM: tegra: clock: Add frequencies table for pll_c
Sergey Kudakov [Fri, 1 Apr 2011 00:15:43 +0000 (19:15 -0500)]
ARM: tegra: clock: Add frequencies table for pll_c

Change-Id: Ib64190b01fc26bfb7fb8b9059afcc172d91e8da5
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
Rebase-Id: R36eb1e1b485a1ea31af7092b3c3ef83c0e78aad3

12 years agovideo: tegra: nvmap: perform cache maintenance for rw_handle
Greg Roth [Wed, 16 Mar 2011 20:44:47 +0000 (13:44 -0700)]
video: tegra: nvmap: perform cache maintenance for rw_handle

Need cache maintenance on rw_handle to remove
display garbage issue which happens randomly.

Change-Id: I73606ae6551c0e75058e055f4a19e5f074a47004
Signed-off-by: Greg Roth <groth@nvidia.com>
Rebase-Id: R90e3ef151b634a47639a314e3d990eda4671ec73

12 years agoRevert "ARM: tegra: resolve ulpi disconnect issue"
Colin Cross [Fri, 17 Jun 2011 23:27:21 +0000 (16:27 -0700)]
Revert "ARM: tegra: resolve ulpi disconnect issue"

Commit 190f7b3ed5a597d2232e9047b50ac2d7613c3272 was an incorrect
merge, revert it.

Change-Id: I1c7e09fdbaad6637326facbc0ee06117bfb15e48

Rebase-Id: R224f9a9eb78f2758ca6c7ad423719ad20d61c826

12 years agovideo: tegra: add support for tiled surfaces
Michael I. Gold [Thu, 31 Mar 2011 02:07:07 +0000 (19:07 -0700)]
video: tegra: add support for tiled surfaces

Change-Id: I82497fc756552740836eaa2f608fecaea409cfeb
Signed-off-by: Michael I. Gold <gold@nvidia.com>
Rebase-Id: R546a39a04712c0dbb6fcc51f60fb9ccb20fc46d5

12 years agovideo: tegra: add display inversion support
Ari Hirvonen [Wed, 2 Mar 2011 00:06:27 +0000 (02:06 +0200)]
video: tegra: add display inversion support

Change-Id: Ied3851e0cb801f607499493f1e552f42daa97e6b
Signed-off-by: Ari Hirvonen <ahirvonen@nvidia.com>
Rebase-Id: Ref0a8a3fad3a8ddcea612106a2a7e08a7a33e325

12 years agousb: ehci: tegra: Correctly handle GetPortStatus during Resume
Nathan Connell [Mon, 2 May 2011 19:32:36 +0000 (14:32 -0500)]
usb: ehci: tegra: Correctly handle GetPortStatus during Resume

Multiple GetPortStatus requests can be made while the
USB bus is resuming.  All requests must be handled
properly to prevent incorrect disconnect detection
during Resume and improper indentification of
Resume signaling as a remote wakeup event.

Change-Id: Ib07f83a2bab5699b2d95533d26d0a6bf541c697d
Signed-off-by: Nathan Connell <w14185@motorola.com>
Rebase-Id: R6d2c8b1b85fb37d1e1d7dad3051098b0d42ed71a

12 years agousb: host: tegra: update memory frequency requests to 150 MHz
James Wylder [Fri, 11 Mar 2011 22:39:43 +0000 (16:39 -0600)]
usb: host: tegra: update memory frequency requests to 150 MHz

With the previous change in memory frequency (200 MHz
to 150 MHz) requests of 200 MHz will round up to full
speed.  This negatively impacts current drain.

Change-Id: Ib67d8eaff57836a2f1756d84cce6533539911178
Signed-off-by: James Wylder <james.wylder@motorola.com>
Rebase-Id: R4c915ea04c3319ddd1962b24199d2e50e18fae06

12 years agousb: gadget: tegra: update memory frequency requests to 150 MHz
James Wylder [Fri, 11 Mar 2011 22:39:43 +0000 (16:39 -0600)]
usb: gadget: tegra: update memory frequency requests to 150 MHz

With the previous change in memory frequency (200 MHz
to 150 MHz) requests of 200 MHz will round up to full
speed.  This negatively impacts current drain.

Change-Id: Iefdb3a50aff338b44daa8311218400e4b4586152
Signed-off-by: James Wylder <james.wylder@motorola.com>
Rebase-Id: R39ff6f546ba05e471bb1e95cca6a78e35492099a

12 years agovideo: tegra: dc: Fix introduced regression.
Andrei Warkentin [Tue, 3 May 2011 21:41:08 +0000 (16:41 -0500)]
video: tegra: dc: Fix introduced regression.

Removes changes to DC reset flow.

Change-Id: I491b6771c205bec7e19d4c661bb6d376ea8e25e4
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Rebase-Id: Rff4fa57c697204ac1b0521eaf54c36acc346953f

12 years agoARM: tegra: syncpt: Fix irq calls for 2.6.39
Colin Cross [Sat, 9 Apr 2011 02:16:20 +0000 (19:16 -0700)]
ARM: tegra: syncpt: Fix irq calls for 2.6.39

Change-Id: Ic69e022649bae71dd6d9a034c4da97e4197e5dc2
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: Re15a3882c7aa988daa0a3a0cfc643f89acc1eb61

12 years ago[ARM] tegra: syncpt: Move syncpt handling to syncpt.c
Colin Cross [Sat, 21 Aug 2010 20:21:45 +0000 (13:21 -0700)]
[ARM] tegra: syncpt: Move syncpt handling to syncpt.c

Change-Id: I8ee2cde45d424e74465f62d1c2185291c30ac982
Signed-off-by: Colin Cross <ccross@google.com>
Rebase-Id: R3f4a640e1e43f4d250d7265ab331c33c84ff3000

12 years agoARM: tegra: i2s: change driver name to match devices.c
Colin Cross [Sat, 9 Apr 2011 18:49:10 +0000 (11:49 -0700)]
ARM: tegra: i2s: change driver name to match devices.c

Change-Id: Id49b641dfded1300fa37fb57648f4706fca19270
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R1180fd83081ffd26bb2395ac8ccbc2fe5e8a5aef

12 years agoARM: tegra: apbio: move init to arch_initcall
Colin Cross [Sat, 9 Apr 2011 18:48:48 +0000 (11:48 -0700)]
ARM: tegra: apbio: move init to arch_initcall

Change-Id: Iaf07fe2412a012c3b02850fecc6f1dba90bd8ff1
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R5c5139c1bb411ba389b312f359105acc8bf92285

12 years agousb: gadget: tegra: Fix dropped variable
Colin Cross [Sat, 9 Apr 2011 03:57:05 +0000 (20:57 -0700)]
usb: gadget: tegra: Fix dropped variable

Change-Id: I20a86be55a20d8658e5d5dc92ae6c733dacce3bb
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: Refda099ecf0d13fb1b5c8193aafa9f4a59b096ed

12 years agommc: host: sdhci-tegra: Add set_clock op
Colin Cross [Fri, 6 May 2011 04:48:54 +0000 (21:48 -0700)]
mmc: host: sdhci-tegra: Add set_clock op

Add a set_clock op to sdhci-tegra to allow the clock to be
disabled.  Also add suspend and resume ops to disable
the clock before suspend, and enable it during resume.

Change-Id: I239cb769b54c83a1bd4a80b73e1c4845ce2d165d
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: Rbf12d34ca4f97a02931672f600a03cd92008d556

12 years agommc: host: sdhci-pltfm: Add suspend and resume hooks to sdhci platform
Colin Cross [Fri, 6 May 2011 04:47:55 +0000 (21:47 -0700)]
mmc: host: sdhci-pltfm: Add suspend and resume hooks to sdhci platform

Change-Id: I062fbe91d8af14366a92af1a27e9dab49869905c
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R3eb206857e57a61e445a1dd6b7efdc63ab1e0dd5

12 years agoARM: tegra: resolve ulpi disconnect issue
James Wylder [Thu, 7 Apr 2011 21:02:19 +0000 (16:02 -0500)]
ARM: tegra: resolve ulpi disconnect issue

Correct phy start-up sequence.
Put the phy in low power mode.
Tristate ulpi interface when USB controller is resuming

Change-Id: I1b326c16b56b9fd2d424afb8cf0888da6c9e245e
Signed-off-by: James Wylder <james.wylder@motorola.com>
Rebase-Id: Rbad940bd33344922b68b4ffc58f802f3877da89b

12 years agousb: gadget: fsl_udc: Fix a race between ep_disable and ep_queue
Benoit Goby [Sat, 9 Apr 2011 03:53:59 +0000 (20:53 -0700)]
usb: gadget: fsl_udc: Fix a race between ep_disable and ep_queue

Fixed a possible null pointer exception when an endpoint gets
disabled while a request is being enqueued in parallel.

Unmap the request buffer if we fail to enqueue the request.

Change-Id: If94cc278c2e6ab58adcf170511e676348365f3f9
Signed-off-by: Benoit Goby <benoit@android.com>
Rebase-Id: Rdc20450f2b7621ef73baf89c84219bac34994651

12 years agousb: gadget: fsl_udc: Unlock the spinlock before calling clk_enable
Benoit Goby [Wed, 29 Sep 2010 23:04:25 +0000 (16:04 -0700)]
usb: gadget: fsl_udc: Unlock the spinlock before calling clk_enable

On suspend, dr_controller_stop disable interrupts and on resume, interrupts
are disabled until dr_controller_run is called, so it is safe to call
fsl_udc_clk_suspend/resume with interrupts and the spinlock unlocked.

Change-Id: I33618295ea096a4bfd796d1a07dfc9722e7786b0
Signed-off-by: Benoit Goby <benoit@android.com>
Rebase-Id: Rbff9f8b7b1797055d21d8c201d56c72631183344

12 years agousb: gadget: Enable/disable the gadget device on vbus_session calls
Benoit Goby [Wed, 1 Sep 2010 00:09:39 +0000 (17:09 -0700)]
usb: gadget: Enable/disable the gadget device on vbus_session calls

If we use an OTG driver, the driver will detect VBUS changes and notify
the gadget driver through vbus_session. Enable/disable the gadget driver
in vbus session so that there is no need to check the OTG state on every
interrupt.

Change-Id: I617ad5742be2632b2257b71314db8f330be463d5
Signed-off-by: Benoit Goby <benoit@android.com>
Rebase-Id: Rbf3f31d373f57989244f916b220c44e526eff826

12 years agousb: gadget: Reset the controller when cable is unplugged
Benoit Goby [Sat, 9 Apr 2011 03:50:59 +0000 (20:50 -0700)]
usb: gadget: Reset the controller when cable is unplugged

Reset the controller when the cable is unplugged to leave it in the idle
state. The OTG driver will reconfigure it on vbus/id pin detection.

Change-Id: I87903ec86f3c35af64a141f27a34cc0720a61b08
Signed-off-by: Benoit Goby <benoit@android.com>
Rebase-Id: R2232a70c504450bae460cc7031e7d9e40762173b

12 years agommc: tegra: Add explicit card-detect processing
Dmitry Shmidt [Tue, 3 May 2011 18:14:53 +0000 (11:14 -0700)]
mmc: tegra: Add explicit card-detect processing

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Rebase-Id: R34adf5d554f3293056594a9c6f53fe9d47f7b1b4

12 years agommc: sdhci-tegra: Add MMC_PM_IGNORE_PM_NOTIFY for builtin device
Dmitry Shmidt [Thu, 5 May 2011 18:04:51 +0000 (11:04 -0700)]
mmc: sdhci-tegra: Add MMC_PM_IGNORE_PM_NOTIFY for builtin device

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Rebase-Id: Rad8d0a03033ce72961ffb8be8610f248139a057e

12 years agoARM: tegra: mmc: Add mmc_platform_data to tegra_sdhci_platform_data
Dmitry Shmidt [Tue, 3 May 2011 18:10:43 +0000 (11:10 -0700)]
ARM: tegra: mmc: Add mmc_platform_data to tegra_sdhci_platform_data

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Rebase-Id: R1bbe99a52288eb16d07fb876a601f8a049e4858e

12 years agoARM: tegra: Add WIFI_CONTROL_FUNC config
Dmitry Shmidt [Tue, 3 May 2011 18:09:38 +0000 (11:09 -0700)]
ARM: tegra: Add WIFI_CONTROL_FUNC config

Change-Id: Ia423e7f87f8994a4cbcf752562692c568fe2bf68
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Rebase-Id: R82c561f48621fe6e44880cc53d24426ddd4f7676

12 years agoARM: tegra: iovmm: Convert suspend to syscore ops
Colin Cross [Fri, 29 Apr 2011 21:46:18 +0000 (14:46 -0700)]
ARM: tegra: iovmm: Convert suspend to syscore ops

Also convert lock used in suspend to spinlock.

Change-Id: Icedac130e7b5e9a69df6f16779ef8d53efe424f1
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R6be6eeefb34dcb7a69e403c27a72062b1bbd1932

12 years agoARM: tegra: Verify PHY clock valid before clearing USB_SUSP_CLR bit
Nathan Connell [Mon, 25 Apr 2011 19:17:13 +0000 (14:17 -0500)]
ARM: tegra: Verify PHY clock valid before clearing USB_SUSP_CLR bit

When enabling the external ULPI PHY, the clock from the PHY must be
valid before the USB_SUSP_CLR bit is cleared in the USB2 controller
interface register.  If the clock from the PHY is not valid when
this bit is cleared, the AHB clock to the host controller may be
stopped, preventing any access to the host controller.

Replace hard-coded delay with poll for USB_PHY_CLK_VALID bit.
Signed-off-by: Nathan Connell <w14185@motorola.com>
Change-Id: I24fa7575641f20ffdba7737776a81ba453f54395
Signed-off-by: Nathan Connell <w14185@motorola.com>
Rebase-Id: R819c1a8f769f72aad2868ab78f4d31bd3b97c750

12 years agoARM: tegra: usb_phy: Resolve ulpi disconnect issue
James Wylder [Thu, 7 Apr 2011 21:02:19 +0000 (16:02 -0500)]
ARM: tegra: usb_phy: Resolve ulpi disconnect issue

Correct phy start-up sequence.
Put the phy in low power mode.
Tristate ulpi interface when USB controller is resuming

Change-Id: I1b326c16b56b9fd2d424afb8cf0888da6c9e245e
Signed-off-by: James Wylder <james.wylder@motorola.com>
Rebase-Id: R8390c94ab187d9713e2cff4856f8c0a1be5e3620

12 years agovideo: tegra: dc: Fix several problems
Andrei Warkentin [Thu, 21 Apr 2011 16:57:57 +0000 (11:57 -0500)]
video: tegra: dc: Fix several problems

Resolve potential race between resume and reset
Fix wmb after return

Change-Id: I98ad1e713b9781d780bf93561496011bf62b86d1
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Rebase-Id: R248821307a1d2ac9454e50f9fa5bc3ccadc4e092

12 years agovideo: tegra: prevent double disable in suspend
Andrei Warkentin [Tue, 19 Apr 2011 19:20:48 +0000 (14:20 -0500)]
video: tegra: prevent double disable in suspend

Prevents HDMI detect worker from re-disabling DC during
suspend (after tegra_dc_suspend has disabled DC itself)/

Change-Id: I90016fb709934ab8fb5135443980898069f8071f
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: Erik Gilling <konkers@android.com>
Rebase-Id: R87e341c550a0bab2fda3b81f6b3e82c96ffcdc11

12 years agovideo: tegra: dc: hdcp: handle the case of DEVICE_COUNT = 0 properly
Peter Zu [Thu, 7 Apr 2011 04:42:33 +0000 (21:42 -0700)]
video: tegra: dc: hdcp: handle the case of DEVICE_COUNT = 0 properly

When HDCP repeater has no device attached, DEVICE_COUNT reports back as 0.
HDCP driver should handle this case as a good case and continue downstream
authentication, other than fail it.

Change-Id: Ied2e46428c0247f14fbd96016cd4fdbf358f6587

Rebase-Id: R0d45add14c7718d3133fffd8f04a3d75cb1db76f

12 years agovideo: tegra: fix more unplug/suspend timeout in nvhdcp
Erik Gilling [Fri, 15 Apr 2011 21:49:53 +0000 (14:49 -0700)]
video: tegra: fix more unplug/suspend timeout in nvhdcp

Change-Id: I30dfa03324eb5c4c344c62578eb808a150c80deb
Signed-off-by: Erik Gilling <konkers@android.com>
Rebase-Id: R6e70e60d8e02479ada9393d96370ef15dc294029

12 years agovideo: tegra: fix unplug/suspend timeout in nvhdcp
Erik Gilling [Wed, 13 Apr 2011 15:03:41 +0000 (08:03 -0700)]
video: tegra: fix unplug/suspend timeout in nvhdcp

If HDCP was turned off (either by unplug or suspend) the work funciton
would wait the full timeout 5 * l.75s before exiting.  This
causes suspend to timeout and crash.

Change-Id: I8eb185452ad09e34f4573874e9766c0e1cec15de
Signed-off-by: Erik Gilling <konkers@android.com>
Rebase-Id: R1f5d558bc5ddc0a34e3b6db80d783a8dd791b8b2

12 years agovideo: tegra: zero out var before calling fb_videomode_to_var
Erik Gilling [Wed, 13 Apr 2011 00:36:04 +0000 (17:36 -0700)]
video: tegra: zero out var before calling fb_videomode_to_var

Change-Id: I23f01da0a7dcd62594faa828676ffb7a4bc72d9f
Signed-off-by: Erik Gilling <konkers@android.com>
Rebase-Id: R98a0814898c3426429ed1a58d5c897b88a56b63d

12 years agovideo: tegra: add debouncing to hdmi hotplug
Erik Gilling [Mon, 11 Apr 2011 22:15:15 +0000 (15:15 -0700)]
video: tegra: add debouncing to hdmi hotplug

Change-Id: Ic998e183e79faabc36d96720dcbae2640e8cf419
Signed-off-by: Erik Gilling <konkers@android.com>
Rebase-Id: R936f7babe91dacff5d0709057e4a16b6a1cd4e5e

12 years agovideo: tegra: reset hdcp failure count on hotplug
Jon Mayo [Wed, 6 Apr 2011 20:20:15 +0000 (13:20 -0700)]
video: tegra: reset hdcp failure count on hotplug

use tegra_nvhdcp_on/tegra_nvhdcp_off in hotplug handler to clean up
state machine.

Change-Id: I62fe503f0628ad4b49d5d7d66fe1702122179877
Signed-off-by: Erik Gilling <konkers@android.com>
Rebase-Id: Rac4bd11b5fe5f94eacfac9379b39effa45dc7e04

12 years agovideo: tegra: use longer retries for hdcp
Jon Mayo [Wed, 6 Apr 2011 20:15:20 +0000 (13:15 -0700)]
video: tegra: use longer retries for hdcp

use 3 seconds for i2c/ddc failures on hdcp (15 attempts at 250mS each)

Change-Id: Ia755c9b42d5a0d8467b68c9d334638bcb015eabd
Signed-off-by: Erik Gilling <konkers@android.com>
Rebase-Id: R8c761f0f303b8a552019ebaa92a4ca01499c1645

12 years agovideo: tegra: attempt HDCP on DVI
Erik Gilling [Thu, 7 Apr 2011 17:33:55 +0000 (10:33 -0700)]
video: tegra: attempt HDCP on DVI

Change-Id: If9efc63de3427f263b121e102cd0168883a236a3
Signed-off-by: Erik Gilling <konkers@android.com>
Rebase-Id: R32e40dfcb9aa34d56412831da53c5d6b24d7a663

12 years agoi2c: busses: i2c-tegra: Fix multi-bus
Colin Cross [Sat, 9 Apr 2011 02:17:48 +0000 (19:17 -0700)]
i2c: busses: i2c-tegra: Fix multi-bus

Change-Id: I504d3d8833406db68cc0045d1dc37278d9ee8708
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: Rfe32a49607d827f9835efb25e1c5e139ebf7da33

12 years agoARM: tegra: fiq: Fix calls to mask/unmask
Colin Cross [Sat, 9 Apr 2011 02:16:02 +0000 (19:16 -0700)]
ARM: tegra: fiq: Fix calls to mask/unmask

Change-Id: I5ea0964d4a803ca7a52acd3d93307ca5254da6a9

Rebase-Id: R5920dfef5064f77417d862bed1e25803f85fcd0e

12 years agoARM: tegra: pm: Use clk_get_rate_all_locked
Colin Cross [Sat, 9 Apr 2011 02:14:25 +0000 (19:14 -0700)]
ARM: tegra: pm: Use clk_get_rate_all_locked

Change-Id: I4cef9472d5bc3b51473982858fcc058ea539381a
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R68adf1983100ac1b02932b93c99136e22dc3f04e

12 years agoARM: tegra: pm: Drop fiq enable/disable, will be handled by cpu_pm
Colin Cross [Sat, 9 Apr 2011 02:14:06 +0000 (19:14 -0700)]
ARM: tegra: pm: Drop fiq enable/disable, will be handled by cpu_pm

Change-Id: I0a64186da6f615f39af7e4548ea26f9aea6622ca
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: Rf3fd985352b1977fbf68c971ae71fb93fc8a4ea6

12 years agotty: serial: tegra_hsuart: Move to tty/serial directory
Colin Cross [Sat, 9 Apr 2011 01:26:08 +0000 (18:26 -0700)]
tty: serial: tegra_hsuart: Move to tty/serial directory

Change-Id: If2feadfa2091bc38ba158f2bd58b55b7cefd8e8a
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R2ecb80068fc28f4d5fe4a7278c0ee3ef56ff7f71

12 years agoARM: tegra: cpuidle: Remove fiq enable/disable
Colin Cross [Sat, 9 Apr 2011 01:23:33 +0000 (18:23 -0700)]
ARM: tegra: cpuidle: Remove fiq enable/disable

Change-Id: I52881da51ba1daf95a960c8fc834dd2f1be824c4
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R8c31fc93bf703ca36bb7b08b1e3c3de19525a7a4

12 years agovideo: tegra: dc: Call dvfs functions
Colin Cross [Mon, 18 Oct 2010 03:49:48 +0000 (20:49 -0700)]
video: tegra: dc: Call dvfs functions

Change-Id: If3cca5da2abc5e6c3671c8c23af90cd4e029db5c
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R1e6bc9310cf95777341bc7c6d549942768970a2d

12 years agoARM: tegra: Add dvfs
Colin Cross [Thu, 7 Apr 2011 22:47:13 +0000 (15:47 -0700)]
ARM: tegra: Add dvfs

Change-Id: I865e52cae592507c642b92dde3a8293db2d0228f
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: Ra589d56e7edf4d534c5dc4a831657532bb501038

12 years agofix harmony
Colin Cross [Thu, 7 Apr 2011 22:45:07 +0000 (15:45 -0700)]
fix harmony

Change-Id: I6b39d27144a71a952f534b9066173be5a25ff049

Rebase-Id: R5c307e8f4af0e4c6b933a1445ec90b468587b275

12 years agoARM: tegra: harmony: Temporarily disable otg
Colin Cross [Thu, 7 Apr 2011 22:00:51 +0000 (15:00 -0700)]
ARM: tegra: harmony: Temporarily disable otg

Change-Id: I69082a1a2c1e5430fb8f9a186088aa45ec8a9715

Rebase-Id: R6ccb5a19e4105ce0d36e5c446123990578a4f0dc

12 years agoARM: tegra: harmony: Fix sdhci build
Colin Cross [Thu, 7 Apr 2011 22:00:33 +0000 (15:00 -0700)]
ARM: tegra: harmony: Fix sdhci build

Change-Id: Ie5317feae18f3933a93021a38f505aa44618b7c1

Rebase-Id: R4cfab66df510d349fc33cfbe2d369d7970e0166f

12 years agoARM: tegra: fiq: Access registers directly
Colin Cross [Thu, 7 Apr 2011 21:58:11 +0000 (14:58 -0700)]
ARM: tegra: fiq: Access registers directly

Change-Id: Ia10f65ed00ade7298612ae3c8e4c6255c1a5ee7e

Rebase-Id: Rab8893b6ed7eb60ff451c683c1a5fef9b01e3fd1

12 years agovideo: tegra: nvmap: remove smp_lock include
Colin Cross [Thu, 7 Apr 2011 21:57:23 +0000 (14:57 -0700)]
video: tegra: nvmap: remove smp_lock include

Change-Id: I51fe70b92f256951e68c6bbd21e6b4d6081f4731

Rebase-Id: R299bf5249aa448d3c4c19ac66aa0b9d83f6a00fd

12 years ago[ARM] mm: add memory type for inner-writeback
Colin Cross [Thu, 7 Apr 2011 21:47:45 +0000 (14:47 -0700)]
[ARM] mm: add memory type for inner-writeback

For streaming-style operations (e.g., software rendering of graphics
surfaces shared with non-coherent DMA devices), the cost of performing
L2 cache maintenance can exceed the benefit of having the larger cache
(this is particularly true for OUTER_CACHE configurations like the ARM
PL2x0).

This change uses the currently-unused mapping 5 (TEX[0]=1, C=0, B=1)
in the tex remapping tables as an inner-writeback-write-allocate, outer
non-cacheable memory type, so that this mapping will be available to
clients which will benefit from the reduced L2 maintenance.

Change-Id: Iaec3314a304eab2215100d991b1e880b676ac906
Signed-off-by: Gary King <gking@nvidia.com>
Conflicts:

arch/arm/include/asm/pgtable.h
arch/arm/mm/proc-v7.S

Rebase-Id: R9aa7adcd893ebe88551f22fa80ede8748f1df969

12 years agoFix i2c build
Colin Cross [Thu, 7 Apr 2011 21:42:57 +0000 (14:42 -0700)]
Fix i2c build

Change-Id: I558577e86654bc9a5a2cbfeeeb8055454ab8f328

Rebase-Id: R451efe942461ebdb2ff9e75cc3daf1cd58191291

12 years agoARM: tegra: clock: Remove duplicated shared bus round rate function
Colin Cross [Thu, 7 Apr 2011 21:42:22 +0000 (14:42 -0700)]
ARM: tegra: clock: Remove duplicated shared bus round rate function

Change-Id: I450f84de3469f171bb1c28e97c1b8118384c680e

Rebase-Id: Rf0dd2c91239e6aad99fbe4e0316806f693e7f344

12 years agoARM: tegra: devices: remove duplicated devices
Colin Cross [Thu, 7 Apr 2011 21:42:01 +0000 (14:42 -0700)]
ARM: tegra: devices: remove duplicated devices

Change-Id: I6a3c7662b8c124dbd653f5c6a262f82dde9f7d1b
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R6849717c0c9fa5bc4a0f8d1ad333a0b952e5e8d9

12 years agoARM: tegra: delay: Remove mov32 macro
Colin Cross [Thu, 7 Apr 2011 21:41:33 +0000 (14:41 -0700)]
ARM: tegra: delay: Remove mov32 macro

Change-Id: I83a105b817a49afd13678a897d15b0667806e5ea
Signed-off-by: Colin Cross <ccross@android.com>
Rebase-Id: R0d2b41dc74191f2c5779b4549140420719c8e6df