OSDN Git Service

Input: goodix - export id and version read from device
authorIrina Tirdea <irina.tirdea@intel.com>
Tue, 9 Jun 2015 18:04:40 +0000 (11:04 -0700)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 5 Feb 2016 10:48:42 +0000 (18:48 +0800)
commit21a58de22065ec7f9343417b70cb9a111433f36b
tree1f2f254215990bfd02eea00ca4119c1aee0fae33
parent8d23604e4deca4dd2a091908d5ef647373354acd
Input: goodix - export id and version read from device

Goodix touchscreens export through their registers a Product ID and
Firmware Version. The Product ID is an ASCII encoding of the product name
(e.g.: "911").

Export to sysfs (through the input subsystem) the product id and firmware
version read from the device rather than using constant values.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Acked-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/goodix.c