firefly-linux-kernel-4.4.55.git
13 years agotegra: revert a bunch of changes
Gary King [Wed, 29 Sep 2010 16:47:24 +0000 (09:47 -0700)]
tegra: revert a bunch of changes

delete nvmap, nvhost, syncpoint flipping, nvos_page, inner-cacheable
and read-allocate code, so that they can be downmerged cleanly from
linux-tegra-2.6.35

Change-Id: I34793bb75cf359670fc18aaf1fcaf0b22be00d4d
Signed-off-by: Gary King <gking@nvidia.com>
13 years agoHACK: fiq_debugger: Default to console enabled
Colin Cross [Fri, 8 Oct 2010 20:22:59 +0000 (13:22 -0700)]
HACK: fiq_debugger: Default to console enabled

Change-Id: I2f39f389def6fafc2ad6ed045ed96d5bc4318d6c
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: stingray: Enable fiq debugger in defconfig
Colin Cross [Fri, 8 Oct 2010 02:27:28 +0000 (19:27 -0700)]
[ARM] tegra: stingray: Enable fiq debugger in defconfig

Change-Id: I7352b4d66b1e181f72188618afc35c8b638f100b
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: stingray: enable fiq debugger in board file
Iliyan Malchev [Sun, 6 Jun 2010 00:45:38 +0000 (17:45 -0700)]
[ARM] tegra: stingray: enable fiq debugger in board file

Change-Id: Id0019b0e849dcac90b6583f30d18d67ca9b7a002
Signed-off-by: Colin Cross <ccross@google.com>
13 years agommc: sdhci-tegra: Add MMC_PM_IGNORE_PM_NOTIFY for builtin device
Dmitry Shmidt [Thu, 7 Oct 2010 23:11:18 +0000 (16:11 -0700)]
mmc: sdhci-tegra: Add MMC_PM_IGNORE_PM_NOTIFY for builtin device

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Fri, 8 Oct 2010 02:22:34 +0000 (19:22 -0700)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

Conflicts:
arch/arm/mach-tegra/Kconfig

Change-Id: I65b3fafd22be87f9a93cae2d225dd24c174eb7a9

13 years ago[ARM] tegra: Add fiq debugger
Colin Cross [Tue, 5 Oct 2010 01:32:15 +0000 (18:32 -0700)]
[ARM] tegra: Add fiq debugger

