input: touch: maxim: detect and notify out of idle
authorYogish Kulkarni <yogishk@nvidia.com>
Wed, 26 Jun 2013 10:24:01 +0000 (15:24 +0530)
committerGabby Lee <galee@nvidia.com>
Sun, 13 Oct 2013 22:57:01 +0000 (15:57 -0700)
commitd43002415f120445744bee01757577a45ca98e10
tree276a4cf392e34ca4b1701649106e9d79e62d2551
parent2c1cb497757e06360f3ecd80fb31a22b737b112a
input: touch: maxim: detect and notify out of idle

Detect no spi interrupt for 50ms as idle. On first interrupt after
idle report miscellaneous input event MSC_ACTIVITY. This event will
serve as early notification for actual input event and will allow
cpu frequency governor to boost CPU clk early.

Bug 1313953

Change-Id: I2c0cd037dc0de7d4209bfd2a0dba0601852e5e2c
Signed-off-by: Yogish Kulkarni <yogishk@nvidia.com>
Reviewed-on: http://git-master/r/242430
(cherry picked from commit 52a2f541e687659b6b12575f12fabee0d6a0cc76)
Reviewed-on: http://git-master/r/288747
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bo Kim <bok@nvidia.com>
Tested-by: Bo Kim <bok@nvidia.com>
Reviewed-by: Gabby Lee <galee@nvidia.com>
drivers/input/touchscreen/maxim_sti.c