5 years agofixup: powergate.h init.h
Dan Willemsen [Thu, 3 May 2012 00:11:04 +0000]
fixup: powergate.h init.h

Rebase-Id: R49a359639a0f272b919dc3b7d8e71cf48de223a9

5 years agofixup: move twd_base to timer.h
Dan Willemsen [Wed, 2 May 2012 23:06:55 +0000]
fixup: move twd_base to timer.h

Rebase-Id: Ree5b1590de1c2053ce18cfda2d66a5d8b5e440e2

5 years agobluetooth: bluesleep: remove hci_(un)register_notifier
Varun Wadekar [Mon, 9 Apr 2012 10:27:02 +0000]
bluetooth: bluesleep: remove hci_(un)register_notifier

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

Rebase-Id: Reacc61f3b28be92c8fd96a04e169c82dc56412e2

5 years agoarm: tegra: xmm: reduce timeout timing on resume
Seongho Joo [Sun, 26 Feb 2012 03:18:02 +0000]
arm: tegra: xmm: reduce timeout timing on resume

1.reduce CP ack timeout to 1000 ms, based on modem vendor spec.
expected timing is 10ms, but modem vendor recommend to wait less than 1 sec.
2.move log print after spinlock section.
log in spinlock could waste cpu resource.

Bug 932104

Signed-off-by: Seongho Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/86003
(cherry picked from commit de853a886153cfb35cafcf797df490207187cc33)

Change-Id: I4b1ea80d25e0aa1f93599c08eedf306dbed00d63
Reviewed-on: http://git-master/r/91934
Reviewed-by: Shawn Joo <sjoo@nvidia.com>
Tested-by: Shawn Joo <sjoo@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: R44700eba50701a02bd23f717496f45ccb428ef64

5 years agoarm: tegra: baseband: Add wakelock after modem re-enumeration.
Steve Lin [Mon, 19 Mar 2012 22:12:42 +0000]
arm: tegra: baseband: Add wakelock after modem re-enumeration.

Holding wakelock after modem re-enumeration to ensure ril has enough
time to restart.

Bug 948610

Reviewed-on: http://git-master/r/91072
(cherry picked from commit 572bd2f735c4667ce326a1acb6e7d0884847d794)

Change-Id: Iee4f5243746ca218623c1ac2cd173482badba358
Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/91361
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: R6e4b543e147046c270f5eaf7ab79d8cf8b7de6a0

5 years agoARM: tegra: Add support to identify if image RCK
Ashwini Ghuge [Mon, 19 Mar 2012 11:51:38 +0000]
ARM: tegra: Add support to identify if image RCK

With this change, we can identify if system
enters RCK mode in kernel.

Bug 948270

Change-Id: I4240fd4171b6b71fbc5f1271f21a588d62db88b1
Signed-off-by: Ashwini Ghuge <aghuge@nvidia.com>
Reviewed-on: http://git-master/r/90914
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R1306d81b1c81a522e2646ce0c449cc15fdc9405d

5 years agoarm: tegra: nvmap: Update nvmap_alloc api.
Krishna Reddy [Fri, 16 Mar 2012 02:14:53 +0000]
arm: tegra: nvmap: Update nvmap_alloc api.

Update nvmap_alloc api to take heap_mask as arg.
This is to let clients specify the specific heap needed.

Change-Id: I9950b3e60e6dac0301b6dc66be3e9d0bab8e0fee
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/90471
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: R36ca9ed02931d418f77575d484619245b36d5774

5 years agoARM: tegra: enable pinmux and gpio devices for all platforms
Varun Wadekar [Wed, 28 Mar 2012 08:25:18 +0000]
ARM: tegra: enable pinmux and gpio devices for all platforms

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

Rebase-Id: R7e245c720d37ea7a54636b6cb538efd2df7c6ca6

5 years agoARM: tegra20: pinmux: fix suspend resume
Varun Wadekar [Wed, 28 Mar 2012 06:58:51 +0000]
ARM: tegra20: pinmux: fix suspend resume

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

Rebase-Id: R92a831bb81f835f1a16a73ce1e33751926da5eb2

5 years agoARM: tegra20: pm: clean L1 data before wfi
Prashant Gaikwad [Tue, 27 Mar 2012 10:48:58 +0000]
ARM: tegra20: pm: clean L1 data before wfi

Change-Id: If68afc483a3b322e9a97b64c3f8cba67447a914f
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R8f6b03e3e6be5fb06cfc130e0cca51fd578d93d1

5 years agoARM: tegra2/3: pinmux: add suspend-resume support
Varun Wadekar [Tue, 27 Mar 2012 10:34:59 +0000]
ARM: tegra2/3: pinmux: add suspend-resume support

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

Rebase-Id: Rbe9c32ba4d58d3793d16caad77bd68031ad46a9c

5 years agoarm: tegra20: pm: rework secondary LP2
Prashant Gaikwad [Wed, 14 Mar 2012 11:16:52 +0000]
arm: tegra20: pm: rework secondary LP2

Use ARM cpu_suspend to save state during secondary LP2

Change-Id: Ie01e7ad2db4b11ecb190329c71a334216f7c4679
Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com>
[DW: Remove extra cpu_pm_enter call]
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Rcd547cbb17300cf1a7ae79442ec3e1ddb5ba6c43

5 years agoARM: tegra: select cpu_suspend support
Varun Wadekar [Tue, 27 Mar 2012 09:18:09 +0000]
ARM: tegra: select cpu_suspend support

See commit 15e0d9e37c7fe9711b60f47221c394d45553ad8c

Change-Id: I2f96fb81f022e82de39993093a4cdedcd73dcebb
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
[DW: Remove unrelated merge error of cpu_v7_suspend_size]
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: Rb06a882754d79c4803f8487b5c116e9107b70ce4

5 years agoARM: tegra3: try saving cpu arch register
Dan Willemsen [Tue, 29 Nov 2011 23:40:20 +0000]
ARM: tegra3: try saving cpu arch register

Change-Id: I7d080f2d73be463a67cbc255c28819965467f2c8
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R85659a2d9088eb1855dd456c51d4abe6ac867ecd

5 years agoARM: vfp: silence print
Dan Willemsen [Thu, 17 Nov 2011 21:11:01 +0000]
ARM: vfp: silence print

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