Change-Id: Ic625e20c0a9a147ae39153f18d328f2181b81318
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 [Fri, 8 Oct 2010 00:37:06 +0000 (17:37 -0700)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

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

Change-Id: Id7a483e1377549529f85a8fea67b76a881e40f87

13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Fri, 8 Oct 2010 00:35:27 +0000 (17:35 -0700)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agoMerge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36
Colin Cross [Fri, 8 Oct 2010 00:35:10 +0000 (17:35 -0700)]
Merge branch 'linux-tegra-2.6.36' into android-tegra-2.6.36

13 years ago[ARM] fiq glue: Align fiq stacks
Colin Cross [Wed, 6 Oct 2010 05:08:01 +0000 (22:08 -0700)]
[ARM] fiq glue: Align fiq stacks

Change-Id: I956f05d0b0ce48572e611765e56a439dc036c052
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: irq: Implement retrigger
Colin Cross [Sat, 2 Oct 2010 02:16:54 +0000 (19:16 -0700)]
[ARM] tegra: irq: Implement retrigger

Change-Id: I5be02f60f1b0f35835a8d05abdb2934cdafb1122
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: Combine tegra_fiq_select with enable/disable
Colin Cross [Tue, 5 Oct 2010 01:22:56 +0000 (18:22 -0700)]
[ARM] tegra: Combine tegra_fiq_select with enable/disable

Change-Id: Iba3dc43e1a95993a6278eea008c7a8610ed0cd4c
Signed-off-by: Colin Cross <ccross@android.com>
13 years agommc: Add "ignore mmc pm notify" functionality
Dmitry Shmidt [Thu, 7 Oct 2010 21:39:16 +0000 (14:39 -0700)]
mmc: Add "ignore mmc pm notify" functionality

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years ago[ARM] fiq debugger: Allow selection of target cpu
Colin Cross [Sat, 2 Oct 2010 06:41:38 +0000 (23:41 -0700)]
[ARM] fiq debugger: Allow selection of target cpu

Change-Id: I676bac08ba12dfa506aea16800fc80432b4bc83d
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoepoll: make epoll_wait use the hrtimer range feature
Shawn Bohrer [Tue, 28 Sep 2010 23:12:05 +0000 (01:12 +0200)]
epoll: make epoll_wait use the hrtimer range feature

This make epoll use hrtimers for the timeout value which prevents
epoll_wait() from timing out up to a millisecond early.

This mirrors the behavior of select() and poll().

Change-Id: Ic6489ab6194935df348d31b8e92239227ffd3f17
Signed-off-by: Shawn Bohrer <shawn.bohrer@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
13 years agoselect: rename estimate_accuracy to select_estimate_accuracy
Andrew Morton [Tue, 28 Sep 2010 23:12:04 +0000 (01:12 +0200)]
select: rename estimate_accuracy to select_estimate_accuracy

Make it a subsystem-specific identifier because we wish to amke it
non-static in the next patch ("epoll: make epoll_wait() use the hrtimer
range feature").

Change-Id: Ie333f2051a3dc73dc8b0615b4fdccef63591c918
Cc: Shawn Bohrer <shawn.bohrer@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Davide Libenzi <davidel@xmailserver.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
13 years ago[ARM] tegra: Add new als lens coefficients to stingray board file
Rebecca Schultz Zavin [Thu, 7 Oct 2010 18:32:25 +0000 (11:32 -0700)]
[ARM] tegra: Add new als lens coefficients to stingray board file

Change-Id: I64bc2bcd77294481b5752b4b88fa68860a8e50e9
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: max9635: add lens coefficient
makarand.karvekar [Wed, 6 Oct 2010 21:00:16 +0000 (16:00 -0500)]
misc: max9635: add lens coefficient

lens coefficient compensates for the lost light
filtered by glass lens covering als.
light thresholds maintained high for continuous reporting.
switch to EV_MSC event for 0 lux reporting.

Change-Id: Ia891e678c0d2d622d40cc4b9748ccae165ba2656
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agomedia: video: tegra: ov5650: Use discontinuous clocking for the 5MP sensor
Andrei Warkentin [Sat, 2 Oct 2010 01:27:16 +0000 (20:27 -0500)]
media: video: tegra: ov5650: Use discontinuous clocking for the 5MP sensor

The AP20 experiences issues with MIPI when using continuous clocking
with the 5650.  HW team is investigating.  This switches the 5650 to
discontinuous clocking, which has a side benefit of reducing current drain.

Change-Id: Ifb510d2bdafcf58f8846cf3b2711863f24f93680
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
13 years ago[ARM] tegra: stingray: SW5 must be enabled when CPCAP LEDs on
Greg Meiste [Wed, 29 Sep 2010 16:41:52 +0000 (11:41 -0500)]
[ARM] tegra: stingray: SW5 must be enabled when CPCAP LEDs on

Even though the LEDs are not connected to SW5 on Stingray, SW5 must
be enabled to enable logic within CPCAP.  This is required for the
CPCAP LEDs to work properly.

Change-Id: I45dcb708b82b27e05506351f445523d4f6907c9d
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years ago[ARM] tegra: nv: remove unused header -- it's stale anyway
Rebecca Schultz Zavin [Thu, 7 Oct 2010 18:03:24 +0000 (11:03 -0700)]
[ARM] tegra: nv: remove unused header -- it's stale anyway

Change-Id: Ia95b8a5ae34c338b681bd42335dc324a3014628b
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM]: tegra: tuning for touch-panel in stingray board file
makarand.karvekar [Fri, 24 Sep 2010 19:11:34 +0000 (14:11 -0500)]
[ARM]: tegra: tuning for touch-panel in stingray board file

FW settings for palm suppression and general tuning.
updated objects:
T7-POWER CONFIG
T9-Multitouch Object
cte_config_cfg
palm_suppression_cfg

Change-Id: If039f7f9f9a5af66e6eccbe061c1c856b9f01054
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] tegra: stingray: adjust vdd_cpu regulator voltage range
James Wylder [Thu, 9 Sep 2010 14:31:46 +0000 (09:31 -0500)]
[ARM] tegra: stingray: adjust vdd_cpu regulator voltage range

Because of changes in the regulator used, the the parts for
stingray have a real voltage range of 0.77 V to 1.40 V.  This
is contrary to what is specified in the current datasheets but
has been verified by the supplier.

Change-Id: I328e9570734c3523cc7ff791e14f7280b2982858
Signed-off-by: James Wylder <james.wylder@motorola.com>
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: stingray: Disable CONFIG_STACKTRACE in stingray defconfig
Rebecca Schultz Zavin [Thu, 7 Oct 2010 17:42:52 +0000 (10:42 -0700)]
[ARM] tegra: stingray: Disable CONFIG_STACKTRACE in stingray defconfig

/proc/<pid>/stack will BUG on an smp system unless the process
requesting the stack happens to be <pid>

