summaryrefslogtreecommitdiff
path: root/drivers/misc/m4sensorhub_gesture.c
AgeCommit message (Collapse)Author
2014-07-23IKXCLOCK-3122 Smart Ambient: support ambient off gestureWengang Wu
Change-Id: I22622983c50f1d564f40314f92e49646279826f5
2014-07-22IKXCLOCK-3040 Remove Unnecessary IIO ParametersEric Tashakkor
Removed IIO settings that caused an unused sysfs file to be created, which causes a kernel panic when read. Added a gesture count to the gesture driver to differentiate new gestures. Change-Id: I0e88c88356560c276867388b057ac0a9bb76167e Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-07-18IKXCLOCK-2896 Display: support ambient mode timeoutWengang Wu
Change-Id: I28422cfbfefb03671ad6868eb87a828481982a9c
2014-07-10IKXCLOCK-1435: early init of displayAmit Jain
Change-Id: I2996c32892066b5874e011c4fe7454d5ebae1aad
2014-07-08IKXCLOCK-2713: Retry setrate'sViditha Hanumanthareddy
If i2c communication fails while doing a set sample rate for a sensor retry the same during suspend. It is seems that sometimes omap->M4 i2c bus dies for a brief period and then recovers. But during the failure period if an app tries to turn off a sensor and this turn off fails, it could lead to wakeups after omap suspend, and so this fix retries setting the sample rate on suspend only if it had failed earlier. Change-Id: I5874738a78ed900b1b039160f852031321dd2e30
2014-05-14IKXCLOCK-1233: Hold a timed wakelock for m4 eventsViditha Hanumanthareddy
A few m4 interrupts/events like gesture, rtc alarm that can occur when kernel is suspended need enough time to allow the event to reach the higher layer before kernel suspends again. The absence of this was causing gestures & rtc alarm to get missed by the higher layers. Change-Id: Ibf10a1a031bd279ef2a488214498036c648220dc
2014-05-01IKXCLOCK-870 Add M4 Fusion DriverEric Tashakkor
Added a separate IIO fusion driver to handle M4 fusion data. Removed duplicate mutex_destroy() calls. Deleted unused pressure sensor header. Change-Id: I2f24a30dbba5b84f590618e3b506d04c92d2a136 Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-04-11IKXCLOCK-627 Remove Custom input.h Changes from M4 Drivers.Eric Tashakkor
Converted the gesture driver to IIO and sysfs (see other M4 drivers). Converted the passive driver to IIO and sysfs (see other M4 drivers). Removed fusion data from the mpu9150 driver (needs to be refactored). Removed custom EV_REL and EV_MSC events and restored stock MAX_* values. Updated pedometer and heartrate drivers to match gesture and passive. Updated the ALS driver to init the samplerate to -1 (disabled). Change-Id: I324bd3a4ee0a4bcbb76f36300d51c5b743aa44f9 Signed-off-by: Eric Tashakkor <w36098@motorola.com>
2014-03-05IKXCLOCK-193:Init mechanism of M4 based driversAmit Jain
Change-Id: I3c665f1c31d14e73d3776982d570c250e6f8c3b1 Reviewed-on: http://gerrit.pcs.mot.com/608745 SLTApproved: Slta Waiver <sltawvr@motorola.com> Tested-by: Jira Key <jirakey@motorola.com> Reviewed-by: Sajid Dalvi <fsd017@motorola.com> Submit-Approved: Jira Key <jirakey@motorola.com>
2014-03-05IKXCLOCK-66: Kernel panic on use of abs input events fixedViditha Hanumanthareddy
Change-Id: Ib8c5be9573737d2de895f73b91bfef9d0f9cae3a Reviewed-on: http://gerrit.pcs.mot.com/602460 SLTApproved: Slta Waiver <sltawvr@motorola.com> Tested-by: Jira Key <jirakey@motorola.com> Reviewed-by: Amit Jain <ajain@motorola.com> Reviewed-by: Jee Su Chang <w20740@motorola.com> Submit-Approved: Jira Key <jirakey@motorola.com>
2014-03-05IKG5-1478: Change m4 kernel modules to be kernel builtinsViditha Hanumanthareddy
Change-Id: I39210cb9b0d0cf75042b5adcfa57da8b800f89a5 Reviewed-on: http://gerrit.pcs.mot.com/588276 SLTApproved: Slta Waiver <sltawvr@motorola.com> Tested-by: Jira Key <jirakey@motorola.com> Reviewed-by: Douglas Zobel <dzobel1@motorola.com> Reviewed-by: Sajid Dalvi <fsd017@motorola.com> Reviewed-by: Jee Su Chang <w20740@motorola.com> Submit-Approved: Jira Key <jirakey@motorola.com>
2014-03-05CW integration and minnow bringupDoug Zobel
* create minnow machine type * create Android makefile * add pre-commit syntax check * enable -Werror * Add drivers: CPCAP, TPS65xxx, m4sensorhub, atmxt, lm3535, usb gadget, minnow display, TI 12xx wireless Change-Id: I7962f5e1256715f2452aed5a62a4f2f2383d5046