Input: synaptics-rmi4 - add support for 2D sensors and F11
authorAndrew Duggan <aduggan@synaptics.com>
Thu, 10 Mar 2016 23:47:28 +0000 (15:47 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 Mar 2016 00:04:03 +0000 (16:04 -0800)
commitff8f83708b3e36c050dc3fd7e2f04ea7f1752599
treed7b6603c447a1cb36af8452e541ed9b4cf6659f9
parentd8a8b3edfd922e3886684a3434bd2b752167ff29
Input: synaptics-rmi4 - add support for 2D sensors and F11

RMI4 currently defines two functions for reporting data for 2D sensors
(F11 and F12). This patch adds the common functionality which is shared
by devices with 2D reporting along with implementing functionality for
F11.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Signed-off-by: Christopher Heiny <cheiny@synaptics.com>
Tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/Kconfig
drivers/input/rmi4/Makefile
drivers/input/rmi4/rmi_2d_sensor.c [new file with mode: 0644]
drivers/input/rmi4/rmi_2d_sensor.h [new file with mode: 0644]
drivers/input/rmi4/rmi_bus.c
drivers/input/rmi4/rmi_driver.h
drivers/input/rmi4/rmi_f11.c [new file with mode: 0644]
include/linux/rmi.h