firefly-linux-kernel-4.4.55.git
13 years ago[ARM] tegra: board-stingray: Don't register usb1 ehci platform device
Benoit Goby [Tue, 31 Aug 2010 23:00:41 +0000 (16:00 -0700)]
[ARM] tegra: board-stingray: Don't register usb1 ehci platform device

The cpcap-otg driver will register the device when ID pin is grounded

Change-Id: Ibe95dcd00d7e1dfe0103ca94b59afe8769d91759
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agomfd: cpcap-whisper: Detect invalid chargers
Greg Meiste [Fri, 3 Sep 2010 19:05:30 +0000 (14:05 -0500)]
mfd: cpcap-whisper: Detect invalid chargers

Change-Id: Iaea0ebc594ac8b050f241ff5eef3d2ed7441a19a
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoinput: qtouch: Change suspend level
Greg Meiste [Thu, 2 Sep 2010 16:03:30 +0000 (11:03 -0500)]
input: qtouch: Change suspend level

Touch should be disabled after the display is suspended and enabled
before the display is resumed.  Resuming after the display can cause
touch to stop functioning.

Change-Id: Ib9861b325994ebfbf3e93554aaa86747f7bde469
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years ago[ARM] tegra: Stingray: pull down on TEGRA_PINGROUP_SDIO1 (UARTE)
makarand.karvekar [Fri, 3 Sep 2010 19:05:27 +0000 (14:05 -0500)]
[ARM] tegra: Stingray: pull down on TEGRA_PINGROUP_SDIO1 (UARTE)

UARTE used by GPS is a 3-wire connect between
Broadcom chip and Tegra.
uart5_cts_n is not connected, pull down on the
pin group keeps cts line low.

Change-Id: I8c9fa70058e92fce3c09e036051cb89b4c808434
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] tegra: stingray: remove unwanted ALS platform variables from board file
Praveen Bharathi [Wed, 1 Sep 2010 17:34:15 +0000 (12:34 -0500)]
[ARM] tegra: stingray: remove unwanted ALS platform variables from board file

Removed threshold boundaries as they are no longer needed.

Change-Id: Ie395f9042fbf3e61ca0c6ff448441f52fc5929f9
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
13 years agomisc: max9635: Fix issues with LUX register read
Praveen Bharathi [Wed, 1 Sep 2010 17:30:48 +0000 (12:30 -0500)]
misc: max9635: Fix issues with LUX register read

Modified driver to report lux every 2 secs.
Also rearranged data/removed unused variables in header file.

Change-Id: I3261a51497b2a55be735fbc73a6f15f7838b0b27
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
13 years agomfd: cpcap-whisper: Config EMUMODE for audio when MODE_PU set
Greg Meiste [Mon, 30 Aug 2010 16:19:07 +0000 (11:19 -0500)]
mfd: cpcap-whisper: Config EMUMODE for audio when MODE_PU set

When the 100K ID PU is enabled, it puts the basic dock into audio
mode.  The EMUMODE bits in CPCAP should also be configured so
audio can be routed out the D+/D- lines.

