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)
commit559b3df76f1a0f5f85f09c368d5580dae9c70adc
treec0bc474620d324c91daf25fd66d87e7f58f700fa
parent89f84b84d3514044a4cc13f18efd503c9d24f812
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