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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 9 Jun 2015 18:23:27 +0000 (11:23 -0700)
commite70b03071c5d43ea7a63b007a1c4bf285a2772d1
tree16e8e0b5cec424e75a1b52e411406a60d7f9b7a3
parent0e0432f04ee5d73b45faefc7bbb63b75fcaefa42
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