Change-Id: I9bc7718391156932c116c980ccb4d41942356c8b
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years ago[ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver
Iliyan Malchev [Fri, 3 Sep 2010 17:12:10 +0000 (10:12 -0700)]
[ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver

This reverts commit 02e784126d67e77c039123fed3f2ece48b6559f9.

13 years agoRevert "[ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver"
Rebecca Schultz Zavin [Fri, 3 Sep 2010 08:27:24 +0000 (01:27 -0700)]
Revert "[ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver"

This reverts commit f01ee18d3d1f7e03216b652a04ba82161fd069aa.

13 years ago[ARM] configs: Add focuser to stingray_defconfig
Andrei Warkentin [Fri, 3 Sep 2010 01:27:08 +0000 (18:27 -0700)]
[ARM] configs: Add focuser to stingray_defconfig

Change-Id: I3372c3c42ad7a829e438d34924373c0afbef4fb5
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: stingray: Add specific regulator constraints for focuser
Rebecca Schultz Zavin [Fri, 3 Sep 2010 01:22:20 +0000 (18:22 -0700)]
[ARM] tegra: stingray: Add specific regulator constraints for focuser

Change-Id: I45cb0331731b585ebdc021b38e87fec31fe6895f
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: stingray: Add focuser to board-stingray-sensors
Rebecca Schultz Zavin [Fri, 3 Sep 2010 01:24:51 +0000 (18:24 -0700)]
[ARM] tegra: stingray: Add focuser to board-stingray-sensors

Also remove management of vcam ioctl, it will now be managed by
the focuser driver

Change-Id: I8114d831bbe62019ec022003fb61bd354093ee85
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomedia: video: tegra: Add dw9714l focuser driver
Andrei Warkentin [Fri, 3 Sep 2010 01:26:33 +0000 (18:26 -0700)]
media: video: tegra: Add dw9714l focuser driver

Change-Id: I4e3c690c782ea25c50fec25bf6252acd32a64242
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomedia: video: tegra: ov5650: Several changes to 5MP imager sensor
Andrei Warkentin [Fri, 3 Sep 2010 01:12:14 +0000 (18:12 -0700)]
media: video: tegra: ov5650: Several changes to 5MP imager sensor

Add ability to read sensor otp.
Add support for pattern generators.
Cleans up the ioctl parameters.

Change-Id: I78b585fb94b5d97e2adebe718972019e4e2142de
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomedia: video: tegra_camera: Change value written into clock register for vi
Rebecca Schultz Zavin [Fri, 3 Sep 2010 01:11:26 +0000 (18:11 -0700)]
media: video: tegra_camera: Change value written into clock register for vi

Change-Id: I5e4d4a14f055ea8a19f715f8bf8fb3d7b88b7cda
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver
Iliyan Malchev [Thu, 26 Aug 2010 21:58:52 +0000 (14:58 -0700)]
[ARM] tegra: stingray: cpcap-audio: integrate Motorola's driver

-- Replace the board-file table-based CPCAP audio with Motorola's original
-- Rename drivers/mfd/cpcap-audio.c to tegra-cpcap-audio.c
-- In tegra-cpcap-audio, use Motorola's CPCAP-audio driver
-- Enable support for headsets with microphones
-- Add support for muting a microphone
-- Enable routing of audio through speaker and headset simultaneously

13 years agow1: master: tegra_w1: Hold the mutex around w1_setup as well
Rebecca Schultz Zavin [Thu, 2 Sep 2010 04:07:07 +0000 (21:07 -0700)]
w1: master: tegra_w1: Hold the mutex around w1_setup as well

Change-Id: I4989ebd892e35e0fdd49bd529ac8bc4f54a8f15e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agow1: masters: tegra_w1: Clear device ready flag when suspended
Rebecca Schultz Zavin [Wed, 1 Sep 2010 23:14:24 +0000 (16:14 -0700)]
w1: masters: tegra_w1: Clear device ready flag when suspended

This will prevent any device from trying to read/write via w1
before the w1 master has resumed.

Change-Id: Ic3a27f07db6fcefb76937adf471d2fd44033b178
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: nvrm_transport: handshake AVP reset with kernel
Gary King [Wed, 1 Sep 2010 20:19:38 +0000 (13:19 -0700)]
[ARM] tegra: nvrm_transport: handshake AVP reset with kernel

the AVP kernel modifies the AVP reset vector after it starts to its
own value; poll this register to verify that the AVP kernel has
started properly.

Change-Id: I5d9f36dd2763c0df28576f3cb86de20f6aae0ef2
Signed-off-by: Gary King <gking@nvidia.com>
13 years ago[ARM] tegra: nvrm_transport: send address message after AVP init
Gary King [Wed, 1 Sep 2010 20:13:45 +0000 (13:13 -0700)]
[ARM] tegra: nvrm_transport: send address message after AVP init

rather than storing the address message in the mailbox when the shared
message memory is allocated during kernel init, send the message after
the AVP is initialized.

this prevents the message from being "lost" if the system enters LP0
before initializing the AVP.

Change-Id: I14634e2a53abacf840ed906451f1a07016a99015
Signed-off-by: Gary King <gking@nvidia.com>
13 years ago[ARM] tegra: updated touch interrupt line for Stingray P2 HW
makarand.karvekar [Mon, 30 Aug 2010 20:48:27 +0000 (15:48 -0500)]
[ARM] tegra: updated touch interrupt line for Stingray P2 HW

touch interrupt has moved from PV2 to PZ2 on P2 HW.

Change-Id: Ic9375e1e081c3ac746f5fa2c21657bd1af1668a3
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] tegra: stingray: Disable SW5 on newer hardware
Greg Meiste [Fri, 27 Aug 2010 21:38:09 +0000 (16:38 -0500)]
[ARM] tegra: stingray: Disable SW5 on newer hardware

SW5 is no longer connected on newer hardware.  Turn it off.

Change-Id: I56442e70adf4fdf7357bf8fc0b634f8b6d4f18cd
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agomdm6600: implement reset_resume
Nick Pelly [Tue, 31 Aug 2010 00:23:41 +0000 (17:23 -0700)]
mdm6600: implement reset_resume

Change-Id: I39dbc4f611691acac62e48f47da9e743230cbb3c
Signed-off-by: Nick Pelly <npelly@google.com>
13 years agovideo: tegra: fix syncpoint timeouts in host1x driver
Colin Cross [Mon, 30 Aug 2010 19:41:23 +0000 (12:41 -0700)]
video: tegra: fix syncpoint timeouts in host1x driver

Change-Id: Ief81ad3ce74cc446e21e54c2d2acca977f0fa934
Signed-off-by: Erik Gilling <konkers@android.com>
13 years agoRevert "[ARM]: tegra: Various tuning for touchpanel in stingray board file"
Rebecca Schultz Zavin [Tue, 31 Aug 2010 17:35:07 +0000 (10:35 -0700)]
Revert "[ARM]: tegra: Various tuning for touchpanel in stingray board file"

This reverts commit dc1c98e105e7cba173ee674e3c8f47f0c453a4fd.

13 years agofirmware: cpcap: uC was stopping on soft reset power up
Greg Meiste [Tue, 31 Aug 2010 15:30:52 +0000 (10:30 -0500)]
firmware: cpcap: uC was stopping on soft reset power up

This new firmware fixes the issue where the uC was stopping during a
soft reset power up.

Change-Id: I6c495c4d4765d0210f0451617c32a7401580c35e
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoRevert "Revert "[ARM] tegra: stingray: Switch to level interrupt for wlan""
Dmitry Shmidt [Mon, 30 Aug 2010 21:31:07 +0000 (14:31 -0700)]
Revert "Revert "[ARM] tegra: stingray: Switch to level interrupt for wlan""

This reverts commit 48a2f6fed56c391e888368423becd2eecfa1cb31.

13 years agoadd tegrafb.h
Erik Gilling [Wed, 8 Sep 2010 00:46:59 +0000 (17:46 -0700)]
add tegrafb.h

Change-Id: If86b82253915196c2962e04286b9ac7ea400c193

13 years agoHACK: no disp2 device
Erik Gilling [Tue, 31 Aug 2010 01:22:55 +0000 (18:22 -0700)]
HACK: no disp2 device

Change-Id: I5e914c907eec28b99b0d9de056a61e1ea2c63380

13 years agoHACK: host1x mega commit
Erik Gilling [Mon, 30 Aug 2010 22:17:04 +0000 (15:17 -0700)]
HACK: host1x mega commit

Change-Id: Ibf5d4d58c24ca4db26450bb7a5c68154ba73d7c5

13 years ago[ARM] tegra: stingray: Turn Off CONFIG_RPS
Dmitry Shmidt [Mon, 30 Aug 2010 18:14:28 +0000 (11:14 -0700)]
[ARM] tegra: stingray: Turn Off CONFIG_RPS

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agoRevert "[ARM] tegra: stingray: Switch to level interrupt for wlan"
Rebecca Schultz Zavin [Sat, 28 Aug 2010 02:01:24 +0000 (19:01 -0700)]
Revert "[ARM] tegra: stingray: Switch to level interrupt for wlan"

This reverts commit 2cfc65414e7356c0f91f8283802975fd9b5f34c8.

13 years agoRevert "sched: Add a generic notifier when a task struct is about to be freed"
Rebecca Schultz Zavin [Fri, 27 Aug 2010 22:10:46 +0000 (15:10 -0700)]
Revert "sched: Add a generic notifier when a task struct is about to be freed"

This reverts commit 262ffb28f3c0af4cc88e33d5635fe6be5259b37b.

13 years agoRevert "staging: android: lowmemkiller: Substantially reduce overhead during reclaim"
Rebecca Schultz Zavin [Fri, 27 Aug 2010 21:46:33 +0000 (14:46 -0700)]
Revert "staging: android: lowmemkiller: Substantially reduce overhead during reclaim"

This reverts commit db0c96452e4c9e2f14e54f1fa648d90ef894bcc6.

Conflicts:

drivers/staging/android/lowmemorykiller.c

Change-Id: Iac522ffa3f751d4ef8d2fb2e0f2e08dee8e6b118
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agoRevert "staging: android: lowmemorykiller: Fix task_struct leak"
Rebecca Schultz Zavin [Fri, 27 Aug 2010 21:44:21 +0000 (14:44 -0700)]
Revert "staging: android: lowmemorykiller: Fix task_struct leak"

This reverts commit 8e46542d2f8dc730d4fc1b9cd3df0fe9fc236ed1.

13 years agoRevert "staging: android: lowmemorykiller: Remove bitrotted codepath"
Rebecca Schultz Zavin [Fri, 27 Aug 2010 21:44:14 +0000 (14:44 -0700)]
Revert "staging: android: lowmemorykiller: Remove bitrotted codepath"

This reverts commit d3cf24cfefda01d1dfcafd63fe1f6e6179908878.

13 years ago[ARM] tegra: nvrm: make RM transport a bit quieter.
Gary King [Thu, 26 Aug 2010 00:50:51 +0000 (17:50 -0700)]
[ARM] tegra: nvrm: make RM transport a bit quieter.

Change-Id: Ic82c256ed229e7c8042bd23270ae443bbe7534cf
Signed-off-by: Gary King <gking@nvidia.com>
13 years ago[ARM] tegra: nvrm: remove AVP module relocation
Gary King [Wed, 25 Aug 2010 02:06:58 +0000 (19:06 -0700)]
[ARM] tegra: nvrm: remove AVP module relocation

Change-Id: I8ba0907f7c1dec77e7ca3f22874837cf044300a2
Signed-off-by: Dima Zavin <dima@android.com>
13 years agomdm6600: First pass at suspend/resume support.
Nick Pelly [Fri, 27 Aug 2010 22:08:56 +0000 (15:08 -0700)]
mdm6600: First pass at suspend/resume support.

Add suspend/resume handler. Usb framework will no longer de-register tty on
suspend/resume now. Kill URB's with usbcore while in suspend.

Switch from dev_foo() to pr_foo() printk helpers. The dev_ ones are a pain to
find the right device struct, and occasionally caused null pointer panics.

Change-Id: I38769dc3befaef1a783ec5ab77169db2e963a9bc
Signed-off-by: Nick Pelly <npelly@google.com>
13 years ago[ARM] tegra: stingray: Switch to level interrupt for wlan
Dmitry Shmidt [Fri, 27 Aug 2010 22:02:56 +0000 (15:02 -0700)]
[ARM] tegra: stingray: Switch to level interrupt for wlan

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
13 years agofirmware: cpcap: Reset SW2 and SW4 voltage to 1.2v when exiting LP0
Greg Meiste [Fri, 27 Aug 2010 16:51:11 +0000 (11:51 -0500)]
firmware: cpcap: Reset SW2 and SW4 voltage to 1.2v when exiting LP0

Previously, the uC was only turning on/off SW2 by changing the
switcher mode.  It must also return SW2 and SW4 to 1.2v in case
DVS has set the voltages lower before entering LP0.

Change-Id: I9900d36f50c43b8ba3f6d38d8ddb8647789e020f
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
13 years ago[ARM] tegra: stingray: CPCAP switcher voltage settings correction
Greg Meiste [Fri, 27 Aug 2010 14:51:44 +0000 (09:51 -0500)]
[ARM] tegra: stingray: CPCAP switcher voltage settings correction

CPCAP should not be automatically dropping SW2 and SW4 to 0.95v
when the primary standby line drops.  This must be controlled by
DVS as per nVidia.

Change-Id: I336dd3fc30ec0ff8672c88eeed81a6b0a8617b00
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
13 years agomagnetometer: akm8975: remove accelerometer and temperature code
makarand.karvekar [Thu, 26 Aug 2010 20:15:05 +0000 (15:15 -0500)]
magnetometer: akm8975: remove accelerometer and temperature code

8975 does have accelerometer and temperature features.
corrected flag values.

Change-Id: Ie061bd67ab34fb2da7ddcd7c44d362bfc5016dde
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] tegra: Reset read allocate policy on l2 after resume
Rebecca Schultz Zavin [Thu, 26 Aug 2010 22:07:45 +0000 (15:07 -0700)]
[ARM] tegra: Reset read allocate policy on l2 after resume

