firefly-linux-kernel-4.4.55.git
13 years agomisc: amk8975: correct y-axis and orientation status reporting
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>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
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

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-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

13 years agoRevert "tegra: host: move stale wait checking into the kernel"
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.

13 years agoARM: tegra: stingray: Add CONFIG_USB_NET_GOBI
Benoit Goby [Wed, 2 Mar 2011 01:48:31 +0000 (17:48 -0800)]
ARM: tegra: stingray: Add CONFIG_USB_NET_GOBI

Change-Id: I6e62613f3092578f62af0b87660ffd153e7b2d1e

13 years agonet: usb: qcusbnet: Add support for poll/select
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>
13 years agonet: usb: qcusbnet: Add support for stingray modem
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>
13 years agoMerge remote branch 'tegra/android-tegra-2.6.36' into android-tegra-moto-2.6.36
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

13 years agoMerge remote branch 'tegra/linux-tegra-2.6.36' into android-tegra-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

13 years agotegra: host: move stale wait checking into the kernel
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

13 years agomdm6600: Match subclass interface info during probe
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>
13 years agousb: serial: Add new motoflash pid for wrigley
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>
13 years agoARM: tegra: stingray: Change wifi-only devices product name
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>
13 years agoARM: tegra: stingray: Moved tegra_usb.h to linux/platform_data
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>
13 years agousb: otg: cpcap: Moved tegra_usb.h to linux/platform_data
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>
13 years agoARM: tegra: stingray_defconfig: Renamed CONFIG_USB_EHCI_TEGRA
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>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
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

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-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

13 years agousb: host: Renamed USB_TEGRA_HCD -> USB_EHCI_TEGRA
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>
13 years agoARM: tegra: select USB_ARCH_HAS_EHCI
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>
13 years agousb: do not force select has_ehci for tegra
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>
13 years agoARM: tegra: use generic ulpi operations
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>
13 years agousb: otg: Add ulpi viewport access ops
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>
13 years agousb: host: tegra: Cleanup before sending upstream
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>
13 years agoARM: tegra: usb_phy: Fix return values
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>
13 years agoARM: tegra: usb_phy: Cleanup before sending upstream
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>
13 years agousb: otg: tegra: Moved tegra_usb.h to include/linux/platform_data
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>
13 years agousb: host: Moved tegra_usb.h to include/linux/platform_data
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>
13 years agoRevert "usb: host: ehci-hcd: add controller_resets_phy quirk"
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

13 years agoserial: tegra_hsuart: Clean-up FIFO flush and set baudrate operations.
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>
13 years ago[ARM] tegra: stingray: Fix RNDIS support
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>
13 years ago[ARM] tegra: stingray: Add ehci3 for all devices
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>
13 years agoAdd dump_log cmd to mdm6600_ctrl
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

13 years agomedia: video: tegra: Correct mclk settings for ov5650
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>
13 years agoMerge branch android-tegra-2.6.36 into android-tegra-moto-2.6.36
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

13 years agoMerge branch linux-tegra-2.6.36 into android-tegra-2.6.36
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

13 years agovideo: tegra: hdmi: enable wakeup on hotplug
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>
13 years agovideo: tegra: hdcp: move call to hdcp suspend out of atomic context
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>
13 years agovideo: tegra: hdmi: fix vic detection for avi infoframe
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>
13 years agovideo: tegra: de-assert reset after clocks are turned on
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>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
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

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-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

13 years agoARM: tegra: fuse: Fix bug in get_spare_fuse
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>
13 years agoARM: tegra: stingray: Add CONFIG_USB_ANDROID_ACM
John Michelau [Tue, 30 Nov 2010 22:27:09 +0000 (16:27 -0600)]
ARM: tegra: stingray: Add CONFIG_USB_ANDROID_ACM

Change-Id: I894ba0bc1bcca72277aa65e19e8e91e790c2238c

13 years agoARM: tegra: stingray: BP tools mode gadget config
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

13 years ago[ARM] tegra: stingray: Update pinmux config for wifi-only model
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>
13 years agoMerge branch 'android-tegra' into android-tegra-moto
Erik Gilling [Fri, 25 Feb 2011 01:18:22 +0000 (17:18 -0800)]
Merge branch 'android-tegra' into android-tegra-moto

13 years agoMerge remote branch android-2.6.36 into android-tegra-2.6.36
Erik Gilling [Fri, 25 Feb 2011 01:17:15 +0000 (17:17 -0800)]
Merge remote branch android-2.6.36 into android-tegra-2.6.36

Change-Id: I1d7f83e8eb433df8076a9d636ff03e174a3ff581

13 years agoMerge branch linux-tegra-2.6.36 into android-tegra-2.6.36
Erik Gilling [Fri, 25 Feb 2011 01:13:10 +0000 (17:13 -0800)]
Merge branch linux-tegra-2.6.36 into android-tegra-2.6.36

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

Change-Id: I10fd2dbcc07d7961dd75e10a2c4de926457c2912

13 years ago[ARM] tegra: use APB DMA for accessing APB devices
Jon Mayo [Tue, 21 Dec 2010 23:09:33 +0000 (15:09 -0800)]
[ARM] tegra: use APB DMA for accessing APB devices

Change-Id: I165411a14342666cbac02fb8cb171580ab0826aa
Reviewed-on: http://git-master/r/14464
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
13 years ago[ARM] tegra: add kfuse peripherial clk entry
Jon Mayo [Wed, 5 Jan 2011 19:15:21 +0000 (11:15 -0800)]
[ARM] tegra: add kfuse peripherial clk entry

