firefly-linux-kernel-4.4.55.git
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Wed, 17 Nov 2010 22:20:01 +0000 (14:20 -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, 17 Nov 2010 22:18:29 +0000 (14:18 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agovideo: tegra: fill in transparency info in 32bpp FB mode
Erik Gilling [Wed, 17 Nov 2010 22:11:59 +0000 (14:11 -0800)]
video: tegra: fill in transparency info in 32bpp FB mode

also remove incorrect support for 24bpp

Change-Id: Ic6528760bf2585ca5e7a2a68a200e3346694505e
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Wed, 17 Nov 2010 21:22:58 +0000 (13:22 -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, 17 Nov 2010 21:20:43 +0000 (13:20 -0800)]
Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36

13 years agoUSB: gadget: f_mtp: Zero length packet fixes
Mike Lockwood [Wed, 17 Nov 2010 16:16:35 +0000 (11:16 -0500)]
USB: gadget: f_mtp: Zero length packet fixes

Send zero length packets at end of transfers that are a multiple of the
bulk max packet size as required by MTP.

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agomisc: kernel_debugger: Add help command
Dmitry Shmidt [Tue, 16 Nov 2010 23:39:43 +0000 (15:39 -0800)]
misc: kernel_debugger: Add help command

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoUSB: gadget: f_mtp: Support for file transfer length greater than 4 gigabytes
Mike Lockwood [Tue, 16 Nov 2010 22:14:32 +0000 (17:14 -0500)]
USB: gadget: f_mtp: Support for file transfer length greater than 4 gigabytes

For backward compatibility with PTP, MTP is limited to a 32-bit file size.
When transferring files greater than 4 gig, MTP uses 0xFFFFFFFF as the file size
and the receiver reads until it receives a short packet.

Expanded size of mtp_file_range.length to 64 bits and added support for
writing zero length packets.

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Tue, 16 Nov 2010 22:34:28 +0000 (14:34 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

Change-Id: Ie3ee3a63df7ba098c3480a2f4f5c669a74909688

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Rebecca Schultz Zavin [Tue, 16 Nov 2010 22:32:19 +0000 (14:32 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

Change-Id: Ia027b838f8971f49b3f8cd276e2bc74f050210a7

13 years agomedia: video: tegra: ov5650: Fix OTP readout.
Andrei Warkentin [Fri, 5 Nov 2010 20:58:27 +0000 (15:58 -0500)]
media: video: tegra: ov5650: Fix OTP readout.

Fixes OTP readout.

Change-Id: I3308ca40e551babfe040bbc59e75edafa8147f5e
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
13 years agoARM: tegra: stingray: do not hardcode bootloader fb location
Sergey Kudakov [Wed, 10 Nov 2010 21:50:11 +0000 (15:50 -0600)]
ARM: tegra: stingray: do not hardcode bootloader fb location

Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
13 years ago[ARM] tegra: stingray: Set carveout size to 256M
Rebecca Schultz Zavin [Tue, 16 Nov 2010 02:49:41 +0000 (18:49 -0800)]
[ARM] tegra: stingray: Set carveout size to 256M

Expand the memory put aside for the carveout to 256M

Change-Id: I0413df9603f860c8c66874c49620b9e556a63a4a
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: als: initialize max9635_misc_data, enable als from HAL
makarand.karvekar [Tue, 2 Nov 2010 16:06:22 +0000 (11:06 -0500)]
misc: als: initialize max9635_misc_data, enable als from HAL

fixed unintialized max9635_misc_data in
function max9635_misc_ioctl.
enable als from sensor HAL.

Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agopower: ds2781: Only report full on charge complete
Greg Meiste [Wed, 3 Nov 2010 20:49:04 +0000 (15:49 -0500)]
power: ds2781: Only report full on charge complete

Only report full when the charge IC says charge is complete.  It is
likely that the DS2781 will report 100% before the charge IC reaches
charge complete.  This change will cause full to be reported at the
same time the charge LED turns green on Stingray.

Change-Id: I4c3be724470b15fb848d284f8786f0458fe463d4
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years ago[ARM] tegra: stingray: Increase I2C bus speeds
Greg Meiste [Wed, 20 Oct 2010 19:32:27 +0000 (14:32 -0500)]
[ARM] tegra: stingray: Increase I2C bus speeds

Hardware team wants the I2C bus speeds set to 400 kHz instead of 100 kHz
for better performance.

Change-Id: I95ec0f3eb2f474065badd445f81bc0bf2b402c2d
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agofirmware: cpcap: Turn off led sink after fade
Greg Meiste [Fri, 5 Nov 2010 19:18:30 +0000 (14:18 -0500)]
firmware: cpcap: Turn off led sink after fade

After the fade completes, turn off the led sink and SW5 to save
current.

Change-Id: I3c9482e7c88bc19041eaafd76ab0587e241d3fe8
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years ago[ARM] tegra: stingray: Reduce notification led duty cycle
Greg Meiste [Fri, 5 Nov 2010 19:17:39 +0000 (14:17 -0500)]
[ARM] tegra: stingray: Reduce notification led duty cycle

The notification led was drawing too much current.  Reduce the duty cycle.

Change-Id: I2caa35182275374167b492e8e3ec6d3207a23c71
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agomdm6600: Use anchor instead of array to manage urbs
Benoit Goby [Fri, 12 Nov 2010 23:00:52 +0000 (15:00 -0800)]
mdm6600: Use anchor instead of array to manage urbs

Change-Id: I240a4f341f44dcf69d03d0f8ad8a9daa399222ef
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoUSB: gadget: f_mtp: Return zero result for successful file transfer.
Mike Lockwood [Mon, 15 Nov 2010 20:22:21 +0000 (15:22 -0500)]
USB: gadget: f_mtp: Return zero result for successful file transfer.

Returning number of bytes transfered does not work for files > 2 gig
since ioctl() result is a signed integer.

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agousb: host: tegra: Remove programing PTC bits based on bus speed.
Jay Cheng [Wed, 10 Nov 2010 23:40:46 +0000 (18:40 -0500)]
usb: host: tegra: Remove programing PTC bits based on bus speed.

Program PTC bits as NORMAL_OP is enough when resume.

Change-Id: I229eb3ef2ebaff72d023179502ec7a8904e87682
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
13 years agousb: serial: Remove mdm6600_modem driver
Benoit Goby [Sat, 13 Nov 2010 00:11:02 +0000 (16:11 -0800)]
usb: serial: Remove mdm6600_modem driver

Replaced by mdm6600 driver

Change-Id: I04fed22901055da6fb3e296d62a9452aa93225f2
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agomdm6600: Fix urb ref count and error conditions
Benoit Goby [Thu, 11 Nov 2010 20:37:01 +0000 (12:37 -0800)]
mdm6600: Fix urb ref count and error conditions

Fix possible use after free and a memory leak on disconnect

Change-Id: I7a867ac0bfcb68f9e2f21d72990d3c5662dbc882
Signed-off-by: Benoit Goby <benoit@android.com>
13 years ago[ARM] configs: Enable hardware counters in stingray defconfig
Mike Dodd [Fri, 12 Nov 2010 20:56:47 +0000 (12:56 -0800)]
[ARM] configs: Enable hardware counters in stingray defconfig

Change-Id: If28da17b8b8059f31d8b199e6ce22082a4363898
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: stingray: Enable the arm-pmu driver
Mike Dodd [Wed, 22 Sep 2010 03:14:15 +0000 (20:14 -0700)]
[ARM] tegra: stingray: Enable the arm-pmu driver

Change-Id: I8cfe2683665e78d584b5df19818cd4dc3c64cf1f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: enable FB bit depth autodetection on main panel
Erik Gilling [Fri, 12 Nov 2010 01:40:10 +0000 (17:40 -0800)]
[ARM] tegra: enable FB bit depth autodetection on main panel

Change-Id: If4188b38e1964981bb58823c5fb575cb92a1a448
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 [Fri, 12 Nov 2010 02:14:54 +0000 (18:14 -0800)]
Merge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36

Change-Id: I46be67ca4c30a76b03f59c155628c7fc1ea990f4

13 years agoMerge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Erik Gilling [Fri, 12 Nov 2010 02:12:08 +0000 (18:12 -0800)]
Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36

Change-Id: I15e4d0a951e48c27e8f155e94c19f8fbe37131a0

13 years agovideo: tegra: add option to autodetect bitdepth from bootloader
Erik Gilling [Fri, 12 Nov 2010 01:39:04 +0000 (17:39 -0800)]
video: tegra: add option to autodetect bitdepth from bootloader

Change-Id: I5f17ab96323b3d313473622f572006d01b4716f7
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agovideo: tegra: call disable with interrupts disabled.
James Wylder [Thu, 11 Nov 2010 22:52:32 +0000 (16:52 -0600)]
video: tegra: call disable with interrupts disabled.

Change-Id: Idb126c14f6e18efcb64f3f613772640b8bd3fca0
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoARM: tegra: flush console before reboot
Dima Zavin [Thu, 11 Nov 2010 23:28:46 +0000 (15:28 -0800)]
ARM: tegra: flush console before reboot

If the console_sem was held while the system was rebooted, the messages
in the temporary logbuffer would not have propogated to all the console
drivers.

This force releases the console sem if it failed to be acquired.

Change-Id: I6eba9d744ef41209d26328a17c7ae19c32d6e8cb
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Dima Zavin [Thu, 11 Nov 2010 23:35:21 +0000 (15:35 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

Conflicts:
arch/arm/common/fiq_debugger.c

Change-Id: If8de163f3e1e41b35f87a5c8e9370f1cc28ed358

13 years agoMerge remote branch 'common/android-2.6.36' into android-tegra-2.6.36
Dima Zavin [Thu, 11 Nov 2010 23:31:45 +0000 (15:31 -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
Dima Zavin [Thu, 11 Nov 2010 23:31:26 +0000 (15:31 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

Conflicts:
drivers/video/tegra/dc/hdmi.c

Change-Id: Ia2bd5c56238b9ef0a1eaba3c184c00ea33368263

13 years agovideo: add rgb disable handler
James Wylder [Thu, 11 Nov 2010 18:55:59 +0000 (12:55 -0600)]
video: add rgb disable handler

Adjust pinmux on disable in order to save power/leakage

Change-Id: I65b642c128a780aa8932205052ccee199e4c41bf
Signed-off-by: James Wylder <james.wylder@motorola.com>
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agonet: wireless: bcm4329: Fix Softap start/stop race conditions
Dmitry Shmidt [Thu, 11 Nov 2010 01:56:37 +0000 (17:56 -0800)]
net: wireless: bcm4329: Fix Softap start/stop race conditions

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agomedia: tegra: avp: fix a mutex leak on an err path in lib load
Dima Zavin [Wed, 10 Nov 2010 18:18:04 +0000 (10:18 -0800)]
media: tegra: avp: fix a mutex leak on an err path in lib load

Also hold the mutex for longer on cleanup, while deleting
the libs nvmap client. Not strictly necessary...

Change-Id: I4dfdb065211571338053a16bacc2e5412c26ae77
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoARM: fiq_debugger: make fiq_debugger be in debug mode by default
Dima Zavin [Wed, 10 Nov 2010 23:39:07 +0000 (15:39 -0800)]
ARM: fiq_debugger: make fiq_debugger be in debug mode by default

Adds a config option that controls whether or not the console is on at
boot, defaulting to no.

Change-Id: Id4a3cad1c9dd4fb3c2b8c2298ca5d385a8bd0f8d
Signed-off-by: Dima Zavin <dima@android.com>
13 years agovideo: tegra: delay HDMI hotplug detection until after resume
Erik Gilling [Wed, 10 Nov 2010 23:32:58 +0000 (15:32 -0800)]
video: tegra: delay HDMI hotplug detection until after resume

Change-Id: I87c35dc3e1287fc1d936e554013deb2f92cbd6f4
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoUSB: gadget: f_mtp: MTP driver cleanup:
Mike Lockwood [Mon, 8 Nov 2010 15:41:31 +0000 (10:41 -0500)]
USB: gadget: f_mtp: MTP driver cleanup:

Use a work queue instead of a separate thread for file transfer ioctls
(note: the file transfer must be done on a kernel thread rather than in
process context so vfs_read and vfs_write will use the correct address space
for the buffers)

Enforce requirement that only one ioctl call may be active at a time,
and remove mutex in mtp_send_event that is now no longer necessary.

Synchronize around use of shared variables to avoid SMP issues

Fix mismatched calls to fget and fput

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoBluetooth: Add BT_POWER L2CAP socket option.
Jaikumar Ganesh [Wed, 10 Nov 2010 03:07:45 +0000 (19:07 -0800)]
Bluetooth: Add BT_POWER L2CAP socket option.

Add BT_POWER socket option used to control the power
characteristics of the underlying ACL link. When the remote end
has put the link in sniff mode and the host stack wants to send
data we need need to explicitly exit sniff mode to work well with
certain devices (For example, A2DP on Plantronics Voyager 855).
However, this causes problems with HID devices.

Hence, moving into active mode when sending data, irrespective
of who set the sniff mode has been made as a socket option. By
default, we will move into active mode. HID devices can set the
L2CAP socket option to prevent this from happening.

Currently, this has been implemented for L2CAP sockets. This has been
tested with incoming and outgoing L2CAP sockets for HID and A2DP.

Based on discussions on linux-bluetooth and patches submitted by
Andrei Emeltchenko.

Signed-off-by: Jaikumar Ganesh <jaikumar@google.com>
13 years agoRevert "Bluetooth: Hack: Do not use power_save feature."
Jaikumar Ganesh [Wed, 10 Nov 2010 23:45:07 +0000 (15:45 -0800)]
Revert "Bluetooth: Hack: Do not use power_save feature."

This reverts commit 3b02c046c3dfef5b5c4fa0c45b69654c107c7403.

Signed-off-by: Jaikumar Ganesh<jaikumar@google.com>
13 years agovideo: tegra: mark a window's handle as unused when it is
Erik Gilling [Wed, 10 Nov 2010 23:29:35 +0000 (15:29 -0800)]
video: tegra: mark a window's handle as unused when it is

Change-Id: Iedc9a26f62e14c0263f0f315e589a672762ab31a
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoARM: tegra: stingray: force no_console_suspend in stingray_init
Dima Zavin [Wed, 10 Nov 2010 19:45:09 +0000 (11:45 -0800)]
ARM: tegra: stingray: force no_console_suspend in stingray_init

Change-Id: I91e8c528ca5326d84b1e98e1828add461030ab36
Signed-off-by: Dima Zavin <dima@android.com>
13 years agomedia: video: tegra: add avp port transport info to debug dump
Dima Zavin [Tue, 9 Nov 2010 00:59:22 +0000 (16:59 -0800)]
media: video: tegra: add avp port transport info to debug dump

Change-Id: I7ade4469609ecf87663e6a6733842889b27f7ce5
Signed-off-by: Dima Zavin <dima@android.com>
13 years agomedia: video: tegra: add debugfs entry for tegra_rpc
Dima Zavin [Mon, 8 Nov 2010 21:58:04 +0000 (13:58 -0800)]
media: video: tegra: add debugfs entry for tegra_rpc

For now just includes the existing ports, the peer owners,
and the port and peer state.

Change-Id: I2c6b603ca02dc48acc1c763380ff0f1cb66f482b
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoARM: tegra: stingray: noise suppression tuning in touch file
makarand.karvekar [Tue, 9 Nov 2010 15:39:13 +0000 (09:39 -0600)]
ARM: tegra: stingray: noise suppression tuning in touch file

Noise Threshold value updated to reduce occurance
rate of frequency hopping.
This helps with idle mode current drain and reduces
occurance of cycle overruns.
Active to idle scan mode time out is changed to
2 seconds as opposed to 5 seconds to lower current
drain.

T22 - NOISESUPPRESSION OBJECT
NOISETHR = 0x20 (32d)

T7 - POWER CONFIG OBJECT
ACTV2IDLETO = 0x0A

Change-Id: Icdb98258ca72548291a782c398156445c0006dd1
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agomedia: video: tegra: wait for remote ack on disconnect
Dima Zavin [Tue, 9 Nov 2010 18:27:18 +0000 (10:27 -0800)]
media: video: tegra: wait for remote ack on disconnect

Change-Id: I42bf507b7d644184bd27be6ff53e5974dcfa3797
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoARM: tegra: usb_phy: Correct utmi power off sequence
Jay Cheng [Tue, 9 Nov 2010 05:22:28 +0000 (00:22 -0500)]
ARM: tegra: usb_phy: Correct utmi power off sequence

USB_WAKE_ON_CNNT_EN_DEV is only valid when USB controller is in device mode.

Also only one of USB_WAKE_ON_CNNT_EN_DEV and USB_WAKE_ON_DISCON_EN_DEV bits
can be set at any one time.

Change-Id: I76d7fcf73e6ab8fa1610ec4264060c44b221775c
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
13 years agoARM: tegra: stingray: Disable core dvfs in defconfig
Colin Cross [Tue, 9 Nov 2010 23:55:15 +0000 (15:55 -0800)]
ARM: tegra: stingray: Disable core dvfs in defconfig

Change-Id: I632d9682476e4fc4859cac097e563c1e0ff25feb
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Tue, 9 Nov 2010 23:50:14 +0000 (15:50 -0800)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

Conflicts:
drivers/mmc/host/sdhci-tegra.c

Change-Id: Id44ce43b0c17f1f3e917b8c7ebfd213790e8e0e1

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Tue, 9 Nov 2010 23:49:46 +0000 (15:49 -0800)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoARM: tegra: dvfs: Fix dvfs disable config option
Colin Cross [Tue, 9 Nov 2010 23:48:55 +0000 (15:48 -0800)]
ARM: tegra: dvfs: Fix dvfs disable config option

Change-Id: If976cc25147d96fd1130f48301017ce696e38f4f
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: dvfs: Add lock to dvfs_reg
Colin Cross [Tue, 9 Nov 2010 00:30:48 +0000 (16:30 -0800)]
ARM: tegra: dvfs: Add lock to dvfs_reg

Change-Id: I0496cf37da3a20d697eb4f372c32d01d49352f98
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: dvfs: Fix locking on external dvfs calls
Colin Cross [Tue, 9 Nov 2010 00:30:11 +0000 (16:30 -0800)]
ARM: tegra: dvfs: Fix locking on external dvfs calls

Change-Id: I9e3a3cc8c6c4424d7f7ded22d886d51f715ec5d5
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoARM: tegra: dvfs: Add config options to disable dvfs
Colin Cross [Tue, 9 Nov 2010 21:50:25 +0000 (13:50 -0800)]
ARM: tegra: dvfs: Add config options to disable dvfs

Change-Id: I401ab5587f28dfabaf0aae1ffa062a2411a1ad92
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: cleanup empty functions in mach/fb.h
Erik Gilling [Tue, 9 Nov 2010 21:59:43 +0000 (13:59 -0800)]
[ARM] tegra: cleanup empty functions in mach/fb.h

adds static inline

Change-Id: Iff0473dcc02ad6d10adb878f195b57a2ed6e3e2a
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agovideo: add short video mode decode to fbmon
Erik Gilling [Thu, 4 Nov 2010 20:48:53 +0000 (13:48 -0700)]
video: add short video mode decode to fbmon

Change-Id: Ida529e096688c231029628d3d16d6f8569bfe2c9
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agovideo: tegra: flush fb_flip workqueue on blank and suspend
Erik Gilling [Mon, 8 Nov 2010 23:08:40 +0000 (15:08 -0800)]
video: tegra: flush fb_flip workqueue on blank and suspend

Change-Id: I58e9ba73b2fd232e6c1f40946e2e353b90ce5dd7
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agovideo: tegra: fix crash when no HDMI modes are supported
Erik Gilling [Fri, 5 Nov 2010 22:30:35 +0000 (15:30 -0700)]
video: tegra: fix crash when no HDMI modes are supported

Change-Id: I2e23d018d5acb814e7a088921c26c8f305790442
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agonet: wireless: bcm4329: Add FW Reload event processing
Greg Goldman [Tue, 9 Nov 2010 21:28:20 +0000 (13:28 -0800)]
net: wireless: bcm4329: Add FW Reload event processing

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agonet: wireless: bcm4329: Enable KEEP_ALIVE feature
Dmitry Shmidt [Tue, 9 Nov 2010 18:08:27 +0000 (10:08 -0800)]
net: wireless: bcm4329: Enable KEEP_ALIVE feature

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agonet: wireless: bcm4329: Fix watchdog termination after 'driver stop'
Dmitry Shmidt [Tue, 9 Nov 2010 18:07:48 +0000 (10:07 -0800)]
net: wireless: bcm4329: Fix watchdog termination after 'driver stop'

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agotegra sdhci: Enable/disable SDCLK source in set_clock host_op
Todd Poynor [Mon, 11 Oct 2010 22:31:42 +0000 (15:31 -0700)]
tegra sdhci: Enable/disable SDCLK source in set_clock host_op

Now with 100% more LP0 suspend support.  sdhci_resume_host accesses
the SDHCI controller, so enable the sdmmc<n> clock at resume, and
let the MMC card layer tell us (later on) whether SDCLK is needed or
not.

Change-Id: Ia66e54e93f607d03053315fdc3b9a0e9bea29b68
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Dima Zavin [Mon, 8 Nov 2010 23:00:31 +0000 (15:00 -0800)]
Merge branch '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
Dima Zavin [Mon, 8 Nov 2010 22:53:44 +0000 (14:53 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agomedia: video: tegra: add ref count for remote clock requests
Dima Zavin [Mon, 8 Nov 2010 21:55:34 +0000 (13:55 -0800)]
media: video: tegra: add ref count for remote clock requests

Change-Id: I824f9a27bfefe86211bc71d5f79ea798052b98b7
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoARM: tegra: stingray: add the avp device
Dima Zavin [Thu, 4 Nov 2010 20:32:42 +0000 (13:32 -0700)]
ARM: tegra: stingray: add the avp device

Change-Id: Ief62498d27a94f321686a0317de8f2be98366571
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Dima Zavin [Mon, 8 Nov 2010 08:04:30 +0000 (00:04 -0800)]
Merge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36

Conflicts:
arch/arm/mach-tegra/devices.h
arch/arm/mach-tegra/include/mach/iomap.h

Change-Id: I4c37389a3ac359b274bf4b45d7a1fb8cfae8c1f9

13 years ago[ARM] tegra: remove nvrm (i.e. arch/arm/mach-tegra/nv/...)
Dima Zavin [Wed, 20 Oct 2010 23:12:47 +0000 (16:12 -0700)]
[ARM] tegra: remove nvrm (i.e. arch/arm/mach-tegra/nv/...)

Change-Id: Ibb6c87749356e6e2dbbfefb3131e72d96f0c9155
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36
Dima Zavin [Mon, 8 Nov 2010 07:55:59 +0000 (23:55 -0800)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoARM: tegra: make vcp/bsea/vde clocks be owned by the AVP
Dima Zavin [Mon, 1 Nov 2010 21:29:31 +0000 (14:29 -0700)]
ARM: tegra: make vcp/bsea/vde clocks be owned by the AVP

Change-Id: Ic0c3b1dc5cdccf5220d8c6cc8c7ef7883b28a4d1
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoARM: tegra: add avp platform_device
Dima Zavin [Mon, 1 Nov 2010 21:31:05 +0000 (14:31 -0700)]
ARM: tegra: add avp platform_device

Change-Id: I8229873e1a450b75d31e6ea4ec64647b88d16844
Signed-off-by: Dima Zavin <dima@android.com>
13 years agomedia: video: tegra: add support for the AVP media offload engine
Dima Zavin [Mon, 1 Nov 2010 21:24:21 +0000 (14:24 -0700)]
media: video: tegra: add support for the AVP media offload engine

Change-Id: Ia72e022ad1217ffe75915465ca0e886b16d1a64a
Signed-off-by: Dima Zavin <dima@android.com>
13 years agomedia: video: tegra: Add Tegra RPC support for tegra multimedia framework
Dima Zavin [Mon, 1 Nov 2010 21:20:17 +0000 (14:20 -0700)]
media: video: tegra: Add Tegra RPC support for tegra multimedia framework

Change-Id: I9233c5d7c678f6a9ba1c23af686137bf4d6a4291
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoARM: tegra: add avp mailbox address to iomap
Dima Zavin [Wed, 3 Nov 2010 17:26:42 +0000 (10:26 -0700)]
ARM: tegra: add avp mailbox address to iomap

Change-Id: I5472f6b6c2b8dd955843efd07d0b31d0f379fee6
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoARM: tegra: add missing spdif device declaration in header
Dima Zavin [Thu, 4 Nov 2010 02:08:48 +0000 (19:08 -0700)]
ARM: tegra: add missing spdif device declaration in header

Change-Id: If447711b095ec7025f3bbe232e22444839054927
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoARM: tegra: Don't include idle time in irqsoff/preemptoff tracers
Todd Poynor [Sat, 6 Nov 2010 01:22:08 +0000 (18:22 -0700)]
ARM: tegra: Don't include idle time in irqsoff/preemptoff tracers

Surprise bonus change: Rename tegra_enter_idle to more accurately reflect
what it does.

Change-Id: I1237e1271df693c109b9db8b47421f8a4c3043c3
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agonet: wireless: bcm4329: Update to version 4.218.248-12
Greg Goldman [Fri, 5 Nov 2010 22:39:20 +0000 (15:39 -0700)]
net: wireless: bcm4329: Update to version 4.218.248-12

 - Fix crash during Specific Scan handling
 - Fix potential insmod crash by increase Registration Timeout to 12 sec
 - Added max time restriction to PNO scan timer
 - New IWPRIV "AP_STA_DISASSOC" to disassoc STAs in SoftAP mode
 - Add new setting to SoftAP "AP_SET_CFG" to enable Hidden SSID
 - Fixs bugs for SoftAP AP_SET_MAC_FLTR iwpriv commnd
 - Add STAs rssi filed to SoftAP "AP_GET_STA_LIST" IWPRIV commnd

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years ago[ARM]:tegra: add touch uC suspend function to toggle wake-line
makarand.karvekar [Tue, 2 Nov 2010 16:37:47 +0000 (11:37 -0500)]
[ARM]:tegra: add touch uC suspend function to toggle wake-line

Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agoqtouch: suspend/resume touch uC via wake-line
makarand.karvekar [Tue, 2 Nov 2010 16:18:19 +0000 (11:18 -0500)]
qtouch: suspend/resume touch uC via wake-line

wake-line gpio high puts touch uC in low-power mode.
fixed inconsistent irq disable in suspend when irq_enable
is skipped due to i2c failure.

Change-Id: I6a9fe011abdffad599da0b2897f3a976db10fff5
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
Iliyan Malchev [Fri, 5 Nov 2010 21:02:38 +0000 (14:02 -0700)]
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
Iliyan Malchev [Fri, 5 Nov 2010 20:41:17 +0000 (13:41 -0700)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

Conflicts:
arch/arm/mach-tegra/tegra_i2s_audio.c
arch/arm/mach-tegra/tegra_spdif_audio.c

Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] tegra_i2s/spdif_audio: move allow_suspend to a work queue
Iliyan Malchev [Fri, 5 Nov 2010 20:03:35 +0000 (13:03 -0700)]
[ARM] tegra_i2s/spdif_audio: move allow_suspend to a work queue

Since pm_qos_update_request() may block, we need to make sure that
allow_suspend is always called in process context.

Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] tegra: nv: Adds name to nvmap client
Rebecca Schultz Zavin [Thu, 4 Nov 2010 21:40:06 +0000 (14:40 -0700)]
[ARM] tegra: nv: Adds name to nvmap client

Change-Id: Ibc407df4fdf11701ab1e6def586abbb3ffc2c14d
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
Rebecca Schultz Zavin [Fri, 5 Nov 2010 20:24:13 +0000 (13:24 -0700)]
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 [Fri, 5 Nov 2010 20:22:32 +0000 (13:22 -0700)]
Merge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-2.6.36

13 years agoRevert "tegra: video: nvmap: Printk if nvmap alloc fails"
Rebecca Schultz Zavin [Fri, 5 Nov 2010 20:13:50 +0000 (13:13 -0700)]
Revert "tegra: video: nvmap: Printk if nvmap alloc fails"

This reverts commit e3ad53ad739afae7e8a4252c807a195e2311cfa7.

13 years agovideo: tegra: host: Add nvmap client name
Rebecca Schultz Zavin [Thu, 4 Nov 2010 21:39:07 +0000 (14:39 -0700)]
video: tegra: host: Add nvmap client name

Passes a name to nvmap_create_client so it can be tracked
for debugging.

Change-Id: I47c958549c29fb3d5299f6c693e1be79b27a29f3
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agovideo: tegra: fb: Add nvmap client name
Rebecca Schultz Zavin [Thu, 4 Nov 2010 21:35:57 +0000 (14:35 -0700)]
video: tegra: fb: Add nvmap client name

Passes a name to nvmap_create_client so it can be tracked
for debugging.

Change-Id: Id4aa9804d8cc8c04c44f51602362435fb877d1af
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agovideo: tegra: nvmap: Add names to nvmap client
Rebecca Schultz Zavin [Thu, 4 Nov 2010 21:12:37 +0000 (14:12 -0700)]
video: tegra: nvmap: Add names to nvmap client

This modifies the api to allow the user to specify a name
for their clients.  This will allow the system to track
allocations from the kernel by name.

Change-Id: I44aad209bc54e72126be3bebfe416b30291d206c
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agovideo: tegra: nvmap: Move debug info to debugfs
Rebecca Schultz Zavin [Thu, 4 Nov 2010 19:28:13 +0000 (12:28 -0700)]
video: tegra: nvmap: Move debug info to debugfs

Moves the file tracking clients to debugfs
Add a debugfs file to track the list of allocations per client

Change-Id: I2bb683e3ac0599fa05d962c79ef0b7cbd0007d75
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] board-stingray: fix warnings
Iliyan Malchev [Thu, 4 Nov 2010 22:20:48 +0000 (15:20 -0700)]
[ARM] board-stingray: fix warnings

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agoqtouch: process open call once during firmware upgrade
makarand.karvekar [Fri, 5 Nov 2010 03:59:55 +0000 (22:59 -0500)]
qtouch: process open call once during firmware upgrade

atomic flag process_open to process open call once.

Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
14 years ago[ARM] tegra: stingray: lock gen_i2c for AUO display
makarand.karvekar [Tue, 2 Nov 2010 16:45:27 +0000 (11:45 -0500)]
[ARM] tegra: stingray: lock gen_i2c for AUO display

AUO display is holding i2c lines at lower voltage for
few milliseconds.

Change-Id: I432e5f70d4158a393b9b19336aab3d2a3f9b4cb8
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
14 years agoARM: tegra: stingray: Run the WLAN SDIO at 48MHz off PLLM
Nathan Connell [Tue, 2 Nov 2010 12:47:30 +0000 (07:47 -0500)]
ARM: tegra: stingray: Run the WLAN SDIO at 48MHz off PLLM

Run the WLAN SDIO interface at 48MHZ to avoid
EMI with all other supported RF cards in the
device.  The SDIO clock must be generated from the
spectrally clean PLLM.

Change-Id: Ie974a1acab22b0cc2fa7f0098244d2700ed8e83c
Signed-off-by: Nathan Connell <w14185@motorola.com>
14 years agoARM: tegra: nvrm: enable/disable avp.sclk on remote clock requests
Dima Zavin [Thu, 28 Oct 2010 21:24:02 +0000 (14:24 -0700)]
ARM: tegra: nvrm: enable/disable avp.sclk on remote clock requests

Change-Id: Ib87fa7dd57b3742926f6d631de01ea99f57d0ce0
Signed-off-by: Dima Zavin <dima@android.com>
14 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Fri, 5 Nov 2010 01:18:03 +0000 (18:18 -0700)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

14 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Fri, 5 Nov 2010 01:17:50 +0000 (18:17 -0700)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

14 years agoARM: tegra: common: Reduce sclk to 120 MHz
Colin Cross [Wed, 3 Nov 2010 18:42:20 +0000 (11:42 -0700)]
ARM: tegra: common: Reduce sclk to 120 MHz

Set pll_m_out1, sclk, and hclk to 120 MHz, and pclk to 60 MHz.
Drivers that require a faster bus speed can use a shared bus clock
reference to increase the sclk frequency up to 240 MHz, which will
also increase pll_m_out1, hclk, and pclk.

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