firefly-linux-kernel-4.4.55.git
13 years agoUSB: gadget: f_accessory: New gadget driver for android USB accesories
Mike Lockwood [Wed, 2 Feb 2011 16:52:56 +0000 (11:52 -0500)]
USB: gadget: f_accessory: New gadget driver for android USB accesories

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoARM: tegra: stingray: undefine invalid GPIO assignments for emmc port
Sergey Kudakov [Fri, 4 Feb 2011 20:10:17 +0000 (14:10 -0600)]
ARM: tegra: stingray: undefine invalid GPIO assignments for emmc port

Change-Id: Ic3ce1ba2ff47f4035b2181583886510d2e5c078b
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
13 years agousb: serial: Add Wrigley Datacard as flash device
James Wylder [Sun, 13 Feb 2011 21:54:19 +0000 (15:54 -0600)]
usb: serial:  Add Wrigley Datacard as flash device

Change-Id: I98b0ea2c4ede061a30d9761301dd136d8c8847fc
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agoARM: tegra: stingray: Enable wrigley (LTE) in defconfig
James Wylder [Thu, 10 Feb 2011 17:18:42 +0000 (11:18 -0600)]
ARM: tegra: stingray: Enable wrigley (LTE) in defconfig

Change-Id: I990c4b27c7f190c5522309e32578085ff393a658
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agoARM: tegra: stingray: Add wrigley (LTE) to boardfile
James Wylder [Thu, 10 Feb 2011 17:17:59 +0000 (11:17 -0600)]
ARM: tegra: stingray: Add wrigley (LTE) to boardfile

Initialize the Wrigley control device if present.

Change-Id: I78ea018d0f1a71def2e2c56299386ea0cdaeb2c3
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agomisc: radio_ctrl: Add Wrigley Driver to support LTE
James Wylder [Thu, 10 Feb 2011 17:16:05 +0000 (11:16 -0600)]
misc: radio_ctrl: Add Wrigley Driver to support LTE

Add driver to support control operations power-up,
power-down, incoming wakeup and reset for the Motorola
Wrigley Modem.

Change-Id: I6955759b7bbfd48a9756c07886aa8b3f34dd2762
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Sat, 19 Feb 2011 01:26:42 +0000 (17:26 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Sat, 19 Feb 2011 01:23:59 +0000 (17:23 -0800)]
Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36

13 years agonet: wireless: bcm4329: Fix disable pno call
Greg Goldman [Sat, 19 Feb 2011 01:12:19 +0000 (17:12 -0800)]
net: wireless: bcm4329: Fix disable pno call

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoARM: tegra: stingray: Update include path for mdm6x00 header
James Wylder [Thu, 10 Feb 2011 17:06:59 +0000 (11:06 -0600)]
ARM: tegra: stingray: Update include path for mdm6x00 header

Change-Id: I94ef86e617c384a6270bd605796109a503b7d847
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agomisc: radio_ctrl: Create radio control interface
James Wylder [Thu, 10 Feb 2011 17:03:22 +0000 (11:03 -0600)]
misc: radio_ctrl: Create radio control interface

Migrate the mdm6x00 sysfs interface to its own
driver so that additional drivers can be added.

Change-Id: Ia647f298adaba75ac296b2b33e632ba55e4dd55a
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agoARM: tegra: stingray: Add support for wifi-only model
Benoit Goby [Thu, 10 Feb 2011 01:12:46 +0000 (17:12 -0800)]
ARM: tegra: stingray: Add support for wifi-only model

Change-Id: Ia165295d00577474e03f8c28d74f7346a9eeed44
Signed-off-by: Benoit Goby <benoit@android.com>
13 years ago[ARM] tegra: stingray: Add support for product_type
Greg Meiste [Wed, 16 Feb 2011 16:52:47 +0000 (10:52 -0600)]
[ARM] tegra: stingray: Add support for product_type

Stingray bootloader 1036 adds product_type to the kernel command
line to tell the kernel what hardware is present. For example, if
a CDMA modem and wifi were both present, the bootloader would pass
product_type=cw. If a LTE datacard was added, it would change to
product_type=clw.

