]> 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)
commit61c673b8fc66e44ed19c862cce136158c76a9da1
treed523a06fd4a4ea9b5043e22c101fe853bb7075bb
parent23c5139fadf3aacae9e7718b4ef2e4158f0da06f
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