Change-Id: I433a3a280b9f4eceb749ec527d69cb3d33e17ff7
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: l3g4200d: fix gyro data calculation
makarand.karvekar [Thu, 26 Aug 2010 16:28:22 +0000 (11:28 -0500)]
misc: l3g4200d: fix gyro data calculation

report gyro events as EV_REL.
clean up gyro data calculation.

Change-Id: I3327e58ef5a99d52bdd6aeabacf63c41172958ba
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] tegra: update gyro configuration.
makarand.karvekar [Thu, 26 Aug 2010 16:31:58 +0000 (11:31 -0500)]
[ARM] tegra: update gyro configuration.

increased gyro sensitivity.
corrected part placement.

Change-Id: Icb050bbdc9e7f453fdd9d8331410d898c31370f5
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] mm: Use read allocate policy at the l2 cache
Rebecca Schultz Zavin [Mon, 23 Aug 2010 19:02:23 +0000 (12:02 -0700)]
[ARM] mm: Use read allocate policy at the l2 cache

Change-Id: I2ac2d73f9affc2d1a5bb0774f94b32a64dec7588
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM]: tegra: Various tuning for touchpanel in stingray board file
makarand.karvekar [Tue, 24 Aug 2010 18:48:20 +0000 (13:48 -0500)]
[ARM]: tegra: Various tuning for touchpanel in stingray board file

