Input: cyapa - add sysfs interfaces support in the cyapa driver
authorDudley Du <dudl@cypress.com>
Sun, 18 Jan 2015 06:07:12 +0000 (22:07 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 18 Jan 2015 08:10:30 +0000 (00:10 -0800)
commitc806b0b84d20a942ee94796e2a9f7f2326ab208f
treee2de7e0e08487f5f2b1e151c15a8ba06062a4840
parent672865080a8f3fa4da41386a1d44fd931a4e6066
Input: cyapa - add sysfs interfaces support in the cyapa driver

Introduce control interfaces that are commonly used in pre- and after
production, for trackpad device state checking, managing and firmware image
updating.  These interfaces include mode, firmware_version and product_id
interfaces for reading firmware version and trackpad device product id
values, and update_fw interface to command firmware image update process.
There are also baseline and calibrate interfaces for reading and checking
trackpad device's sensors states.

Signed-off-by: Dudley Du <dudl@cypress.com>
Tested-by: Jeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/cyapa.c