firefly-linux-kernel-4.4.55.git
14 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>
14 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>
14 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.

14 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.

14 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>
14 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>
14 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>
14 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>
14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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>
14 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

14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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

14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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

14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 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>
14 years agoARM: tegra: stingray: default mpe clock config @ 250Mhz
Dima Zavin [Fri, 10 Sep 2010 21:41:53 +0000 (14:41 -0700)]
ARM: tegra: stingray: default mpe clock config @ 250Mhz

Change-Id: Ifad3b11da3b0c50505465e2c309dd9edb1a5b0f9
Signed-off-by: Dima Zavin <dima@android.com>
14 years agoARM: tegra: add a duplicate MPE clock for the host1x driver
Dima Zavin [Sat, 11 Sep 2010 02:17:32 +0000 (19:17 -0700)]
ARM: tegra: add a duplicate MPE clock for the host1x driver

Change-Id: Icf35e562a4e3f7506d826dd52905dde5f6c7cfcc
Signed-off-by: Dima Zavin <dima@android.com>
14 years agoARM: tegra: nvrm: add MPE module to nvrm
vhiremath [Thu, 9 Sep 2010 19:34:32 +0000 (01:04 +0530)]
ARM: tegra: nvrm: add MPE module to nvrm

Change-Id: Ib4465b2e92e1650905fbf2e01847410d60d631da
Signed-off-by: Dima Zavin <dima@android.com>
14 years agovideo: tegra: update overlay stride in fb_set_par
Erik Gilling [Fri, 17 Sep 2010 21:44:28 +0000 (14:44 -0700)]
video: tegra: update overlay stride in fb_set_par

Fixes recovery graphics

Change-Id: I68824dfcd29b40eaa27a8b5ee437e5763288a49e
Signed-off-by: Erik Gilling <konkers@android.com>
14 years ago[ARM] tegra: remove debug printing in stingray-panel early suspend/resume
Erik Gilling [Thu, 16 Sep 2010 23:18:10 +0000 (16:18 -0700)]
[ARM] tegra: remove debug printing in stingray-panel early suspend/resume

Change-Id: I3a0d125456aa6e47dc28e05a925fc8d8133cdbe1
Signed-off-by: Erik Gilling <konkers@android.com>
14 years ago[ARM] tegra: board-stingray: Enable BP wakeup gpio
Benoit Goby [Wed, 15 Sep 2010 04:39:04 +0000 (21:39 -0700)]
[ARM] tegra: board-stingray: Enable BP wakeup gpio

Change-Id: I357a55c897b7335627f53ee450a16344ab6e3bb7
Signed-off-by: Benoit Goby <benoit@android.com>
14 years ago[ARM] tegra: add early_suspend/late resume hooks to stringay panel
Erik Gilling [Thu, 16 Sep 2010 21:44:16 +0000 (14:44 -0700)]
[ARM] tegra: add early_suspend/late resume hooks to stringay panel

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

14 years ago[ARM] cpcap-audio-core: adjust cpcap register CPCAP_REG_CC (513) values
Iliyan Malchev [Thu, 16 Sep 2010 01:33:20 +0000 (18:33 -0700)]
[ARM] cpcap-audio-core: adjust cpcap register CPCAP_REG_CC (513) values

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] cpcap-audio-core: set gains through cpcap_audio_set_audio_state()
Iliyan Malchev [Tue, 14 Sep 2010 18:15:53 +0000 (11:15 -0700)]
[ARM] cpcap-audio-core:  set gains through cpcap_audio_set_audio_state()

Remove functions cpcap_set_volume() and cpcap_set_mic_volume() and instead set
the gains through cpcap_audio_set_audio_state(), which is the correct way to do
so.

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years ago[ARM] tegra: stingray: fix board_boot_mode_init() return value
Iliyan Malchev [Tue, 14 Sep 2010 19:49:55 +0000 (12:49 -0700)]
[ARM] tegra: stingray: fix board_boot_mode_init() return value