FW settings for noise suppression and general tuning
updated objects:
    T7-POWER CONFIG
    T9-Multitouch Object
    noise suppression object 22
    cte_config_cfg

Change-Id: Ia4c7a72b1a19594a988a0c482ce777dc21295325
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years agomisc: max9635: Remove unused fields from platform data struct
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:55:40 +0000 (13:55 -0700)]
misc: max9635: Remove unused fields from platform data struct

Change-Id: Icc712ce96970d3808881fa22b0e5095aa1596b2e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: l3g4200d: Remove unused fields from platform data struct
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:54:10 +0000 (13:54 -0700)]
misc: l3g4200d: Remove unused fields from platform data struct

Change-Id: Iaacac3d9bbf4f87a272822c76c2cd6939059597a
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: kxtf9: Remove unused fields from platform data struct
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:52:52 +0000 (13:52 -0700)]
misc: kxtf9: Remove unused fields from platform data struct

Change-Id: I5fc511b64c8381543abb00c523727df93cde1bd1
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: akm8975: Remove unused platform data struct from board file
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:49:00 +0000 (13:49 -0700)]
misc: akm8975: Remove unused platform data struct from board file

Change-Id: If8f687641069bd838359745c0df7000edf3e1bd5
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] Remove unused power on/off functions for sensors.
Rebecca Schultz Zavin [Wed, 25 Aug 2010 21:00:03 +0000 (14:00 -0700)]
[ARM] Remove unused power on/off functions for sensors.