Change-Id: I1f5663bb1a72e0b6cc7d0dcb65b6036140fbf777
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoQualcomm's QMI USB Net Driver
srinivas gowrishetty [Thu, 9 Dec 2010 23:56:57 +0000 (15:56 -0800)]
Qualcomm's QMI USB Net Driver

Merging original Qualcomm GPL driver for supporting QMI/RmNet USB interface.
Original patch can be found at http://patchwork.ozlabs.org/patch/66006/

Change-Id: I0016d89471ad504d41a1862c007da2e41b1c3ed8
Signed-off-by: Srinivas Gowrishetty <srinivas.gowrishetty@motorola.com>
13 years agoARM: configs: Disable PERF_COUNTERS and PERF_EVENTS in stingray defconfig
Rebecca Schultz Zavin [Thu, 17 Feb 2011 21:29:20 +0000 (13:29 -0800)]
ARM: configs: Disable PERF_COUNTERS and PERF_EVENTS in stingray defconfig

This will put oprofile into timer mode.  Performance counter based
profiling does not appear to be working correctly.

Change-Id: I960faccdc82f39f853ec05ba7ea0d315349d57df
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoARM: tegra: stingray: Add source-based routing options to defconfig
Dmitry Shmidt [Tue, 15 Feb 2011 23:58:46 +0000 (15:58 -0800)]
ARM: tegra: stingray: Add source-based routing options to defconfig

CONFIG_IP_ADVANCED_ROUTER and CONFIG_IP_MULTIPLE_TABLES

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoARM: tegra: stingray: Add platform-dependent wifi country code translation
Dmitry Shmidt [Tue, 15 Feb 2011 01:43:11 +0000 (17:43 -0800)]
ARM: tegra: stingray: Add platform-dependent wifi country code translation

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Wed, 16 Feb 2011 17:59:39 +0000 (09:59 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Wed, 16 Feb 2011 17:56:33 +0000 (09:56 -0800)]
Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36

