Colin Cross [Tue, 22 Mar 2011 18:43:45 +0000 (11:43 -0700)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Conflicts:
drivers/serial/tegra_hsuart.c
Change-Id: I535bef9c6645e5ec86f374a8f4d1fb3569274e53
Colin Cross [Tue, 22 Mar 2011 18:42:14 +0000 (11:42 -0700)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Andrei Warkentin [Tue, 22 Mar 2011 18:37:47 +0000 (11:37 -0700)]
serial: tegra_hsuart: Make sure current byte rx complete in suspend
Make sure that the last byte has been received by the uart during
suspend after RTS is deasserted.
Change-Id: I3517ec058fdca912ff5ad8770d2b1c5015385385
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Signed-off-by: Colin Cross <ccross@android.com>
Chris Johnson [Tue, 22 Mar 2011 01:20:51 +0000 (18:20 -0700)]
video: tegra: add HOST1_SYNC regs to nvhost_debug_show dump
Change-Id: I48cccf5b0df768b9cfc774803f3945f4806a62ac
Colin Cross [Wed, 16 Mar 2011 23:56:23 +0000 (16:56 -0700)]
serial: tegra_hsuart: Call complete callbacks when cancelling reqs
Updates the tegra_hsuart driver to match the changes in the Tegra
dma engine.
Change-Id: Iaaf8770166156c1a6d889a6a11bae517626781ee
Signed-off-by: Colin Cross <ccross@android.com>
Colin Cross [Wed, 16 Mar 2011 23:53:24 +0000 (16:53 -0700)]
ARM: tegra: dma: Do not call complete callback on canceled requests
Calling the complete callback when a request is cancelled leads to
locking problems in the callback, which could be called from an IRQ
with no locks held, or from whatever context called
tegra_dma_dequeue_req. Instead, expect the caller to handle the
now-cancelled request as needed.
Also removes tegra_dma_dequeue, since all users can be trivially
converted to tegra_dma_dequeue_req.
Change-Id: If699239c09c78d1cd3afa0eaad46535b1d401a24
Signed-off-by: Colin Cross <ccross@android.com>
Rebecca Schultz Zavin [Tue, 22 Mar 2011 18:05:59 +0000 (11:05 -0700)]
Revert "ARM: Cortex-A9: Enable dynamic clock gating"
This reverts commit
91406b03fa4add49db13e55c3220911be55d9883.
Rebecca Schultz Zavin [Mon, 21 Mar 2011 21:15:10 +0000 (14:15 -0700)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Mon, 21 Mar 2011 21:14:12 +0000 (14:14 -0700)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Mon, 21 Mar 2011 21:09:44 +0000 (14:09 -0700)]
Revert "[ARM] tegra: Enable pl310 data prefetching and prefetch offset"
This reverts commit
6c77fdda35688ae3c9d9029a9824f7cf941f348d.
Conflicts:
arch/arm/mach-tegra/common.c
Change-Id: I35858f63da5cfd00885dd765da45db39be16b8b7
James Wylder [Tue, 15 Mar 2011 23:00:34 +0000 (18:00 -0500)]
ARM: board: stingray: remove wrigley host_wake gpio
Change-Id: If9363474b5e963b4b8eec59877f10b727185d99c
Signed-off-by: James Wylder <james.wylder@motorola.com>
James Wylder [Tue, 15 Mar 2011 22:40:36 +0000 (17:40 -0500)]
radio_ctrl: remove host_wake from wrigley driver
Change-Id: I14f17eea39a4ee208b5be7b268187efe3197f619
Signed-off-by: James Wylder <james.wylder@motorola.com>
Rebecca Schultz Zavin [Mon, 21 Mar 2011 20:53:33 +0000 (13:53 -0700)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Mon, 21 Mar 2011 20:52:56 +0000 (13:52 -0700)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Chris Johnson [Wed, 16 Mar 2011 21:25:22 +0000 (14:25 -0700)]
video: tegra: cleanup debug syncpt output
In debug prints for stuck WAITs differentiate WAIT_SYNCPT
vs. WAIT_SYNCPT_BASE and fix some build warnings.
Change-Id: Ia47375614c676a9f93216fbfaaf6856c3df42e2e
Signed-off-by: Chris Johnson <cwj@nvidia.com>
Jeff Brown [Thu, 17 Mar 2011 06:17:05 +0000 (23:17 -0700)]
input: Set default events per packet for MT devices.
Use the number of ABS_MT_SLOTs or ABS_MT_TRACKING_IDs to choose a
default number of events per packet.
Signed-off-by: jeffbrown@android.com
James Wylder [Thu, 17 Mar 2011 20:14:45 +0000 (15:14 -0500)]
[ARM] tegra: stingray add LTE product id to boardfile
Change-Id: I1b746852524f50b8da8ddfa4c29ed69199a03b5b
Signed-off-by: James Wylder <james.wylder@motorola.com>
James Wylder [Thu, 17 Mar 2011 19:28:54 +0000 (14:28 -0500)]
misc: radio_ctrl: wrigley: add reset command
Change-Id: Ib0f45c1e9bf584338427e4eb7b1f23334e5c4c8e
Signed-off-by: James Wylder <james.wylder@motorola.com>
James Wylder [Fri, 11 Mar 2011 23:00:50 +0000 (17:00 -0600)]
[ARM] tegra: stingray: Samsung memory updates
Update the Samsung dvfs tables based on new measurements
from nVidia (Samsung_1GB_K4P4G154EC-FGC0_DVFS_table_K36).
Change-Id: I8659339a2c4d1306a1b9708e16617d0062dc8c40
Signed-off-by: James Wylder <james.wylder@motorola.com>
Praveen Bharathi [Tue, 15 Mar 2011 08:07:18 +0000 (03:07 -0500)]
audio: tegra: Disable SPDIF GPIO
Leaving the SPDIF GPIO unset is causing interference/audio loss
when stingray is mounted on dock connected to HMDI Monitor.
Turning off the SPDIF GPIO (which is unused in the current h/w)
gets rid of the audio pops and eventual audio loss.
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
Colin Cross [Wed, 16 Mar 2011 00:37:39 +0000 (17:37 -0700)]
misc: l3g4200d: Make enable powerup delay asynchronous
Moves enable_irq in l3g4200d_enable into a delayed work function
to avoid blocking the enable ioctl for the powerup delay.
Change-Id: Ic93a3526a452a5945e75364fe06200f5626c1eef
Signed-off-by: Colin Cross <ccross@android.com>
Rebecca Schultz Zavin [Tue, 15 Mar 2011 23:59:51 +0000 (16:59 -0700)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Tue, 15 Mar 2011 23:51:19 +0000 (16:51 -0700)]
Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
Benoit Goby [Mon, 14 Mar 2011 22:25:15 +0000 (15:25 -0700)]
net: ppp: Reduce GFP_ATOMIC memory usage
100% of the time on stingray, only 1 skb is allocated in the
ppp_async_input loop. Pre-allocate this skb out of atomic context.
Change-Id: Iee2dd42087ea932ced589273f0cd4796711725c7
Signed-off-by: Benoit Goby <benoit@android.com>
Mike Lockwood [Mon, 14 Mar 2011 22:28:55 +0000 (18:28 -0400)]
USB: gadget: f_accessory: Add string for accessory's unique serial number
Signed-off-by: Mike Lockwood <lockwood@android.com>
James Wylder [Fri, 11 Mar 2011 20:42:56 +0000 (14:42 -0600)]
[ARM] tegra: stingray: change display EMC clock rate
With the nVidia recommended clock rates of 300, 150,
and 50, the current value (
400000000 internal rate or
200 MHz external clock rate) will round up to full speed
rather than use the intended middle rate(
300000000 or
150 MHz external memory).
This saves 10 mA at the battery, when the display is
on but during low work loads.
Change-Id: I291d758166a0e3747163c1831933da01fadb8e69
Signed-off-by: James Wylder <james.wylder@motorola.com>
Mike Lockwood [Sun, 13 Mar 2011 02:35:28 +0000 (21:35 -0500)]
USB: gadget: f_accessory: Clear disconnected flag when driver file is opened
Fixes a race condition that can occur when entering accessory mode.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood [Sun, 13 Mar 2011 00:59:12 +0000 (19:59 -0500)]
USB: gadget: f_accessory: Clear previous strings on ACCESSORY_GET_PROTOCOL
Clearing strings on disconnect does not work since we may receive
a disconnect on some devices when transitioning into accessory mode.
We require an accessory to send ACCESSORY_GET_PROTOCOL before
sending any strings, so any strings from a previous session will be cleared.
Signed-off-by: Mike Lockwood <lockwood@android.com>
Mike Lockwood [Thu, 10 Mar 2011 21:12:49 +0000 (16:12 -0500)]
USB: gadget: f_accessory: Clear accessory strings when USB is disconnected
Signed-off-by: Mike Lockwood <lockwood@android.com>
Dmitry Shmidt [Thu, 10 Mar 2011 18:18:39 +0000 (10:18 -0800)]
net: wireless: bcm4329: Allocate skb with GFP_KERNEL flag if possible
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Mike Lockwood [Thu, 10 Mar 2011 02:48:20 +0000 (21:48 -0500)]
USB: gadget: f_accessory: Misc improvements and cleanup:
- Add URI string
- Replace type string with a description string
- Add a control call to retrieve accessory protocol version (currently 1)
- Driver read() and write() calls now fail after USB disconnect until
driver file is closed and reopened.
- Misc cleanup work
Signed-off-by: Mike Lockwood <lockwood@android.com>
Dmitry Shmidt [Thu, 10 Mar 2011 00:52:08 +0000 (16:52 -0800)]
net: wireless: bcm4329: Disable wake irq at driver stop
Previously at driver stop interrupts were not disabled and
might cause never-ending waking up
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
makarand.karvekar [Fri, 4 Mar 2011 20:19:01 +0000 (14:19 -0600)]
[ARM]: tegra: enable gyro interrupts
initial ODR set at 100Hz
enable DRDY (data ready) interrupt in gyro
enable Block Data Update (BDU)
Change-Id: I5cd5762644aeb90db4fe66259fe0edb8324d941b
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Sat, 5 Mar 2011 21:47:30 +0000 (15:47 -0600)]
misc: gyro: interrupt based gyro data read and report
gyro ODR set at 100/200/400/800 Hz
closest to requested delay.
gyro data read and reported at every interrupt.
Reported rate matches the gyro ODR rate
Change-Id: I754ea31054d73863b0512607abe81f1f1dcea367
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Benoit Goby [Wed, 9 Mar 2011 20:46:18 +0000 (12:46 -0800)]
net: usb: qcusbnet: Radio not supports SetControlLineState
Change-Id: I68a751798236be0e7f7ddd54509eeac1005d953e
Signed-off-by: Srinivas Gowrishetty <srinivas.gowrishetty@motorola.com>
Jeff Brown [Fri, 4 Mar 2011 21:42:02 +0000 (13:42 -0800)]
ARM: tegra: stingray: Add CONFIG_JOYSTICK_XPAD
Rebecca Schultz Zavin [Tue, 8 Mar 2011 20:26:45 +0000 (12:26 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Tue, 8 Mar 2011 20:22:31 +0000 (12:22 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Tue, 8 Mar 2011 20:15:30 +0000 (12:15 -0800)]
Revert "Revert "tegra: host: move stale wait checking into the kernel""
This reverts commit
b3cc1d84d0b962fe80fc297d2e2417c3157508b6.
Benoit Goby [Fri, 4 Mar 2011 22:01:56 +0000 (14:01 -0800)]
mdm6600: Fix possible use after free
If a disconnect happens while the ril runs a tiocmset ioctl, the usb
interface will get freed. Then before returning, autopm_put_interface
will access the interface struct after it has been freed. Get an
interface reference to prevent it from being freed before the tty
has been released.
Change-Id: Ia009995c3fcdfa2e590b36e0c413433ea5f97b59
Signed-off-by: Benoit Goby <benoit@android.com>
Kazuhiro Ondo [Thu, 3 Mar 2011 23:33:56 +0000 (17:33 -0600)]
ARM: tegra: stingray: usbnet: sysfs attribute to identify BLAN
This is to help user spece modules to identify Motorola BLAN
networking device. Work around the issue of getting semi-random
interface number depending on the boot-up configuration.
Change-Id: Ib2b16699239a16da960c33ef98bbee84bde71dec
Signed-off-by: Kazuhiro Ondo <kazuhiro.ondo@motorola.com>
makarand.karvekar [Fri, 4 Mar 2011 16:10:13 +0000 (10:10 -0600)]
[ARM]: tegra: stingray: set backlight scaling factor
set backlight scaling factor based on display panel.
AUO scaling at 726 makes it bit more brighter
Change-Id: I568ff158f00260894d95c00ac1e96632e2636d58
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Fri, 4 Mar 2011 16:01:37 +0000 (10:01 -0600)]
leds: lp8550: get backlight scaling factor from platform data
backlight scaling factor varies with display panel
Change-Id: I45ea0d76526d4297412d177481acded082ce7104
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Benoit Goby [Thu, 3 Mar 2011 23:02:40 +0000 (15:02 -0800)]
net: usb: qcusbnet: Fix kernel panic on probe/disconnect
Use list_for_each_safe since the loop kfree the current list entry.
If qc_register fails, probe calls qc_deregister. qc_deregister accesses
the cdev struct, so make sure it has been initialized before returning
from qc_register.
Fix missing spin_unlock_irqrestore
Change-Id: I56db6ffaa0c7b258d383d0a6211f63318fa9c08f
Signed-off-by: Benoit Goby <benoit@android.com>
James Wylder [Thu, 3 Mar 2011 18:25:52 +0000 (12:25 -0600)]
ARM: tegra: stingray: Update Memory tables
Change all rates to integer multipliers, and
Add table for 40nm Elpida
Change-Id: Ie3a4e47948f541326da664537604e2c3061e3a92
Signed-off-by: James Wylder <james.wylder@motorola.com>
James Wylder [Wed, 2 Mar 2011 18:39:50 +0000 (12:39 -0600)]
ARM: tegra: stingray: use generic memory vendor matching
Initialize arrays to utilize new signature of tegra_init_emc.
Memory types are matched internally and command line
option is no longer needed.
Change-Id: Icc7d44e4a82031638c78eeac3b172b713e0ca97b
Signed-off-by: James Wylder <james.wylder@motorola.com>
Colin Cross [Fri, 4 Mar 2011 02:55:51 +0000 (18:55 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Fri, 4 Mar 2011 02:55:38 +0000 (18:55 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
James Wylder [Tue, 1 Mar 2011 15:25:06 +0000 (09:25 -0600)]
ARM: tegra: add generic memory vendor matching
Update tegra_init_emc to provide generic memory
vendor matching. Read values from EMC_MRR_0, to
uniquely identify memory types and compare them
to table of memory passed in.
Change-Id: Ie116fa6f497076149c87ff6c0ae0621309bac65f
Signed-off-by: James Wylder <james.wylder@motorola.com>
Colin Cross [Wed, 2 Mar 2011 20:34:38 +0000 (12:34 -0800)]
ARM: tegra: Use readl/writel_relaxed for reset
tegra_assert_system_reset is called after the cache is disabled.
Calling writel will cause the PL310 store buffers to be drained,
which requires taking a spinlock. Taking a spinlock is not safe
after the caches are disabled. Convert to readl_relaxed and
writel_relaxed.
Change-Id: I6850179b931ca865580c0fd3fe003b46bdfa43ae
Signed-off-by: Colin Cross <ccross@android.com>
makarand.karvekar [Thu, 3 Mar 2011 01:48:35 +0000 (19:48 -0600)]
[ARM]: tegra: stingray: update ABS x,y max/min values to 0-base
Change-Id: I40e40c843ca732980d454aba721b338ee2e78f4d
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Tue, 22 Feb 2011 23:13:36 +0000 (17:13 -0600)]
[ARM]: tegra: stingray: update ALS interrupt delay to 400mS
Change-Id: Ib8ac11ed7397df1c65097a7d341c29b80c1aafeb
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Tue, 22 Feb 2011 23:21:10 +0000 (17:21 -0600)]
misc: kxtf9: corrected cancel work sync call for delayed work
Change-Id: Iec914fd1102b8b6dba5d9b818b6eacb0d6481187
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
makarand.karvekar [Wed, 23 Feb 2011 00:07:18 +0000 (18:07 -0600)]
misc: amk8975: correct y-axis and orientation status reporting
y-axis: REL_WHEEL
orientation status: REL_HWHEEL
Change-Id: I1268b4cffe281b8871be6a34856cab21f4ca3da3
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
Rebecca Schultz Zavin [Thu, 3 Mar 2011 22:30:35 +0000 (14:30 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Thu, 3 Mar 2011 22:29:26 +0000 (14:29 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Thu, 3 Mar 2011 22:28:07 +0000 (14:28 -0800)]
Revert "tegra: host: move stale wait checking into the kernel"
This reverts commit
2d49bf33f3885aab293f12d54447f66e911e3226.
Benoit Goby [Wed, 2 Mar 2011 01:48:31 +0000 (17:48 -0800)]
ARM: tegra: stingray: Add CONFIG_USB_NET_GOBI
Change-Id: I6e62613f3092578f62af0b87660ffd153e7b2d1e
Benoit Goby [Mon, 28 Feb 2011 22:27:22 +0000 (14:27 -0800)]
net: usb: qcusbnet: Add support for poll/select
Change-Id: I974c3e0337b3c4eebd821919966979e670c93b6b
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Fri, 25 Feb 2011 04:04:17 +0000 (20:04 -0800)]
net: usb: qcusbnet: Add support for stingray modem
1. Implement reset_resume
2. Remove hardcoding of qmi to interface 0
3. Correctly assign bulk in and out endpoints
4. Change ethernet interface name from usbX to qmiX to remove conflicts with other drivers
5. Assign individual MAC address to each ethernet interface
6. Modify the usb device table to include subclass interface ids for motorola products
7. Remove any hardcoded interface, endpoint numbers
Change-Id: I3b08a5b0acb841e38177cdd758a16f32913246bb
Signed-off-by: Srinivas Gowrishetty <srinivas.gowrishetty@motorola.com>
Rebecca Schultz Zavin [Thu, 3 Mar 2011 01:41:04 +0000 (17:41 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Thu, 3 Mar 2011 01:31:34 +0000 (17:31 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Prajakta Gudadhe [Sat, 5 Feb 2011 09:37:38 +0000 (01:37 -0800)]
tegra: host: move stale wait checking into the kernel
The kernel now receives wait tracking data (similar to gathers and
relocs) and compares the current syncpt with the threshold value.
If it's old, it gets a kernel mapping and rewrites the method data
to use a kernel reserved syncpt that is always 0 (so trivially pops
when seen by the HW).
Patch has dependency to the user-space patches
Submitted on behalf of: Chris Johnson <cjohnson@nvidia.com>
original work by: Chris Johnson <cjohnson@nvidia.com>
Change-Id: I4d4e5d3b49cab860485c4172f87247f5b4f5ea6e
Benoit Goby [Wed, 2 Mar 2011 01:53:14 +0000 (17:53 -0800)]
mdm6600: Match subclass interface info during probe
Change-Id: I0c17747b51a888e53b29cef4c409da2d67733ae1
Signed-off-by: Benoit Goby <benoit@android.com>
James Wylder [Wed, 2 Mar 2011 21:18:59 +0000 (15:18 -0600)]
usb: serial: Add new motoflash pid for wrigley
Add the updated wrigley datacard pid to the
list of flashable devices.
Change-Id: I44c0dc1d64136003eeb50df436f20e7765f058dc
Signed-off-by: James Wylder <james.wylder@motorola.com>
Benoit Goby [Wed, 2 Mar 2011 04:04:37 +0000 (20:04 -0800)]
ARM: tegra: stingray: Change wifi-only devices product name
Change-Id: I2f3b0176115b0f52345c61c02359ee6cb62e907f
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 2 Mar 2011 01:07:58 +0000 (17:07 -0800)]
ARM: tegra: stingray: Moved tegra_usb.h to linux/platform_data
Change-Id: Iee9df4021ffa82eb5f8f4915072466f0ab20cb89
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 2 Mar 2011 01:05:47 +0000 (17:05 -0800)]
usb: otg: cpcap: Moved tegra_usb.h to linux/platform_data
Change-Id: Id745ee5684f079b09f5076a4453f4f925ddc1210
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Sat, 12 Feb 2011 03:52:04 +0000 (19:52 -0800)]
ARM: tegra: stingray_defconfig: Renamed CONFIG_USB_EHCI_TEGRA
Change-Id: I81e3a0221e04280155e2523e954d9b4bcd1b8066
Signed-off-by: Benoit Goby <benoit@android.com>
Colin Cross [Wed, 2 Mar 2011 01:27:10 +0000 (17:27 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Wed, 2 Mar 2011 01:26:56 +0000 (17:26 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Benoit Goby [Tue, 1 Mar 2011 01:45:34 +0000 (17:45 -0800)]
usb: host: Renamed USB_TEGRA_HCD -> USB_EHCI_TEGRA
Change-Id: I2eec79186d6dc258caa2f3c8f3cd071222d1c5c7
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Fri, 11 Feb 2011 02:47:46 +0000 (18:47 -0800)]
ARM: tegra: select USB_ARCH_HAS_EHCI
usb_phy now depends on USB_ULPI_VIEWPORT
Change-Id: I5f3c996b41b50e74aa2b53eb246e100926108bff
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Fri, 11 Feb 2011 02:47:20 +0000 (18:47 -0800)]
usb: do not force select has_ehci for tegra
Change-Id: If6219a3ba9671a2c4c10b35461e1cc2ffe50ab0a
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Fri, 11 Feb 2011 23:55:38 +0000 (15:55 -0800)]
ARM: tegra: use generic ulpi operations
Change-Id: I5b56a8a1b10532683accfe885387afb309b26b19
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Fri, 11 Feb 2011 23:20:43 +0000 (15:20 -0800)]
usb: otg: Add ulpi viewport access ops
Add generic access ops for controllers with a ulpi viewport register
(e.g. Chipidea based controller).
Change-Id: I53d50857d4716f8df708af199ad1def1ff9d4beb
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Tue, 8 Feb 2011 02:40:47 +0000 (18:40 -0800)]
usb: host: tegra: Cleanup before sending upstream
Change-Id: I846d43b1ecbe6c726f024b6a0fb318d6300a3746
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Fri, 11 Feb 2011 01:41:00 +0000 (17:41 -0800)]
ARM: tegra: usb_phy: Fix return values
Changed frequency table into a struct
Change-Id: I202f808b912ce61e1f804103ea6d1197a57c1e62
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Tue, 8 Feb 2011 03:23:25 +0000 (19:23 -0800)]
ARM: tegra: usb_phy: Cleanup before sending upstream
Change-Id: I2548ca931f8ae37757115b7753d520d576bb173d
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 2 Mar 2011 01:03:51 +0000 (17:03 -0800)]
usb: otg: tegra: Moved tegra_usb.h to include/linux/platform_data
Change-Id: I201b6476979f6e1ef8ffadb4398b99a1728f3083
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Wed, 2 Mar 2011 00:58:44 +0000 (16:58 -0800)]
usb: host: Moved tegra_usb.h to include/linux/platform_data
Change-Id: Ic093d07858eb6e27aae9cd04d4c59407b5b1d76d
Signed-off-by: Benoit Goby <benoit@android.com>
Benoit Goby [Tue, 1 Mar 2011 01:40:54 +0000 (17:40 -0800)]
Revert "usb: host: ehci-hcd: add controller_resets_phy quirk"
This reverts commit
2c7d591aa11086ba841f8712b7cee33e245b62f6.
Change-Id: Ic9994dafc424e16d5d8251c287f8be65832b611b
Andrei Warkentin [Tue, 15 Feb 2011 22:18:59 +0000 (16:18 -0600)]
serial: tegra_hsuart: Clean-up FIFO flush and set baudrate operations.
Do necessary waits and fifo clear according to NV. Also use 115200
as the rate set while bringing-up rx dma during init, to decrease
start-up time.
Change-Id: I5211c75607cf2880ab2b1c22ab30f2c265534a1c
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
Mike Lockwood [Tue, 1 Mar 2011 19:39:27 +0000 (11:39 -0800)]
[ARM] tegra: stingray: Fix RNDIS support
The RNDIS driver must be the first interface on the list
Signed-off-by: Mike Lockwood <lockwood@android.com>
Greg Meiste [Mon, 28 Feb 2011 19:45:20 +0000 (13:45 -0600)]
[ARM] tegra: stingray: Add ehci3 for all devices
Even though the wifi-only model has nothing attached to ehci3, the
driver still needs to be probed. This is because the USB register
settings are lost in LP0. So currently after the device resumes from
LP0 the first time, the current drain is 12mA higher! When the
ehci3 driver is present, its resume code runs and restores the
registers to a known good state, which solves the power management
issue.
Change-Id: I6329704f7a1161eb139b62002a50085eb05d2fdc
Signed-off-by: Greg Meiste <w30289@motorola.com>
John Michelau [Tue, 11 Jan 2011 22:52:25 +0000 (16:52 -0600)]
Add dump_log cmd to mdm6600_ctrl
This command triggers a dump of the MDM6600 RAM log buffers
into non-volatile memory, so that they can be retrieved by
bugreport or the RIL when submitting error reports. It
provides a simple path for this which does not rely on the
typical (and more error-prone) IPC mechanism.
Change-Id: I17708704b94426b1541533978478192d3f4dab89
John Kramer [Fri, 4 Feb 2011 17:32:19 +0000 (11:32 -0600)]
media: video: tegra: Correct mclk settings for ov5650
Change-Id: I6d18b25fd88927c7ac4311fa73504badede54dd3
Signed-off-by: John Kramer <john.kramer@motorola.com>
Erik Gilling [Mon, 28 Feb 2011 23:29:58 +0000 (15:29 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Change-Id: I7e6c38730fba12e9d60910da5df8470a9584f29b
Erik Gilling [Mon, 28 Feb 2011 23:28:49 +0000 (15:28 -0800)]
Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Change-Id: Ie01fff1ceddfbada480ef2928ac4791853787a49
Erik Gilling [Mon, 28 Feb 2011 21:25:44 +0000 (13:25 -0800)]
video: tegra: hdmi: enable wakeup on hotplug
Change-Id: Idbb3f81c3c2d8a4f7f6b76736e11dd07cdd3a413
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Mon, 28 Feb 2011 21:24:30 +0000 (13:24 -0800)]
video: tegra: hdcp: move call to hdcp suspend out of atomic context
Change-Id: I62a9d810637df221862898536f990eda77e50644
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Mon, 28 Feb 2011 21:13:09 +0000 (13:13 -0800)]
video: tegra: hdmi: fix vic detection for avi infoframe
typeo was causing 1080p VICs to never be populated
Change-Id: Idde037cf0d4b71370cff7e65a2135b8c60a91fa0
Signed-off-by: Erik Gilling <konkers@android.com>
Erik Gilling [Sat, 19 Feb 2011 00:24:37 +0000 (16:24 -0800)]
video: tegra: de-assert reset after clocks are turned on
In underflow recovery, if the clocks are not enabled when the dc is brought
out of reset writes to the DC will sometimes hang.
Change-Id: If37de79f755196550018f94080ab2beed84ca326
Signed-off-by: Erik Gilling <konkers@android.com>
Colin Cross [Sun, 27 Feb 2011 01:19:39 +0000 (17:19 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Sun, 27 Feb 2011 01:19:19 +0000 (17:19 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Sun, 27 Feb 2011 00:45:47 +0000 (16:45 -0800)]
ARM: tegra: fuse: Fix bug in get_spare_fuse
get_spare_fuse was calling tegra_apb_readl and passing an
offset, but tegra_apb_readl requires a physical address.
Fix it by calling tegra_fuse_readl instead, which takes
an offset.
Fixes a crash booting on A03 parts, where get_spare_fuse
is used to determine the difference between A03 and A03
prime.
Change-Id: Ie386dc099e1c14eeb36262bfcc882e29a40a8da6
Signed-off-by: Colin Cross <ccross@android.com>
Mike Lockwood [Sat, 19 Feb 2011 20:33:17 +0000 (15:33 -0500)]
USB: gadget: f_mtp: dequeue request on error in mtp_read
In mtp_read(), if wait_event_interruptible() returns an error, we need to
remove the request from the EP queue. Else, on the next call to mtp_read(), we
will attempt to enqueue the request again, potentially corrupting the
queue. This is what happens with musb_gadget_queue(), which does not check for
duplicate requests.
Based on a similar change to f_adb.c
Signed-off-by: Mike Lockwood <lockwood@android.com>
John Michelau [Tue, 30 Nov 2010 22:27:09 +0000 (16:27 -0600)]
ARM: tegra: stingray: Add CONFIG_USB_ANDROID_ACM
Change-Id: I894ba0bc1bcca72277aa65e19e8e91e790c2238c
John Michelau [Tue, 30 Nov 2010 22:27:09 +0000 (16:27 -0600)]
ARM: tegra: stingray: BP tools mode gadget config
Create a new Android USB Gadget mode for allowing BP ports
to passthrough the AP and out the gadget device, for use
by host-side tools. This will be used for carrier testing, as
well as for general development and debugging. It is enabled
by selecting "BP Tools" mode from the bootloader menu.
Change-Id: I7acca9b1189b5684439736440123c40e35310fe4
Greg Meiste [Fri, 18 Feb 2011 22:04:27 +0000 (16:04 -0600)]
[ARM] tegra: stingray: Update pinmux config for wifi-only model
Change-Id: If20d390afc27eeef8c90b28984467e4808b3187a
Signed-off-by: Greg Meiste <w30289@motorola.com>