Rebase-Id: R0b8af5dff49c9846cf5c873ce4cd9e1cbf20f6d4

5 years agofixup: tegra30 pinmux
Dan Willemsen [Tue, 27 Mar 2012 04:18:30 +0000]
fixup: tegra30 pinmux

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

Rebase-Id: R5894e364773988d958400556cef9dbf66f1a1c6f

5 years agoARM: tegra: headsmp: Fix modpost warning
Dan Willemsen [Mon, 26 Mar 2012 08:40:06 +0000]
ARM: tegra: headsmp: Fix modpost warning

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

Rebase-Id: R0253f5f234119e290b1fb6584e8431501bde42ff

5 years agofixup: cpuidle-t2.c
Dan Willemsen [Mon, 26 Mar 2012 05:46:32 +0000]
fixup: cpuidle-t2.c

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

Rebase-Id: Rc35fe56f0def531e7f06972c8af9dbfcac2292b7

5 years agofixup: void __iomem* (mc.c)
Dan Willemsen [Mon, 26 Mar 2012 05:37:23 +0000]
fixup: void __iomem* (mc.c)

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

Rebase-Id: Rde89faee0b81a696a5c5059e61adf55789e5b8bf

5 years agofixup: gpio_to_pingroups (pinmux.c)
Dan Willemsen [Mon, 26 Mar 2012 05:36:46 +0000]
fixup: gpio_to_pingroups (pinmux.c)

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

Rebase-Id: R14216beeac25666254e628c6bab07eff8163a55e

5 years agofixup: module.h (gps_drv.c)
Dan Willemsen [Sun, 25 Mar 2012 21:32:02 +0000]
fixup: module.h (gps_drv.c)

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

Rebase-Id: R34e8f5586d4431002cde9823e85b93e8f5158cbb

5 years agofixup: gpio-tegra.h (bb-power.c)
Dan Willemsen [Sun, 25 Mar 2012 21:31:09 +0000]
fixup: gpio-tegra.h (bb-power.c)

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

Rebase-Id: Ree9ed78ec685d996452d0d6086a7f9bce6d15f69

5 years agofixup: export.h (inv_mpu)
Dan Willemsen [Sun, 25 Mar 2012 21:30:36 +0000]
fixup: export.h (inv_mpu)

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

Rebase-Id: R448ff74e0d0bdfcfdd1a797b4cb565330eb11775

5 years agoInput: rmi4 - Remove use of irq_to_gpio
Dan Willemsen [Mon, 13 Feb 2012 22:51:06 +0000]
Input: rmi4 - Remove use of irq_to_gpio

This function is being removed in v3.2. We're already calling
gpio_to_irq to generate the IRQ, so just use the original GPIO.

Change-Id: I4980c0b2772cacb7851d2ba085c064d11ed69b8f
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R13e459144c8e008e81825e058c78dc494b338d89

5 years agofixup: module.h (rm31080a_ts.c)
Dan Willemsen [Sun, 25 Mar 2012 21:25:50 +0000]
fixup: module.h (rm31080a_ts.c)

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

Rebase-Id: Re16708fb7079e1d906d59742d41f42a717e34402

5 years agofixup: gpio includes (bluesleep.c)
Dan Willemsen [Sun, 25 Mar 2012 21:04:09 +0000]
fixup: gpio includes (bluesleep.c)

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

Rebase-Id: Rd529ffcde4872a9b15a668c57e1cebe09a67ff32

5 years agofixup: gpio-tegra.h (board-touch-raydium_spi.c)
Dan Willemsen [Sun, 25 Mar 2012 20:38:51 +0000]
fixup: gpio-tegra.h (board-touch-raydium_spi.c)

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

Rebase-Id: R43df9a79865396d89a0a02597a73432f76b16e74

5 years agofixup: gpio-tegra.h (board-touch-kai-synaptics-spi.c)
Dan Willemsen [Sun, 25 Mar 2012 20:37:55 +0000]
fixup: gpio-tegra.h (board-touch-kai-synaptics-spi.c)

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

Rebase-Id: R17e398e45dc312562aa9e97bb4404ce636358061

5 years agofixup: module.h (tegra3_thermal.c)
Dan Willemsen [Sun, 25 Mar 2012 20:20:28 +0000]
fixup: module.h (tegra3_thermal.c)

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

Rebase-Id: R3a7dfd6e6591d5db1e47a9446e3d097db61608aa

5 years agofixup: module.h (tegra3_throttle.c)
Dan Willemsen [Sun, 25 Mar 2012 20:19:47 +0000]
fixup: module.h (tegra3_throttle.c)

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

Rebase-Id: Ra57f00fe1b0188546623e8abb14f80c661ca6789

5 years agofixup: cpuidle fallback
Dan Willemsen [Sun, 25 Mar 2012 20:18:41 +0000]
fixup: cpuidle fallback

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

Rebase-Id: Rf834ae5b5678a0cb2074f6b06d172eb8f33c41f2

5 years agoARM: tegra: cpuidle changes (last_residency, last_state)
Dan Willemsen [Sun, 25 Mar 2012 20:16:00 +0000]
ARM: tegra: cpuidle changes (last_residency, last_state)

Upstream v3.2 commit e978aa7d7d5 changes the cpuidle API. This change
makes the necessary Tegra changes:

* Update dev->last_residency in tegra_idle_enter_lp(2|3) funcs instead
  of returning time
* Update tegra_idle_enter_lp(2|3) to accept the state as an index
* Update tegra_idle_enter_lp(2|3) to return the state index that was
  entered.
* The per-soc functions return bool for whether they entered LP2 or not
* Update safe_state to specify LP3 as the safe state. This decouples the
  fallback from LP2 to LP3 slightly.

Change-Id: Ide1f66260855de790e54648ea51e0b0098bd4ebe
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>

Conflicts:

arch/arm/mach-tegra/cpuidle-t3.c

Rebase-Id: R6617985b5f86297fc574c2526aba8609f8e79d3b

5 years agoARM: kernel: flush console and disable irqs before machine_shutdown
Tom Cherry [Tue, 13 Mar 2012 22:31:08 +0000]
ARM: kernel: flush console and disable irqs before machine_shutdown

Bug 952455

