input: sensors: add lis3dh accelerometer sensor fifo mode

Add sensor fifo mode, then it can work in the fifo mode when the
system in deep suspend. And sensor can wake up system when the
sensor fifo is full.

Change-Id: I684a1a67b34fe00a7889af5bee7b0f733c787ddc
Signed-off-by: c_daqing <chendaqing@codeaurora.org>
Signed-off-by: Bingzhe Cai <bingzhec@codeaurora.org>
This commit is contained in:
Bingzhe Cai 2014-07-17 22:29:44 +08:00
parent 7dd146b7f3
commit 23f6c4b902
2 changed files with 691 additions and 109 deletions

File diff suppressed because it is too large Load Diff

View File

@ -53,7 +53,7 @@
#ifdef __KERNEL__
struct lis3dh_acc_platform_data {
int poll_interval;
int init_interval;
int min_interval;
u8 g_range;