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>
8975 does have accelerometer and temperature features.
corrected flag values.
Change-Id: Ie061bd67ab34fb2da7ddcd7c44d362bfc5016dde
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
report gyro events as EV_REL.
clean up gyro data calculation.
Change-Id: I3327e58ef5a99d52bdd6aeabacf63c41172958ba
Signed-off-by: makarand.karvekar <makarand.karvekar@motorola.com>
These sensors now control their regulators via the regulator
api directly
Change-Id: I91203634f90fd1ebceb333a481941d0bd8eda136
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
Allow userspace to set policy on sensor enable/disable
Change-Id: I901edeaf6ab3bddb79220c4ba7248b8873e6338e
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
-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>
Previously this used a callback to the board file
Change-Id: Idaca0ef5f77fde73e0ae2e8fd510f0ca985ec051
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
-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>
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>
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>
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>
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>
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>
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>
- /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>
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>