These sensors now control their regulators via the regulator
api directly

Change-Id: I91203634f90fd1ebceb333a481941d0bd8eda136
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: max9635: Remove early suspend/resume handlers
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:55:03 +0000 (13:55 -0700)]
misc: max9635: Remove early suspend/resume handlers

Allow userspace to set policy on sensor enable/disable

Change-Id: I901edeaf6ab3bddb79220c4ba7248b8873e6338e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: l3g4200d: Several fixes to l3g4200d driver
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:53:24 +0000 (13:53 -0700)]
misc: l3g4200d: Several fixes to l3g4200d driver

-Remove early suspend/resume handlers, allow userspace to set
policy on sensor enable/disable
-Use regulator api instead of calls into the board file to
control power

Change-Id: I0e0a08f1cbaf450cabb2e555692aec60498fc182
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: kxtf9: Use regulator api to control power to sensor
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:51:22 +0000 (13:51 -0700)]
misc: kxtf9: Use regulator api to control power to sensor

Previously this used a callback to the board file

Change-Id: Idaca0ef5f77fde73e0ae2e8fd510f0ca985ec051
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agomisc: akm8975: Sevearl fixes to akm8975 driver
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:46:38 +0000 (13:46 -0700)]
misc: akm8975: Sevearl fixes to akm8975 driver

-Remove early suspend/resume handlers, allow userspace to set
policy on sensor enable/disable
-Use regulator api instead of calls into the board file to
control power

Change-Id: I0550a1bc9ee37f93ba02a7024afb6c44ababbe9d
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: stingray: Add specific regulator constraints for sensors
Rebecca Schultz Zavin [Wed, 25 Aug 2010 20:59:08 +0000 (13:59 -0700)]
[ARM] tegra: stingray: Add specific regulator constraints for sensors

This will allow individual sensor drivers to enable/disable their
regulators without calling into the board files to get the supply
name.

Change-Id: I06fa1536ede351194b060028ad43a4163df363c2
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years ago[ARM] tegra: stingray: Set CPCAP switchers to AMS mode
Greg Meiste [Wed, 25 Aug 2010 16:10:25 +0000 (11:10 -0500)]
[ARM] tegra: stingray: Set CPCAP switchers to AMS mode

Change-Id: I6048a8f75d86c943d98759cf541b263bac151f68
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agofirmware: cpcap: SW2 should be in AMS mode
Greg Meiste [Wed, 25 Aug 2010 16:03:24 +0000 (11:03 -0500)]
firmware: cpcap: SW2 should be in AMS mode

Setting SW2 to Pulse-Skipping/PFM mode prevented Stingray from exiting
LP0.  AMS mode should actually be better for current drain anyway.

Change-Id: I97fdfe5de47e1172de11e84d91aa8b7be49d1941
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoRevert "Revert "[ARM] tegra: stingray: Enable notification LED fading""
Greg Meiste [Wed, 25 Aug 2010 15:56:56 +0000 (10:56 -0500)]
Revert "Revert "[ARM] tegra: stingray: Enable notification LED fading""

This reverts commit 59e308f5ebf5871fec55dde19459a71af2354fb4.

13 years agoRevert "Revert "firmware: cpcap: Support notification LED on Stingray""
Greg Meiste [Wed, 25 Aug 2010 15:56:33 +0000 (10:56 -0500)]
Revert "Revert "firmware: cpcap: Support notification LED on Stingray""

This reverts commit 41c4a6b07ba857293654e767f84d45ade9fc445d.

13 years agoRevert "Revert "[ARM] tegra: stingray: Support soft reset""
Greg Meiste [Wed, 25 Aug 2010 15:55:21 +0000 (10:55 -0500)]
Revert "Revert "[ARM] tegra: stingray: Support soft reset""

This reverts commit 22d12890334af316424b43cbc36458546b6eca1c.

Change-Id: I7f864e29fefeb8bf5c0c7541fc91221e3f7986ae

13 years agoRevert "Revert "firmware: cpcap: Add workaround to support soft reset""
Greg Meiste [Wed, 25 Aug 2010 14:00:09 +0000 (09:00 -0500)]
Revert "Revert "firmware: cpcap: Add workaround to support soft reset""

This reverts commit a56ac084c7f8c23e22af1c968bca7bb7a89e4d4b.

