]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ims-pcu - add commands supported by the new version of the FW
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Wed, 12 Feb 2014 23:02:14 +0000 (15:02 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 12 Feb 2014 23:09:48 +0000 (15:09 -0800)
commitf9aebab464f139845c3b90453c1de6e0fb6c4bc9
tree60b33654aeff061f5b588d8d404101e79f7a3279
parentcfa750cf3b85902d276423fec73d0543706c1685
Input: ims-pcu - add commands supported by the new version of the FW

New version of the PCU firmware supports two new commands:
  - IMS_PCU_CMD_OFN_SET_CONFIG which allows to write data to the
  registers of one finger navigation(OFN) chip present on the device
  - IMS_PCU_CMD_OFN_GET_CONFIG which allows to read data form the
  registers of said chip.

This commit adds two helper functions to use those commands and sysfs
attributes to use them. It also exposes some OFN configuration
parameters via sysfs.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/ims-pcu.c