]> git.baikalelectronics.ru Git - kernel.git/commit
Input: pixcir_i2c_ts - initialize interrupt mode and power mode
authorRoger Quadros <rogerq@ti.com>
Mon, 19 May 2014 05:44:35 +0000 (22:44 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 19 May 2014 06:25:56 +0000 (23:25 -0700)
commit26bf3d1d539a50b09aa1e5b2f7871986e7b10877
treed523a06fd4a4ea9b5043e22c101fe853bb7075bb
parentc02f918a8bb9689078a29d1cae296b3f85b86e77
Input: pixcir_i2c_ts - initialize interrupt mode and power mode

Introduce helper functions to configure power and interrupt registers.
Default to IDLE mode on probe as device supports auto wakeup to ACVIE mode
on detecting finger touch.

Configure interrupt mode and polarity on start up.  Power down on device
closure or module removal.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/pixcir_i2c_ts.c
include/linux/input/pixcir_ts.h