Change-Id: I481a41c0b81f5eb17f7377b2db3691aa035a617d
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: stingray: add second i2s to support capture at various rates
Chris Fries [Thu, 7 Oct 2010 02:19:59 +0000 (21:19 -0500)]
[ARM] tegra: stingray: add second i2s to support capture at various rates

Add tegra_i2s_device2, to support CPCAP CODEC capture independent of STDAC.
This gives us independent control of the codec sampling rate.

Change-Id: Ib0f78667c15592b9bc11e100b8097bed27686523
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] mfd: cpcap-audio: add Bluetooth bypass switch
Chris Fries [Thu, 7 Oct 2010 04:49:20 +0000 (23:49 -0500)]
[ARM] mfd: cpcap-audio: add Bluetooth bypass switch

Added a new IOCTL for controlling whether the digital audio is routed out of
the DAP2 (CPCAP CODEC) or DAP4 (Bluetooth SCO).

Change-Id: Ib48a5c1ce66992b653addd854e51e5d3dc69ee31
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agommc: sdhci: Fix 4-bit wide support capability
Dmitry Shmidt [Thu, 7 Oct 2010 17:55:04 +0000 (10:55 -0700)]
mmc: sdhci: Fix 4-bit wide support capability

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years ago[ARM] mfd: cpcap-audio: Add support for dynamic CODEC and STDAC rates
Chris Fries [Fri, 1 Oct 2010 03:08:06 +0000 (22:08 -0500)]
[ARM] mfd: cpcap-audio: Add support for dynamic CODEC and STDAC rates

Add new IOCTLs for get/set rates.  This is in anticipation of VOIP
requirements.

Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agoRevert "[ARM] tegra: driver for spdif audio"
Iliyan Malchev [Thu, 7 Oct 2010 02:05:13 +0000 (19:05 -0700)]
Revert "[ARM] tegra: driver for spdif audio"

This reverts commit 3543d53703c5a1ed0b987c77e7a79226c3a24f45.

Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] tegra: i2s: Update pm_qos for 2.6.36
Colin Cross [Wed, 6 Oct 2010 04:59:08 +0000 (21:59 -0700)]
[ARM] tegra: i2s: Update pm_qos for 2.6.36

Change-Id: I205457db1432c672b026887defa8d498bc613412
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: correct device definition of second i2s controller
Chris Fries [Thu, 7 Oct 2010 01:44:47 +0000 (18:44 -0700)]
[ARM] tegra: correct device definition of second i2s controller

Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agoMerge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36
Colin Cross [Thu, 7 Oct 2010 00:52:13 +0000 (17:52 -0700)]
Merge branch 'android-tegra-2.6.36' into android-tegra-moto-2.6.36

13 years ago[ARM] tegra: stingray: Update defconfig for 2.6.36
Colin Cross [Thu, 7 Oct 2010 00:51:02 +0000 (17:51 -0700)]
[ARM] tegra: stingray: Update defconfig for 2.6.36

Change-Id: Ie275bcf54e4ced1fc0e64ec46added39d4f9b98f
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoMerge branch 'android-2.6.36' into android-tegra-2.6.36
Colin Cross [Thu, 7 Oct 2010 00:51:38 +0000 (17:51 -0700)]
Merge branch 'android-2.6.36' into android-tegra-2.6.36

13 years agommc: sdio: Fix enable_hs and enable_wide in sdio_reset_comm()
Dmitry Shmidt [Thu, 7 Oct 2010 00:25:02 +0000 (17:25 -0700)]
mmc: sdio: Fix enable_hs and enable_wide in sdio_reset_comm()

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agotegra: stingray_defconfig: Add CONFIG_TS27010MUX
Benoit Goby [Tue, 5 Oct 2010 02:37:40 +0000 (19:37 -0700)]
tegra: stingray_defconfig: Add CONFIG_TS27010MUX

Change-Id: Iec99cc50c347ecdbbf4c0cda5fb79dd9866e327d
Signed-off-by: Benoit Goby <benoit@android.com>
13 years ago[ARM] tegra: i2s: Update pm_qos for 2.6.36
Colin Cross [Wed, 6 Oct 2010 04:59:08 +0000 (21:59 -0700)]
[ARM] tegra: i2s: Update pm_qos for 2.6.36

Change-Id: I205457db1432c672b026887defa8d498bc613412
Signed-off-by: Colin Cross <ccross@android.com>
13 years agoRevert "[ARM] tegra: driver for spdif audio"
Colin Cross [Wed, 6 Oct 2010 04:54:47 +0000 (21:54 -0700)]
Revert "[ARM] tegra: driver for spdif audio"

This reverts commit 867ba32e877b8756219b03d0d01c747f82802d23.

