diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-11-22 17:53:26 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-11-22 17:59:24 -0800 |
commit | 6adba43fd222ea362c36296d1a6897c2e28fdc8e (patch) | |
tree | 7e08a6b1360591b8d8bc323ee2eeef39de0b3c6a /drivers/input/rmi4/rmi_bus.c | |
parent | 29fd0ec2bdbef6734fd4c39c23f61d9f030a66a0 (diff) | |
download | linux-6adba43fd222ea362c36296d1a6897c2e28fdc8e.tar.gz linux-6adba43fd222ea362c36296d1a6897c2e28fdc8e.tar.bz2 linux-6adba43fd222ea362c36296d1a6897c2e28fdc8e.zip |
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_bus.c')
-rw-r--r-- | drivers/input/rmi4/rmi_bus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/input/rmi4/rmi_bus.c b/drivers/input/rmi4/rmi_bus.c index ef7a66230d83..2534331ad9dc 100644 --- a/drivers/input/rmi4/rmi_bus.c +++ b/drivers/input/rmi4/rmi_bus.c @@ -321,6 +321,9 @@ static struct rmi_function_handler *fn_handlers[] = { #ifdef CONFIG_RMI4_F54 &rmi_f54_handler, #endif +#ifdef CONFIG_RMI4_F55 + &rmi_f55_handler, +#endif }; static void __rmi_unregister_function_handlers(int start_idx) |