summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-16Merge "YAFFA (Yet Another Fix For Alarm), this time removing the sys_nirq ↵stagingEvan Wilson
pin from pad_wkup in device tree. Also fixing i2c-1s pin address and some spelling and indentation issues." into android-3.10-bringup
2016-05-11YAFFA (Yet Another Fix For Alarm), this time removing the sys_nirq pin from ↵mattis fjallstrom
pad_wkup in device tree. Also fixing i2c-1s pin address and some spelling and indentation issues. Change-Id: Ie7adfb0c1ee9421cab85ad8be071825a43e99aca
2016-05-04Further minor fixes to tps65910 and interrupts. No smoking guns, just minor ↵mattis fjallstrom
tweaks and some clean-up. Change-Id: I9b184b3fcdb32dac01c7bd75df55a74b39cc6e53
2016-04-28Removing code that enabled/disabled interrupts as a result of power ↵mattis fjallstrom
management notifications, fixing pinmux and reading status register twice (per tps69510 TRM). Change-Id: Idaac043ebe18229333bb7c090865e9ca3804f189
2016-04-28Changes for supporting RAMOOPS and pstore.mattis fjallstrom
Change-Id: I9322bfe520c05b3e45dcacb12b1a836be8126c2c
2015-04-16Merge "Further minor fixes to tps65910 and interrupts. No smoking guns, just ↵Evan Wilson
minor tweaks and some clean-up." into android-3.10-bringup
2016-05-03Ensuring that all work his been done before going to sleepEvan Wilson
This is to make sure we don't turn on from negative wrist roll Change-Id: Id81bbadbf49becc16cf287754724a3b69759acc5
2016-05-03Cleaning up accel code:Evan Wilson
* Decreasing temp wake locks * Removing lost tap assumption (because we're now setting double_tap in the md1 we don't lose lost taps) * Removing excessive log messages * sixd_ths now uses the full range (0-4) Change-Id: I001c208cc01dce0780909f2dcb4cdfca2e7199db
2016-05-03Enabling panics on soft lockups and hung tasksEvan Wilson
Change-Id: Ibbc6826288776586749c0645f8fce51bb5c7bed4
2016-05-03Adding sysfs entries to set 6d and tap thresholds.Evan Wilson
Also some cleaning up Change-Id: I015d9d86879712dee6bbd02fd238366bcab8a174
2015-04-16Merge "Fixes for mic -> bluetooth connection. Also changed name of machine ↵Evan Wilson
to something that can be used in a filename." into android-3.10-bringup
2016-04-23Changing wake lock timeout back to 2s, in the hope of solving alarm wake-up ↵mattis fjallstrom
issues. Change-Id: I353df1c9658f63b2610d56db2346d0c08f0daab7
2016-01-28Fixes for mic -> bluetooth connection. Also changed name of machine to ↵mattis fjallstrom
something that can be used in a filename. Change-Id: If7f9d2c99e758dc9c907da9a2ba6001e78242db8
2015-04-16Merge "Changed times used for increasing / decreasing brightness." into ↵Evan Wilson
android-3.10-bringup
2016-04-21Changed times used for increasing / decreasing brightness.mattis fjallstrom
Change-Id: I1cbcb84374949d4ec74c65245b8761d8497ea365
2016-04-04Deny permission for the "bluetooth_timer" wake lock.Evan Wilson
This wake lock is abused by our Bluetooth stack, so we don't want to allow it Change-Id: Ia6d315ba877131f3323eb5ee615450397b057f2d
2016-03-24Increasing wake lock for 6d eventsEvan Wilson
Change-Id: Ibb7f2397ae74e82647d3ae2fdc84ff51eed1bfb1
2016-03-24Revert "Patch to use local_clock for kernel messages"Evan Wilson
This reverts commit 76b2d51f406aebaac61329a7f0831ee69ea6d7a0. Change-Id: I3d1cbcb88f6d13c8d4a6a4391f691acb15a65d6a
2016-03-24Adding a new EXT_SLEEP flagEvan Wilson
This flag ensures the regulator is in full ACTIVE mode during sleep Normally the tps65910 regulators go into an IDLE mode during sleep Change-Id: I30c0025ee1904ac20fec3ced66041f006658b92c
2016-03-18Decreasing kernel log levelEvan Wilson
Change-Id: I90e53b5ae11bd53183ccc80fe6b4581b88a3501a
2016-03-18merge conflict fixsravanM
Change-Id: I6a3d4b8c74e21367cb1b8b9fac0acfa6c844a658 Signed-off-by: Evan Wilson <evan@oliodevices.com>
2016-03-18accounting for LSBsravanM
Change-Id: If9bb8fd7784b1143848e07a507c2b00e67f9b0f7 Signed-off-by: Evan Wilson <evan@oliodevices.com>
2016-03-18fixing multiplicationsravanM
Change-Id: Ic8cae3cbca1805bab1bca40bf993e5289c70791d Signed-off-by: Evan Wilson <evan@oliodevices.com>
2016-03-18fixing irq latency and buffer sizingsravanM
Change-Id: I08467efda618157cae40afe406ac51beca892ab1 Signed-off-by: Evan Wilson <evan@oliodevices.com>
2016-03-18Fixing the timestamp for fake events passed through the buffer. If the 6D ↵sravanM
event is pushed with a timestamp that is the current timestamp then any data previous to that(All of the fifo) will be ignored when pushed to the buffer. Change-Id: I677b524faee88ca5b01475e4f336ecad235bfac5 Signed-off-by: Evan Wilson <evan@oliodevices.com>
2016-03-18Removing a log line that can case a fatal kernel crashEvan Wilson
Change-Id: Ife7c322dd3e92305448ae626a3b2eddfd7b53d7e
2016-03-04Adding suspend and resume functions for ALS, to ensure that it's off when ↵mattis fjallstrom
the rest of the watch is. Change-Id: I8da5b894ec45fbc95de5115833b2785812b7b580
2015-04-16Merge "Adding a recovery mechanism to the accelerometer. It will not hard ↵Evan Wilson
reset the regulator if it detects a corrupt WAI register, or if there has not been any accelerometer events in 20 minutes." into android-3.10-bringup
2016-01-11Adding a recovery mechanism to the accelerometer.Evan Wilson
It will not hard reset the regulator if it detects a corrupt WAI register, or if there has not been any accelerometer events in 20 minutes. Change-Id: I3d55cb2edfba4861f7509b7cba4f1acc3efebb0e
2016-01-08Patch to use local_clock for kernel messagesEvan Wilson
Change-Id: I96e63d161c8806e962133f4e76d98881f763d9f2
2015-12-23SW reset the Accelerometer if it's in a bad state. Check this on every resumeEvan Wilson
Change-Id: Icd61eac39e1cfe42446c44622c92aed6df0b5b1d
2015-12-20Enabled 6D and Tap on init, and removed from other placesEvan Wilson
Change-Id: Ia6a7cd4c276a07bca6740181c517becdfc03aab6
2015-12-16Increasing vaccel to 2.7 V to prevent the Accel from dropping below the min. ↵Evan Wilson
voltage Change-Id: I8f124ef6479b427f3c8ffd03e36c3ef205f9f23e
2015-12-11Merge remote-tracking branch 'olio/android-3.10-bringup' into 1.1.45Evan Wilson
Conflicts: drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_core.c drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c drivers/power/bq27x00_battery.c Change-Id: Iafb1129617680cd2705bc05eb49faaafff325692
2015-12-11ST lsm6ds3 fixes. Moved IRQ registration to end of probe, changed 6d push ↵mattis fjallstrom
function to use '01,01,01' as the 6d signifier Change-Id: Ia162ef14178cda4d9a19a72159f1d0e3bcbbcd0f
2015-12-11Adding suspend/resume functions that clear out the framebuffer (to prevent ↵mattis fjallstrom
the 'jumping watch hands' issue) Change-Id: I56cf6f54c71065ded5c49e2493e47bcfb268b5ad
2015-12-11Reducing time for alarm wake lock, from 2sec to .5.mattis fjallstrom
Change-Id: Ie2703e22e6ee5b8d28cb8cfabe6fc8aa5df8bc2f
2015-12-11Several bug-fixes. Set device up as wake-up device, since we may wake up ↵mattis fjallstrom
from interrupt. Changed cancel_delayed_work_sync to cancel_delayed_work, since we're calling from an interrupt and stopping to sync would be bad. Using managed and threaded IRQ. Finally, returning POWER_SUPPLY_STATUS_UNKNOWN when we can't communicate with the charger chip. Change-Id: I6f47769299275b60d277af3f4db0321f6f0de9d8
2015-12-09ST lsm6ds3 fixes. Moved IRQ registration to end of probe, changed 6d push ↵mattis fjallstrom
function to use '01,01,01' as the 6d signifier Change-Id: Ia162ef14178cda4d9a19a72159f1d0e3bcbbcd0f Signed-off-by: Evan Wilson <evan@oliodevices.com>
2015-12-08Adding special handling for 6d-events, so that we can recognize it higher up ↵mattis fjallstrom
the software stack. Change-Id: I00a3ebe3bbcf4cfeb8ff89e75c990d90d8e1acc9
2015-12-08Several bug-fixes. Set device up as wake-up device, since we may wake up ↵mattis fjallstrom
from interrupt. Changed cancel_delayed_work_sync to cancel_delayed_work, since we're calling from an interrupt and stopping to sync would be bad. Using managed and threaded IRQ. Finally, returning POWER_SUPPLY_STATUS_UNKNOWN when we can't communicate with the charger chip. Change-Id: I6f47769299275b60d277af3f4db0321f6f0de9d8 Signed-off-by: Evan Wilson <evan@oliodevices.com>
2015-12-08Reducing time for alarm wake lock, from 2sec to .5.mattis fjallstrom
Change-Id: Ie2703e22e6ee5b8d28cb8cfabe6fc8aa5df8bc2f Signed-off-by: Evan Wilson <evan@oliodevices.com>
2015-12-03Reducing wakelock timeoutEvan Wilson
Change-Id: Ie31a68811c31095f7b3e5d7a8422bfac9b4ad5df
2015-12-03Changing 6D thresholdEvan Wilson
Change-Id: I1276640e84310ed37c32f7ad659819c9b893c8e0 Conflicts: drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_core.c
2015-11-19Tuning tap threshold, 6d threshold, and wake lock for better gesture detectionEvan Wilson
Change-Id: I501a21ebdb3dc3c9654012a66b7229a2e2b0c674
2015-11-05Tuning some values for the fuel gauge. Also, we'll request more power from ↵good-known-branchEvan Wilson
the charger if the fuel gauge CHG flag is set Change-Id: Ibc7248bfd9f7bceaf03ea2d1f7e17cdcc20d2a98
2015-11-05Decreasing the update time between charging statusEvan Wilson
Change-Id: I2566186b6493ac11e64047cc42ed795b30927729
2015-10-02Improved wakeup performance.mattis fjallstrom
Change-Id: Idd79c715744046d50736e08b07e0c937d4ff7318
2015-04-16Merge "At Olio, where we don't allow outside applications, anything that ↵Evan Wilson
tries to set a wakelock is allowed to do so. We remove the permission checks since they return incorrect values." into android-3.10-bringup
2016-02-12At Olio, where we don't allow outside applications, anything that tries to ↵mattis fjallstrom
set a wakelock is allowed to do so. We remove the permission checks since they return incorrect values. Change-Id: Ia8f1929bd0dbbfd8ac56c63a09f689c32aefd0ef