13 years agoRevert "ARM: stingray: config: Enable L2TP"
Dmitry Shmidt [Fri, 1 Oct 2010 17:24:14 +0000 (10:24 -0700)]
Revert "ARM: stingray: config: Enable L2TP"

This reverts commit 3abb283928938e44cc8764fdbc5e90d5f6022dac.

13 years ago[ARM] tegra: memory: Set CONSISTENT_DMA_SIZE to 14MB
Colin Cross [Fri, 1 Oct 2010 05:20:45 +0000 (22:20 -0700)]
[ARM] tegra: memory: Set CONSISTENT_DMA_SIZE to 14MB

Change-Id: I37d7398bcfa339b6a39376fd60caf4069370971a
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: stingray: Remove yaffs from defconfig
Colin Cross [Wed, 22 Sep 2010 06:39:21 +0000 (23:39 -0700)]
[ARM] tegra: stingray: Remove yaffs from defconfig

Change-Id: I07506ceb8b5e7883fc842fc6f7e07099e331c987
Signed-off-by: Colin Cross <ccross@android.com>
13 years agomedia: video: tegra: dw9714l: Convert ioctl to unlocked_ioctl
Colin Cross [Wed, 22 Sep 2010 06:35:28 +0000 (23:35 -0700)]
media: video: tegra: dw9714l: Convert ioctl to unlocked_ioctl

Change-Id: If43ceacb5739f8f98b550b16150d1b04b1ba485d
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: stingray: Convert from bootmem to memblock
Colin Cross [Thu, 30 Sep 2010 01:35:48 +0000 (18:35 -0700)]
[ARM] tegra: stingray: Convert from bootmem to memblock

Change-Id: I57f22c22875c4bcfc3a5d4790aef0c59e310c2ca
Signed-off-by: Colin Cross <ccross@android.com>
13 years ago[ARM] tegra: chage board-stingray-sensors to use moto_bmp085 driver
Erik Gilling [Tue, 31 Aug 2010 01:19:28 +0000 (18:19 -0700)]
[ARM] tegra: chage board-stingray-sensors to use moto_bmp085 driver

Change-Id: I05894c3a41fdc69b20c8558e2770e134fc311924

13 years agomisc: moto_bmp085: move to unlocked_ioctl
Erik Gilling [Tue, 31 Aug 2010 01:18:03 +0000 (18:18 -0700)]
misc: moto_bmp085: move to unlocked_ioctl

Change-Id: I6f15abb72023ab7aff94e4b5c9b188cead59208f

13 years agomisc: max9635: move to unlocked_ioctl
Erik Gilling [Tue, 31 Aug 2010 01:17:46 +0000 (18:17 -0700)]
misc: max9635: move to unlocked_ioctl

Change-Id: Icde61e693cf67c06042f4ea77e6c529d9281e653

13 years agomisc: l3g4200d: move to unlocked_ioctl
Erik Gilling [Tue, 31 Aug 2010 01:17:06 +0000 (18:17 -0700)]
misc: l3g4200d: move to unlocked_ioctl

Change-Id: Icb231ec1ae16c8a99e0840a09d5b32e4c73c5e47

13 years agomisc: kxtf9: move to unlocked_ioctl
Erik Gilling [Tue, 31 Aug 2010 01:16:46 +0000 (18:16 -0700)]
misc: kxtf9: move to unlocked_ioctl

Change-Id: Ia881796d95cf93a4f685114a2145810730d3caae

13 years agomisc: kernel_debugger: fix handle_sysrq call
Erik Gilling [Tue, 31 Aug 2010 01:16:30 +0000 (18:16 -0700)]
misc: kernel_debugger: fix handle_sysrq call

Change-Id: I58376b7de56751fd57a038fb8f908f36fe60dda1

13 years agomisc: gps-gpio-brcm4750: move to unlocked_ioctl
Erik Gilling [Tue, 31 Aug 2010 01:15:47 +0000 (18:15 -0700)]
misc: gps-gpio-brcm4750: move to unlocked_ioctl

Change-Id: I527542ef5fdd260036e2a29e697baeea592cde2b

13 years agomisc: akm8975: move to unlocked_ioctl
Erik Gilling [Tue, 31 Aug 2010 01:15:22 +0000 (18:15 -0700)]
misc: akm8975: move to unlocked_ioctl

Change-Id: Id64fed0b9d7424885eb2186d842779dc4968ccb0

13 years agomfd: move cpcap to unlocked_ioctl
Erik Gilling [Tue, 31 Aug 2010 01:14:14 +0000 (18:14 -0700)]
mfd: move cpcap to unlocked_ioctl

Change-Id: I2107e164e0d75f1b8e2011e4b28d312308549128