Change-Id: I7400b519eccb274c1b5251032696e10e16ee1c42
Signed-off-by: Tom Cherry <tcherry@nvidia.com>
Reviewed-on: http://git-master/r/89876
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bo Yan <byan@nvidia.com>
Reviewed-by: Dan Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R9c44a6e760f12ba62443aa9f7ce7851e9e3d8b75

5 years agoarm: tegra: xmm: add usb interface check
Xin Xie [Wed, 25 Jan 2012 00:56:23 +0000]
arm: tegra: xmm: add usb interface check

BUG 928909

Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/82756
(cherry picked from commit f24375055ecba7c40c740a6b88ad03e38ea8b10c)

Change-Id: I2b3d59ea433555f595a1468cae3242b7dc54958a
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/89565
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: Rc2fc4c2339f76fc41ed43758f2db2ea65df502e6

5 years agomisc: tegra-baseband: Add support for L2 and cleanup code.
Raj Jayaraman [Mon, 13 Feb 2012 22:12:04 +0000]
misc: tegra-baseband: Add support for L2 and cleanup code.

Bug 886459

Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
(cherry picked from commit 9032b38a76d8337ee6b9582265171ca09473a3e9)

Change-Id: Ifa5ad5bdb3a782119a2920281bc39ce5f6fd2a5a
Reviewed-on: http://git-master/r/88868
Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: R20611eb941cac59271c1a86fa51647c491fa9b1d

5 years agousb: gadget: android: Honor CONFIG_USB_GADGET_VBUS_DRAW
Scott Anderson [Wed, 18 Jan 2012 23:56:51 +0000]
usb: gadget: android: Honor CONFIG_USB_GADGET_VBUS_DRAW

The maximum current draw was hard coded to 500 mA.  composite.c
has code that uses CONFIG_USB_GADGET_VBUS_DRAW to set the
bMaxPower and to set whether or not the device is self-powered if
they haven't been set.  This change removes the code in android.c
to allow composite.c to set them.

(cherry picked from commit 09701e3edf03f92f4215aad83b32cd8cec7fb689 from
android.googlesource.com/common.git)

Change-Id: I9db37922e91ee86e9e5c0e14519e119e5c41ca48
Signed-off-by: Scott Anderson <saa@google.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78889
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: R623f3ba0f6fcacce5658cf26b8c63fa834a90581

5 years agoarm: tegra: comms: hsic first enum issue with flight mode off
Seshendra Gadagottu [Tue, 28 Feb 2012 08:49:44 +0000]
arm: tegra: comms: hsic first enum issue with flight mode off

After flight mode on/off, EHCI phy power and modem power on sequences
not correct. For first enumeration HSIC phy should be power and then
modem needs to be powered before sending any hub events.  Also
corrected  initial state for ipc_ap_wake_state.

Bug 946027

Change-Id: I84edbebaa408fd6830adc09ebd0c67cb288a2626
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/86297
(cherry picked from commit 700c7bc52b26b370ff2449a9a9f91b22188a9aee)
Reviewed-on: http://git-master/r/88008
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R5b93195440af0ee3b968ce39e1f9598290c6f187

5 years agoarm: tegra: xmm: change irq handler to irq thread
shawn joo [Mon, 13 Feb 2012 05:30:23 +0000]
arm: tegra: xmm: change irq handler to irq thread

since irq function has printk and long context.
change the handler to irq thread for stable running.

Bug 937413

Signed-off-by: shawn joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/83350
(cherry picked from commit 1bf117669ed8b4fdb854074aef26d1a568544616)

Change-Id: Ib760e19903b7e9975a1ac7b8275537c75830764d
Reviewed-on: http://git-master/r/87633
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rcd2d5605f807db3e303c6b2f89e9b13c1d05651f

5 years agoarm: tegra: xmm: ignore same xmm_onoff value
Seongho Joo [Fri, 24 Feb 2012 10:03:11 +0000]
arm: tegra: xmm: ignore same xmm_onoff value

sysfs xmm_onoff is called from userspace.
If it is called twice with same value it could cause a problem.
if it happens, this change will ignore the case.

Bug 943018

Signed-off-by: Seongho Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/85721
(cherry picked from commit e722f73d1eed055682dbfeeedfa9c73173a7b3b6)

Change-Id: Ief96b667242a9af3df078cf62c9e9a9531b80f45
Reviewed-on: http://git-master/r/87639
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: Rc09adfa9264deaad75cc6709a54342d773358316

5 years agoarm: tegra: xmm: add enable_irq_wake in probe
Seongho Joo [Sat, 25 Feb 2012 09:50:43 +0000]
arm: tegra: xmm: add enable_irq_wake in probe

Add enable_irq_wake in probe to enable gpio irq wake.

Bug 928950

Signed-off-by: Seongho Joo <sjoo@nvidia.com>
Reviewed-on: http://git-master/r/85972
(cherry picked from commit e81069047c14a0ab9a3e1eb5588060959d550c49)

Change-Id: Ic513179670661ddc8a75d73a0afaa6264847cb1a
Reviewed-on: http://git-master/r/87644
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>

Rebase-Id: R1e30f2af0b7d151bb41737abf7ac026c6fcb3dbc

5 years agoarm: tegra: comms: add mutex for on/off switch
Seshendra Gadagottu [Mon, 20 Feb 2012 07:15:10 +0000]
arm: tegra: comms: add mutex for on/off switch

Mutex protection is added on xmm_onoff

Bug 938553

Change-Id: I260847861a56f612f06c20cd7429c19c9001ac99
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/84751
(cherry picked from commit 14ac86297c4faa6a9cbf95877b782c997698347c)
Reviewed-on: http://git-master/r/87506
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: R2717dd8f5002f721a60b303ecba1a65056f38da1

5 years agoarm: tegra: xmm power state handling
Seshendra Gadagottu [Thu, 9 Feb 2012 16:46:30 +0000]
arm: tegra: xmm power state handling

Avoid unwanted xmm power state changes.
Added missing spin_unlock_irqrestore.

Bug 935834
Bug 938553

Signed-off-by: Seshendra Gadagottu<sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/82796
(cherry picked from commit 8af674aadfc1196851d5a2ecd1ecdd2cfe2d4148)