13 years agomoto_flashmdm: add PID 0x4281 for MDM600 flash interface
Amol Bhatkar--NJ05 [Wed, 25 Aug 2010 21:22:11 +0000 (14:22 -0700)]
moto_flashmdm: add PID 0x4281 for MDM600 flash interface

Keep the old PID for backward compatibility

Change-Id: Ic77a7fe6e32b386f867a2047c099160d5fe3f81a
Signed-off-by: Amol Bhatkar--NJ05 <amolbhatkar@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
13 years ago[ARM] tegra: stingray: defconfig: Disable CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI
makarand.karvekar [Tue, 24 Aug 2010 19:06:16 +0000 (14:06 -0500)]
[ARM] tegra: stingray: defconfig: Disable CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI

Change-Id: I0a412c272ddd82ab59a9b04761b48f1eaec4ffca
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
13 years ago[ARM] tegra: stingray: Update suspend mode enum
Colin Cross [Wed, 25 Aug 2010 01:29:14 +0000 (18:29 -0700)]
[ARM] tegra: stingray: Update suspend mode enum

Change-Id: Ib21d566d92d114507ad232773cc6eb2830da4d42
Signed-off-by: Colin Cross <ccross@google.com>
13 years ago[ARM] tegra: syncpt: Move syncpt handling to syncpt.c
Colin Cross [Sat, 21 Aug 2010 20:21:45 +0000 (13:21 -0700)]
[ARM] tegra: syncpt: Move syncpt handling to syncpt.c

Change-Id: I8ee2cde45d424e74465f62d1c2185291c30ac982
Signed-off-by: Colin Cross <ccross@google.com>
13 years agoRevert "firmware: cpcap: Add workaround to support soft reset"
Colin Cross [Tue, 24 Aug 2010 23:53:52 +0000 (16:53 -0700)]
Revert "firmware: cpcap: Add workaround to support soft reset"

This reverts commit 7d8d274f2cca4fb00e8b119321ca58d52526137e.

13 years agoRevert "[ARM] tegra: stingray: Support soft reset"
Colin Cross [Tue, 24 Aug 2010 23:53:43 +0000 (16:53 -0700)]
Revert "[ARM] tegra: stingray: Support soft reset"

This reverts commit 82567b733517f070013e16e7f450ce1c259592a3.

13 years agoRevert "firmware: cpcap: Support notification LED on Stingray"
Colin Cross [Tue, 24 Aug 2010 23:53:32 +0000 (16:53 -0700)]
Revert "firmware: cpcap: Support notification LED on Stingray"

This reverts commit 220da51ff416b72bbff7d717d5f8d533b529aace.

13 years agoRevert "[ARM] tegra: stingray: Enable notification LED fading"
Colin Cross [Tue, 24 Aug 2010 23:53:25 +0000 (16:53 -0700)]
Revert "[ARM] tegra: stingray: Enable notification LED fading"

This reverts commit 194f415d3f254769a34c3a1cc57504bd399d991d.

13 years ago[ARM] tegra: add hdmi output to stingray board file
Erik Gilling [Tue, 24 Aug 2010 04:41:49 +0000 (21:41 -0700)]
[ARM] tegra: add hdmi output to stingray board file

Signed-off-by: Erik Gilling <konkers@android.com>
13 years ago[ARM] tegra: stingray: Enable notification LED fading
Greg Meiste [Mon, 23 Aug 2010 21:51:17 +0000 (16:51 -0500)]
[ARM] tegra: stingray: Enable notification LED fading

Change-Id: I32cf8e461c125739700b4cf032e6f850bb6ccc4d
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agofirmware: cpcap: Support notification LED on Stingray
Greg Meiste [Mon, 23 Aug 2010 21:49:41 +0000 (16:49 -0500)]
firmware: cpcap: Support notification LED on Stingray

With this firmware update, the notification LED on Stingray can now
be blinked... with fading!

Change-Id: I65c7b5627ede2305526486099752b30176a1eae9
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years ago[ARM] tegra: stingray: Support soft reset
Greg Meiste [Fri, 20 Aug 2010 15:05:57 +0000 (10:05 -0500)]
[ARM] tegra: stingray: Support soft reset

Changes to allow last_kmsg to survive a reset.

Change-Id: I8b2830bd919cacd0346b2b8319c504625258dff0
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agofirmware: cpcap: Add workaround to support soft reset
Greg Meiste [Thu, 19 Aug 2010 14:47:44 +0000 (09:47 -0500)]
firmware: cpcap: Add workaround to support soft reset

The CPCAP uC needs to be stopped before a soft reset.  Macro 15 can be
used to stop the uC with the SYS_RESTART line.

Change-Id: I7a7711d771881320a4b6f1a462411b8a4b21b0fc
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years agoRevert "ARM: tegra: stingray: temporarily disable LP0 (AVP suspend)"
Dima Zavin [Mon, 23 Aug 2010 21:50:37 +0000 (14:50 -0700)]
Revert "ARM: tegra: stingray: temporarily disable LP0 (AVP suspend)"