13 years agomedia: video: move tegra/tegra_camera.c to unlocked_ioctl
Erik Gilling [Tue, 31 Aug 2010 01:13:53 +0000 (18:13 -0700)]
media: video: move tegra/tegra_camera.c to unlocked_ioctl

Change-Id: I2b12aaf72ac0303725aa9b419cd7240e1a198fd8

13 years agomedia: video: move tegra/soc2030.c to unlocked_ioctl
Erik Gilling [Tue, 31 Aug 2010 01:13:35 +0000 (18:13 -0700)]
media: video: move tegra/soc2030.c to unlocked_ioctl

Change-Id: I8f530d09381d23815a094add40b80103efb3fab6

13 years agomedia: video: move tegra/ov5650.c to unlocked_ioctl
Erik Gilling [Tue, 31 Aug 2010 01:02:26 +0000 (18:02 -0700)]
media: video: move tegra/ov5650.c to unlocked_ioctl

Change-Id: Ia21593038a1c5cab0268f1f51d6d4c6b38d69922

13 years agomisc: add moto_bmp085 driver
Erik Gilling [Mon, 30 Aug 2010 23:31:30 +0000 (16:31 -0700)]
misc: add moto_bmp085 driver

Change-Id: Ie49feb1b90dc7451f64e1fa7f07b131100e92488
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoHACK: stingray/olympus board configs
Erik Gilling [Mon, 30 Aug 2010 23:02:24 +0000 (16:02 -0700)]
HACK: stingray/olympus board configs

Change-Id: Ice59c4cdb6cec9ee57da7515010d36045645a288

13 years ago[ARM] tegra: stingray: Add BP boot command GPIO in mdm_ctrl platform data
Kazuhiro Ondo [Mon, 4 Oct 2010 15:20:10 +0000 (10:20 -0500)]
[ARM] tegra: stingray: Add BP boot command GPIO in mdm_ctrl platform data

Initialize BP boot command GPIOs in the platform data.

Change-Id: Ia1f41e4d3d2fa718b156c065e0661fe1ac1a9ad2
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agomisc: mdm6600_ctrl: Added shutdown, powerup and bootmode commands
Kazuhiro Ondo [Mon, 4 Oct 2010 15:12:17 +0000 (10:12 -0500)]
misc: mdm6600_ctrl: Added shutdown, powerup and bootmode commands

Added commands to control mdm6600 status from the userspace.
This change will add the capabilities of 1) shutdown, 2) switch
bootmode and 3) powerup of the modem processor.

Change-Id: Ic93c4d87af73e4b78f1aa70a35f1b4b1145ea462
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agomdm6600: Reduce memory usage
Benoit Goby [Fri, 1 Oct 2010 00:20:22 +0000 (17:20 -0700)]
mdm6600: Reduce memory usage

buffer_sz is multiple of MaxPacketSize because the USB host controller
can split the buffer in packets.

All buffers received or sent are <2k, so MaxPacketSize * 4 (2k) should
be a better buffer size.

Change-Id: I1e0e2fd4e9a4e78d33e6b4de57ee420630298de2
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agonet: ppp_deflate: Switch z_decomp_alloc to vmalloced decompress buffers
Rebecca Schultz Zavin [Thu, 29 Apr 2010 20:36:55 +0000 (13:36 -0700)]
net: ppp_deflate: Switch z_decomp_alloc to vmalloced decompress buffers

On systems with high memory pressure, allocating an order 4 contiguous region
for decompression can fail at run time.  Instead use virtually contigous memory
allocated via vmalloc.

Change-Id: I7821882bd183a1de0d73ab2932f6e6978e4f0970
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: stingray: Invalid kfree in lm3559 error path
vcdt34 [Wed, 29 Sep 2010 21:37:53 +0000 (16:37 -0500)]
[ARM] tegra: stingray: Invalid kfree in lm3559 error path

A failed write in the lm3559 driver takes an error path
that incorrectly attempted to free statically allocated
memory, resulting in a kernel crash. This bug prevents
the kernel from booting successfully on development
hardware systems that doesn't have the torch LED.

Change-Id: I96d252c5d5b6939f5d47e27aece81e1f61ba1cd1
Signed-off-by: John Poplett <john.poplett@motorola.com>
13 years agoReserve the first 4K of phys ram for safety from errant drivers/hardware.
Ken Sumrall [Wed, 29 Sep 2010 03:40:59 +0000 (20:40 -0700)]
Reserve the first 4K of phys ram for safety from errant drivers/hardware.

Signed-off-by: Ken Sumrall <ksumrall@android.com>
13 years agovideo: tegra: make fliping asynchronous
Erik Gilling [Fri, 24 Sep 2010 05:52:30 +0000 (22:52 -0700)]
video: tegra: make fliping asynchronous

