Commit Graph

211921 Commits

Author SHA1 Message Date
Greg Meiste
b669cdfaa1 [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>
2010-10-06 16:33:49 -07:00
makarand.karvekar
f083fd3f14 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>
2010-10-06 16:33:49 -07:00
Rebecca Schultz Zavin
4a6c1d9c62 [ARM] tegra: Reset read allocate policy on l2 after resume
Change-Id: I433a3a280b9f4eceb749ec527d69cb3d33e17ff7
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:49 -07:00
makarand.karvekar
b547c606a0 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>
2010-10-06 16:33:49 -07:00
makarand.karvekar
7ceebcd09f [ARM] tegra: update gyro configuration.
increased gyro sensitivity.
corrected part placement.

Change-Id: Icb050bbdc9e7f453fdd9d8331410d898c31370f5
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:33:48 -07:00
Rebecca Schultz Zavin
ea435bb56b [ARM] mm: Use read allocate policy at the l2 cache
Change-Id: I2ac2d73f9affc2d1a5bb0774f94b32a64dec7588
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:48 -07:00
makarand.karvekar
618a76c96f [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>
2010-10-06 16:33:48 -07:00
Rebecca Schultz Zavin
ed620b98d6 misc: max9635: Remove unused fields from platform data struct
Change-Id: Icc712ce96970d3808881fa22b0e5095aa1596b2e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:48 -07:00
Rebecca Schultz Zavin
adf20c7db5 misc: l3g4200d: Remove unused fields from platform data struct
Change-Id: Iaacac3d9bbf4f87a272822c76c2cd6939059597a
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:48 -07:00
Rebecca Schultz Zavin
e70a772d8b misc: kxtf9: Remove unused fields from platform data struct
Change-Id: I5fc511b64c8381543abb00c523727df93cde1bd1
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:47 -07:00
Rebecca Schultz Zavin
02aff39c0b misc: akm8975: Remove unused platform data struct from board file
Change-Id: If8f687641069bd838359745c0df7000edf3e1bd5
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
2010-10-06 16:33:47 -07:00
Rebecca Schultz Zavin
6cffcbeac4 [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>
2010-10-06 16:33:47 -07:00
Rebecca Schultz Zavin
27b8647606 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>
2010-10-06 16:33:47 -07:00
Rebecca Schultz Zavin
1cdd046275 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>
2010-10-06 16:33:47 -07:00
Rebecca Schultz Zavin
416c552d44 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>
2010-10-06 16:33:47 -07:00
Rebecca Schultz Zavin
c89c91442d 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>
2010-10-06 16:33:46 -07:00
Rebecca Schultz Zavin
df7b5f584f [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>
2010-10-06 16:33:46 -07:00
Greg Meiste
e49680e9bc [ARM] tegra: stingray: Set CPCAP switchers to AMS mode
Change-Id: I6048a8f75d86c943d98759cf541b263bac151f68
Signed-off-by: Greg Meiste <w30289@motorola.com>
2010-10-06 16:33:46 -07:00
Greg Meiste
02e06ba3b2 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>
2010-10-06 16:33:46 -07:00
Greg Meiste
1bf42c404f Revert "Revert "[ARM] tegra: stingray: Enable notification LED fading""
This reverts commit 59e308f5ebf5871fec55dde19459a71af2354fb4.
2010-10-06 16:33:46 -07:00
Greg Meiste
dd520e9dcb Revert "Revert "firmware: cpcap: Support notification LED on Stingray""
This reverts commit 41c4a6b07ba857293654e767f84d45ade9fc445d.
2010-10-06 16:33:46 -07:00
Greg Meiste
06971deda1 Revert "Revert "[ARM] tegra: stingray: Support soft reset""
This reverts commit 22d12890334af316424b43cbc36458546b6eca1c.

Change-Id: I7f864e29fefeb8bf5c0c7541fc91221e3f7986ae
2010-10-06 16:33:45 -07:00
Greg Meiste
4cbbb2dce3 Revert "Revert "firmware: cpcap: Add workaround to support soft reset""
This reverts commit a56ac084c7f8c23e22af1c968bca7bb7a89e4d4b.
2010-10-06 16:33:45 -07:00
Amol Bhatkar--NJ05
ea0a94441f 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>
2010-10-06 16:33:45 -07:00
makarand.karvekar
6730658729 [ARM] tegra: stingray: defconfig: Disable CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI
Change-Id: I0a412c272ddd82ab59a9b04761b48f1eaec4ffca
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
2010-10-06 16:33:45 -07:00
Colin Cross
bab14cab92 [ARM] tegra: stingray: Update suspend mode enum
Change-Id: Ib21d566d92d114507ad232773cc6eb2830da4d42
Signed-off-by: Colin Cross <ccross@google.com>
2010-10-06 16:33:45 -07:00
Colin Cross
2af559541b [ARM] tegra: syncpt: Move syncpt handling to syncpt.c
Change-Id: I8ee2cde45d424e74465f62d1c2185291c30ac982
Signed-off-by: Colin Cross <ccross@google.com>
2010-10-06 16:33:45 -07:00
Colin Cross
f8b9c518a6 Revert "firmware: cpcap: Add workaround to support soft reset"
This reverts commit 7d8d274f2cca4fb00e8b119321ca58d52526137e.
2010-10-06 16:33:44 -07:00
Colin Cross
0949e63b76 Revert "[ARM] tegra: stingray: Support soft reset"
This reverts commit 82567b733517f070013e16e7f450ce1c259592a3.
2010-10-06 16:33:44 -07:00
Colin Cross
c10b0fa17f Revert "firmware: cpcap: Support notification LED on Stingray"
This reverts commit 220da51ff416b72bbff7d717d5f8d533b529aace.
2010-10-06 16:33:44 -07:00
Colin Cross
e36ee1cd9c Revert "[ARM] tegra: stingray: Enable notification LED fading"
This reverts commit 194f415d3f254769a34c3a1cc57504bd399d991d.
2010-10-06 16:33:44 -07:00
Erik Gilling
042bb19d56 [ARM] tegra: add hdmi output to stingray board file
Signed-off-by: Erik Gilling <konkers@android.com>
2010-10-06 16:33:44 -07:00
Greg Meiste
a7c83d1b8c [ARM] tegra: stingray: Enable notification LED fading
Change-Id: I32cf8e461c125739700b4cf032e6f850bb6ccc4d
Signed-off-by: Greg Meiste <w30289@motorola.com>
2010-10-06 16:33:43 -07:00
Greg Meiste
188313f699 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>
2010-10-06 16:33:43 -07:00
Greg Meiste
c6d149de4b [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>
2010-10-06 16:33:43 -07:00
Greg Meiste
b289ead1ee 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>
2010-10-06 16:33:43 -07:00
Dima Zavin
2beac641a7 Revert "ARM: tegra: stingray: temporarily disable LP0 (AVP suspend)"
This reverts commit 06da6891c4d1748853bd64795fb470072a6ab266.

Change-Id: I6fa718a8fd766b0c41bc1036e1b34bbac6d14335
2010-10-06 16:33:43 -07:00
Dima Zavin
1bc843e6af [ARM] tegra: nv: implement avp suspend/resume for LP0
Change-Id: I3ca52752d00cb603d9327d5a40b48e1cf56cb7c4
Signed-off-by: Dima Zavin <dima@android.com>
2010-10-06 16:33:42 -07:00
Paul Eastham
1235333f8a leds: leds-lp8550: Properly set poweron state / brightness on resume.
Signed-off-by: Paul Eastham <eastham@google.com>
2010-10-06 16:33:42 -07:00
Paul Eastham
0ec76d85fc leds: leds-lp8550: Fix and extend brightness debug messages
Signed-off-by: Paul Eastham <eastham@google.com>
2010-10-06 16:33:42 -07:00
Benoit Goby
4b81605b11 usb: otg: cpcap-otg should return IRQ_NONE when appropriate
Change-Id: I94c4cf415778a59dc665e1b5353342067ba4f894
Signed-off-by: Benoit Goby <benoit@android.com>
2010-10-06 16:33:42 -07:00
Benoit Goby
a646a1ef3a [ARM] tegra: stingray_defconfig: Enable USB_SUSPEND
Change-Id: Iffa16409caf18ecc831df8ba50009b54a1035875
Signed-off-by: Benoit Goby <benoit@android.com>
2010-10-06 16:33:42 -07:00
Iliyan Malchev
6fa391ed2b [ARM] tegra: tegra_i2s_audio: add wakelocks
Signed-off-by: Iliyan Malchev <malchev@google.com>
2010-10-06 16:33:41 -07:00
Benoit Goby
efddedb611 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>
2010-10-06 16:33:41 -07:00
Dima Zavin
7833216d52 ARM: tegra: stingray: temporarily disable LP0 (AVP suspend)
Change-Id: Iaedd594aba25649f934dea6d0e715de72f08ed1a
Signed-off-by: Dima Zavin <dima@android.com>
2010-10-06 16:33:41 -07:00
Kaz Fukuoka
00c1159858 [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>
2010-10-06 16:33:41 -07:00
Mike Lockwood
4b22249a61 [ARM] tegra: stingray: defconfig: Enable CONFIG_USB_ANDROID_RNDIS
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-06 16:33:41 -07:00
Mike Lockwood
a74cbe3f91 [ARM] tegra: stingray: Add support for RNDIS USB function.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-10-06 16:33:41 -07:00
Nick Pelly
e6a9d0cc99 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>
2010-10-06 16:33:40 -07:00
Rebecca Schultz Zavin
1a4c8af49e [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>
2010-10-06 16:33:40 -07:00