Change-Id: Ic5b354376c0239773762d1b0f6e8848491e74e08
Reviewed-on: http://git-master/r/87503
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: R240fd925abdecc3281415974e63d5f972a15623a

5 years agomisc: tegra-baseband: Add usb core notification support.
Raj Jayaraman [Mon, 30 Jan 2012 22:34:37 +0000]
misc: tegra-baseband: Add usb core notification support.

Add support for notification from USB core about device
atachment and removal. Add ARR support for M7400 modem.

Bug 886459
Reviewed-on: http://git-master/r/78301

Change-Id: I583714498e17501cbfb620440a24b43094bc9573
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78900
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Rcf992b7e781b2ea14f47f46e7a89b4fc8b225633

5 years agoarm: tegra: xmm: Fix linux warning
Seshendra Gadagottu [Sat, 28 Jan 2012 04:17:40 +0000]
arm: tegra: xmm: Fix linux warning

Fixed linux warnings in baseband_xmm_power.c file.

BUG 921565
Reviewed-on: http://git-master/r/77964

Change-Id: I6d0c6ef0c30351d6bfc77a733d306ab581ad9ea6
Signed-off-by: Seshendra Gadagottu<sgadagottu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78712
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: R136f1a217e21a2de1a1defe333ed163b121eca26

5 years agotegra: usb: baseband: CP wakeup during system suspend
Seshendra Gadagottu [Fri, 27 Jan 2012 09:53:18 +0000]
tegra: usb: baseband: CP wakeup during system suspend

baseband_xmm_power driver is updated with suspend/resume noirq callbacks.
If any CP wake-up is pending during suspen_noirq callback, then ongoing
system suspend will be aborted. With this mechanism, CP wakeup after
baseband_xmm_power driver suspend is handled.

BUG 904762
Reviewed-on: http://git-master/r/72933

Change-Id: Iae6f638885118c73d6154aad9daefee0cfc8e7d4
Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78435
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Re2d5a4f47c4f72409ab47b25a8e8eae897e9d28d

5 years agogpu: ion: Fix with mainline IOMMU API change
Hiroshi DOYU [Mon, 23 Jan 2012 07:33:47 +0000]
gpu: ion: Fix with mainline IOMMU API change

The mainline IOMMU API v3.3-rc1 has been changed so that bytes are
used in mapping size instead of page order and page-by-page iteration
is taken care of by iommu core.

Change-Id: Ib331b6f3f7075385499eb13dd040c80444d706a8
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/78139
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rdfccae796d15fbbca31c4648d14798406d4c421e

5 years agoarm: tegra: baseband: Configure wakeup source for xmm
Seshendra Gadagottu [Fri, 27 Jan 2012 06:17:34 +0000]
arm: tegra: baseband: Configure wakeup source for xmm

Configure wake irq for waking up AP from xmm modem.
Also enable/disable this wake source base on flight mode
off/on setting.

Reviewed-on: http://git-master/r/69701

Change-Id: Iad274da9869102874efab27312fe8a182ab55bf3
Signed-off-by: Seshendra Gadagottu<sgadagottu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/78026
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Rd6ec7021933c0a6a434177c965d5675f843d211b

5 years agoarm: tegra: comms: Auto suspend after system resume
Seshendra Gadagottu [Thu, 5 Jan 2012 12:22:52 +0000]
arm: tegra: comms: Auto suspend after system resume

Re-enable usb auto suspend on system resume by making
get_interface() and put_interface() calls.

BUG 921565
Reviewed-on: http://git-master/r/73468

Change-Id: Ieb7c82e73a7134e1d3bb8b0b3e96a42ed6672afe
Signed-off-by: Seshendra Gadagottu<sgadagottu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77763
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R09e7d716c35a712cb5fffad4c2c2e74711866fcb

5 years agoarm: tegra: comms: fix crash at dev attr change
Vinayak Pane [Thu, 5 Jan 2012 23:28:54 +0000]
arm: tegra: comms: fix crash at dev attr change

Check the state machine before poweron the modem by device
attribute change routine. Maintain the state machine to
avoid crash after writing state change to
 /sys/devices/platform/baseband_xmm_power/xmm_onoff

Also cancel workqueue at module unload to avoid
possible crash.

Bug 898008

Reviewed-on: http://git-master/r/72934

Change-Id: I0d8286774040f155c930ecb0bb69778de6c606ac
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/77744
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Reaea4fbd585c3f1cce910997ea17c7d8bfb544aa

5 years agoHACK: gpu: ion: tegra: Implement nvmap_alloc_iovm.
Krishna Reddy [Mon, 23 Jan 2012 07:38:03 +0000]
HACK: gpu: ion: tegra: Implement nvmap_alloc_iovm.

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

Rebase-Id: Rcd18559ac10b0ab143322e693b2eb05f409a0fb5

5 years agoHACK: gpu: ion: Add api to remap dma address.
Krishna Reddy [Mon, 23 Jan 2012 07:28:22 +0000]
HACK: gpu: ion: Add api to remap dma address.

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

Rebase-Id: R14d86fa213251a8d8d92fa41f812a34723b51af2

5 years agoHACK: gpu: ion: Add support to remap dma address.
Krishna Reddy [Mon, 23 Jan 2012 07:21:39 +0000]
HACK: gpu: ion: Add support to remap dma address.

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

Rebase-Id: R214727d820e1327e17b356b921519bc248d59c2b

5 years agogpu: ion: Remove unnecessary error handling
Hiroshi DOYU [Mon, 16 Jan 2012 09:00:20 +0000]
gpu: ion: Remove unnecessary error handling

Ion core takes care of the case failing allocaion. Remove unnecessary
code and obsolete comment.

Change-Id: I0a27f6697beb1b3e802275eb01bfdc4fc0ae3ae2
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75533
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Ra9c26cb7d3d5adfb6194ca389338076e2fb66bcb

5 years agogpu: ion: Replace vmalloc() with vzalloc()
Hiroshi DOYU [Mon, 16 Jan 2012 08:57:46 +0000]
gpu: ion: Replace vmalloc() with vzalloc()

Use vzalloc() instead of vmalloc() + memset(,0,).

Change-Id: I24a10114a325bf94c4cb0131eaf3dcd2f901e023
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75532
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R99248af9501347a27d42729f39d0d77c1b420398

