summaryrefslogtreecommitdiffstats
path: root/drivers/input/rmi4/Makefile
diff options
context:
space:
mode:
authorAndrew Duggan <aduggan@synaptics.com>2016-03-10 15:47:28 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-03-10 16:04:03 -0800
commitff8f83708b3e36c050dc3fd7e2f04ea7f1752599 (patch)
treed7b6603c447a1cb36af8452e541ed9b4cf6659f9 /drivers/input/rmi4/Makefile
parentd8a8b3edfd922e3886684a3434bd2b752167ff29 (diff)
downloadtalos-obmc-linux-ff8f83708b3e36c050dc3fd7e2f04ea7f1752599.tar.gz
talos-obmc-linux-ff8f83708b3e36c050dc3fd7e2f04ea7f1752599.zip
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>
Diffstat (limited to 'drivers/input/rmi4/Makefile')
-rw-r--r--drivers/input/rmi4/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/input/rmi4/Makefile b/drivers/input/rmi4/Makefile
index 5539494aecd1..9e7424ae1c72 100644
--- a/drivers/input/rmi4/Makefile
+++ b/drivers/input/rmi4/Makefile
@@ -1,5 +1,10 @@
obj-$(CONFIG_RMI4_CORE) += rmi_core.o
rmi_core-y := rmi_bus.o rmi_driver.o rmi_f01.o
+rmi_core-$(CONFIG_RMI4_2D_SENSOR) += rmi_2d_sensor.o
+
+# Function drivers
+rmi_core-$(CONFIG_RMI4_F11) += rmi_f11.o
+
# Transports
obj-$(CONFIG_RMI4_I2C) += rmi_i2c.o
OpenPOWER on IntegriCloud