]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: synaptics-rmi4 - add support for F55 sensor tuning
authorGuenter Roeck <linux@roeck-us.net>
Wed, 23 Nov 2016 01:53:26 +0000 (17:53 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Nov 2016 01:59:24 +0000 (17:59 -0800)
commit6adba43fd222ea362c36296d1a6897c2e28fdc8e
tree7e08a6b1360591b8d8bc323ee2eeef39de0b3c6a
parent29fd0ec2bdbef6734fd4c39c23f61d9f030a66a0
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>
drivers/input/rmi4/Kconfig
drivers/input/rmi4/Makefile
drivers/input/rmi4/rmi_bus.c
drivers/input/rmi4/rmi_driver.h
drivers/input/rmi4/rmi_f55.c [new file with mode: 0644]