Signed-off-by: Erik Gilling <konkers@android.com>
Change-Id: I17d53717e7f16fb4c460902582b3762180676414

13 years agomdm6600: Wait for pending urbs on suspend
Benoit Goby [Thu, 23 Sep 2010 01:34:42 +0000 (18:34 -0700)]
mdm6600: Wait for pending urbs on suspend

On suspend, while we are killing read urbs, some of the urbs
might succeed. Don't re-submit them and wait for the workqueue
to process them.

Fixed urbs ref count

Change-Id: I3c69926b0bec8d5425ed8bc403b8c040db5ab435
Signed-off-by: Benoit Goby <benoit@android.com>
13 years ago[ARM] tegra: stingray: touch P3 HW support
makarand.karvekar [Fri, 17 Sep 2010 22:01:42 +0000 (17:01 -0500)]
[ARM] tegra: stingray: touch P3 HW support

touch interrupt gpio is PV2 for P3 HW.
P3 follows P1 and P2 touch configuration settings.

Change-Id: I117009ecd2146a28009082d901fc71f236f55353
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agopower: ds2781: Always report battery data when overtemp
Greg Meiste [Wed, 22 Sep 2010 14:19:06 +0000 (09:19 -0500)]
power: ds2781: Always report battery data when overtemp

Change-Id: I9dca810ffdaaa3eb04f486544a894d4f55945fbd
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years ago [ARM] tegra: stingray: support p3 version string
Sergey Kudakov [Wed, 22 Sep 2010 17:20:17 +0000 (12:20 -0500)]
 [ARM] tegra: stingray: support p3 version string

Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
13 years agoinput: touchscreen: qtouch: remove redundant touch processing
makarand.karvekar [Thu, 23 Sep 2010 15:17:16 +0000 (10:17 -0500)]
input: touchscreen: qtouch: remove redundant touch processing

xy swap/flip and erroneous touch event suppression
is handled in touch IC firmware.

Change-Id: I73df7eb06c39144ba68c9a5897daa6b3625b3ba3
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agow1: tegra_w1: Don't disable clock if it was not enabled
Colin Cross [Fri, 24 Sep 2010 01:20:15 +0000 (18:20 -0700)]
w1: tegra_w1: Don't disable clock if it was not enabled

Change-Id: I634c24768979fc2c9754f9b1d946dcb1ef1ff213
Signed-off-by: Colin Cross <ccross@android.com>
13 years agocpcap: Flush work in suspend
Colin Cross [Thu, 23 Sep 2010 21:50:12 +0000 (14:50 -0700)]
cpcap: Flush work in suspend

Change-Id: I9a4ef87e84b53ad52f46554ad52ca5effb260f65
Signed-off-by: Colin Cross <ccross@android.com>
13 years agomedia: video: tegra: ov5650: Clean up headers to match latest userspace
Rebecca Schultz Zavin [Fri, 24 Sep 2010 05:07:59 +0000 (22:07 -0700)]
media: video: tegra: ov5650: Clean up headers to match latest userspace

Change-Id: I57cbdb7aec24a1dd8942e8fa341a735fdacf08e5
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomedia: video: tegra: soc2030: 2MP camera tuning
John Kramer [Sun, 12 Sep 2010 21:24:23 +0000 (16:24 -0500)]
media: video: tegra: soc2030: 2MP camera tuning

Includes support for factor test and latest tuning settings

Signed-off-by: John Kramer <john.kramer@motorola.com>
Change-Id: Icc0e17317c4209cd58d0981b34cd8b60c80be09e

13 years ago[ARM] tegra: specify panel depth for stingray
Erik Gilling [Fri, 24 Sep 2010 00:01:09 +0000 (17:01 -0700)]
[ARM] tegra: specify panel depth for stingray

Change-Id: I3a001249fea702af9deed33219e98b5dbbd49e0c
Signed-off-by: Erik Gilling <konkers@android.com>
13 years ago[ARM] hid: hid-motorola: Notify system of audio cable state changes
Greg Meiste [Wed, 15 Sep 2010 18:56:53 +0000 (13:56 -0500)]
[ARM] hid: hid-motorola: Notify system of audio cable state changes

Change-Id: Iaf0b55998d103c2793322f7ce030c503e111d614
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] mfd: cpcap-whisper: Add interface to update audio switch
Greg Meiste [Wed, 15 Sep 2010 18:55:22 +0000 (13:55 -0500)]
[ARM] mfd: cpcap-whisper: Add interface to update audio switch

The Motorola HID driver needs an interface to call when an audio cable
is inserted/removed from a Smart Dock.  The interface should update
the audio switch so the audio driver can properly route audio.