Signed-off-by: Iliyan Malchev <malchev@google.com>
14 years agovideo: tegra: add channel command fifo debugging support
Erik Gilling [Wed, 15 Sep 2010 21:37:10 +0000 (14:37 -0700)]
video: tegra: add channel command fifo debugging support

Change-Id: Iaab4b04aec8feb61000e5423ea32811cca007444
Signed-off-by: Erik Gilling <konkers@dirtysouth.mtv.corp.google.com>
14 years ago[ARM] tegra: board-stingray: Platform data for ehci devices
Benoit Goby [Fri, 10 Sep 2010 07:52:27 +0000 (00:52 -0700)]
[ARM] tegra: board-stingray: Platform data for ehci devices

Change-Id: I8a0120d016ed5cf5b0080a86af6b324b1f3e9d1c
Signed-off-by: Benoit Goby <benoit@android.com>
14 years agousb: otg: Copy usb1 platform data
Benoit Goby [Fri, 10 Sep 2010 08:10:57 +0000 (01:10 -0700)]
usb: otg: Copy usb1 platform data

Change-Id: I878339ab53cad1687c1022137f00ecc494b60b9e
Signed-off-by: Benoit Goby <benoit@android.com>
14 years agoregulator: max8649: add support for max8649s and max8952
James Wylder [Sun, 5 Sep 2010 14:09:27 +0000 (09:09 -0500)]
regulator: max8649: add support for max8649s and max8952

From a driver standpoint the max8649s and 8952 variants
for the max8649 differ only in the minimum and maximum
voltages.

Change-Id: Icc90af48a6c2d99577aa479218564d2ebee71e56
Signed-off-by: James Wylder <james.wylder@motorola.com>
14 years ago[ARM]: tegra: Enable noise suppression for touch in stingray board file
makarand.karvekar [Mon, 13 Sep 2010 20:22:01 +0000 (15:22 -0500)]
[ARM]: tegra: Enable noise suppression for touch in stingray board file

Firmware settings for noise suppression object.

Change-Id: I6da91da6b4d17d93cfb5b26f38bae76039a8c8f4
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
14 years agomisc: mdm6600_ctrl: Add query and control of BP status via sysfs.
Kazuhiro Ondo [Wed, 8 Sep 2010 15:21:54 +0000 (10:21 -0500)]
misc: mdm6600_ctrl: Add query and control of BP status via sysfs.

The following sysfs nodes will be exposed.
/sys/class/radio/mdm6600/status (query BP status)
/sys/class/radio/mdm6600/power_status (query BP power status)
/sys/class/radio/mdm6600/command (To control BP status)

Change-Id: I4ed4b6d0d9df010713732e79f3a0598e09ad5dec
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
14 years agomedia: video: tegra: ov5650: fixing exposure blip
Chien-Yu Chen [Tue, 31 Aug 2010 20:45:09 +0000 (13:45 -0700)]
media: video: tegra: ov5650: fixing exposure blip

When changing mode, also program frame length, coarse time,
and gain so it can keep the same exposure value. Without this
API change, exposure time and gain will be reset to the default
values in the mode table and the image brightness may change
suddenly.

Change-Id: I82fe8a7d838a041b27af7dd6b9b3d27030318456

14 years ago[ARM] tegra: stingray: defconfig: Disable CONFIG_INPUT_KEYRESET
makarand.karvekar [Fri, 10 Sep 2010 21:57:52 +0000 (16:57 -0500)]
[ARM] tegra: stingray: defconfig: Disable CONFIG_INPUT_KEYRESET

Change-Id: I268b6c6e5f9e0cce55bdfb27111e72f7e5a3433f
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
14 years ago[ARM] tegra: stingray: remove legacy keys
makarand.karvekar [Fri, 10 Sep 2010 21:53:11 +0000 (16:53 -0500)]
[ARM] tegra: stingray: remove legacy keys

removed all keys except vol-up and vol-down.
remove reset_keys_device