This reverts commit 06da6891c4d1748853bd64795fb470072a6ab266.

Change-Id: I6fa718a8fd766b0c41bc1036e1b34bbac6d14335

13 years ago[ARM] tegra: nv: implement avp suspend/resume for LP0
Dima Zavin [Tue, 24 Aug 2010 03:17:55 +0000 (20:17 -0700)]
[ARM] tegra: nv: implement avp suspend/resume for LP0

Change-Id: I3ca52752d00cb603d9327d5a40b48e1cf56cb7c4
Signed-off-by: Dima Zavin <dima@android.com>
13 years agoleds: leds-lp8550: Properly set poweron state / brightness on resume.
Paul Eastham [Tue, 24 Aug 2010 04:04:03 +0000 (21:04 -0700)]
leds: leds-lp8550: Properly set poweron state / brightness on resume.

Signed-off-by: Paul Eastham <eastham@google.com>
13 years agoleds: leds-lp8550: Fix and extend brightness debug messages
Paul Eastham [Mon, 23 Aug 2010 23:46:14 +0000 (16:46 -0700)]
leds: leds-lp8550: Fix and extend brightness debug messages

Signed-off-by: Paul Eastham <eastham@google.com>
13 years agousb: otg: cpcap-otg should return IRQ_NONE when appropriate
Benoit Goby [Wed, 11 Aug 2010 23:53:42 +0000 (16:53 -0700)]
usb: otg: cpcap-otg should return IRQ_NONE when appropriate

Change-Id: I94c4cf415778a59dc665e1b5353342067ba4f894
Signed-off-by: Benoit Goby <benoit@android.com>
13 years ago[ARM] tegra: stingray_defconfig: Enable USB_SUSPEND
Benoit Goby [Fri, 20 Aug 2010 04:26:16 +0000 (21:26 -0700)]
[ARM] tegra: stingray_defconfig: Enable USB_SUSPEND

Change-Id: Iffa16409caf18ecc831df8ba50009b54a1035875
Signed-off-by: Benoit Goby <benoit@android.com>
13 years ago[ARM] tegra: tegra_i2s_audio: add wakelocks
Iliyan Malchev [Sat, 21 Aug 2010 05:58:13 +0000 (22:58 -0700)]
[ARM] tegra: tegra_i2s_audio: add wakelocks

Signed-off-by: Iliyan Malchev <malchev@google.com>
13 years agomfd: cpcap-whisper: Ignore the SE1 bit to detect host mode
Benoit Goby [Wed, 11 Aug 2010 23:53:42 +0000 (16:53 -0700)]
mfd: cpcap-whisper: Ignore the SE1 bit to detect host mode

The Nexus One data pins are in the SE1 state until vbus is powered.
Ignore the SE1 bit to fix host mode detection when a Nexus One is
attached.

Change-Id: Ia2314b26acdb1d20fa0a43812f88c232c919cba3
Signed-off-by: Benoit Goby <benoit@android.com>
13 years agoARM: tegra: stingray: temporarily disable LP0 (AVP suspend)
Dima Zavin [Mon, 23 Aug 2010 18:12:17 +0000 (11:12 -0700)]
ARM: tegra: stingray: temporarily disable LP0 (AVP suspend)

Change-Id: Iaedd594aba25649f934dea6d0e715de72f08ed1a
Signed-off-by: Dima Zavin <dima@android.com>
13 years ago[ARM] tegra: stingray: CPU-AVP RPC in kernel
Kaz Fukuoka [Fri, 30 Jul 2010 20:13:01 +0000 (13:13 -0700)]
[ARM] tegra: stingray: CPU-AVP RPC in kernel

- /dev/nvfw ioctl interface to load AVP firmware.
- Use request_firmware() for AVP modules
- /dev/nvrpc ioctl interface to call RPC on AVP.
- Server thread to serve RPC from AVP.

Change-Id: I1694dc49d69b677cd225f8b68a4f84edf9bf0a23
Signed-off-by: Dima Zavin <dima@android.com>
13 years ago[ARM] tegra: stingray: defconfig: Enable CONFIG_USB_ANDROID_RNDIS
Mike Lockwood [Fri, 20 Aug 2010 23:49:07 +0000 (19:49 -0400)]
[ARM] tegra: stingray: defconfig: Enable CONFIG_USB_ANDROID_RNDIS

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years ago[ARM] tegra: stingray: Add support for RNDIS USB function.
Mike Lockwood [Fri, 20 Aug 2010 23:46:17 +0000 (19:46 -0400)]
[ARM] tegra: stingray: Add support for RNDIS USB function.

Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agomdm6600: Don't panic on wrong port.
Nick Pelly [Fri, 20 Aug 2010 02:27:10 +0000 (19:27 -0700)]
mdm6600: Don't panic on wrong port.

Lack of power management on the mdm6600 driver causes it to sometimes
open with a bad port after USB re-unemeration. WARN_ON_ONCE instead of
BUG_ON.

