]> git.baikalelectronics.ru Git - kernel.git/commit
Input: elan_i2c - add trackstick report
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 23 May 2018 00:23:04 +0000 (17:23 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 May 2018 23:46:36 +0000 (16:46 -0700)
commit2a84483df5e86d859da690c8c5efd19c575676b3
treec0bc474620d324c91daf25fd66d87e7f58f700fa
parentb6f660edc12135ea8989089be5a1d71a3bf2c082
Input: elan_i2c - add trackstick report

The Elan touchpads over I2C/SMBus also can handle a trackstick.
Unfortunately, nothing tells us if the device supports trackstick (the
information lies in the PS/2 node), so rely on device properties to
determine whether to enable the trackstick node.

Link: https://bugzilla.redhat.com/show_bug.cgi?id=1313939
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: KT Liao <kt.liao@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/elan_i2c.txt
drivers/input/mouse/elan_i2c_core.c