Change-Id: I89fc144428b140288126790065902ea9e49b41e4
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
13 years ago[ARM] tegra: enable kfuse clock on boot
Jon Mayo [Wed, 5 Jan 2011 19:17:30 +0000 (11:17 -0800)]
[ARM] tegra: enable kfuse clock on boot

Change-Id: I7e8d9b5fa275af738fe22be2082a709a3902bdee
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
13 years ago[ARM] tegra: kfuse driver
Jon Mayo [Wed, 5 Jan 2011 19:18:46 +0000 (11:18 -0800)]
[ARM] tegra: kfuse driver

factory programmed encrypted key fuses held in kfuse module.
use APB DMA for accessing kfuse registers, reading directly can hang if any
other DMA is active.

Change-Id: I85e44cc169607bc22116075e28938014aa299d75
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
13 years ago[ARM] tegra: edid modes uninitialized on i2c fail
Jon Mayo [Fri, 7 Jan 2011 03:05:38 +0000 (19:05 -0800)]
[ARM] tegra: edid modes uninitialized on i2c fail

fix unhandled i2c errors in tegra_edid_get_monspecs() that resulted in
truncated mode lists(stale data).

Change-Id: Iec7878f2a3071c5297d0569d4f1cce1c9ed48979
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Peter Zu <pzu@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
13 years ago[ARM] tegra: hdmi nvhdcp driver
Jon Mayo [Tue, 4 Jan 2011 01:26:25 +0000 (17:26 -0800)]
[ARM] tegra: hdmi nvhdcp driver

Device /dev/nvhdcpX is used to manage NVHDCP on framebuffer /dev/fbX.
These devices are created on hdmi driver initialition when it is
attached to dc. Currently only one nvhdcp device may be created. An ioctl
interface is in video/nvhdcp.h

Check for repeaters and store repeater info. userspace application
queries this status to authenticate the connection. When authentication
fails, auto-renegotiate every 1.75 seconds. Give up after 5 failed attempts,
reset after hotplug or policy change.

use TEGRA_DC_OUT_NVHDCP_POLICY_ON_DEMAND in tegra_dc_out.flags in board
panel configuration to select a different default policy at probe. Currently
only TEGRA_DC_OUT_NVHDCP_POLICY_ALWAYS_ON is supported.

Change-Id: I0db66fc86096b98d2604544061721d291523de75
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Tested-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Phillip Smith <psmith@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoARM: tegra: PL310 restore dynamic clock gating on resume
Todd Poynor [Fri, 25 Feb 2011 00:24:37 +0000 (16:24 -0800)]
ARM: tegra: PL310 restore dynamic clock gating on resume

Tegra 2.6.36 code needs to restore PL310 dynamic clock gating upon
resume from a power event.

As of 2.6.39 the PL310 is re-init'ed from scratch upon resume,
and this patch can be dropped.

Change-Id: I8c1fb1add3c3cfcffff58fab642b84d8d5a7a90a
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years ago[ARM] tegra_i2s_audio: turn off main speaker and headset amps in dock mode
Praveen Bharathi [Wed, 23 Feb 2011 11:08:33 +0000 (05:08 -0600)]
[ARM] tegra_i2s_audio: turn off main speaker and headset amps in dock mode

This should have always been there but was somehow missed. Turning off
the main speaker and headset amps in the dock mode eliminates the
unpleasant hiss that is heard from the main speakers.

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 [Thu, 24 Feb 2011 19:49:50 +0000 (11:49 -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 [Thu, 24 Feb 2011 19:47:42 +0000 (11:47 -0800)]
Merge remote branch 'common/android-2.6.36' into android-tegra-2.6.36

13 years ago[ARM] tegra: stingray: Enable USB accessory gadget driver
Mike Lockwood [Wed, 9 Feb 2011 14:41:48 +0000 (09:41 -0500)]
[ARM] tegra: stingray: Enable USB accessory gadget driver

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years ago[ARM] tegra: stingray: board file support for USB accessory gadget function
Mike Lockwood [Wed, 9 Feb 2011 14:40:52 +0000 (09:40 -0500)]
[ARM] tegra: stingray: board file support for USB accessory gadget function

Signed-off-by: Mike Lockwood <lockwood@android.com>
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: Cortex-A9: Enable dynamic clock gating
Todd Poynor [Tue, 15 Feb 2011 19:48:42 +0000 (11:48 -0800)]
ARM: Cortex-A9: Enable dynamic clock gating

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

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

Change-Id: I48e51d907e593f26982ea91b0a811553f68e3c86
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agoUSB: gadget: android: Fix problem switching vendor IDs
Mike Lockwood [Mon, 14 Feb 2011 18:32:05 +0000 (13:32 -0500)]
USB: gadget: android: Fix problem switching vendor IDs

We need to update the vendor ID in the composite driver as well

Signed-off-by: Mike Lockwood <lockwood@android.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: Enable PL310 dynamic clock gating
Todd Poynor [Wed, 16 Feb 2011 20:25:36 +0000 (12:25 -0800)]
ARM: tegra: Enable PL310 dynamic clock gating

The cache controller will stop its clock when idle after several
clock cycles.

Change-Id: Ifc9997d4e7fd4f1e3c6129bac2fd42f8995a069e
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agoARM: PL310: Add power control register definition
Todd Poynor [Wed, 16 Feb 2011 04:41:45 +0000 (20:41 -0800)]
ARM: PL310: Add power control register definition

Change-Id: Ia1f759aab15a241e8e29447622cd1e2998fa745c
Signed-off-by: Todd Poynor <toddpoynor@google.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