summaryrefslogtreecommitdiff
path: root/drivers/input/rmi4/rmi_driver.h
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2016-11-22 17:53:26 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-11-22 17:59:24 -0800
commit6adba43fd222ea362c36296d1a6897c2e28fdc8e (patch)
tree7e08a6b1360591b8d8bc323ee2eeef39de0b3c6a /drivers/input/rmi4/rmi_driver.h
parent29fd0ec2bdbef6734fd4c39c23f61d9f030a66a0 (diff)
Input: synaptics-rmi4 - add support for F55 sensor tuning
Sensor tuning support is needed to determine the number of enabled tx and rx electrodes for use in F54 functions. The number of enabled electrodes is not identical to the total number of electrodes as reported with F55:Query0 and F55:Query1. It has to be calculated by analyzing F55:Ctrl1 (sensor receiver assignment) and F55:Ctrl2 (sensor transmitter assignment). Support for additional sensor tuning functions may be added later. Fixes: 3a762dbd5347 ("[media] Input: synaptics-rmi4 - add support for F54 ...") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Tested-by: Nick Dyer <nick@shmanahar.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/rmi4/rmi_driver.h')
-rw-r--r--drivers/input/rmi4/rmi_driver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/rmi4/rmi_driver.h b/drivers/input/rmi4/rmi_driver.h
index e627a3a8aced..5b201f369505 100644
--- a/drivers/input/rmi4/rmi_driver.h
+++ b/drivers/input/rmi4/rmi_driver.h
@@ -127,4 +127,5 @@ extern struct rmi_function_handler rmi_f12_handler;
extern struct rmi_function_handler rmi_f30_handler;
extern struct rmi_function_handler rmi_f34_handler;
extern struct rmi_function_handler rmi_f54_handler;
+extern struct rmi_function_handler rmi_f55_handler;
#endif