Change-Id: I16bf3c8f663373eb0fa225bb8904655e9ccc7632
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
14 years ago[ARM] tegra: stingray: enable usblan based on kernel command line
Sergey Kudakov [Fri, 3 Sep 2010 16:28:21 +0000 (11:28 -0500)]
[ARM] tegra: stingray: enable usblan based on kernel command line

Change-Id: I819f2fc67fb76f618b6e3c25703d3a57c9f25043
Signed-off-by: Sergey Kudakov <sergey.kudakov@motorola.com>
14 years agoEnabled LTE DataCard driver
John Michelau [Thu, 9 Sep 2010 21:54:41 +0000 (16:54 -0500)]
Enabled LTE DataCard driver
    CONFIG_USB_USBNET
    CONFIG_USB_NET_CDCETHER

Change-Id: I474a309cba80115093ba86ecf414b2b31527430e

14 years agomfd: cpcap-whisper: Fix defect introduced by I2c374a98
Greg Meiste [Tue, 7 Sep 2010 14:48:44 +0000 (09:48 -0500)]
mfd: cpcap-whisper: Fix defect introduced by I2c374a98

Fix issue where the ID Float interrupt may occur during the 200ms
where state is set to USB_POWER, causing the state machine to get
into a bad state.

Change-Id: I99e7b5de84f4b091c5b6e4f3e522876561603b61
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years agovideo: tegra: add multiple windows support to flip ioctl
Antti Hatala [Wed, 8 Sep 2010 23:11:20 +0000 (16:11 -0700)]
video: tegra: add multiple windows support to flip ioctl

Change-Id: I8521d1f6737e0972d8385e0ceecfc3a1bcae8550
Signed-off-by: Erik Gilling <konkers@android.com>
14 years agoRevert "video: tegra: add multiple windows support to flip ioctl"
Erik Gilling [Thu, 9 Sep 2010 03:18:27 +0000 (20:18 -0700)]
Revert "video: tegra: add multiple windows support to flip ioctl"

This reverts commit 09d367bee9da1b5ecd931dc1d26317707a8c4085.

14 years agovideo: tegra: add multiple windows support to flip ioctl
Antti Hatala [Wed, 8 Sep 2010 23:11:20 +0000 (16:11 -0700)]
video: tegra: add multiple windows support to flip ioctl

Change-Id: I8521d1f6737e0972d8385e0ceecfc3a1bcae8550
Signed-off-by: Erik Gilling <konkers@android.com>
14 years ago[ARM] tegra: stingray: boardfiles changes for mdm6600_ctrl
James Wylder [Fri, 20 Aug 2010 01:24:59 +0000 (20:24 -0500)]
[ARM] tegra: stingray: boardfiles changes for mdm6600_ctrl

    - give more meaningful names to ap-bp gpios,

Change-Id: I1a7eea918c15271b90fb09ce882eff1691a28c21
Signed-off-by: James Wylder <james.wylder@motorola.com>
14 years agomisc: mdm6600_ctrl: update shutdown to reset unresponsive modem.
James Wylder [Fri, 20 Aug 2010 01:23:12 +0000 (20:23 -0500)]
misc: mdm6600_ctrl: update shutdown to reset unresponsive modem.

    - fix initialization of BP_PWRON (PS6), and BP_RESIN (PZ1) gpios,
    - cleanup kernel log messages,
    - assert BP_RESIN gpio to reset unresponsive modem.

Change-Id: Iaf6b7d553fec1a6e9254b7183c1beacf7ad4d555
Signed-off-by: James Wylder <james.wylder@motorola.com>
14 years ago[ARM] tegra: stingray: Fix CPU DVFS
Greg Meiste [Wed, 8 Sep 2010 18:45:06 +0000 (13:45 -0500)]
[ARM] tegra: stingray: Fix CPU DVFS

P0 and later models were changed to put the cpu_vdd regulator
in MODE 1, rather than the previous MODE 3 value. This caused
DVFS to appear to work but actually have no impact on the
cpu voltage.