5 years agogpu: ion: Remove residual empty line
Hiroshi DOYU [Mon, 16 Jan 2012 08:56:38 +0000]
gpu: ion: Remove residual empty line

Remove unnecessary empty line.

Change-Id: I475b711205d58ac220199b9875840c5300cef81c
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75531
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R70b77a24444cfbacb5193a58dbe670b63de47b5a

5 years agogpu: ion: Fix incorrect BUG_ON()
Hiroshi DOYU [Mon, 16 Jan 2012 08:55:08 +0000]
gpu: ion: Fix incorrect BUG_ON()

ALIGN() -> IS_ALIGN().

Change-Id: I4451142932c5b33e83a8296c654226c41db73611
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75530
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R5f0cdba12e56573606e96baf8553882898a68bca

5 years agogpu: ion: Add one empty line for readability
Hiroshi DOYU [Mon, 16 Jan 2012 08:52:45 +0000]
gpu: ion: Add one empty line for readability

For readability.

Change-Id: I3f197e584f81b748c04d4eb7711bb4082492c441
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75529
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Ra602b4cb2dbb0d7c3c29a8bcb49e1d0f0da4a0af

5 years agogpu: ion: Remove unnecessary header inclusions
Hiroshi DOYU [Mon, 16 Jan 2012 08:29:05 +0000]
gpu: ion: Remove unnecessary header inclusions

This should be independent of any SoCs. Remove tegra specific header
inclusion and other unnecessary ones too.

Change-Id: I2fcc7481b535f7c9348d36a1974e2b8b8883046d
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/75528
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R9a1967368b71f41f9c6a6cd11c46fc2cf827825a

5 years agoarm: config: tegra: Enable NCT1008
Wei Ni [Wed, 11 Jan 2012 11:20:34 +0000]
arm: config: tegra: Enable NCT1008

Enable CONFIG_NCT1008

Change-Id: I700557b8900401b8f9ab36faab5903ba0afde542
Reviewed-on: http://git-master/r/74564
Reviewed-by: Allen Martin <amartin@nvidia.com>
Signed-off-by: Wei Ni <wni@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/76458
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Rc958dca59aac790727c8e4b3f9e2d55bcb59a09e

5 years agoarm: tegra: baseband: cleanup code for modem power driver
Seshendra Gadagottu [Tue, 27 Dec 2011 04:08:24 +0000]
arm: tegra: baseband: cleanup code for modem power driver

Disable wakeup irq when removing the modem power driver.
BUG 920108

Change-Id: I371644421fc7d986af2292f736b459b141651ed1
Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/75876
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: R02affe7882f98f654151059fdd338ed2c35ea332

5 years agogpu: ion: tegra: Fixes to tegra ion.
Krishna Reddy [Wed, 11 Jan 2012 00:46:32 +0000]
gpu: ion: tegra: Fixes to tegra ion.

Fix print format issues.
Fix NULL pointer handling during unpin.

Change-Id: I2f537928819093d6c50dc7add734136c7078717e
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/74469
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>

Rebase-Id: R2abf2ad8630719a9bb30dd9078da58ca296fbdd2

5 years agogpu: ion: Update print format in Ion.
Krishna Reddy [Wed, 11 Jan 2012 01:12:43 +0000]
gpu: ion: Update print format in Ion.

Update print format and use WARN for some of errors.

Change-Id: Ie594eb09fdbefb332d6fc7460b64ce35153fa584
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/74470
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Hiroshi Doyu <hdoyu@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R00aeaf60fb5254f43334e4f6a2453a2179b2216d

5 years agoarm: tegra: move ram console to common codes
Haley Teng [Tue, 27 Sep 2011 04:20:32 +0000]
arm: tegra: move ram console to common codes

cleanup ram console related source codes and move most of the
implementation in board files to common.c since ram console is a common
debug mechanism.

bug 873307

Signed-off-by: Haley Teng <hteng@nvidia.com>
Reviewed-on: http://git-master/r/54598
Reviewed-on: http://git-master/r/66588
(cherry picked from commit 119ce36b7bed370a528dfebc80bd79698118248d)

Change-Id: I8b769b422305101a97f1fbc99db4af48dc7d4f25
Reviewed-on: http://git-master/r/71961
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Reviewed-on: http://git-master/r/74552
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R39bcfa4d8bf9970631e00e824396c10c49a20aba

5 years agogpu: ion: tegra: Remove unused tegra specific IOMMU definitions
Hiroshi DOYU [Thu, 5 Jan 2012 09:38:39 +0000]
gpu: ion: tegra: Remove unused tegra specific IOMMU definitions

IOMMU related definitions should not be specific to any SoCs.

Change-Id: Ifa47b99d3f66762d75bba92247786ca4cef14c28
Signed-off-by: Hiroshi DOYU <hdoyu@nvidia.com>
Reviewed-on: http://git-master/r/73608
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rb9437721f2eed62ae8dc452d90e5f30317360a85

5 years agogpu: ion: tegra: Ignore unsupported heap with printing warning
Hiroshi DOYU [Thu, 5 Jan 2012 08:57:43 +0000]
gpu: ion: tegra: Ignore unsupported heap with printing warning

Instead of rewinding and returning error for unsupported heap,
continuie to next heap with printing warning. If some kind of heap
isn't supported, it doesn't have to cancel Ion memory manager itself.

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

Rebase-Id: R351b2226ece96f698b5c68646ab7d2c44fc15be6

5 years agogpu: ion: Add IOMMU heap allocator with IOMMU API
Hiroshi DOYU [Fri, 23 Dec 2011 12:10:33 +0000]
gpu: ion: Add IOMMU heap allocator with IOMMU API

Implemented IOMMU heap allocator("ion_iommu_heap_ops") with IOMMU
API. This implementation is independenf of SoC because the standard
IOMMU API is used in the backend implementation of this heap_ops.