Change-Id: Ifad06400c5895f7545f702cdb09be02fe716412a
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] mfd: cpcap-audio: add debugfs interface
James Wylder [Mon, 20 Sep 2010 15:08:35 +0000 (10:08 -0500)]
[ARM] mfd: cpcap-audio: add debugfs interface

 - create cpcap_audio debugfs with access to the audio_state
 - add cpcap_audio_state_dump call to parallel the register
   dump call.

Change-Id: Ia7331b9218ea93602833b2a99097109031035280
Signed-off-by: James Wylder <james.wylder@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agobq24617: reduce kmsg spew
Iliyan Malchev [Tue, 21 Sep 2010 20:13:28 +0000 (13:13 -0700)]
bq24617: reduce kmsg spew

Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] cpcap-audio: enable low-power standby mode
James Wylder [Tue, 14 Sep 2010 03:19:01 +0000 (22:19 -0500)]
[ARM] cpcap-audio: enable low-power standby mode

-- add CPCAP_AUDIO_OUT_STANDBY definition, extended ioctl interface to support
   for selecting new CPCAP_AUDIO_OUT_STANDBY output id;
-- manage VAUDIO through balanced calls to regulator_set_mode() initialize
   audio speaker to off.

Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] tegra: stingray: board changes for cpcap-audio suspend mode
James Wylder [Tue, 14 Sep 2010 03:20:04 +0000 (22:20 -0500)]
[ARM] tegra: stingray: board changes for cpcap-audio suspend mode

- Initialize VAUDIO to low power mode
- Add standby_config changes to allow audio to go into low
  power state.
- remove direct references to register 512, because access
  should be through the Linux regulator framework.

Change-Id: I3ea23e2aabd183a3ecae0d30fce15a7365b168d8
Signed-off-by: James Wylder <james.wylder@motorola.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years ago[ARM] tegra: Add camera flash support to stingray board files
Rebecca Schultz Zavin [Tue, 21 Sep 2010 23:11:34 +0000 (16:11 -0700)]
[ARM] tegra: Add camera flash support to stingray board files

Change-Id: Ib294d3a6eb356442835a221d1c0d60900def7896
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoleds: led-lm3559: Enable camera flash in led driver
David Schalig [Thu, 16 Sep 2010 00:46:42 +0000 (09:46 +0900)]
leds: led-lm3559: Enable camera flash in led driver

Streamlined LM3559 led driver implementation, fixed register
programming sequence to enable flash trigger via STROBE pin.

Change-Id: Ic2aa97cbd5da508116e7bc635876f0ef95df1df4
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agopower: ds2781: Fix reporting of negative temperatures
Greg Meiste [Tue, 21 Sep 2010 19:57:22 +0000 (14:57 -0500)]
power: ds2781: Fix reporting of negative temperatures

Need to save the temperature in a signed variable.  Otherwise, when the
temperature is below zero, an extremely hot temperature is reported to
the system, causing the device to power down.

Change-Id: I243bfc0fd1e1d76b2986e9def624de2b7782d731
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agomedia: video: tegra: dw9714l: Make focuser driver more generic
Andrei Warkentin [Mon, 20 Sep 2010 20:32:56 +0000 (15:32 -0500)]
media: video: tegra: dw9714l: Make focuser driver more generic

Exposes more parameters and settings to focuser HAL,
putting all specifics in the driver, queryable from the HAL.

Change-Id: Id3d8764b7f9f1853982ca9c0d403fb0e455c7185
Signed-off-by: Andrei Warkentin <andreiw@motorola.com>
13 years ago[ARM] tegra: stingray: remove SD/MMC host sdhci-tegra.2 (aka SDIO3)
Todd Poynor [Wed, 22 Sep 2010 00:57:53 +0000 (17:57 -0700)]
[ARM] tegra: stingray: remove SD/MMC host sdhci-tegra.2 (aka SDIO3)

SD/MMC host #3 not connected on Stingray.  Remove platform device so
sdhci driver won't enable clock sdmmc3.

Change-Id: Id3cd38f60069ad53ca7c354620c64350d32ff98a
Signed-off-by: Todd Poynor <toddpoynor@google.com>
13 years agomdm6600: Don't hardcode the number of ports
Benoit Goby [Tue, 21 Sep 2010 22:25:28 +0000 (15:25 -0700)]
mdm6600: Don't hardcode the number of ports

Change-Id: I5ca689922638fb27546d1a27aa293751bd9c9790
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agousb: gadget: Fix dTDs allocation gfp flags
Benoit Goby [Tue, 21 Sep 2010 04:19:37 +0000 (21:19 -0700)]
usb: gadget: Fix dTDs allocation gfp flags

fsl_build_dtd may be called from atomic context. Don't hardcode the gfp
flag to GFP_KERNEL. Pass down to dma_pool_alloc the flag used by the
function driver to enqueue the request.