In addition, when resuming from LP0, the CPU voltage must be
1.0v.  To guarantee this, the voltage needs to be set upon
entering suspend, so when the regulator is re-enabled, it is
the correct voltage before code begins executing.

Change-Id: I3580c832dbb4b5ce9ce7bd0089352a72b3b3869c
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years agoregulator: max8649: Add support for suspend
Greg Meiste [Wed, 8 Sep 2010 18:42:09 +0000 (13:42 -0500)]
regulator: max8649: Add support for suspend

With this change, the regulator framework can configure the regulator
for suspend if necessary.

Change-Id: Idf1fc085d7182368ae1bfdcc54cf3c8de0f93005
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years ago[ARM] tegra: Setup regulators for suspend
Greg Meiste [Wed, 8 Sep 2010 18:38:36 +0000 (13:38 -0500)]
[ARM] tegra: Setup regulators for suspend

The regulator framework may need to change certain regulators when
entering suspend.

Change-Id: I584e92b3c32cbd1a63325831822e2704a3dd2774
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years ago[ARM] tegra: stingray: remove clock and powergate hacks
Antti Hatala [Thu, 26 Aug 2010 11:16:58 +0000 (04:16 -0700)]
[ARM] tegra: stingray: remove clock and powergate hacks

Remove unpowergating of 3d on board init to let the host1x driver
handle it.

Remove enabling hw module clocks on board init for modules behind
host1x.

Keep pll_m clock force-enabled for now as the pll clk disable code
path is not fully functional.

Change-Id: I4721d117b736a591b3cf3ee9f8967b88212f88b8
Signed-off-by: Erik Gilling <konkers@android.com>
14 years agousb: mdm6600: Remove urbs from in_flight list on completion
Benoit Goby [Tue, 7 Sep 2010 22:50:52 +0000 (15:50 -0700)]
usb: mdm6600: Remove urbs from in_flight list on completion

This fixes an issue where uncompleted urbs get added to the pending
anchor.

Change-Id: I9504fea0ca42e9d18dfe255744ba8f6638e1f324
Signed-off-by: Benoit Goby <benoit@android.com>
14 years agovideo: tegra: automatic powergating for 3d and mpe
Antti Hatala [Thu, 26 Aug 2010 11:15:12 +0000 (04:15 -0700)]
video: tegra: automatic powergating for 3d and mpe

Change-Id: I50784dec578c4c20b790ce25e53e849412c1443a
Signed-off-by: Erik Gilling <konkers@android.com>
14 years ago[ARM] tegra: stingray: CHG_DISABLE is connected to PS7 on P2
Greg Meiste [Tue, 31 Aug 2010 16:56:55 +0000 (11:56 -0500)]
[ARM] tegra: stingray: CHG_DISABLE is connected to PS7 on P2

On P2 hardware, PS7 is now connected to CHG_DISABLE.  HS_DET_EN has not
been connected (or needed) since M1, so audio should not be controlling
PS7.

Change-Id: I19b96295cb956bffdd1f4b0e7ba48b1a0bec3242
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years agopower: ds2781: Report charging correctly
Greg Meiste [Tue, 7 Sep 2010 16:24:08 +0000 (11:24 -0500)]
power: ds2781: Report charging correctly

Previously, charging was being reporting whenever a charger was present.
While true most of the time, there are cases where that won't be the
case.  This patch updates the driver to only report charging if charging
is actually occurring.

Change-Id: Ibc5881fed5d11f89d87d0c7adcd7ac1c2b273688
Signed-off-by: Greg Meiste <w30289@motorola.com>
14 years agopower: bq24617: Add support to report charging separately
Greg Meiste [Tue, 7 Sep 2010 16:20:39 +0000 (11:20 -0500)]
power: bq24617: Add support to report charging separately

Just because the charger is present, doesn't mean that the battery is
being charged.  For example, the battery can be overheating, which
will prevent charging.

Change-Id: If5d8dc325fc6dc507808216f1e45a180d74b5d73
Signed-off-by: Greg Meiste <w30289@motorola.com>