summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2016-02-12Making sure that the status never returns 0 in case of error (theoretical ↵mattis fjallstrom
possibility earlier). Change-Id: I068df2530a032b3c2734e777c31dd72aa0a285f3
2015-04-16Merge "Patch to use local_clock for kernel messages" into android-3.10-bringupEvan Wilson
2015-04-16Merge "Change to USB plat data, that caused USB to not work" into ↵Evan Wilson
android-3.10-bringup
2015-11-30Change to USB plat data, that caused USB to not workEvan Wilson
Change-Id: I3e800297501f43e0a9624fdf9ddf2cc559f2d4f3
2015-11-30Removing the debug statement in the fuel gauge irqEvan Wilson
It may be the cause of some crashes/dead devices Change-Id: Ia1f15e7a783beb984cd901112a9ec53eee39acf5
2015-11-30Tuning values for wakedector:Evan Wilson
* Reducing the 6D threshold, so it doesn't fire as often * Reducing the wake lock timeout, to conserve power * Temporarily commenting out the 6D event, because it's not used by the wakedetector service yet Change-Id: I95345b4cd8b6b9c39b26f6378eab888101b3c296
2015-11-23Adding special handling for 6d-events, so that we can recognize it higher up ↵mattis fjallstrom
the software stack. Change-Id: I00a3ebe3bbcf4cfeb8ff89e75c990d90d8e1acc9
2015-11-20Power changes: Removed dummy regulators, added cpufreq table initialization ↵mattis fjallstrom
and makes sure that cpufreq gets initialized properly. Change-Id: I679d86c150e4acee098e4a5cfe1855d46fac872a
2015-11-20First steps at making cpufreq scale properly again.mattis fjallstrom
Change-Id: Ibe4a4f1440d1b7dd2de9a285d728834eb0b87e66
2015-04-16Merge "Revert "Updated wake check mechanism - faster decisions."" into ↵Evan Wilson
android-3.10-bringup
2015-10-02Revert "Updated wake check mechanism - faster decisions."Evan Wilson
This reverts commit 335f9262ab0802ac66e79d80fddbc1f635b05d61. Change-Id: I21a02fa3db4928296a013c7349344a24eb4833a8
2015-09-30Updated wake check mechanism - faster decisions.mattis fjallstrom
Change-Id: If263a43c95f44fbc7e263c202ac521e84032c0a6
2015-09-25Merge branch 'android-3.10-bringup' of ↵mattis fjallstrom
ssh://internal.oliodevices.com:29418/kernel/omap into android-3.10-bringup Change-Id: I7ba752884099c9dafe2f336cf787945eeea3a8f1
2015-09-25Adding support for ts81001, and modifying fuel gauge bq27 to check the ↵mattis fjallstrom
status of the ts81001 when deciding if it's charging or not. Change-Id: Iff0e890eecd86c82889f91075f83073ab2fd3036
2015-09-18Switched userspace CPUfreq governor. Should be used together with the power ↵mattis fjallstrom
library from hardware/libhardware/modules/power. Change-Id: I49134517802bb65f5f16b0e09a49b57b6cdf62f6
2015-09-16Merge branch 'android-3.10-bringup' of ↵mattis fjallstrom
ssh://internal.oliodevices.com:29418/kernel/omap into android-3.10-bringup Change-Id: Id991d5735800e0fa16e76c8be372fc473453e785
2015-09-16Removing some of the most frequent debug messages.mattis fjallstrom
Change-Id: I1a1742ca75ce9eac22b70360e11566ff5df11745
2015-09-04Merge branch 'nand_reconfig' into android-3.10-bringupmattis fjallstrom
Brings the new flash layout into the main stream. Also adds sleep mode power savings (USB CS off). Change-Id: I2b3f73f58c923ca9fa89965685dfcd5a6b087bf6
2015-09-04Turning USB chip off during sleep, saving 0.5mA.mattis fjallstrom
Change-Id: If41c47a31f2a031785a6230e832ef280579af4ef
2015-09-04New partition table. Now with all the partitions that Android expects (even ↵mattis fjallstrom
though we're not quite making use of them yet). Change-Id: Id718ce23407d4d1836878d26cf6aca1b10af98c4
2015-08-17The broadcom chip used by Olio doesn't really need runtime power management, ↵mattis fjallstrom
at least not in it's current form. So, I'm hiding that code for now. Change-Id: I28e08a86350e88107b82e47a2e9bf7c873600ae9
2015-08-16Slowing down i2c-3 for the charger firmware programming.mattis fjallstrom
Change-Id: Ie1c7005a9d4c2ec916e6a7941a79c913928dd524
2015-08-11Disabled debugging outputmattis fjallstrom
Change-Id: I21e484b1d5c0b73dcbb3317743f1fca7a8d702c0
2015-08-11Merge branch 'android-3.10-bringup' of ↵mattis fjallstrom
ssh://internal.oliodevices.com:29418/kernel/omap into android-3.10-bringup Change-Id: Ic0a04e74a94fa6a7ee1769a9bee71117961238b4
2015-08-11Merge branch 'mindtribe_dev' into android-3.10-bringupmattis fjallstrom
Conflicts: arch/arm/boot/dts/omap3_h1.dts drivers/iio/imu/st_lsm6ds3/st_lsm6ds3_trigger.c Both resolved. Change-Id: I42c070961bff246b07179dcaae1fc784dddb0328
2015-08-11Bluetooth working in sleep mode.mattis fjallstrom
Change-Id: I20e42e204dbf73c5f8468fc7733fa29c6ea1c2f2
2015-08-08The RTC will now set the system time on bootEvan Wilson
Change-Id: Ic06d2c906cbad7a658f088d62d19b090494f4f1f
2015-08-08Adding Mindtribe fix for the sleep issuesEvan Wilson
Change-Id: I592b17c44294d46e3a16758c5679e3fdeb7c3333
2015-08-08In simple enable mode, the device is disabled with the PWM pin, so we don't ↵Evan Wilson
need to re-init the registers. This was also causing the brightness to "flash" on resume Change-Id: I847163f314b109e47fc1f91822283bc6cecb850c
2015-08-07fixing suspend blocking from fifo irq wakelocksravan
Signed-off-by: mattis fjallstrom <mattis@acm.org> Change-Id: I01ed81a3463ffda1cf0bb9dace028aa8c28fb8dc
2015-08-07From: Oleksandr Kozaruk <oleksandr.kozaruk@globallogic.com>Evan Wilson
Date: Fri, 31 Jul 2015 15:04:36 -0700 Subject: [PATCH 4/4] olio: DT: set gpio 128 pinmux to control PWM of LM3530 GPIO 128 connected to PWM pin of LM3530 which is used in simple enable/disable mode, and would shut down LM3530 in suspend. When PWM is '1' then a display backlight is enabled, if pulld low backlight is disabled. We set pinmux to be mode 4, output in active mode, and in supsend to be offenable, offoutput, offpulldown. See: http://processors.wiki.ti.com/index.php/Optimizing_OMAP35x_and_AM/DM37x_OFF_mode_PAD_configuration Change-Id: I4a9fa211abf174b129aff9c9c9421f575ce88e25
2015-08-07olio: board: Use simple backlight enable/disable mode.Oleksandr Kozaruk
In off mode we want to be able to control it with PWM pin We can set pinmux pin connected to PWM to be pulled down in off mode, thus it will put the lm3530 device in shutdown. Change-Id: I5bc903b3c3cdd16f36b103cf9e2cf1a8e60e3653 Signed-off-by: Evan Wilson <evan@oliodevices.com>
2015-08-07olio: LM3530: backlight: Add simple enable/disable modeOleksandr Kozaruk
New mode is similar to 'manual' but it allows to enable/disable backlight using PWM pin. Change-Id: I205cd716bfa56573e5efe9b78918f8742bd7c0f3 Signed-off-by: Evan Wilson <evan@oliodevices.com>
2015-08-07olio: backlight: Remove driver pm_ops.Oleksandr Kozaruk
Let the PM framework to manage the i2c bus. Change-Id: Iaf99a703236a8f5da2f570248e44cdaacb4025a9 Signed-off-by: Evan Wilson <evan@oliodevices.com>
2015-08-07Checking the wakeup reason to get around the ST IMU not latching tap interruptssravan
Signed-off-by: Evan Wilson <evan@oliodevices.com> Change-Id: Iebe64b4c5de646f408fff0431d17d79ea9692e1f
2015-08-07Revert "Mindtribe latest accelerometer management"Evan Wilson
This reverts commit b13b7246a4b40ab53ec22d33e935d25c8ee8d1fc. Change-Id: Iadff64e858dbb8b5b4dd0dfbe773ec3b96138087
2015-08-04Merge remote-tracking branch 'olio/mindtribe_dev' into android-3.10-bringupEvan Wilson
Change-Id: Ib628ec8c5402bdaec5cc4924f674ba1c38206993
2015-08-03Mindtribe latest accelerometer managementmindtribe_devmattis fjallstrom
Change-Id: Ia7d76c3c5f7807a37a0e26d5892c0826de8faa84
2015-08-03Set UART_PORT to 0, modified pin muxingmattis fjallstrom
Change-Id: Ie4d8b4aed4d2b50c9b95b3de89fdf68343580b07
2015-08-03Merge branch 'android-3.10-bringup' of ↵mattis fjallstrom
ssh://internal.oliodevices.com:29418/kernel/omap into android-3.10-bringup Change-Id: Ib528797d744241bfc7dced7ad755ded74d9701b4
2015-08-03Modified BT UART settings.mattis fjallstrom
Change-Id: I8f4c1c07ce86326803fbc3c960fbcf359be23f12
2015-07-31Temporary fixes to the display driver, so that the kernel will sleepEvan Wilson
WARNING: It takes several attempts before a successful suspend, so this commit is not power efficient Change-Id: I1825e1fcf12185181c060b635eef57ec63f4ef52
2015-07-31olio: config: Disable display ambient mode.Oleksandr Kozaruk
We don't use display ambient mode due to significant power consumption when display is always on. Change-Id: I285c9d5452fad49c4825c8174d6bf859db790c26 Signed-off-by: Evan Wilson <evan@oliodevices.com>
2015-07-31olio: ili9342: Remove suspend/resume.Oleksandr Kozaruk
We put display to sleep mode when display disable function is called, and sleep out in display enable function. Also, now we don't need to cal display init function, thus it should take less time to turn display on after resume. Change-Id: I02c21f5824c8735850353671e679bcab7b0383c4 Signed-off-by: Evan Wilson <evan@oliodevices.com>
2015-07-25Merge branch 'android-3.10-bringup' of ↵Evan Wilson
ssh://internal.oliodevices.com:29418/kernel/omap into android-3.10-bringup
2015-07-25New touch sleep settings.Evan Wilson
After integrating the latest Atmel driver we will now use deep sleep instead of turning off the Touch/Disp reglator This should fix the touch wake-up issue (where the touch doesn't work when waking from sleep) It should also increase the wake time. Change-Id: Id12c8f95722260897191f9e9fefb08a0af0d65a9