Change-Id: Iba1ccf73bbcd648b8c13228157431d2ce52979ef
Signed-off-by: Benoit Goby <benoit@android.com>
13 years ago[ARM] tegra: stingray: Optimize regulator modes for better current drain
Greg Meiste [Fri, 10 Sep 2010 14:05:36 +0000 (09:05 -0500)]
[ARM] tegra: stingray: Optimize regulator modes for better current drain

Change-Id: Ia94830c1aeb7736029711dd5f00a3a7842c839fb
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agomfd: cpcap-uc: Add support to control regulators with secondary standby
Greg Meiste [Fri, 10 Sep 2010 14:04:46 +0000 (09:04 -0500)]
mfd: cpcap-uc: Add support to control regulators with secondary standby

The uC can now be used to write the secondary SPI standby bits.

Change-Id: I0f6a69d78b941fdf7b65d893c0ae8b29cc8bd740
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agomdm6600: Enable the wakeup irq on suspend
Benoit Goby [Tue, 21 Sep 2010 00:40:34 +0000 (17:40 -0700)]
mdm6600: Enable the wakeup irq on suspend

Other ports may need the wakeup irq even if the modem main port is not
opened. Enable the wakeup irq when the first opened port is suspended,
instead of enabling it when the main port is opened.

Change-Id: I15f32bb885673765cf5c7a574896e1c427d24977
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agomfd: cpcap-whisper: Increase delay before ADC
Greg Meiste [Tue, 7 Sep 2010 15:42:54 +0000 (10:42 -0500)]
mfd: cpcap-whisper: Increase delay before ADC

The accessory team has requested that detection wait 200ms before
taking the ADC read to give the ID line time to settle to the
correct state.  This fixes audio cable detection on real docks.

Change-Id: I7744bb3927a07c299e7efa27eee24d3267aa6856
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoARM: stingray: config: Enable L2TP
Dmitry Shmidt [Mon, 20 Sep 2010 18:16:59 +0000 (11:16 -0700)]
ARM: stingray: config: Enable L2TP

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years ago[ARM] tegra: stingray_defconfig: Enable led options
makarand.karvekar [Fri, 17 Sep 2010 15:12:11 +0000 (10:12 -0500)]
[ARM] tegra: stingray_defconfig: Enable led options

CONFIG_LEDS_TRIGGERS
CONFIG_LEDS_TRIGGER_TIMER

Change-Id: I04b70f522e90a89b7a5297595ec8255501386f20
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] tegra: stingray: led cpcap registers configuration
makarand.karvekar [Fri, 17 Sep 2010 15:10:01 +0000 (10:10 -0500)]
[ARM] tegra: stingray: led cpcap registers configuration

remove button led configuration.

Change-Id: I17c79c83cae6d8b2d34290fc5e3c4fb4dc54209c
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agoleds: leds-ld-cpcap: blink and timer trigger updates
makarand.karvekar [Fri, 17 Sep 2010 15:05:11 +0000 (10:05 -0500)]
leds: leds-ld-cpcap: blink and timer trigger updates

Set default trigger as timer.
Seperate blink function from brightness.

Change-Id: I1dd789ae8b5df88ea26c40ed544807ec0f3bb52a
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] tegra: board-stingray: Add mdm6600 platform device
Benoit Goby [Fri, 17 Sep 2010 03:09:31 +0000 (20:09 -0700)]
[ARM] tegra: board-stingray: Add mdm6600 platform device

Change-Id: Ifb61c8f5350665c4d398da343da265f8d1e9deef
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agomdm6600: Add support for auto-suspend and out-of-band wakeup
Benoit Goby [Wed, 8 Sep 2010 00:33:02 +0000 (17:33 -0700)]
mdm6600: Add support for auto-suspend and out-of-band wakeup

Allow auto-suspend and suspend when there are no pending writes and
no data have been received for 2s.

While the modem is suspended, enqueue write urbs and submit them once
the modem is resumed.

Request the wakeup gpio irq so that the modem can wakeup from lp0.

Change-Id: If2a47756e9a2138d6c1a7c2e7bf235dfc396cec5
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agovideo: tegra: drain syncpt waits on display disable
Erik Gilling [Fri, 17 Sep 2010 22:43:47 +0000 (15:43 -0700)]
video: tegra: drain syncpt waits on display disable

Change-Id: I815c7be652f03b7d675200918b258950b49795d3
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agomisc: max9635: Fix unbalanced enable_irq() call
Dmitry Shmidt [Fri, 17 Sep 2010 21:38:25 +0000 (14:38 -0700)]
misc: max9635: Fix unbalanced enable_irq() call

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