[Krishna Reddy: Refactored the original version heavily, especially
making "allocation" and "mapping" features independent with "struct
page" based mapping functions.]

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

Rebase-Id: R85b008fc969c04299253c4c662b38879cf94a36a

5 years agoarm: tegra: comms: Resume issue with XMM flashed modem
Seshendra Gadagottu [Mon, 19 Dec 2011 10:28:31 +0000]
arm: tegra: comms: Resume issue with XMM flashed modem

power_onff flag updated correctly for flashed modem.

BUG 905931

Change-Id: I383b1e01e380c04d8fd0179c50c77e4adf6f2a0b
Reviewed-on: http://git-master/r/72894
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
(cherry picked from commit c70dc7a8bc0c0bff5b09b5099d5ac3a1a1b2299d)
Reviewed-on: http://git-master/r/73960
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: Rf2b7c08db1c7400564abce82c92f06d010d8b104

5 years agoarm: tegra: baseband: Enable autosuspend for Icera modem
Steve Lin [Tue, 29 Nov 2011 02:23:55 +0000]
arm: tegra: baseband: Enable autosuspend for Icera modem

Bug 854339
Bug 909614

Reviewed-on: http://git-master/r/67043
(cherry picked from commit 8888fb8c193295b77224ff71de45794db01c7c92)

Change-Id: I8a8cca0f8126d2e70710fcadad4c115bc0251e6d
Reviewed-on: http://git-master/r/70976
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Jonathan Roux <jroux@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>
(cherry picked from commit 65b1a3d7f6ad78f92af1825f46b2fbb9306d377d)
Reviewed-on: http://git-master/r/73949
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
Tested-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R63497ead75bbbbc6809db98f3b626aed84c77f2d

5 years agomerge: fix spacing
Dan Willemsen [Fri, 3 Feb 2012 21:30:16 +0000]
merge: fix spacing

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

Rebase-Id: Rbdf1c5523494150abd5b449193b1cec379c946b4

5 years agogpu: ion: tegra: add tegra custom ioctl handling.
Krishna Reddy [Mon, 19 Dec 2011 22:35:48 +0000]
gpu: ion: tegra: add tegra custom ioctl handling.

Add tegra specific custom ioctl handling.

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

Rebase-Id: Rfc3fd296f5a205018c2d5bb1099ec7bef957a927

5 years agogpu: ion: Add api to get client from file id.
Krishna Reddy [Thu, 29 Dec 2011 19:18:44 +0000]
gpu: ion: Add api to get client from file id.

Change-Id: Ifb3bc3d7fa54cddda7e3f0acd34dbcc4b1ed39d3
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/72644
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>

Rebase-Id: Re5085828d3bf85cb706e437151d6d8f420eb74d2

5 years agogpu: ion: move ion priv data structs and methods to ion_priv.h
Krishna Reddy [Thu, 29 Dec 2011 19:15:11 +0000]
gpu: ion: move ion priv data structs and methods to ion_priv.h

Move ion priv data structs and methods to ion_priv.h.
This is needed to allow vendor spcific code dereferencing
ion data structs and accessing methods.

Change-Id: I4f863e0f4a59a80ec6b4468ca27ed7b96a78772b
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/71111
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>

Rebase-Id: R09d58ed7eb0011ceb54096810e95f6b3e3b12650

5 years agobluetooth: bluesleep: call free_irq during driver unload only
Varun Wadekar [Thu, 1 Dec 2011 10:29:59 +0000]
bluetooth: bluesleep: call free_irq during driver unload only

Change-Id: Iabad9617752af43c7184d0335177c60fba6bd715
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Reviewed-on: http://git-master/r/67654
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User

Rebase-Id: Rd5f69db219cd143f32ae5c8fbaa9d09d6ae349fb

5 years agobluesleep: disable run time UART clock gating
Rakesh Goyal [Thu, 22 Dec 2011 19:54:08 +0000]
bluesleep: disable run time UART clock gating

There is no signaficant power saving by UART clock gating.

Bug 913214

Change-Id: I9266c812bae080ba50fa89d11684f18de2f05eab
Signed-off-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-on: http://git-master/r/71879
Reviewed-by: Automatic_Commit_Validation_User
Tested-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Sheshagiri Shenoy <sshenoy@nvidia.com>

Rebase-Id: R581664e3580ab17404a7dcc7bb06b2633b2b22f2

5 years agoArm: Tegra: Sdhci: Pass tap value in platform data
Pavan Kunapuli [Mon, 19 Dec 2011 08:17:35 +0000]
Arm: Tegra: Sdhci: Pass tap value in platform data

Pass sdmmc tap value through platform data.

Bug 911075

Change-Id: I9a8fddf626b0d73e80646f3a4aa03ed7cd3a557f
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/70332
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R916c21694166dc98355cfb22dbaed1585f9e45b4

5 years agomisc: tegra-baseband: Refactor power code.
Raj Jayaraman [Fri, 2 Dec 2011 22:30:29 +0000]
misc: tegra-baseband: Refactor power code.

Bug 886459

Change-Id: I6005ba8081951a015f101ad864c00232ea88590a
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/69567
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Reviewed-by: Sachin Nikam <snikam@nvidia.com>

Rebase-Id: R7c12cdacd8fb4ebee6edc1541d59cc10c4844a0d

5 years agommc: tegra: fix mmc pm flags and capabilities
Mayuresh Kulkarni [Fri, 16 Dec 2011 12:42:02 +0000]
mmc: tegra: fix mmc pm flags and capabilities

for bug 914934

Change-Id: I34892961074d5c23efb19a7e53688f227e0bf03d
Signed-off-by: Mayuresh Kulkarni <mkulkarni@nvidia.com>
Reviewed-on: http://git-master/r/70557
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>

Rebase-Id: R41ecc233bca492589402d03b52db107335800e4f

5 years agoASoC: Tegra: Fix compiler warnings
Sumit Bhattacharya [Thu, 8 Dec 2011 10:56:59 +0000]
ASoC: Tegra: Fix compiler warnings

Bug 912637

Change-Id: I05e2d3dcb903bf9d011f9b108a8f65f25ee1d3b5
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/68956
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>

Rebase-Id: R9d19fb47c1afb57754c80960cf25d728d4079f3d

5 years agoarch: arm: config: disabling pcie in defconfig
Jay Agarwal [Mon, 5 Dec 2011 12:09:26 +0000]
arch: arm: config: disabling pcie in defconfig

Pcie powermanagement issues are yet to be resolved,
so modifying the defconfig to not to enable the
driver by default

bug: 878874

Change-Id: Ie8787342b1ccf9e22486129633d15d566d50e4e0
Signed-off-by: Krishna Kishore <kthota@nvidia.com>
Reviewed-on: http://git-master/r/64772
Reviewed-by: Lokesh Pathak <lpathak@nvidia.com>
Tested-by: Lokesh Pathak <lpathak@nvidia.com>

Rebase-Id: R8c6fb516b3d6f7ffaab077ee33df170eeb8a11f3

5 years agomisc: tegra-baseband: Control M7400 service pin.
Raj Jayaraman [Wed, 23 Nov 2011 01:49:08 +0000]
misc: tegra-baseband: Control M7400 service pin.

M7400 service pin should be held high by a pullup internal to it
for flashless mode. This is not working. As a fix, drive the signal
high from AP.

Bug 886459

(cherry picked from commit 1516ce643ca9c6e52540023342c27791b8a69867)

Change-Id: I8a5ba9be6bcaf9119f5b81fe30de20cb8dc412d0
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/68505
Reviewed-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: Rbe1ed6167a1744f59b667e7e793d8a62de2ec7d9

5 years agomisc: tegra-baseband: Add support for M7400 modem.
Raj Jayaraman [Fri, 14 Oct 2011 20:32:31 +0000]
misc: tegra-baseband: Add support for M7400 modem.

Bug 878736
Bug 886459

(cherry picked from commit 6f6a3b6759f95b833a3c98ee45015592f388b161)
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>

Change-Id: Ieb5e9313ad9d6a32a813dadd911f448d8b334b42
Reviewed-on: http://git-master/r/68289
Reviewed-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Tested-by: Rajkumar Jayaraman <rjayaraman@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: Ra3e9d31759521d2a93a1e6de6567d1d63b93f6bc

5 years agoarm: tegra: comms: dynamic loading of hcd driver
Seshendra Gadagottu [Thu, 17 Nov 2011 06:05:08 +0000]
arm: tegra: comms: dynamic loading of hcd driver

ehci on/off mechanism is replaced with dynamic
add/removel of ehci-hcd driver.

BUG 787270

Reviewed-on: http://git-master/r/65091
(cherry picked from commit 50381a027547354140d599876f452ff6a304e330)

Change-Id: Ic9827c23fdbf367b87bb4ba153b65e7c867576d3
Reviewed-on: http://git-master/r/68391
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>

Rebase-Id: R0a29290ece26d0374f263435832fe2cff96a9494

5 years agomisc: tegra-baseband: Add power management driver.
Raj Jayaraman [Fri, 14 Oct 2011 18:59:40 +0000]
misc: tegra-baseband: Add power management driver.

Bug 886459
(cherry picked from commit 5bf5402a2c966197b03845852171ae310e2e69e7)

Change-Id: I1bbbeaa2abce338655b4ac3e5bce90b8ba316282
Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com>
Reviewed-on: http://git-master/r/66963
Reviewed-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: R4e32223f93f1b828a93fa391cd41f13237d1ac19

5 years agoarm: tegra: baseband: Disable autosuspend for Icera modem
Steve Lin [Tue, 6 Dec 2011 02:17:57 +0000]
arm: tegra: baseband: Disable autosuspend for Icera modem

Bug 909614

Change-Id: I44ac4b2a5f1697dc65c600f2e3156b5a42468f5c
Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/68370
Reviewed-by: Jean-Marc Guiraudet <jguiraudet@nvidia.com>

Rebase-Id: R2e648c0c5077ef76b558130eeedcbe12b02b466a

5 years agobluetooth: bluesleep: enable wake-on-bluetooth
Om Prakash Singh [Thu, 24 Nov 2011 04:49:59 +0000]
bluetooth: bluesleep: enable wake-on-bluetooth

Bug 910402

Change-Id: I6835cacd12573c2bc6adb86ea3742d934d0fc118
Signed-off-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-on: http://git-master/r/66614
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R6b02b863c8ee2852f2b8a971a8e065bfc3ab5b20

5 years agoarm: tegra: xmm: Implementation for L2 power management
repo sync -j4 # Run four syncs in parallel [Fri, 4 Nov 2011 10:03:57 +0000]
arm: tegra: xmm: Implementation for L2 power management

Implemented L2 power management using autopm.
Added code for AP/CP initiated L2->L0 resume.

BUG 828389
BUG 873401

Reviewed-on: http://git-master/r/62115
(cherry picked from commit 14de0dc3ba9637b82a600693730752f2cbfebc66)

Change-Id: I233b777e96592fbf25e3c0a92d2d74dc7162eb40
Reviewed-on: http://git-master/r/66503
Reviewed-by: Michael Hsu <mhsu@nvidia.com>
Tested-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Steve Lin <stlin@nvidia.com>

Rebase-Id: R6779d1c8045deee78111d2b5b32a0400a7c3b4b0

5 years agoarm: tegra: baseband: Enable autosuspend for Icera modem
Steve Lin [Tue, 29 Nov 2011 02:23:55 +0000]
arm: tegra: baseband: Enable autosuspend for Icera modem

Bug 854339

Change-Id: I0e2f1b68ca233a4fce8b3dd863f78aa4dbeff59c
Signed-off-by: Steve Lin <stlin@nvidia.com>
Reviewed-on: http://git-master/r/67043

Rebase-Id: Rf30d461d00010504117390169d2fb4d93544c57b

5 years agoarm: tegra: enterprise: Add drivers for flashless XMM modem
Michael Hsu [Wed, 10 Aug 2011 18:59:27 +0000]
arm: tegra: enterprise: Add drivers for flashless XMM modem

XMM modem requires GPIO power on sequence before modem
software can be downloaded to it.

BUG 828389

Change-Id: Ib8cf2a16a8b05a586d2f0b3bb57bad106a889cd1
Reviewed-on: http://git-master/r/46801
(cherry picked from commit 675f98979d6c6a281631d6590be5c7b6e5352b6f)
Reviewed-on: http://git-master/r/65958
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Red280cdd7669487e2368b75d4e1cd1c2130b3829

5 years agoarm: tegra: comms: GPIO changes for XMM modem ver 1130 or later
Michael Hsu [Sat, 15 Oct 2011 00:26:07 +0000]
arm: tegra: comms: GPIO changes for XMM modem ver 1130 or later

XMM modem version 1130 (or later) changes the GPIO power up
sequence. Add module variable to support pre-1130 and post-1130
modem versions.

BUG 828389

Reviewed-on: http://git-master/r/58240
(cherry picked from commit 0639c200face90d6dd0144acc7362c02909fa66c)

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

Rebase-Id: Rf848b30671a8739c11a376011165db6165f0a259

5 years agobluetooth: bluesleep: remove blocking call in bluesleep_start
Matt Wagner [Wed, 16 Nov 2011 22:54:52 +0000]
bluetooth: bluesleep: remove blocking call in bluesleep_start

bluesleep_start is not allowed to sleep because it's called by
an atomic_notifier, so we move request_irq to the probe function

Change-Id: I428bd6c9ab07cf7e5ab2029975cc9a617fea03b0
Reviewed-on: http://git-master/r/65018
Tested-by: Matt Wagner <mwagner@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R20e192cd7167915b6749a6ee267184b2e0a142fb

5 years agobluetooth: bluesleep: workaround to enable bluesleep functionality
Om Prakash Singh [Mon, 31 Oct 2011 06:37:17 +0000]
bluetooth: bluesleep: workaround to enable bluesleep functionality

Enable_irq_wake function is returning error while registering bank
irqs. Commenting out enable_irq_wake,disable_irq_wake function will
not affect bluesleep functionality except wake-on-bluethooth.

Bug 890309

Change-Id: I268361372de037b07bbac5373560c94fc9b131b0
Reviewed-on: http://git-master/r/61090
Reviewed-by: Om Prakash Singh <omp@nvidia.com>
Tested-by: Om Prakash Singh <omp@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: R4b5334848a954ed107a7294131d78b9162bfb711

5 years agoASoC: Tegra: WM8903: Support switch class
Sumit Bhattacharya [Sun, 2 Oct 2011 23:40:51 +0000]
ASoC: Tegra: WM8903: Support switch class

Add support to convey HP and mic jack status to switch class.

Bug 872652

Change-Id: I2d64c97ef8bf0ab3dfeec3c711ef0e8048bff133
Signed-off-by: Sumit Bhattacharya <sumitb@nvidia.com>
Reviewed-on: http://git-master/r/55670
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Re41027a605ed344cd0dd90c1bc41656a04afb1c1

5 years agoasoc: tegra: wm8753: add switch notifier code
Nikesh Oswal [Mon, 10 Oct 2011 14:37:12 +0000]
asoc: tegra: wm8753: add switch notifier code

Bug: 862023

Change-Id: Ic4ca5d1ab4173147f2b2161a4b45f38d12c2fc78
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/57054
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rc79878ef186bfc5ccec7049ce99806f894c65aa3

5 years agoarm: tegra: xmm : Wakelock for power management state changes
Seshendra Gadagottu [Fri, 19 Aug 2011 14:18:15 +0000]
arm: tegra: xmm : Wakelock for power management state changes

Used a wakelock to follow L0->L2->L3 state transition for modem
power states. Added code for AP initiated L2->L0.

BUG 828389

Original-Change-Id: Iad90364d27a0fac204c12880d6aa17a6e032b7d2
Reviewed-on: http://git-master/r/45486
Tested-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: R3f9c890584fbf626bac8e36e1fa0561376ffff94

5 years agobluetooth: bluesleep: add suspend and resume
Rakesh Goyal [Tue, 23 Aug 2011 15:11:34 +0000]
bluetooth: bluesleep: add suspend and resume

suspend and resume function() to avoid uart
api call when uart driver is not resumed.

bug 863564

Original-Change-Id: I036260f244b2067200050fd5252d91ec23518b86
Reviewed-on: http://git-master/r/48716
Reviewed-by: Rakesh Goyal <rgoyal@nvidia.com>
Tested-by: Rakesh Goyal <rgoyal@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rbc220cc73cd014ff114be3bda7ce5461a29a31f7

5 years agoARM: tegra: Fix typo in TEGRA_FIQ_DEBUGGER help text
Scott Williams [Thu, 18 Aug 2011 19:39:41 +0000]
ARM: tegra: Fix typo in TEGRA_FIQ_DEBUGGER help text

Change-Id: I5cd599f0f11f8a1adf5df83be061dd1b1bada76d
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-on: http://git-master/r/47898

Rebase-Id: R9d10c9ef58a9ce7567c66c7d2ab662ac18802447

5 years agoarm: tegra_hsuart: Add wake_peer operation
Nitin Kumbhar [Wed, 2 Feb 2011 06:29:56 +0000]
arm: tegra_hsuart: Add wake_peer operation

Recently wake_peer op was added to uart_ops. Add this op for
tegra_hsuart allowing a platform to implement peer specific wakeup.

BUG 781303

Original-Change-Id: Icfbac324815d7737c0e0820e57a2e8d844855ba0
Reviewed-on: http://git-master/r/17993
Tested-by: Nitin Kumbhar <nkumbhar@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: Rd83c46d3b1d061308a67e3d7af2db38b632c3df6

5 years agoARM: tegra: Disable FIQ Debugger by default
Dan Willemsen [Mon, 11 Jul 2011 22:58:15 +0000]
ARM: tegra: Disable FIQ Debugger by default

Change-Id: Ifc0a4d04c7e2ca75277fd87fc15dcf91ac6df8cf
Reviewed-on: http://git-master/r/40475
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>

Rebase-Id: R829adfb30b09d4df584ace485f697af7a9adde30

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

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

Rebase-Id: Rc29be578dd6cd3b02ecf72a05fcd6552fbe31fb9

5 years agobluetooth: bluesleep: Exit early if device not registered
Dan Willemsen [Fri, 25 Mar 2011 05:29:07 +0000]
bluetooth: bluesleep: Exit early if device not registered

If the device isn't registered for this board, return out of the init
function early.

Original-Change-Id: Ic806b4be1671a77a8fedc1c0376362bc177b0604
Reviewed-on: http://git-master/r/24254
Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com>
Tested-by: Daniel Willemsen <dwillemsen@nvidia.com>
Reviewed-by: Anantha Idapalapati <aidapalapati@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>

Rebase-Id: R8d68fc165c4054e76d3681949985f50d00161179