Change-Id: Iae6c7aa2c1f2b30ff879a1b744a5efeef01664f9
Signed-off-by: Nick Pelly <npelly@google.com>
13 years ago[ARM] tegra: nvrm: Remove NvRm reset and clock controls for camera
Rebecca Schultz Zavin [Fri, 20 Aug 2010 00:12:04 +0000 (17:12 -0700)]
[ARM] tegra: nvrm: Remove NvRm reset and clock controls for camera

These controls are no longer used.

Change-Id: I5259a799777471272b54682d4bfef9a0739964ec
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
13 years agotegra: nvrm: Add VDE, VCP, and BSEA to RM clock & module APIs
S. Holmes [Thu, 19 Aug 2010 15:31:17 +0000 (09:31 -0600)]
tegra: nvrm: Add VDE, VCP, and BSEA to RM clock & module APIs

Add the VDE, VCP, and BSEA blocks to the RM clock and module APIs so that
video and audio playback will work.

Change-Id: I4a7d9121239967f6b76b0a585a818d1047a56993

13 years ago[ARM] tegra: stingray: change uartc clock source to pll_m.
Jay Cheng [Fri, 20 Aug 2010 00:04:36 +0000 (17:04 -0700)]
[ARM] tegra: stingray: change uartc clock source to pll_m.

With PLL_M (600Mhz) as clock source, it produces the closest 3M baud rate
required by BT module.

Change-Id: I9a33f415a8a13fbb68589d5b2575f7c7beab5c44
Signed-off-by: Jay Cheng <jacheng@nvidia.com>
13 years agoboard-stingray-power: add notification led driver
Praveen Bharathi [Thu, 12 Aug 2010 16:11:32 +0000 (11:11 -0500)]
board-stingray-power: add notification led driver

Change-Id: Ia2a6f7d2f5734e815a6fabc1d4752eb3bcddde9d
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
13 years agoleds: stingray: add blink support for cpcap leds
Praveen Bharathi [Thu, 12 Aug 2010 16:10:44 +0000 (11:10 -0500)]
leds: stingray: add blink support for cpcap leds

Allows individual led to support blink capability

Change-Id: If2c7bd8a4bc617e3049b0db3a6fec4f92b06c0e5
Signed-off-by: Praveen Bharathi <pbharathi@motorola.com>
13 years ago[ARM] tegra: stingray: Charge LED GPIO moved on P2
Greg Meiste [Fri, 13 Aug 2010 18:40:12 +0000 (13:40 -0500)]
[ARM] tegra: stingray: Charge LED GPIO moved on P2

Support the charge LED on P2 hardware.

Change-Id: I2e8733f11d98c29015282520f8f560b5734f8696
Signed-off-by: Greg Meiste <w30289@motorola.com>
13 years ago[ARM] tegra: stingray: USB current drain reduction.
James Wylder [Mon, 9 Aug 2010 15:56:53 +0000 (10:56 -0500)]
[ARM] tegra: stingray: USB current drain reduction.

At boot time the kernel should:
   USB_FORCEON_N (GPIO_TEGRA_PC5) should be initialized output high.
   ULPI_PHY_RESET_B (GPIO_TEGRA_PG2) should be initialized output low.

Signed-off-by: James Wylder <james.wylder@motorola.com>
Change-Id: I92a59c5fff4a9d3dd68a3ce3bd6a6c134241146d

13 years ago[ARM] tegra: stingray: Configure CPCAP Switchers for low power
Greg Meiste [Mon, 16 Aug 2010 16:13:27 +0000 (11:13 -0500)]
[ARM] tegra: stingray: Configure CPCAP Switchers for low power

CPCAP switchers 2, 3, and 4 need to be set to PSM mode in normal mode
and PFM mode in low power mode.  CPCAP switchers 2 and 4 should be set
to 0.95v in low power mode.  This will provide some current drain
savings.

Change-Id: Ie506305dd011dfc14fda5fd24562539149352bb9
Signed-off-by: Greg Meiste <w30289@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
13 years ago[ARM] tegra: stingray: defconfig: enable whisper HID
Ramesh Sudini [Thu, 19 Aug 2010 18:37:23 +0000 (13:37 -0500)]
[ARM] tegra: stingray: defconfig: enable whisper HID

Change-Id: I29ad1993a06adf6ac6a7b5093cc7cba9b4111fa1
Signed-off-by: Ramesh Sudini <ramesh.sudini@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
13 years agoHID: hid-motorola: whisper HID driver
Ramesh Sudini [Thu, 19 Aug 2010 18:21:37 +0000 (13:21 -0500)]
HID: hid-motorola: whisper HID driver

Signed-off-by: Ramesh Sudini <ramesh.sudini@motorola.com>
Signed-off-by: Nick Pelly <npelly@google.com>
Change-Id: I63a1c5358f8536916e29d18e298ea495deddcbae