13 years agonet: wireless: bcm4329: Get country translation from platform data
Dmitry Shmidt [Tue, 15 Feb 2011 01:48:56 +0000 (17:48 -0800)]
net: wireless: bcm4329: Get country translation from platform data

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoMerge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Erik Gilling [Tue, 15 Feb 2011 02:07:58 +0000 (18:07 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36

Change-Id: Icb97546afa6da84601ce59c1ad00998196b43df6

13 years agoMerge branch 'linux-tegra' into android-tegra
Erik Gilling [Tue, 15 Feb 2011 02:07:02 +0000 (18:07 -0800)]
Merge branch 'linux-tegra' into android-tegra

13 years agovideo: tegra: add some missing mutex locking to nvhost_cdma
Prajakta Gudadhe [Tue, 1 Feb 2011 22:56:00 +0000 (14:56 -0800)]
video: tegra: add some missing mutex locking to nvhost_cdma

Change-Id: Ie4606d9a5154090274168babc110ea2d79747c05
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoHACK: dump clock tree on nvhost suspend hang
Erik Gilling [Tue, 15 Feb 2011 01:18:37 +0000 (17:18 -0800)]
HACK: dump clock tree on nvhost suspend hang

Change-Id: Iaf3075535fa6a100389a0b02508a0b7bc45e8ff9
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agonet: wireless: Add get_country_code functionality to platform
Dmitry Shmidt [Tue, 15 Feb 2011 00:58:48 +0000 (16:58 -0800)]
net: wireless: Add get_country_code functionality to platform

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Tue, 15 Feb 2011 00:12:25 +0000 (16:12 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Tue, 15 Feb 2011 00:11:42 +0000 (16:11 -0800)]
Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36

13 years agonet: wireless: bcm4329: Update to version 4.218.248-23
Greg Goldman [Mon, 14 Feb 2011 23:54:42 +0000 (15:54 -0800)]
net: wireless: bcm4329: Update to version 4.218.248-23

- Add support to PNO with adaptive scan time
- Remove logic to generate Link Down based on Roaming Event
- Improve sco/esco detection method for BT COEX
- Add new function TXPOWER to reduce power if needed

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Mon, 14 Feb 2011 23:32:54 +0000 (15:32 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Mon, 14 Feb 2011 23:32:12 +0000 (15:32 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agovideo: tegra: nvmap: Fix broken optimization
kartamonov [Mon, 14 Feb 2011 12:22:46 +0000 (14:22 +0200)]
video: tegra: nvmap: Fix broken optimization

An attempt had been made to reduce the number of pte operations
while patching relocs.  The optimization was incorrectly coded
and was not providing the expected speedup.

Credit for the find goes to Peter Pipkorn.

Change-Id: Ic83b20ee470e54d5053f747dbcbdf7b038b7c7c4
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: Enable pl310 data prefetching and prefetch offset
Chris Fries [Fri, 11 Feb 2011 20:26:20 +0000 (14:26 -0600)]
[ARM] tegra: Enable pl310 data prefetching and prefetch offset

Enable data prefetching in the L2 cache controller, and set
the prefetch offset to 7.

Memcpy performance measured copying 16 MB buffers 78 times:
Data prefetch disabled, prefetch offset 0: 440 MB/s
Enabling data prefetching, prefetch offset 0: 430 MB/s
Enabling data prefetching, prefetch offset 7: 502 MB/s

Overall, this patch gives a 14% improvement in memcpy performance.

Prefetch offset of 8 causes prefetches to cross 4k boundaries
and cannot be used.

Original-author: Gary King <gking@nvidia.com>
Signed-off-by: Chris Fries <C.Fries@motorola.com>
Signed-off-by: Colin Cross <ccross@android.com>
Change-Id: I7ce0810b3f94edc2640df3f643cf81357052f2f1

13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Sat, 12 Feb 2011 22:23:33 +0000 (14:23 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Sat, 12 Feb 2011 22:13:29 +0000 (14:13 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Sat, 12 Feb 2011 22:13:19 +0000 (14:13 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agoRevert "mmc: subtract boot sectors from disk size for eMMC 4.3+ devices"
Colin Cross [Sat, 12 Feb 2011 21:21:32 +0000 (13:21 -0800)]
Revert "mmc: subtract boot sectors from disk size for eMMC 4.3+ devices"

This reverts commit f0b0e4bec1e89014f3dcef4da8bcf95428cc771c.

The reverted commit incorrectly calculates the size of eMMC
devices in some (all?) cases.

This revert may cause problems in cases where the bootloader was
bug-compatible and puts a GPT partition at the incorrect end of
the eMMC device.

Change-Id: Ib006acf9e517b3b8f7570220c28e19c91e7b5f25
Signed-off-by: Colin Cross <ccross@android.com>
13 years agonet: wireless: bcm4329: Fix mem leak in wl_iw_handle_scanresults_ies
Mike Corrigan [Sat, 12 Feb 2011 01:05:54 +0000 (17:05 -0800)]
net: wireless: bcm4329: Fix mem leak in wl_iw_handle_scanresults_ies

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agonet: wireless: bcm4329: Fix memleak in dev->p
Andrei Warkentin [Sat, 12 Feb 2011 01:01:28 +0000 (17:01 -0800)]
net: wireless: bcm4329: Fix memleak in dev->p

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agonet: wireless: bcm4329: Add sdlock to firmware loading
Dmitry Shmidt [Sat, 12 Feb 2011 00:54:39 +0000 (16:54 -0800)]
net: wireless: bcm4329: Add sdlock to firmware loading

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoPM: Increase dpm suspend timeout
Benoit Goby [Mon, 7 Feb 2011 21:55:26 +0000 (13:55 -0800)]
PM: Increase dpm suspend timeout

usbhid devices have a 10s timeout waiting for the out queue to clear.
Increased the watchdog to 12s.

Change-Id: I96368fca6dff98e4eba8aedb09c23be964c8f4b4
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agofs: partitions: efi: Add force_gpt_sector parameter
Colin Cross [Fri, 28 Jan 2011 21:45:06 +0000 (13:45 -0800)]
fs: partitions: efi: Add force_gpt_sector parameter

force_gpt_sector=<sector> causes the GPT partition search to
look at the specified sector for a valid GPT header if the
GPT is not found at the beginning or the end of the block
device.

Change-Id: I9b5f85ce24719c0538d42ec5a94344c7f6556b2b
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoRevert "mmc: subtract boot sectors from disk size for eMMC 4.3+ devices"
Colin Cross [Fri, 28 Jan 2011 00:12:58 +0000 (16:12 -0800)]
Revert "mmc: subtract boot sectors from disk size for eMMC 4.3+ devices"

This reverts commit 2cdc235bbeb09b2b78cd02a94ab79c265861aea9.

The reverted commit incorrectly calculates the size of eMMC
devices in some (all?) cases.

This revert may cause problems in cases where the bootloader was
bug-compatible and puts a GPT partition at the incorrect end of
the eMMC device.

Change-Id: Icc9ddb3d294aa2a1caeddfe8fedd2e12aa7691e1

13 years agoRevert "mmc: fix non-arm build due to eMMC 4.3+ change"
Colin Cross [Fri, 28 Jan 2011 00:12:55 +0000 (16:12 -0800)]
Revert "mmc: fix non-arm build due to eMMC 4.3+ change"

This reverts commit 1c119f2c1667ea2747693f7fd2166205e1a10b09.

13 years agoUSB: gadget: f_mtp: Don't block in mtp_send_event
Mike Lockwood [Thu, 10 Feb 2011 16:54:53 +0000 (11:54 -0500)]
USB: gadget: f_mtp: Don't block in mtp_send_event

We used to wait for the previous interrupt packet to complete before sending
the next packet.  But unfortunately the previous packet will not complete
until USB is disconnected if the host is not listening on the interrupt
endpoint (which is the case with libmtp on Linux and Mac).
To avoid hanging indefinitely in this case, we now simply return -EBUSY
if the previous interrupt packet has not completed yet.

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoUSB: gadget: android: Support switching vendor ID when configuration changes
Mike Lockwood [Wed, 9 Feb 2011 14:38:26 +0000 (09:38 -0500)]
USB: gadget: android: Support switching vendor ID when configuration changes

Based on the list of enabled USB functions, we can now switch the vendor ID
as well as the product ID.

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agomisc: gps_brcm4750: Adding wake up timer support for Brcm gps v17 library
prabhu annabathula [Thu, 27 Jan 2011 02:56:13 +0000 (20:56 -0600)]
misc: gps_brcm4750: Adding wake up timer support for Brcm gps v17 library

broadcom gps library will schedule the wake up timer in two cases
 - when a fix interval longer than 5 seconds is requested
 - when integrating long for very weak gps signals
In these two cases brcm library will release the wakelock and schedule
timer to wake up if the system goes in to deep sleep.

Signed-off-by: prabhu annabathula <prabhu.annabathula@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoARM: tegra: Handle timers during LP2 idle ticks
Todd Poynor [Mon, 7 Feb 2011 21:42:34 +0000 (13:42 -0800)]
ARM: tegra: Handle timers during LP2 idle ticks

Timer ticks aren't properly serviced while a CPU is in LP2 idle.
Although the Tegra LP2 idle code calls hrtimer_peek_ahead_timers,
because no IRQ regs have been saved, update_process_times is not
called, and thus the timer list is not serviced (and neither is
SMP rebalancing, etc.)  This can cause significant delays
scheduling timer-based activity, especially on CPU 1 (which is
not servicing most other IRQs).

Colin Cross suggested a patch based on upstream review feedback
that uses clock notifiers to switch to the "broadcast" clock event
source ("timer0" Tegra timer 3) during LP2, which has a real
interrupt handler defined that calls the clock event handler in
IRQ context, allowing timers to be checked.

Change-Id: Ifa3f4ec662f07dc9636e433f278358f75b65d10c
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agoUSB: ehci: tegra: Align DMA transfers to 32 bytes
Robert Morell [Thu, 27 Jan 2011 03:06:49 +0000 (19:06 -0800)]
USB: ehci: tegra: Align DMA transfers to 32 bytes

The Tegra2 USB controller doesn't properly deal with misaligned DMA
buffers, causing corruption.  This is especially prevalent with USB
network adapters, where skbuff alignment is often in the middle of a
4-byte dword.

To avoid this, allocate a temporary buffer for the DMA if the provided
buffer isn't sufficiently aligned.

Signed-off-by: Robert Morell <rmorell@nvidia.com>
13 years agoUSB: HCD: Add driver hooks for (un)?map_urb_for_dma
Robert Morell [Thu, 27 Jan 2011 03:06:48 +0000 (19:06 -0800)]
USB: HCD: Add driver hooks for (un)?map_urb_for_dma

Provide optional hooks for the host controller driver to override the
default DMA mapping and unmapping routines.  In general, these shouldn't
be necessary unless the host controller has special DMA requirements,
such as alignment contraints.  If these are not specified, the
general usb_hcd_(un)?map_urb_for_dma functions will be used instead.
Also, pass the status to unmap_urb_for_dma so it can know whether the
DMA buffer has been overwritten.

Finally, add a flag to be used by these implementations if they
allocated a temporary buffer so it can be freed properly when unmapping.

Signed-off-by: Robert Morell <rmorell@nvidia.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoUSB: HCD: Add usb_hcd prefix to exported functions
Robert Morell [Thu, 27 Jan 2011 03:06:47 +0000 (19:06 -0800)]
USB: HCD: Add usb_hcd prefix to exported functions

The convention is to prefix symbols exported from the USB HCD core with
"usb_hcd".  This change makes unmap_urb_setup_for_dma() and
unmap_urb_for_dma() consistent with that.

Signed-off-by: Robert Morell <rmorell@nvidia.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
13 years agoMerge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Erik Gilling [Mon, 7 Feb 2011 23:20:30 +0000 (15:20 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36

Change-Id: I7647524dbf346987bcd1dcc1c19479d74470b308

13 years agoMerge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Erik Gilling [Mon, 7 Feb 2011 23:18:22 +0000 (15:18 -0800)]
Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36

Change-Id: I6fcdbcd0eb7103ac580deb94faf79959a5818ba1

13 years agovideo: tegra: only enable HDMI features if detected from edid
Erik Gilling [Mon, 7 Feb 2011 03:33:45 +0000 (19:33 -0800)]
video: tegra: only enable HDMI features if detected from edid

Change-Id: I94c5c83c25a8aa1de344339f5759953074488720
Signed-off-by: Erik Gilling <konkers@android.com>
13 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 numver 0x000c03 as per HDMI spec.

Change-Id: I6875b24c66e8754510edabcb4f9ba682a50d6ac1
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoUSB: gadget: f_mtp: Fix problems transferring files from device to host
Mike Lockwood [Mon, 7 Feb 2011 16:51:07 +0000 (11:51 -0500)]
USB: gadget: f_mtp: Fix problems transferring files from device to host

Exit from send_file_work immediately when a cancel request is received.

Only busy status if there is a cancel pending that has not been repoorted to userspace.
This avoids a race condition that can occur when mtp_read resets the state
to STATE_BUSY before we report status OK back to the host.

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agomisc: kxtf9: use own wq to schedule work
makarand.karvekar [Fri, 4 Feb 2011 00:47:00 +0000 (18:47 -0600)]
misc: kxtf9: use own wq to schedule work

Change-Id: I7fda277459d5f6520827edc01c50535c303cbeea
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] tegra: specifiy stingray panel height and width
Erik Gilling [Thu, 3 Feb 2011 21:16:13 +0000 (13:16 -0800)]
[ARM] tegra: specifiy stingray panel height and width

Change-Id: I76dc6cf9c901b67eb782ac527787d54817cb74f0
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoMerge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Erik Gilling [Thu, 3 Feb 2011 21:30:54 +0000 (13:30 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36

Change-Id: Ica2eff483e5326079d30bf1b650c8fd2264fcc53

13 years agoMerge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Erik Gilling [Thu, 3 Feb 2011 21:29:42 +0000 (13:29 -0800)]
Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36

Change-Id: I65d011f4a13d99ffc617a807d551d5869b739662

13 years agovideo: tegra: add height/width to dc and fb
Erik Gilling [Thu, 3 Feb 2011 21:15:50 +0000 (13:15 -0800)]
video: tegra: add height/width to dc and fb

Change-Id: I22c280928079af04263375fce63a87776588a457
Signed-off-by: Erik Gilling <konkers@android.com>
13 years ago[ARM] tegra: stingray: Use WL_REG_ON GPIO for BT
Jaikumar Ganesh [Thu, 3 Feb 2011 06:32:39 +0000 (22:32 -0800)]
[ARM] tegra: stingray: Use WL_REG_ON GPIO for BT

BT was using BT_REG_ON and Wlan was using WL_REG_ON.
4329 ORs both these GPIOs. However, there are problems
with BT_REG_ON while coming out of LP0 suspend.
So temporaraily have both wifi and BT use the same GPIO
for power on. For BT, set the BT_REG_ON to output low.

Change-Id: I75606ba124418fc7c606b434e4b7968fbc046228
Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
13 years agoMerge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Erik Gilling [Thu, 3 Feb 2011 02:43:02 +0000 (18:43 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36

Change-Id: I4bbe9b15e3f6f21b0c6e88010974da983ac9ab23

13 years agoMerge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Erik Gilling [Thu, 3 Feb 2011 02:41:30 +0000 (18:41 -0800)]
Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36

Change-Id: I870875673113113940a47d30010683e51b12a27b

13 years agovideo: tegra: set h/v sync polarity for HDMI
Erik Gilling [Wed, 2 Feb 2011 23:28:32 +0000 (15:28 -0800)]
video: tegra: set h/v sync polarity for HDMI

Change-Id: I4be0eb963c3779b9313ef94476b1589059d4aa3c
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agovideo: tegra: support v/h sync polarity
Erik Gilling [Wed, 2 Feb 2011 20:12:31 +0000 (12:12 -0800)]
video: tegra: support v/h sync polarity

Change-Id: Ida82a70efaeadc9d5b11d8703e688063680b72a8
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agovideo: tegra: correct HDMI h/vsync polairty in some modes
Erik Gilling [Tue, 1 Feb 2011 21:01:55 +0000 (13:01 -0800)]
video: tegra: correct HDMI h/vsync polairty in some modes

Change-Id: I0e988d1724461ff2d5bd1009f2fdc379bd154703
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Wed, 2 Feb 2011 18:04:07 +0000 (10:04 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Wed, 2 Feb 2011 18:03:34 +0000 (10:03 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agoARM: vfp: Move exception address fixup into vfphw.S
Colin Cross [Thu, 27 Jan 2011 23:46:20 +0000 (15:46 -0800)]
ARM: vfp: Move exception address fixup into vfphw.S

If the PC on the stack is updated in entry-armv.S,
do_undefinstr can get called after the fixup.  do_undefinstr
does its own fixup, and doing both causes the PC to point to
half way through an instruction.

Instead, do the fixup in do_vfp, where only the vfp code
can get called.

Change-Id: I6d966887adc8ed58d88bfe0cb3c0ba29213be488
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM]: tegra: update sleep time after wake line toggle
makarand.karvekar [Mon, 31 Jan 2011 21:27:15 +0000 (15:27 -0600)]
[ARM]: tegra: update sleep time after wake line toggle

wait for 80mS after wake line toggle.

Change-Id: I6b62724cb6dc71ccdbe0ded02110873f94494dc4
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Sun, 30 Jan 2011 08:27:38 +0000 (00:27 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Sun, 30 Jan 2011 08:26:58 +0000 (00:26 -0800)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agocpufreq: Prevent memory leak in cpufreq_stats on hotplug
Colin Cross [Sat, 29 Jan 2011 03:32:31 +0000 (19:32 -0800)]
cpufreq: Prevent memory leak in cpufreq_stats on hotplug

Ensures that cpufreq_stats_free_table is called before
__cpufreq_remove_dev on cpu hotplug (which also occurs during
suspend on SMP systems) to make sure that sysfs_remove_group
can get called before the cpufreq kobj is freed.  Otherwise,
the sysfs file structures are leaked.

Change-Id: I87e55277272f5cfad47e9e7c92630e990bb90069
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Sat, 29 Jan 2011 06:00:33 +0000 (22:00 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Sat, 29 Jan 2011 05:58:22 +0000 (21:58 -0800)]
Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Sat, 29 Jan 2011 05:51:32 +0000 (21:51 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoleds: lp8550: restore register values on resume
James Wylder [Sat, 29 Jan 2011 00:50:32 +0000 (18:50 -0600)]
leds: lp8550: restore register values on resume

In some cases the lp8550 is resetting on resume and
we need to restore the default values of registers a1-a7

Change-Id: I42e20d646c077008eab2a7100a731ece2bf835d8
Signed-off-by: James Wylder <james.wylder@motorola.com>
13 years agoARM: tegra: stingray: Prevent double-enables in the panel regulator
Colin Cross [Fri, 28 Jan 2011 21:49:27 +0000 (13:49 -0800)]
ARM: tegra: stingray: Prevent double-enables in the panel regulator

Change-Id: I33bd9b4acfc501a346d65d1575398a621eb2a4b6
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra_i2s_audio: separate TX/RX DMA setup
Eric Laurent [Fri, 28 Jan 2011 17:13:22 +0000 (09:13 -0800)]
[ARM] tegra_i2s_audio: separate TX/RX DMA setup

Fixed a problem preventing independent setup/teardown
of TX and RX DMAs when setting playback or capture buffer count.

Signed-off-by: Eric Laurent <elaurent@google.com>
13 years agoPM: Change dpm watchdog to support async suspend
Benoit Goby [Thu, 27 Jan 2011 02:28:33 +0000 (18:28 -0800)]
PM: Change dpm watchdog to support async suspend

Exclude from the watchdog the time spent waiting for children that
are resumed asynchronously and time every devices, whether or not they
resumed synchronously.

Change-Id: I84209dfd5df72842e045096c906fd61e20e6d183
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoARM: tegra: stingray: Disable two-finger soft reset
Colin Cross [Fri, 28 Jan 2011 00:10:05 +0000 (16:10 -0800)]
ARM: tegra: stingray: Disable two-finger soft reset

Two-finger resets will now be a hard reset, which does not preserve
/proc/last_kmsg

Change-Id: Id55cb58c0a59b561970bbb3e2ccf1fddeb97ccef
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM]: tegra: stingray: update mov_filter in multi_touch cfg
makarand.karvekar [Wed, 26 Jan 2011 18:08:14 +0000 (12:08 -0600)]
[ARM]: tegra: stingray: update mov_filter in multi_touch cfg

move filter adjusted for touch resolution 2580x1630

Change-Id: Id7b52504688b67399667e16ddab50d38a5f39a04
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agopower: bq24617: Fix scenario where charge indication is missed
Greg Meiste [Wed, 26 Jan 2011 19:38:37 +0000 (13:38 -0600)]
power: bq24617: Fix scenario where charge indication is missed

On Stingray, the charge STAT pins are not connected to a wakeup
source.  Therefore, if the device enters LP0 after the charger is
detected, but before charging begins, charging will never be
reported to the UI since the edge on STAT1 is missed.  The device
is actually charging, but to see the indication, the charger would
have to be removed and re-inserted.  In addition, if charge
complete is reached while in LP0, the edge on STAT2 is missed, and
the UI never shows charge complete.  These issues were resolved by
adding a resume function to the driver.

In addition, the work function and wake_lock was removed from the
driver because the same functionality exists in the power supply
core driver.

Change-Id: Ieaeaf2b47adec21f51bd77910427d74780cb865d
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agomfd: cpcap: audio: Fix loss of audio over headset
Praveen Bharathi [Mon, 24 Jan 2011 14:01:11 +0000 (08:01 -0600)]
mfd: cpcap: audio: Fix loss of audio over headset

When the 3.5mm headset is unplugged and plugged back in, cpcap gets into a
wierd state and audio is not routed to any speaker, neither headset nor
main speaker. This is a solution from Droid days. The cpcap sends a callback
to audio driver when such a plug/unplug is detected and forces the audio path
setup back to headset.

Change-Id: I91afda628e14ec20d589fc9b3e844d29f9f96fca
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Wed, 26 Jan 2011 04:36:05 +0000 (20:36 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Wed, 26 Jan 2011 04:34:59 +0000 (20:34 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Wed, 26 Jan 2011 01:59:12 +0000 (17:59 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

Change-Id: I003a21d788d6cdcb6594b1328b13a1913c5a552f

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Wed, 26 Jan 2011 01:56:50 +0000 (17:56 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoARM: tegra: usb_phy: Configure USB1 PHY to use programmed value
Nathan Connell [Wed, 12 Jan 2011 20:32:24 +0000 (14:32 -0600)]
ARM: tegra: usb_phy: Configure USB1 PHY to use programmed value

instead of fused value.  This is required
to meet High Speed USB signaling requirements.

Change-Id: I659b33faa950605ecf040598112e1972047ae7ad
Signed-off-by: Nathan Connell <w14185@motorola.com>
13 years agowatchdog: tegra_wdt: Several changes to watchdog driver
Dmitriy Gruzman [Tue, 25 Jan 2011 02:52:02 +0000 (20:52 -0600)]
watchdog: tegra_wdt: Several changes to watchdog driver

Fix not re-enabling watchdog resume if it was enabled in probe
Add clearing watchdog interrupt in probe
Remove tegra_wdt_set_timeout

Change-Id: I8fdbb6da3eda64a85a73ed85ab979a5ee0261c37
Signed-off-by: Dmitriy Gruzman <dmitriy.gruzman@motorola.com>
13 years agomisc: max9635: unregister upon probe failure
Sergey Kudakov [Fri, 21 Jan 2011 01:08:12 +0000 (19:08 -0600)]
misc: max9635: unregister upon probe failure

currently it only unregisters input device but
not misc as a result in case if probe() fails
it may cause a panic in ubsequently called ioctl
where it would try to access unitialized/freed data

Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
13 years agousb: host: tegra: Request 400MHz emc clock
Benoit Goby [Tue, 25 Jan 2011 20:14:52 +0000 (12:14 -0800)]
usb: host: tegra: Request 400MHz emc clock

while USB is active to eliminate all USB buffer underruns.

Change-Id: I9977224601e715e950284708958be98d37b3e6b1
Signed-off-by: Nathan Connell <w14185@motorola.com>
13 years agousb: gadget: tegra_udc: Request 400MHz emc clock
Benoit Goby [Tue, 25 Jan 2011 20:13:52 +0000 (12:13 -0800)]
usb: gadget: tegra_udc: Request 400MHz emc clock

while USB is active to eliminate all USB buffer underruns.

Change-Id: I7ad8ebfa2d802f91b81839e14fde906da1a0569e
Signed-off-by: Nathan Connell <w14185@motorola.com>
13 years agomdm6600: Fix auto-suspend when only using port 2
Benoit Goby [Mon, 24 Jan 2011 20:36:06 +0000 (12:36 -0800)]
mdm6600: Fix auto-suspend when only using port 2

usb_autopm_put_interface_no_suspend decrease the usage count but does
not schedule a suspend. use usb_autopm_put_interface_async instead.

This fixes an issue where the modem is never auto-suspended if there
is traffic on only port2 (b/3383043).

Change-Id: I572f14542180512540e67a47fce6e88c63d0c4c9
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Mon, 24 Jan 2011 23:50:14 +0000 (15:50 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Mon, 24 Jan 2011 23:48:38 +0000 (15:48 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

Change-Id: Ifc4b876bb673b2f3beaa3c5995bc3d527f6f717d

13 years agovideo: tegra: nvmap: Several changes to carveout killer
Rebecca Schultz Zavin [Mon, 24 Jan 2011 22:16:47 +0000 (14:16 -0800)]
video: tegra: nvmap: Several changes to carveout killer

-Add a module param to enable/disable carveout killer
-Fix race condition in code to wait for something to free memory
after firing carveout killer
-Fix the check for current so we always compare task->group_leaders

Change-Id: Ie030978827dce6b0fbbfa1db0d80e4abe59eaa51
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agovideo: tegra: incresase delay in underflow recovery
Erik Gilling [Mon, 24 Jan 2011 23:28:31 +0000 (15:28 -0800)]
video: tegra: incresase delay in underflow recovery

Change-Id: I8093c83a2749c63b6ece051cc9b892d87e55fe04
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoPrint pending wakeup IRQ preventing suspend to dmesg
Todd Poynor [Mon, 24 Jan 2011 22:36:39 +0000 (14:36 -0800)]
Print pending wakeup IRQ preventing suspend to dmesg

Change-Id: I36f90735c75fb7c7ab1084775ec0d0ab02336e6e
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agoMerge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
Erik Gilling [Mon, 24 Jan 2011 20:53:22 +0000 (12:53 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36

Change-Id: Iab6dcbaa8e8277ecc1381322a7884a1fa8046755